Commit Graph
17 Commits
Author SHA1 Message Date
hai007 8efa219dcf Implement dynamic role switching for bandwidth upgrades.
PiperOrigin-RevId: 933898362
2026-06-17 13:39:58 -07:00
Francis Tsui f3a8df5db3 Refactor AnalyticsRecorder into an abstract interface and decouple ClientProxy from logging protos.
PiperOrigin-RevId: 922838021
2026-05-28 10:09:19 -07:00
Francis Tsui 6f52ec53dd Remove unnecessary code.
PiperOrigin-RevId: 908359047
2026-04-30 13:55:42 -07:00
Edwin Wu 4ae41f4cdf Refactor EndpointChannel ownership to use shared_ptr.
PiperOrigin-RevId: 907278448
2026-04-28 18:15:46 -07:00
Francis Tsui dacbd03aa1 Replace ByteArray with std::string.
PiperOrigin-RevId: 900893850
2026-04-16 13:52:02 -07:00
hai007 657591bce4 Add more test cases for EncryptionRunner to improve test coverage.
PiperOrigin-RevId: 877490825
2026-03-02 11:17:32 -08:00
Francis Tsui b5796d2394 Simplify use of ByteArray.
PiperOrigin-RevId: 855304597
2026-01-12 11:15:52 -08:00
Francis Tsui c2c54a3ca0 Remove deprecated OutputStream::Write method.
PiperOrigin-RevId: 854235255
2026-01-09 10:04:02 -08:00
Guogang Li ed6562754b Enhance on keep alive
PiperOrigin-RevId: 719317678
2025-01-24 08:45:49 -08:00
hai007 cb07eead88 Implement multiplex for WIFI_LAN
PiperOrigin-RevId: 694239460
2024-11-07 14:02:22 -08:00
hai007 bc77c39d84 This CL logs the safe disconnection result in the analytics recorder.
PiperOrigin-RevId: 655757596
2024-07-24 17:41:00 -07:00
Janusz Sobczak 2c55c0cdbd Refactor Pipe implementation
* Remove Pipe classes
* Rename BasePipe to Pipe
* Hide Pipe class in anonymous namespace in pipe.cc
* Add CreatePipe static method
* Replace Payload(std::function<InputStream&()>) with Payload(std::unique_ptr<InputStream>)
* Find&Replace Pipe usages

PiperOrigin-RevId: 557276980
2023-08-15 15:53:58 -07:00
Janusz Sobczak 6d5eab04d3 Work around race condition during encryption setup
The sending party may finish setting up encryption and start
sending encrypted packets while the receiving party is still configuring
encryption and expecting unencrypted packets

PiperOrigin-RevId: 549267838
2023-07-19 03:47:10 -07:00
Suet-Fei Li 084f7ebd88 Remove location namespace in third_party/nearby.
PiperOrigin-RevId: 500023196
2023-01-06 02:53:57 -08:00
hai007 8f681dece0 Throughput profiling
PiperOrigin-RevId: 477752265
2022-09-29 10:02:11 -07:00
nohle 463d391fcd [Nearby Connections][C++] Track bandwidth upgrade mediums for each endpoint (1/4)
This CL should be a no-op.

Provide better access to the service ID during bandwidth upgrade handling. Notably, 1) have the endpoint channel store its associated service ID, and 2) send the service ID on a connect/disconnect.

The service ID identifies the application, for example, "NearbySharing". In future CLs, we will use the service IDs to better handle bandwidth-upgrade bookkeeping when multiple services are running simultaneously. Specifically, we will better handle reverting a bandwidth-upgrade medium without interfering with other services.

PiperOrigin-RevId: 442019209
2022-04-15 08:15:53 -07:00
hais f5fcd35ced nearby sdk refactor
PiperOrigin-RevId: 425434260
2022-02-02 11:56:39 -08:00