Commit Graph
37 Commits
Author SHA1 Message Date
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
hai007 82f35a1401 Add "PayloadDirection" as an extra index for a payload's ThroughputRecorder
PiperOrigin-RevId: 491516038
2022-11-28 20:48:52 -08:00
Janusz Sobczak a3b6058753 Fully qualify ::location::nearby imports.
Find and replace exercise.
Replace
`using location::nearby`
with
`using ::location::nearby`
and
`using <Name> = location::nearby`
with
`using <Name> = ::location::nearby`

PiperOrigin-RevId: 490087051
2022-11-21 15:33:21 -08:00
Adam Cozzette b1d1019541 Internal change
PiperOrigin-RevId: 489671461
2022-11-19 05:04:29 -08:00
hai007 8ef1a5f3a9 Fix Throughput Profiling Nightly Sanitizer Analysis test case error
PiperOrigin-RevId: 478878990
2022-10-04 14:08:31 -07:00
hai007 8f681dece0 Throughput profiling
PiperOrigin-RevId: 477752265
2022-09-29 10:02:11 -07:00
Guogang Li 397964b5da Fixed the crash after sending a file from windows device
PiperOrigin-RevId: 472782884
2022-09-07 12:15:32 -07:00
guogang 9b12bdde8d Fixed the crash in connection close event
PiperOrigin-RevId: 465657456
2022-08-05 15:14:13 -07:00
hai007 d41cd674c8 Add onSessionComplete method in ClientProxy to log session
PiperOrigin-RevId: 461772377
2022-07-18 19:17:19 -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