Janusz Sobczak
665b0b0e86
Add observer for pairing events.
...
Defines an observer for BT classic medium.
The observer is notified when a device is paired or unpaired.
PiperOrigin-RevId: 521917539
2023-04-04 18:13:07 -07:00
Hai Shang
c312442f3d
internal clean up
...
PiperOrigin-RevId: 521555239
2023-04-03 14:00:22 -07:00
Qin Wang
c1835fcfa1
Implement FastPairGattServiceClient for fast pair windows
...
PiperOrigin-RevId: 521005152
2023-03-31 13:52:34 -07:00
Guogang Li
be99b60feb
Applied platform thread to network lib
...
PiperOrigin-RevId: 520998502
2023-03-31 13:23:32 -07:00
Hai Shang
47b7a04939
minor clean up
...
PiperOrigin-RevId: 520734787
2023-03-30 13:56:57 -07:00
Guogang Li
8a66bff097
Made observer list thread safe
...
PiperOrigin-RevId: 520713657
2023-03-30 12:36:11 -07:00
Nick Bourdakos
14e7832be0
Internal change
...
PiperOrigin-RevId: 520638739
2023-03-30 12:34:53 -07:00
Janusz Sobczak
c249c3079f
Support fake clock in test environment
...
A synthetic clock helps testing (long) timeouts by allowing us to move the time
forward by an arbitrary amount.
PiperOrigin-RevId: 520407442
2023-03-29 12:19:28 -07:00
Nick Bourdakos
a933a91413
Internal Change
...
PiperOrigin-RevId: 520165614
2023-03-28 16:26: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
0b3c759aa3
Remove unneeded WebRTC flags
...
PiperOrigin-RevId: 518629654
2023-03-22 11:44:12 -07:00
hai007
8b1791caab
Automated visibility attribute cleanup.
...
PiperOrigin-RevId: 518628538
2023-03-22 11:39:32 -07:00
Nick Bourdakos
ec025502dc
Refactor WebRTC code to avoid use of select for stubs
...
PiperOrigin-RevId: 518491132
2023-03-22 00:25:54 -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
Qin Wang
c2d8d44767
Migrate Clock to third_party/nearby
...
PiperOrigin-RevId: 516972534
2023-03-15 17:24:11 -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
988847e2d6
internal change
...
PiperOrigin-RevId: 515350366
2023-03-09 09:01:58 -08:00
Hai Shang
29a52b7bf1
ble_v2 internal clean up
...
PiperOrigin-RevId: 513933519
2023-03-06 07:06:57 -08:00
Qin Wang
a0692e6306
Migrate device_info from location/nearby to third_party/nearby
...
PiperOrigin-RevId: 504935151
2023-01-26 14:01:11 -08:00
Janusz Sobczak
f4d85f9b90
Migrate to AnyInvocable in platform code
...
PiperOrigin-RevId: 504104740
2023-01-23 16:04:21 -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
Janusz Sobczak
4fc1583b94
Migrate to absl::AnyInvocable
...
PiperOrigin-RevId: 501392167
2023-01-11 15:19:33 -08:00
hai007
32ace29ccf
Change wifi_hotspot_credential.h to wifi_credential.h
...
PiperOrigin-RevId: 500223301
2023-01-06 15:05:22 -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
Janusz Sobczak
e64f9859e1
Replace BleOperationStatus with absl::Status
...
PiperOrigin-RevId: 497191477
2022-12-22 10:20:15 -08:00
hai007
f56e50f885
Automated visibility attribute cleanup.
...
PiperOrigin-RevId: 496854373
2022-12-21 00:54:13 -08:00
Nick Bourdakos
682813388f
Disable WebRTC for ARM based CPUs
...
PiperOrigin-RevId: 495707681
2022-12-15 15:15:00 -08:00
Anay Wadhera
c50cdc5671
Move back to internal logging library
...
PiperOrigin-RevId: 494274640
2022-12-09 15:16:19 -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
Suet-Fei Li
9f9bd40ada
Internal flow.
...
PiperOrigin-RevId: 493719005
2022-12-07 15:05:45 -08:00
Anay Wadhera
43b099a5d2
Include missing mutex.h for Android
...
PiperOrigin-RevId: 493676427
2022-12-07 12:27:40 -08:00
Anay Wadhera
87c57534a4
Include check.h header to fix Github presence build
...
PiperOrigin-RevId: 493067786
2022-12-05 11:43:05 -08:00
Anay Wadhera
2273c87b57
Implement WifiLanConnectionInfo for mDNS IPV4/IPV6 discovery.
...
PiperOrigin-RevId: 492320076
2022-12-01 15:51:24 -08:00
Anay Wadhera
52d81710a2
Add fields to PresenceDevice
...
PiperOrigin-RevId: 490345719
2022-11-22 15:03:09 -08:00
Anay Wadhera
8679d3a370
Move CancellationFlag to absl::AnyInvocable
...
PiperOrigin-RevId: 490078293
2022-11-21 14:56:55 -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
Qin Wang
a9062b958d
Implement Ble for Fast Pair Windows
...
PiperOrigin-RevId: 489254207
2022-11-17 10:58:34 -08:00
Nick Bourdakos
4fb6ba318c
Internal change
...
PiperOrigin-RevId: 486691317
2022-11-07 09:59:14 -08:00
Anay Wadhera
2b3b810363
Remove visibility for non-existent dir
...
PiperOrigin-RevId: 485927350
2022-11-03 11:32:37 -07:00
hai007
3d812bbf1c
Add Timer implementation to Fast Pair Windows
...
PiperOrigin-RevId: 485215393
2022-10-31 20:28:53 -07: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
2206f21c3f
Enable TAP test for nearby.fastpair.windows
...
Enable some packages to visible to nearby fast pair
PiperOrigin-RevId: 483819412
2022-10-25 17:31:00 -07:00
Hai Shang
c4ad6de6f8
add scan function in presence BLE
...
PiperOrigin-RevId: 478666843
2022-10-03 19:35:23 -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
Anthony Rueda
69b86f1ad8
Removing unnecessary location::nearby::CredentialStorage class.
...
This class was only kept to satisfy MockClass requirements for cl/472776321.
The location::nearby::api::CredentialStorage class located under
platform/implementation/credential_storage.h contains virtual functions which
satisfy the same requirements. This CL will remove excess code.
PiperOrigin-RevId: 474643989
2022-09-15 13:33:43 -07:00
Hai Shang
bbe77d8397
internal change
...
PiperOrigin-RevId: 474390888
2022-09-14 14:28:10 -07:00