Commit Graph
58 Commits
Author SHA1 Message Date
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
Nick Bourdakos 5cef41ec65 Ignore all proto directories in Swift build to avoid compilation errors.
PiperOrigin-RevId: 467102329
2022-08-11 19:05:51 -07:00
Nick Bourdakos 63b4f0760c Start initial Swift SDK by creating a lightweight Objective-C wrapper
PiperOrigin-RevId: 466681084
2022-08-10 07:44:26 -07:00
bourdakos 4c70daf66f Fix github build
PiperOrigin-RevId: 465689821
2022-08-05 18:44:37 -07:00
bourdakos 377dc47c9f Temporarily ignore crypto to fix GitHub build
PiperOrigin-RevId: 465474066
2022-08-04 21:13:32 -07:00
edwinwu ecbf356fbd [BLE Refactor] Branches from googlemac/iPhone/Shared/Nearby/Sockets and Ble/GNCMBleConnection.* to re-construct ios connection socket.
PiperOrigin-RevId: 455558621
2022-06-17 01:13:21 -07:00
hai007 519144eb24 [Analytics] Reorganize code structure for Analytics
- move AnalyticsRecorder to Connections specific folder
- log generic proto type in EventLogger

PiperOrigin-RevId: 451265563
2022-05-26 16:14:51 -07:00
hai007 500f67c85e Add Wifi Medium to query WIFI interface capability and information
PiperOrigin-RevId: 451233512
2022-05-26 13:40:14 -07:00
edwinwu 8e048f7be0 [BLE Refactor] Uses Uuid class for those used in Uuid string-form in /medium layer.
PiperOrigin-RevId: 450910238
2022-05-25 06:36:55 -07:00
bourdakos 9a362bb9ae Exclude tests from swift build
PiperOrigin-RevId: 443746991
2022-04-22 13:39:46 -07:00
bourdakos ff7a662bf6 Add SPM build test
PiperOrigin-RevId: 443726660
2022-04-22 12:13:01 -07:00
bourdakos da13735484 Update Package.swift and stub webrtc
PiperOrigin-RevId: 443722630
2022-04-22 11:57:15 -07:00
hai007 bc01739580 Add test to exclude list
PiperOrigin-RevId: 441810605
2022-04-14 11:24:54 -07:00
hai007 5240c016e0 Fix swift build
PiperOrigin-RevId: 441530856
2022-04-13 11:18:37 -07:00
edwinwu 3aa6b2f175 Fixes the package_swift exclude folder for iOS.
PiperOrigin-RevId: 441379967
2022-04-12 22:20:46 -07:00
hai007 5ef871fda1 Add wifi_lan_test to exclude list
PiperOrigin-RevId: 440958077
2022-04-11 12:01:39 -07:00
hai007 096a627bfc Fix the wrong file in a previous commit
PiperOrigin-RevId: 440932517
2022-04-11 10:39:13 -07:00