Commit Graph
74 Commits
Author SHA1 Message Date
Anay Wadhera 601d5f6b36 fixup! nearby swift: Update include paths for new ukey2 revisions 2023-05-16 11:52:02 -07:00
Anay Wadhera 4ea5e4cf8a nearby swift: Update include paths for new ukey2 revisions 2023-05-16 10:54:39 -07:00
Chun Zhang a925ed1072 Move FakeAuthenticationManager from location to third_party.
PiperOrigin-RevId: 532237745
2023-05-15 15:04:03 -07:00
Anay Wadhera 69d2edaea9 Weave port [5/n]: Introduce weave message write request
PiperOrigin-RevId: 530915704
2023-05-10 08:32:44 -07:00
Anay Wadhera 332da370a4 Weave port [4/n]: Introduce weave write request and single packet write request
PiperOrigin-RevId: 530439848
2023-05-08 16:33:42 -07:00
Anay Wadhera 630b2dd3db Create ConnectionsDeviceProvider
PiperOrigin-RevId: 529781099
2023-05-05 12:13:06 -07:00
Anay Wadhera d91904d79d Create ConnectionsDevice
PiperOrigin-RevId: 529447365
2023-05-04 10:26:47 -07:00
Anay Wadhera 5edd8e25ca Introduce v3 NC API callbacks
PiperOrigin-RevId: 527747390
2023-04-27 19:01:39 -07:00
Suet-Fei Li b023a666b9 Add empty EmptySwiftPackageManagerFile.cpp to trigger Swift Build of json.
PiperOrigin-RevId: 524017747
2023-04-13 09:11:14 -07:00
Nick Bourdakos ddea50e013 Fix Package.swift
PiperOrigin-RevId: 523907283
2023-04-12 23:17:27 -07:00
hai007 123815e841 Automated visibility attribute cleanup.
PiperOrigin-RevId: 523895219
2023-04-12 21:56:31 -07:00
Suet-fei Li 760b64e2e7 . 2023-04-12 23:09:35 +00:00
hai007 28f7498580 Fix include error for apple json.
PiperOrigin-RevId: 523724151
2023-04-12 09:38:22 -07:00
Suet-Fei Li ed4e000a2d Add Swift support for json depedency.
PiperOrigin-RevId: 523546713
2023-04-11 17:12:58 -07:00
Anay Wadhera a8bb29e1bf Weave port [3/n]: Introduce weave packet counter generator
PiperOrigin-RevId: 523189849
2023-04-10 12:56:57 -07:00
Anay Wadhera a1868432b9 Implement connection info DE format
PiperOrigin-RevId: 522678942
2023-04-07 14:02:40 -07:00
Anay Wadhera 3f1b0c81e3 Weave port [2/n]: Introduce Weave packetizer implementation
PiperOrigin-RevId: 518881931
2023-03-23 09:30:55 -07:00
Janusz Sobczak 1a78b33a89 Add InputStream::ReadExactly
Read() can return fewer bytes than requested.
ReadExactly() will call Read() repeatedly until we
have read as many bytes as we need.

PiperOrigin-RevId: 518719418
2023-03-22 17:45:50 -07:00
Nick Bourdakos f5eac5c47d Update README
PiperOrigin-RevId: 518014725
2023-03-20 10:50:10 -07:00
Anay Wadhera 69d2098ecb Weave port [1/n]: Introduce Weave packet implementation
PiperOrigin-RevId: 517526002
2023-03-17 15:44:09 -07:00
Qin Wang 86ca85b85a Migrate fake functions to third_party/nearby to help unit test
PiperOrigin-RevId: 517433481
2023-03-17 09:34:58 -07:00
Guogang Li f7e6deb8ab internal cleanup
PiperOrigin-RevId: 517211099
2023-03-16 13:27:26 -07:00
Guogang Li fd5430764f Created NearbyFlags to avoid create multiple classes
PiperOrigin-RevId: 516885843
2023-03-15 11:44:25 -07:00
Guogang Li e539d021a3 Added flag for BLE v2 in nearby connections
PiperOrigin-RevId: 516585139
2023-03-14 11:35:49 -07:00
Guogang Li ead3df1ff8 Added flag reader interface
PiperOrigin-RevId: 514551069
2023-03-06 15:55:10 -08:00
Qin Wang ed9890957f Upgrade minimum_os_version to 13.0
PiperOrigin-RevId: 504597125
2023-01-25 10:23:19 -08:00
Nick Bourdakos 819f816600 Refactor nearby connections clients to be organized by languages.
PiperOrigin-RevId: 503308736
2023-01-19 17:36:07 -08:00
Qin Wang 2330739b90 Migrate TaskRunner from location/nearby to third_party/nearby
PiperOrigin-RevId: 502733409
2023-01-17 17:40:55 -08:00
Qin Wang f94aa7548b Migrate Timer from location/nearby to third_party/nearby
PiperOrigin-RevId: 501928835
2023-01-13 13:44:17 -08:00
Nick Bourdakos d042055607 Update Package.swift 2023-01-10 16:48:24 -05:00
Nick Bourdakos 412548248c Update to c++17
PiperOrigin-RevId: 500830077
2023-01-09 16:02:02 -08:00
Qin Wang e90fd77e47 Migrate bluetooth_address from location/nearby to third_party/nearby
PiperOrigin-RevId: 500784376
2023-01-09 12:49:52 -08:00
Qin Wang 05a6fbf20c Migrate observer_list.h from location/nearby to third_party/nearby
PiperOrigin-RevId: 500240685
2023-01-06 15:15:16 -08:00
hai007 499b2691f4 WIFI Direct implementation (3)
Part 3: BWU and client interface part

