Qin Wang
a8b6fdee59
Implement fake GetResponse and migrate fake_http_client to third_party/nearby/internal/test
...
PiperOrigin-RevId: 544518775
2023-06-29 18:39:50 -07:00
Qin Wang
22c3a07677
Migrate DataManager to third_party/nearby/internal
...
PiperOrigin-RevId: 544395891
2023-06-29 10:31:07 -07:00
Anay Wadhera
bb3de11104
Weave port [6/n]: Introduce Base socket implementation and connection interface.
...
PiperOrigin-RevId: 542872801
2023-06-23 09:00:39 -07:00
Anay Wadhera
2a9bf7c883
Introduce connections authentication transport
...
PiperOrigin-RevId: 541057398
2023-06-16 17:55:06 -07:00
Juliet Levesque
240159e872
[Nearby Connections] Stop 3 AttemptsToConnect over WebRTC for CancellationFlag
...
CancellationFlags will be used to prevent crashes during the shutdown of Nearby Connections from pending tasks taking too long during the shutdown period. WebRTC using 3 x 10s retries to connect, which means we are potentially waiting for 30 seconds of retries to execute during shutdown (which is longer than the 10s duration alloted for Core shutdown).
By using CancellationFlags, we can prevent the retries occuring during the Shutdown by short-circuiting an in flight AttemptToConnect, and checking for Cancellation before retries.
PiperOrigin-RevId: 539690403
2023-06-12 10:16:36 -07:00
Anay Wadhera
71558c0a5c
Add ed25519 signature utilities
...
PiperOrigin-RevId: 537351543
2023-06-02 10:45:40 -07:00
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