Commit Graph
1276 Commits
Author SHA1 Message Date
Anay Wadhera 44fb63f498 Use CredentialSelector for GenerateCredentials()
PiperOrigin-RevId: 501951868
2023-01-13 15:23:35 -08:00
hai007 ac87d5cf50 Explicitly initialize atomic value.
PiperOrigin-RevId: 501936581
2023-01-13 14:16:03 -08:00
hai007 dab0ead924 Explicitly initialize atomic value; change its type to unsigned.
PiperOrigin-RevId: 501935970
2023-01-13 14:12:44 -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
hai007 868e42f5f2 Fix a bug in which an iterator is compared to an end iterator from a different hashtable.
PiperOrigin-RevId: 501928248
2023-01-13 13:40:47 -08:00
Janusz Sobczak 0e2111afc2 Collapse success&failure callbacks into one
Instead of two callbacks:
- void on_success(Result result)
- void on_failure(Status status)
use just one callback:
void on_result(StatusOr<Result> result)

PiperOrigin-RevId: 501912034
2023-01-13 12:28:47 -08:00
hai007 454d22b19a Adding factory for creating FastPairMetadataRepository instances to increase the flexibility. The unit test for the FastPairMetadataRepositoryFactory will be involved when it is called.
PiperOrigin-RevId: 501682263
2023-01-12 15:28:42 -08:00
Qin Wang 7eeea7a283 Implement ECDH and AES Encryption/ Decryption for Fast Pair Windows
PiperOrigin-RevId: 501666600
2023-01-12 14:25:57 -08:00
Qin Wang bde4a780c6 DataParser advertisement for Model Id
PiperOrigin-RevId: 501643615
2023-01-12 13:00:10 -08:00
Anay Wadhera 7667420e2b Use CredentialSelector for GenerateCredentials()
PiperOrigin-RevId: 501622339
2023-01-12 11:36:37 -08:00
Janusz Sobczak 4fc1583b94 Migrate to absl::AnyInvocable
PiperOrigin-RevId: 501392167
2023-01-11 15:19:33 -08:00
John Carroll 3be5844fc3 Fixed the order of #include's fixes, a subtle but present bug.
PiperOrigin-RevId: 501360403
2023-01-11 13:16:19 -08:00
hai007 d9f113e6e1 Disable WEB_RTC for Windows Platform
PiperOrigin-RevId: 501346561
2023-01-11 12:19:53 -08:00
Guogang Li e261be1a16 Enable Bluetooth connection status track
PiperOrigin-RevId: 501334205
2023-01-11 11:31:27 -08:00
Guogang Li 5326cec7ab Fixed variable initialization issue in atomic_boolean
PiperOrigin-RevId: 501327583
2023-01-11 11:06:14 -08:00
hai007 7a9916f726 Fix WifiDirect small logic error
PiperOrigin-RevId: 501309880
2023-01-11 10:00:28 -08:00
Copybara-Service b246cb57a7 Merge pull request #1205 from bourdakos1:duplicate-proto
PiperOrigin-RevId: 501091027
2023-01-10 14:16:06 -08:00
Nick Bourdakos e5fce1e630 Remove .DS_Store 2023-01-10 16:49:36 -05:00
Nick Bourdakos d042055607 Update Package.swift 2023-01-10 16:48:24 -05:00
Nick Bourdakos ea8a1ed737 Copy implemenation protos into cpp folder so clients can be refactored 2023-01-10 16:48:24 -05:00
Guogang Li cf54a0fdb6 Set thread shutdown to false by default in Windows implementation
PiperOrigin-RevId: 501082672
2023-01-10 13:41:28 -08:00
hai007 2f8ecbe610 Fix a bug in which an iterator is compared to an end iterator from a different hashtable.
PiperOrigin-RevId: 501007094
2023-01-10 08:54:57 -08:00
Nick Bourdakos 8cde6b1bd3 Internal change
PiperOrigin-RevId: 500848005
2023-01-09 17:28:08 -08:00
Nick Bourdakos 412548248c Update to c++17
PiperOrigin-RevId: 500830077
2023-01-09 16:02:02 -08:00
Guogang Li 350e76e690 Add flag to control connection timeout feature
PiperOrigin-RevId: 500822176
2023-01-09 15:26:59 -08:00
Qin Wang 0d58411896 Remove bluetooth_address from location/nearby/cpp/fastpair and third_party/nearby/fastpair
PiperOrigin-RevId: 500821521
2023-01-09 15:23:38 -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
Eiden Kim 6ac239688f Rollback for cl/499340098 - remove DebugString() log
PiperOrigin-RevId: 500772955
2023-01-09 12:01:30 -08:00
Nick Bourdakos 73a4c4210d Internal change
PiperOrigin-RevId: 500765032
2023-01-09 11:28:50 -08:00
John Carroll a024710c58 Added an exported function to enable/disable ble v3 from the dart UI including updating the UI. This is expected to be used in test and does not affect interfaces that are unaware of it (IOW, it breaks nothing and NS will still use v2). Now we can just switch back and forth between v2 and v3 without recompilation, but, it needs to be done carefully, once it's toggled toggling back should only be done when not advertising, discovering, or connected/ing. At some point, I will work out the logic for disabling it, it's gonna take a little dart coding.
PiperOrigin-RevId: 500748215
2023-01-09 10:27:41 -08:00
hai007 e156d93f80 Add in an ultra_low_power
PiperOrigin-RevId: 500718740
2023-01-09 08:23:59 -08:00
Nick Bourdakos ceaf607264 Add test for ensuring no main symbols in SPM packages.
PiperOrigin-RevId: 500568078
2023-01-08 14:59:18 -08:00
Qin Wang d9b6897189 Remove observer_list.h from location/nearby/cpp/fastpair and third_party/nearby/fastpair
PiperOrigin-RevId: 500331550
2023-01-06 22:21:04 -08:00
hai007 22c6db1473 Adding the implementation of the windows controller and cross language interfaces. TODO: Unit test needs to be added after the prototyped finished (b/264707418)
PiperOrigin-RevId: 500274314
2023-01-06 22:19:46 -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 4ac64743b9 Include background scan type and advertising mode
PiperOrigin-RevId: 500236240
2023-01-06 15:10:57 -08:00
Guogang Li 06713fe918 Log Bluetooth connection status change
PiperOrigin-RevId: 500228494
2023-01-06 15:09:34 -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 3939ed4735 Automated visibility attribute cleanup.
PiperOrigin-RevId: 500193739
2023-01-06 15:01:48 -08:00
hai007 d347d0688b Create an interface to make API requests which pass Client ID, Released mode and Model ID to Nearby Devices.
PiperOrigin-RevId: 500053224
2023-01-06 03:03:31 -08:00
Suet-Fei Li 084f7ebd88 Remove location namespace in third_party/nearby.
PiperOrigin-RevId: 500023196
2023-01-06 02:53:57 -08:00
Anay Wadhera 7afea00649 Internal change
PiperOrigin-RevId: 499997190
2023-01-06 02:49:53 -08:00
hai007 f7f0a266fe WIFI Direct implementation (5)
Part 5: Add WifiDirect Server/Client Socket and Credential

PiperOrigin-RevId: 499401159
2023-01-03 23:10:15 -08:00
hai007 6edd1d11b0 Automated visibility attribute cleanup.
PiperOrigin-RevId: 499356727
2023-01-03 17:57:55 -08:00
Nick Bourdakos 4a8163ae20 Internal change.
PiperOrigin-RevId: 499340401
2023-01-03 16:22:56 -08:00
Eiden Kim 871e0d2e62 Add a debug log for payload processing error
PiperOrigin-RevId: 499340098
2023-01-03 16:19:37 -08:00
Guogang Li 2cee171493 Fixed random crashes during transfer
PiperOrigin-RevId: 499329220
2023-01-03 15:24:03 -08:00
hai007 7e82794d4d WIFI Direct implementation (4) - Fake Hotspot as WifiDirect GO
Part 4: WIFI Direct platform code for Windows

PiperOrigin-RevId: 498611340
2022-12-30 11:23:45 -08:00
hai007 0173ad3e1b Automated visibility attribute cleanup.
PiperOrigin-RevId: 498561519
2022-12-30 04:14:34 -08:00
hai007 1f2095a9be Add PreferencesUsage to SharingLog
PiperOrigin-RevId: 498434059
2022-12-29 12:48:37 -08:00