Commit Graph
166 Commits
Author SHA1 Message Date
Francis Tsui a43adfb93c Stop setting IPAddress field in NsdServiceInfo on advertising.
PiperOrigin-RevId: 810516970
2025-09-23 11:35:20 -07:00
Francis Tsui 1d6f44e6b5 Internal changes.
PiperOrigin-RevId: 804560917
2025-09-08 13:23:27 -07:00
Francis Tsui a4ce4b1781 Cleanup unused code.
PiperOrigin-RevId: 800660305
2025-08-28 16:35:01 -07:00
Francis Tsui 000e12da8e Migrate platform to use MacAddress class.
PiperOrigin-RevId: 800631540
2025-08-28 15:14:16 -07:00
Francis Tsui ab94af291f Create compatibility for moving platform API to use MacAddress class.
PiperOrigin-RevId: 800533547
2025-08-28 10:58:22 -07:00
Francis Tsui 29f37997ec Make BT MacAddress optional in Private certs.
PiperOrigin-RevId: 797357330
2025-08-20 09:59:47 -07:00
Francis Tsui 38827f2b4b Allow set and get last modified times on files.
PiperOrigin-RevId: 791407269
2025-08-05 16:08:30 -07:00
Edwin Wu d4edb7663d Added the apple implementation to the platform implementation
PiperOrigin-RevId: 788246739
2025-07-28 18:59:47 -07:00
Edwin Wu 4b41512543 Fix Apple Cancelable.Cancel() method sending back the wrong signal.
PiperOrigin-RevId: 786906340
2025-07-24 18:17:27 -07:00
hai007 7480977c58 Automated Code Change
PiperOrigin-RevId: 786349659
2025-07-23 11:07:56 -07:00
Guogang Li 2e94870593 Cleanup unused files
PiperOrigin-RevId: 783094630
2025-07-14 16:59:26 -07:00
Guogang Li 20fcca4e95 Add a basic test for the logger writer
PiperOrigin-RevId: 764774015
2025-05-29 10:01:21 -07:00
Crisrael Lucero acaf963c40 Migrate usage of BluetoothUtils::ToString() to MacAddress
PiperOrigin-RevId: 762184790
2025-05-22 17:09:38 -07:00
Francis Tsui 151ba03d0f Create nearby::FilePath class to replace use of std::filesystem::path.
- Replace filesystem::path in DeviceInfo.

PiperOrigin-RevId: 761224912
2025-05-20 14:12:07 -07:00
Francis Tsui 59e527dbe3 Remove unused methods.
PiperOrigin-RevId: 756053350
2025-05-07 16:36:04 -07:00
Francis Tsui 541bffc858 Cleanup BLEv2Medium
PiperOrigin-RevId: 753288576
2025-04-30 13:24:55 -07:00
Francis Tsui 467e64c812 Deprecate mac address manipulation functions in favor or MacAddress class.
PiperOrigin-RevId: 752952529
2025-04-29 17:59:57 -07:00
Francis Tsui 83ec6bcece Create MacAddress class for MAC address manipulation.
PiperOrigin-RevId: 752503841
2025-04-28 17:22:45 -07:00
hai007 8acf924934 Add AWDL as a new Medium type in Nearby platform
PiperOrigin-RevId: 741515012
2025-03-28 07:14:40 -07:00
Guogang Li dec2ff910a Multiple Service scanning implementation for G3.
PiperOrigin-RevId: 733458126
2025-03-04 14:05:10 -08:00
Guogang Li b814358f89 Add to allow scan multiple BLE services
PiperOrigin-RevId: 733445592
2025-03-04 13:32:37 -08:00
hai007 9cd75f8e27 [NearbyConnections] Update ios BLE discovery related logs
PiperOrigin-RevId: 730693835
2025-02-24 19:54:06 -08:00
Guogang Li eea3441da9 Internal refactor
PiperOrigin-RevId: 727057179
2025-02-14 14:07:18 -08:00
Guogang Li 3de3a9479d Create a help class to generate data
PiperOrigin-RevId: 726714013
2025-02-13 18:25:07 -08:00
Guogang Li 788984f182 read bits from base stream
PiperOrigin-RevId: 726515524
2025-02-13 09:17:14 -08:00
hai007 e458d6afaa This fixes a discrepancy between the C++ and Java version of the ToFourDigitString() function, given byte array inputs that include negative signed byte values.
Added a unit test to verify that the output with negative signed bytes in the input will result in the same output as the Java version.

