Commit Graph
59 Commits
Author SHA1 Message Date
Lasan Mahaliyana be227f8466 added top level stubs to match upstream 2026-06-19 04:43:29 +05:30
Francis Tsui 0e96ed9795 Remove EventLogger.
PiperOrigin-RevId: 925032163
2026-06-01 18:45:11 -07:00
Francis Tsui 736cbb280e Internal
PiperOrigin-RevId: 924405158
2026-05-31 18:52: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 04022d0db3 Refactor MediumEnvironment to improve FakeClock usage.
PiperOrigin-RevId: 904891357
2026-04-24 02:07:38 -07:00
Edwin Wu b533dd834c Fix tsan error.
PiperOrigin-RevId: 900978318
2026-04-16 17:03:53 -07:00
Francis Tsui 1b557236f7 Log interface count and IPv6 only interface count during wifi upgrade.
PiperOrigin-RevId: 852845375
2026-01-06 10:45:13 -08:00
Francis Tsui da41bcd194 Fix tests to actually check session durations and delays.
PiperOrigin-RevId: 849273112
2025-12-26 14:45:48 -08:00
Francis Tsui 520223f3b9 Add IS_VLOG_ON macro to platform logging.
PiperOrigin-RevId: 820402805
2025-10-16 14:47:30 -07:00
Francis Tsui 3f93c0ee87 Remove more unnecessary INFO logs.
PiperOrigin-RevId: 797859361
2025-08-21 12:04:13 -07:00
Francis Tsui 6113d225e9 Move unnecessary INFO logs to VLOG.
PiperOrigin-RevId: 797451961
2025-08-20 13:58:51 -07:00
hai007 7472c810d3 Correct AWDL related error codes
PiperOrigin-RevId: 791303156
2025-08-05 11:38:20 -07:00
hai007 00a2999269 Format all the files in CL786733783
PiperOrigin-RevId: 786873870
2025-07-24 16:25:18 -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
hai007 a78e9e4138 Automated Code Change
PiperOrigin-RevId: 786383170
2025-07-23 12:34:42 -07:00
hai007 d999507674 update error code category
PiperOrigin-RevId: 746238861
2025-04-10 17:43:50 -07:00
Edwin Wu 90d687e120 Removing Serial Executor
PiperOrigin-RevId: 731094355
2025-02-25 17:44:02 -08:00
Edwin Wu 0057b219d2 In windows, discovery phase and outgoing attempt won't be recorded due to pointer is reset to null.
PiperOrigin-RevId: 728907296
2025-02-19 19:15:40 -08:00
hai007 97690c6996 [cpp23] Remove usage of std::aligned_storage in nearby
Deprecated in C++23. Details in https://crbug.com/388068052.