PiperOrigin-RevId: 498218241
2022-12-28 11:22:48 -08:00
hai007 88e350e5d2 Integrate network related part which both nearby sharing and fastpair are adopted.
Details can be seen in the `Integrate reusable internal components into third_party` part of `server access design doc` (go/fast_pair_server_data_access)

PiperOrigin-RevId: 498208011
2022-12-28 10:28:32 -08:00
Nick Bourdakos 07998a05ed Change "ios" package name to "apple" since its usage isn't limited to iOS
PiperOrigin-RevId: 497046967
2022-12-21 18:09:42 -08:00
Anay Wadhera 82b2c63a7c Implement BleConnectionInfo as a container for BLE mac address.
Move PresenceDevice to use BleConnectionInfo.

PiperOrigin-RevId: 494023973
2022-12-08 16:24:00 -08:00
hai007 fa7c8a2ec8 WIFI Direct implementation (2)
Part 2: Connection common code for WIFI Direct

PiperOrigin-RevId: 493153750
2022-12-05 17:14:26 -08:00
Anay Wadhera 2273c87b57 Implement WifiLanConnectionInfo for mDNS IPV4/IPV6 discovery.
PiperOrigin-RevId: 492320076
2022-12-01 15:51:24 -08:00
hai007 2012acdbcc Change BWU priority from Hotspot to WifiLan
PiperOrigin-RevId: 491388299
2022-11-28 10:55:28 -08:00
Janusz Sobczak 141f021140 Add Borrowable class.
Define Lender/Borrowable/Borrowed classes for sharing resources safely between threads.

PiperOrigin-RevId: 489361079
2022-11-17 18:56:41 -08:00
Nick Bourdakos 00fd273eff Set swift package platform versions
PiperOrigin-RevId: 489220091
2022-11-17 08:41:14 -08:00
Suet-Fei Li b6b692b0ea WIFI Direct implementation (1)
Part 1: Implement internal common code
Add implementation/g3 skeleton code for testing coverage.

PiperOrigin-RevId: 485067018
2022-10-31 09:14:09 -07:00
hai007 8f681dece0 Throughput profiling
PiperOrigin-RevId: 477752265
2022-09-29 10:02:11 -07:00
Anay Wadhera 3f2cfb1531 Implement BluetoothConnectionInfo
PiperOrigin-RevId: 476416765
2022-09-23 11:17:17 -07:00
Janusz Sobczak 69cb2310d0 Add DirectExecutor
PiperOrigin-RevId: 474671922
2022-09-15 15:32:11 -07:00
Xin He 4f599a0d3e Save generated credentials and make the callback
PiperOrigin-RevId: 472776321
2022-09-07 11:50:30 -07:00
Anay Wadhera 92bf3356ee Reshuffle device.h to internal as both Connections and Presence will be utilizing it.
PiperOrigin-RevId: 472745171
2022-09-07 09:35:12 -07:00
Anthony Rueda 1c15361a98 Adding g3 implementation of CredentialStorage virtual methods along with unit test coverage.
PiperOrigin-RevId: 470013245
2022-08-25 09:53:25 -07:00
Anthony Rueda 4d2ff863f9 Add platform agnostic implementation of Credential_Storage class.
PiperOrigin-RevId: 468251604
2022-08-17 11:36:58 -07:00