dec152806d9ed0bdc3d14566bbb7bb3f0464b45e
This adds a pull metric to capture time_zone_detector state, and push metric code to the RealProviderMetricsLogger for recording LocationTimeZoneProvider state changes. Tested with instructions from http://go/westworld-create-atom: m statsd_testdrive Testing the pull atom: $ statsd_testdrive 10099 ... metric_id: 1111 gauge_metrics { data { bucket_info { atom { time_zone_detector_state { telephony_supported: true geo_supported: true location_enabled: true auto_detection_setting: true geo_detection_setting: true detection_mode: GEO device_time_zone_ordinal: 0 latest_telephony_suggestion { type: CERTAIN time_zone_ordinals: 0 } latest_geo_suggestion { type: CERTAIN time_zone_ordinals: 0 } } } elapsed_timestamp_nanos: 4997012144302 bucket_num: 83 } } } time_base_elapsed_nano_seconds: 9457122554 bucket_size_nano_seconds: 60000000000 is_active: true Testing the push atoms: $ statsd_testdrive 342 <Toggled tz detection off and on, location tz detection off and on, etc.> metric_id: 1111 event_metrics { data { elapsed_timestamp_nanos: 136166610854 atom { location_time_zone_provider_state_reported { provider_index: 0 state: STOPPED } } } data { elapsed_timestamp_nanos: 136166870437 atom { location_time_zone_provider_state_reported { provider_index: 1 state: STOPPED } } } data { elapsed_timestamp_nanos: 138413619828 atom { location_time_zone_provider_state_reported { provider_index: 0 state: INITIALIZING } } } data { elapsed_timestamp_nanos: 143320553546 atom { location_time_zone_provider_state_reported { provider_index: 0 state: STOPPED } } } data { elapsed_timestamp_nanos: 145668774196 atom { location_time_zone_provider_state_reported { provider_index: 0 state: INITIALIZING } } } data { elapsed_timestamp_nanos: 149896281961 atom { location_time_zone_provider_state_reported { provider_index: 0 state: STOPPED } } } data { elapsed_timestamp_nanos: 151686869171 atom { location_time_zone_provider_state_reported { provider_index: 0 state: INITIALIZING } } } } is_active: true Bug: 172934905 Test: See above Change-Id: I85b3ca4abd670bd5a339111f3c30a8e0bc57579c
…
Merge "Identity Credential: API changes for Android 12" am:
40d6635701 am: 6252f82f61 am: 581bf34de0
Merge "Keystore 2.0: Rename KeystoreUserManagement KeystoreMaintenance" am:
721f75ec5a am: 2172f58763 am: 49e95446fe
…
Merge "Annotation and doc improvement for adhoc conference APIs." am:
0251d617a5 am: e4bc4e9ca5 am: 3e96c1328c
…
Merge "Stop ignoring classes on the classpath for stubs" am:
61e082abdb am: ab3f2d3aba am: 81bfcb40a3
…
Merge "Add auto-postsubmit test tag for frameworks/base" am:
ec14bafb25 am: 987d246395 am: c8cf0becf0
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%