PiperOrigin-RevId: 722745132
2025-02-03 12:02:21 -08:00
Edwin Wu 9e464937a8 analytics: Update analytics version to v1.5.0
PiperOrigin-RevId: 704956208
2024-12-10 21:20:11 -08:00
Edwin Wu fb2e7e687b analytics: Modify OperationResultCode in C++ implementation
PiperOrigin-RevId: 704951400
2024-12-10 20:57:25 -08:00
Edwin Wu 35c1cb7bcf analytics: Add GetNextAdvertisingUpdateIndex() and GetNextDiscoveryUpdateIndex() in AnalyticsRecorder, II
PiperOrigin-RevId: 704893011
2024-12-10 16:56:55 -08:00
Edwin Wu 9a434f3ec3 analytics: Implement to pass values for OperatoinResultWithMedium.
PiperOrigin-RevId: 704304596
2024-12-09 09:02:05 -08:00
Edwin Wu 196dda9af5 analytics: Implement AdvertisingMetadataParams and DiscoveryMetadataParams for analytics recorder.
PiperOrigin-RevId: 704295939
2024-12-09 08:32:58 -08:00
Edwin Wu 46968b9278 analytics: Record stop reason for advertising and discovery phases.
PiperOrigin-RevId: 704289987
2024-12-09 08:12:36 -08:00
Edwin Wu ca35adcd4d analytics: Add adv_dis_result to analytics_recorder for onStartAdvertising and onStartDiscovery
PiperOrigin-RevId: 704277617
2024-12-09 07:27:43 -08:00
Edwin Wu 9c34330939 analytics: Don't record time millis in client log for testing.
PiperOrigin-RevId: 704272128
2024-12-09 07:06:57 -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
Edwin Wu 4c42919211 analytics: Add operation result code for bandwidth upgrade analytics, I
PiperOrigin-RevId: 704204474
2024-12-09 02:41:43 -08:00
Edwin Wu f9b19df0b5 analytics: Add OperationResultCode to ConnectionAttempt, I
PiperOrigin-RevId: 704162829
2024-12-08 23:45:37 -08:00
Guogang Li 526ebc8cfd Clear connection token when it exceeds TTL
PiperOrigin-RevId: 684473251
2024-10-10 09:33:06 -07:00
Guogang Li d5b5d92f87 Internal logging update
PiperOrigin-RevId: 669420403
2024-08-30 13:08:35 -07: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
Francis Tsui 012b9b0569 Cleanup EventLogger interface.
PiperOrigin-RevId: 625797877
2024-04-17 13:59:30 -07:00
Francis Tsui c2ade33c9c No public changes.
PiperOrigin-RevId: 597033150
2024-01-09 13:46:42 -08:00
Janusz Sobczak 5393daf9f1 Merge logging and types build targets
Both "types" and "logging" build targets included "logging.h"
Merging them together avoids circular dependencies.

PiperOrigin-RevId: 555262816
2023-08-09 19:13:12 -07:00
Guogang Li 6d886e3fc8 Fixed some issues in analytics data
PiperOrigin-RevId: 551900985
2023-07-28 11:13:07 -07:00
Janusz Sobczak f3bbb8caeb Fix race condition in ThroughputRecorder
PiperOrigin-RevId: 551361687
2023-07-26 17:28:45 -07:00
Janusz Sobczak 31e4b45dd4 Sync before checking logs
The events are logged on a different threads. We should wait until all logs
are processed before verifying expectations.

PiperOrigin-RevId: 547926810
2023-07-13 14:41:36 -07:00
Janusz Sobczak 02e37e8a0c Fix flakiness in analytics
`session_was_logged_` could be set out of order if a new session started
immediately after terminating the previous. Fixing that.

Check the logged messages rather then the voltile analytics recorder state
in the tests.

PiperOrigin-RevId: 547732773
2023-07-13 02:35:21 -07:00
Anay Wadhera 5da4b33824 Revert "Revert incoming connections listener changes for internal breakages."
PiperOrigin-RevId: 542381558
2023-06-21 15:36:44 -07:00
Anay Wadhera 1973b09849 Revert incoming connections listener changes for internal breakages.
PiperOrigin-RevId: 542010849
2023-06-20 12:16:10 -07:00
Anay Wadhera 44fb9b4fa2 implement stoplisteningforincomingconnections
PiperOrigin-RevId: 540724954
2023-06-15 16:43:56 -07:00
Anay Wadhera 5737b867ed implement startlisteningforincomingconnections
PiperOrigin-RevId: 540707703
2023-06-15 15:31:08 -07:00
hai007 4eaaeb254d Clean up third_party/nearby/connections/implementation/analytics
PiperOrigin-RevId: 529811175
2023-05-05 14:13:49 -07:00
hai007 ff412edde1 Skip the analytics recording on the closed connection without strategy sessions
PiperOrigin-RevId: 529502206
2023-05-04 13:41:08 -07:00
hai007 1c19d52f29 Limit log spam from Analytics Recorder.
PiperOrigin-RevId: 506722936
2023-02-02 14:26:35 -08:00
Suet-Fei Li 084f7ebd88 Remove location namespace in third_party/nearby.
PiperOrigin-RevId: 500023196
2023-01-06 02:53:57 -08:00
hai007 f772614a46 Automated visibility attribute cleanup.
PiperOrigin-RevId: 498310370
2022-12-28 21:46:22 -08:00