Commit Graph
33 Commits
Author SHA1 Message Date
Francis Tsui 3f93c0ee87 Remove more unnecessary INFO logs.
PiperOrigin-RevId: 797859361
2025-08-21 12:04:13 -07:00
Francis Tsui ae015665cd Set file last modified time.
PiperOrigin-RevId: 791926107
2025-08-06 18:25:42 -07:00
Guogang Li b3d9a930ca Change time function to elapsed time from SystemClock
PiperOrigin-RevId: 786819481
2025-07-24 13:39:57 -07:00
hai007 71cdf84236 Replace NEARBY_LOGS with LOG for all coding under google3/third_party/nearby/
PiperOrigin-RevId: 786733783
2025-07-24 09:34:17 -07:00
Edwin Wu eeeb93bf53 analytics: Add operation result code for Payload analytics, IV
PiperOrigin-RevId: 704265442
2024-12-09 06:44:40 -08:00
Edwin Wu c60b6c46f6 analytics: Add operation result code for Payload analytics, III
PiperOrigin-RevId: 704259848
2024-12-09 06:20:21 -08:00
Edwin Wu f0fb9662e2 analytics: Add operation result code for Payload analytics, II
PiperOrigin-RevId: 704252835
2024-12-09 05:53:23 -08:00
Edwin Wu c5fed0c0ed analytics: Add operation result code for Payload analytics, I
PiperOrigin-RevId: 704248204
2024-12-09 05:35:06 -08:00
Guogang Li 52e69664fe Limit the transfer update interval
PiperOrigin-RevId: 691233444
2024-10-29 18:31:37 -07:00
Guogang Li 042835cd9d Fixed the bug in payload transfer
PiperOrigin-RevId: 688288286
2024-10-21 15:12:32 -07:00
hai007 53b09d452b [Safe-to-disconnect] Fix a bug in ReplaceChannelForEndpoint()
PiperOrigin-RevId: 679298374
2024-09-26 14:37:57 -07:00
Guogang Li d5b5d92f87 Internal logging update
PiperOrigin-RevId: 669420403
2024-08-30 13:08:35 -07:00
Francis Tsui 4bca950bc7 Rename NEARBY_LOG() to NEARBY_LOG_OBSOLETE()
PiperOrigin-RevId: 667785090
2024-08-26 18:20:49 -07:00
Anay Wadhera b6829008f2 Deprecate flag kProcessBwuFrameAfterPcpConnected
PiperOrigin-RevId: 659611911
2024-08-05 11:06:05 -07:00
Anay Wadhera 3b701c78f3 Deny and abort payloads with ID 0.
PiperOrigin-RevId: 631864387
2024-05-08 11:24:21 -07:00
Eiden Kim 35a8289ef4 Block any BWU frames before the NC connection accepted by both side
PiperOrigin-RevId: 625459811
2024-04-16 14:49:14 -07:00
hai007 f112d9ff71 Change code to follow payload ack send/receive frame format change.
PiperOrigin-RevId: 601486151
2024-01-25 10:17:23 -08:00
hai007 55aedfb235 Implement Safe to Disconnect feature
PiperOrigin-RevId: 560119556
2023-08-25 09:51:44 -07:00
Guogang Li 6d886e3fc8 Fixed some issues in analytics data
PiperOrigin-RevId: 551900985
2023-07-28 11:13:07 -07:00
Janusz Sobczak 35acd3d849 Destroy ThroughputRecorder when PendingPayload is destroyed
This fixes a race condition where a Tp Recorder was used after being destroyed.

PiperOrigin-RevId: 551350023
2023-07-26 16:36:25 -07:00
Janusz Sobczak ae69b8ff4e Protect PendingPayload from use-after-free errors.
Protects against race conditions where a PendingPayload is destroyed when
another thread is still accessing it.

PiperOrigin-RevId: 550990038
2023-07-25 14:04:11 -07:00
Guogang Li f05bf7fc40 Fixed transfer sync issue in payload callback
PiperOrigin-RevId: 540333269
2023-06-14 11:37:45 -07:00
Eiden Kim 6ac239688f Rollback for cl/499340098 - remove DebugString() log
PiperOrigin-RevId: 500772955
2023-01-09 12:01:30 -08:00
Suet-Fei Li 084f7ebd88 Remove location namespace in third_party/nearby.
PiperOrigin-RevId: 500023196
2023-01-06 02:53:57 -08:00
Eiden Kim 871e0d2e62 Add a debug log for payload processing error
PiperOrigin-RevId: 499340098
2023-01-03 16:19:37 -08:00
hai007 255c2672ea Internal cleanup.
PiperOrigin-RevId: 495138142
2022-12-13 15:11:48 -08:00
Aaron Yu 49af1a96b6 Add SetCustomSavePath API to Nearby Connections
PiperOrigin-RevId: 492563503
2022-12-02 14:38:55 -08:00
hai007 82f35a1401 Add "PayloadDirection" as an extra index for a payload's ThroughputRecorder
PiperOrigin-RevId: 491516038
2022-11-28 20:48:52 -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
jfcarroll f4b80ccb59 These are the changes for Payload::Type => PayloadType for the flattening CL
PiperOrigin-RevId: 436767666
2022-03-23 10:11:15 -07:00
jfcarroll 517d77f5aa This adds parent path and file name to the Payload constructor. This will affect chrome.
PiperOrigin-RevId: 435223740
2022-03-16 19:18:13 -07:00
hais f5fcd35ced nearby sdk refactor
PiperOrigin-RevId: 425434260
2022-02-02 11:56:39 -08:00