PiperOrigin-RevId: 712709020
2025-01-06 17:58:35 -08:00
Janusz Sobczak 949c035446 Clean up build rules
PiperOrigin-RevId: 712669082
2025-01-06 15:02:15 -08:00
Janusz Sobczak f9292be707 Remove unused fastpair C++ implementation to streamline the codebase
PiperOrigin-RevId: 712639309
2025-01-06 13:26:55 -08:00
hai007 1864b0b555 Automated Code Change
PiperOrigin-RevId: 709495106
2024-12-24 23:33:59 -08:00
hai007 42db63c19b Add support for reading multiple frames from one BlockingQueueStream buffer
PiperOrigin-RevId: 709247147
2024-12-23 22:54:08 -08:00
hai007 01212035e7 Automated Code Change
PiperOrigin-RevId: 697111349
2024-11-16 00:10:45 -08:00
Edwin Wu 2c31d77ea9 Add ErrorOr to Nearby Platform
PiperOrigin-RevId: 697048097
2024-11-15 17:43:19 -08:00
hai007 7c8071e847 Add begin()/end() to ByteArray.
This allows this type to meet the requirements of e.g.
std::ranges::range, which is necessary for it to work with the
std::span range constructor, or the "non-legacy" constructor for
Chromium's base::span.

Fixes a number of IWYU problems along the way, to silence checks.

Bug: chromium:364987728
PiperOrigin-RevId: 689841844
2024-10-25 10:50:00 -07:00
Guogang Li 9aa2510055 Internal changes
PiperOrigin-RevId: 689614191
2024-10-24 20:11:07 -07:00
Francis Tsui 76e32d56d6 Add RPC logging.
PiperOrigin-RevId: 687376548
2024-10-18 11:54:11 -07:00
Edwin Wu 7b2eddc458 Add WEB_RTC_NON_CELLULAR enum, II
PiperOrigin-RevId: 685103930
2024-10-12 00:28:58 -07:00
Guogang Li 1255f6a800 Internal fix
PiperOrigin-RevId: 684640919
2024-10-10 18:04:17 -07:00
Guogang Li 6707efeed8 internal refactor
PiperOrigin-RevId: 676552917
2024-09-19 13:58:21 -07:00
Guogang Li 3c8737f92d internal dependency updates
PiperOrigin-RevId: 672555643
2024-09-09 08:36:04 -07:00
Francis Tsui 83c6a8bbbe Add missing header file.
PiperOrigin-RevId: 671090966
2024-09-04 14:01:55 -07:00
Guogang Li d5b5d92f87 Internal logging update
PiperOrigin-RevId: 669420403
2024-08-30 13:08:35 -07:00
Guogang Li c725e049d5 internal update
PiperOrigin-RevId: 669053048
2024-08-29 13:59:14 -07:00
Guogang Li 25eec0ff0f Fixed some test issues
PiperOrigin-RevId: 662722512
2024-08-13 18:18:52 -07:00
Francis Tsui d56c1008cd Enable platform tests for Windows builds.
PiperOrigin-RevId: 658892575
2024-08-02 13:41:44 -07:00
Francis Tsui f2d591e045 Split test targets that can run on windows.
PiperOrigin-RevId: 658619600
2024-08-01 19:13:47 -07:00
hai007 25deb0962f Implement Bluetooth Multiplex.
PiperOrigin-RevId: 651921709
2024-07-12 16:52:46 -07:00
Guogang Li 32cee3439b Pause Bluetooth classic discovery
PiperOrigin-RevId: 647333108
2024-06-27 08:52:58 -07:00
Guogang Li 0640832025 Allowed G3 to simulated BLE device supported extended advertisement
PiperOrigin-RevId: 646503301
2024-06-25 09:20:58 -07:00
Francis Tsui 3d2adf8b42 internal changes.
PiperOrigin-RevId: 642056854
2024-06-10 16:20:30 -07:00
hai007 7c72774167 Multiplex implementation - Create Multiplex Socket
PiperOrigin-RevId: 632628955
2024-05-10 16:11:26 -07:00