| /* |
| * Copyright (C) 2017 The Android Open Source Project |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| syntax = "proto2"; |
| |
| package android.os.statsd; |
| |
| option optimize_for = CODE_SIZE; |
| option java_package = "com.android.os"; |
| option java_outer_classname = "AtomsProto"; |
| |
| import "frameworks/proto_logging/stats/attribution_node.proto"; |
| import "frameworks/proto_logging/stats/atoms/adpf/adpf_atoms.proto"; |
| import "frameworks/proto_logging/stats/atoms/agif/agif_atoms.proto"; |
| import "frameworks/proto_logging/stats/atoms/corenetworking/connectivity/connectivity_atoms.proto"; |
| import "frameworks/proto_logging/stats/atoms/display/display_atoms.proto"; |
| import "frameworks/proto_logging/stats/atoms/dnd/dnd_atoms.proto"; |
| import "frameworks/proto_logging/stats/atoms/gps/gps_atoms.proto"; |
| import "frameworks/proto_logging/stats/atoms/grammaticalinflection/grammatical_inflection.proto"; |
| import "frameworks/proto_logging/stats/atoms/hardware/biometrics/biometrics_atoms.proto"; |
| import "frameworks/proto_logging/stats/atoms/hotword/hotword_atoms.proto"; |
| import "frameworks/proto_logging/stats/atoms/input/input_atoms.proto"; |
| import "frameworks/proto_logging/stats/atoms/kernel/kernel_atoms.proto"; |
| import "frameworks/proto_logging/stats/atoms/locale/locale_atoms.proto"; |
| import "frameworks/proto_logging/stats/atoms/location/location_atoms.proto"; |
| import "frameworks/proto_logging/stats/atoms/media/media_drm_atoms.proto"; |
| import "frameworks/proto_logging/stats/atoms/wearsysui/wearsysui_atoms.proto"; |
| import "frameworks/proto_logging/stats/atoms/providers/mediaprovider/media_provider_atoms.proto"; |
| import "frameworks/proto_logging/stats/atoms/sysui/sysui_atoms.proto"; |
| import "frameworks/proto_logging/stats/atoms/usb/usb_atoms.proto"; |
| import "frameworks/proto_logging/stats/atoms/view/inputmethod/inputmethod_atoms.proto"; |
| import "frameworks/proto_logging/stats/atom_field_options.proto"; |
| import "frameworks/proto_logging/stats/enums/adservices/fledge/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/adservices/measurement/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/anr/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/app/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/app/job/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/app/remoteprovisioner_enums.proto"; |
| import "frameworks/proto_logging/stats/enums/app/settings_enums.proto"; |
| import "frameworks/proto_logging/stats/enums/app/wearservices/wearservices_enums.proto"; |
| import "frameworks/proto_logging/stats/enums/app/tvsettings_enums.proto"; |
| import "frameworks/proto_logging/stats/enums/app/wearsettings_enums.proto"; |
| import "frameworks/proto_logging/stats/enums/autofill/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/bluetooth/a2dp/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/bluetooth/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/bluetooth/hci/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/bluetooth/hfp/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/bluetooth/leaudio/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/bluetooth/rfcomm/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/bluetooth/smp/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/contexthub/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/debug/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/display/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/hardware/biometrics/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/jank/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/media/audio/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/media/midi/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/media/outputswitcher/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/media/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/mms/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/nearby/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/net/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/neuralnetworks/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/nfc/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/os/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/server/connectivity/data_stall_event.proto"; |
| import "frameworks/proto_logging/stats/enums/server/display/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/server/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/server/job/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/server/location/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/service/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/service/procstats_enum.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/connectivity/connectivity_service.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/connectivity/network_stack.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/connectivity/tethering.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/dnsresolver/dns_resolver.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/devicepolicy/device_policy.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/devicepolicy/device_policy_enums.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/docsui/docsui_enums.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/accessibility/accessibility_enums.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/hdmi/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/intelligence/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/location/location_enums.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/mediametrics/mediametrics.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/mediaprovider/mediaprovider_enums.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/mobiledatadownload/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/privacysignals/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/safetycenter/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/storage/storage_enums.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/style/style_enums.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/sysui/notification_enums.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/tls/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/tv/tif_enums.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/wm/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/system/security/keystore2/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/telecomm/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/telephony/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/transparency/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/uwb/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/view/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/wifi/enums.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/textclassifier/textclassifier_enums.proto"; |
| import "frameworks/proto_logging/stats/enums/stats/otaupdate/updateengine_enums.proto"; |
| import "frameworks/proto_logging/stats/message/mediametrics_message.proto"; |
| import "frameworks/proto_logging/stats/atoms/devicelogs/device_logs_atoms.proto"; |
| import "frameworks/proto_logging/stats/atoms/wearservices/wearservices_atoms.proto"; |
| import "frameworks/proto_logging/stats/atoms/wear/media/wear_media_atoms.proto"; |
| |
| /** |
| * The primary atom class. This message defines all of the available |
| * raw stats log events from the Android system, also known as "atoms." |
| * |
| * This field contains a single oneof with all of the available messages. |
| * The stats-log-api-gen tool runs as part of the Android build and |
| * generates the android.util.StatsLog class, which contains the constants |
| * and methods that Android uses to log. |
| * |
| * This Atom class is not actually built into the Android system. |
| * Instead, statsd on Android constructs these messages synthetically, |
| * in the format defined here and in stats_log.proto. |
| */ |
| message Atom { |
| // Pushed atoms start at 2. |
| oneof pushed { |
| // For StatsLog reasons, 1 is illegal and will not work. Must start at 2. |
| BleScanStateChanged ble_scan_state_changed = 2 |
| [(module) = "bluetooth", (module) = "statsdtest"]; |
| ProcessStateChanged process_state_changed = 3 [(module) = "framework", deprecated = true]; |
| BleScanResultReceived ble_scan_result_received = 4 |
| [(module) = "bluetooth", (module) = "statsdtest"]; |
| SensorStateChanged sensor_state_changed = |
| 5 [(module) = "framework", (module) = "statsdtest"]; |
| gps.GpsScanStateChanged gps_scan_state_changed = 6 [(module) = "framework"]; |
| SyncStateChanged sync_state_changed = 7 [(module) = "framework", (module) = "statsdtest"]; |
| ScheduledJobStateChanged scheduled_job_state_changed = |
| 8 [(module) = "framework", (module) = "statsdtest"]; |
| ScreenBrightnessChanged screen_brightness_changed = |
| 9 [(module) = "framework", (module) = "statsdtest"]; |
| WakelockStateChanged wakelock_state_changed = |
| 10 [(module) = "framework", (module) = "statsdtest"]; |
| LongPartialWakelockStateChanged long_partial_wakelock_state_changed = |
| 11 [(module) = "framework"]; |
| MobileRadioPowerStateChanged mobile_radio_power_state_changed = |
| 12 [(module) = "framework", (truncate_timestamp) = true]; |
| WifiRadioPowerStateChanged wifi_radio_power_state_changed = 13 [(module) = "framework"]; |
| ActivityManagerSleepStateChanged activity_manager_sleep_state_changed = |
| 14 [(module) = "framework"]; |
| MemoryFactorStateChanged memory_factor_state_changed = 15 [(module) = "framework"]; |
| ExcessiveCpuUsageReported excessive_cpu_usage_reported = 16 [(module) = "framework"]; |
| CachedKillReported cached_kill_reported = 17 [(module) = "framework", deprecated = true]; |
| ProcessMemoryStatReported process_memory_stat_reported = |
| 18 [(module) = "framework", deprecated = true]; |
| sysui.LauncherUIChanged launcher_event = 19 [(module) = "sysui"]; |
| BatterySaverModeStateChanged battery_saver_mode_state_changed = |
| 20 [(module) = "framework", (module) = "statsdtest"]; |
| DeviceIdleModeStateChanged device_idle_mode_state_changed = 21 [(module) = "framework"]; |
| DeviceIdlingModeStateChanged device_idling_mode_state_changed = 22 [(module) = "framework"]; |
| AudioStateChanged audio_state_changed = |
| 23 [(module) = "framework", (truncate_timestamp) = true]; |
| MediaCodecStateChanged media_codec_state_changed = 24 [(module) = "framework"]; |
| CameraStateChanged camera_state_changed = 25 [(module) = "framework"]; |
| FlashlightStateChanged flashlight_state_changed = 26 [(module) = "framework"]; |
| UidProcessStateChanged uid_process_state_changed = |
| 27 [(module) = "framework", (module) = "statsdtest"]; |
| ProcessLifeCycleStateChanged process_life_cycle_state_changed = |
| 28 [(module) = "framework", (module) = "statsdtest"]; |
| ScreenStateChanged screen_state_changed = |
| 29 [(module) = "framework", (module) = "statsdtest"]; |
| BatteryLevelChanged battery_level_changed = |
| 30 [(module) = "framework", (module) = "statsdtest"]; |
| ChargingStateChanged charging_state_changed = 31 [(module) = "framework"]; |
| PluggedStateChanged plugged_state_changed = 32 |
| [(module) = "framework", (module) = "statsdtest"]; |
| InteractiveStateChanged interactive_state_changed = 33 [(module) = "framework"]; |
| input.TouchEventReported touch_event_reported = 34; |
| WakeupAlarmOccurred wakeup_alarm_occurred = 35 [(module) = "framework"]; |
| KernelWakeupReported kernel_wakeup_reported = 36 [(module) = "framework"]; |
| WifiLockStateChanged wifi_lock_state_changed = 37 [(module) = "wifi"]; |
| WifiSignalStrengthChanged wifi_signal_strength_changed = 38 [(module) = "wifi"]; |
| WifiScanStateChanged wifi_scan_state_changed = 39 [(module) = "wifi"]; |
| PhoneSignalStrengthChanged phone_signal_strength_changed = |
| 40 [(module) = "framework", (module) = "statsdtest", (truncate_timestamp) = true]; |
| SettingChanged setting_changed = 41 [(module) = "framework"]; |
| ActivityForegroundStateChanged activity_foreground_state_changed = |
| 42 [(module) = "framework", (module) = "statsdtest"]; |
| IsolatedUidChanged isolated_uid_changed = |
| 43 [(module) = "framework", (module) = "statsd", (module) = "statsdtest"]; |
| PacketWakeupOccurred packet_wakeup_occurred = 44 [(module) = "framework"]; |
| WallClockTimeShifted wall_clock_time_shifted = 45 [(module) = "framework"]; |
| AnomalyDetected anomaly_detected = 46 [(module) = "statsd"]; |
| AppBreadcrumbReported app_breadcrumb_reported = 47 |
| [(module) = "statsd", (module) = "statsdtest"]; |
| AppStartOccurred app_start_occurred = 48 [(module) = "framework", (module) = "statsdtest"]; |
| AppStartCanceled app_start_canceled = 49 [(module) = "framework"]; |
| AppStartFullyDrawn app_start_fully_drawn = 50 [(module) = "framework"]; |
| LmkKillOccurred lmk_kill_occurred = 51 [(module) = "framework"]; |
| PictureInPictureStateChanged picture_in_picture_state_changed = 52 [(module) = "framework"]; |
| WifiMulticastLockStateChanged wifi_multicast_lock_state_changed = 53 [(module) = "wifi"]; |
| LmkStateChanged lmk_state_changed = 54 [(module) = "framework"]; |
| AppStartMemoryStateCaptured app_start_memory_state_captured = 55 [(module) = "framework"]; |
| ShutdownSequenceReported shutdown_sequence_reported = 56 [(module) = "framework"]; |
| BootSequenceReported boot_sequence_reported = 57; |
| OverlayStateChanged overlay_state_changed = |
| 59 [(module) = "framework", (module) = "statsdtest"]; |
| ForegroundServiceStateChanged foreground_service_state_changed |
| = 60 [(module) = "framework"]; |
| CallStateChanged call_state_changed = |
| 61 [(module) = "telecom", (truncate_timestamp) = true]; |
| sysui.KeyguardStateChanged keyguard_state_changed = 62 [(module) = "sysui"]; |
| sysui.KeyguardBouncerStateChanged keyguard_bouncer_state_changed = 63 [(module) = "sysui"]; |
| sysui.KeyguardBouncerPasswordEntered keyguard_bouncer_password_entered = |
| 64 [(module) = "sysui"]; |
| AppDied app_died = 65 [(module) = "framework"]; |
| ResourceConfigurationChanged resource_configuration_changed = 66 [(module) = "framework"]; |
| BluetoothEnabledStateChanged bluetooth_enabled_state_changed = 67 [(module) = "bluetooth"]; |
| BluetoothConnectionStateChanged bluetooth_connection_state_changed = |
| 68 [(module) = "bluetooth"]; |
| GpsSignalQualityChanged gps_signal_quality_changed = 69 [(module) = "framework"]; |
| UsbConnectorStateChanged usb_connector_state_changed = 70 [(module) = "framework"]; |
| SpeakerImpedanceReported speaker_impedance_reported = 71; |
| HardwareFailed hardware_failed = 72; |
| PhysicalDropDetected physical_drop_detected = 73; |
| ChargeCyclesReported charge_cycles_reported = 74; |
| MobileConnectionStateChanged mobile_connection_state_changed = 75 [(module) = "telephony"]; |
| MobileRadioTechnologyChanged mobile_radio_technology_changed = 76 [(module) = "telephony"]; |
| UsbDeviceAttached usb_device_attached = 77 [(module) = "framework"]; |
| AppCrashOccurred app_crash_occurred = 78 [(module) = "framework", (module) = "statsdtest"]; |
| ANROccurred anr_occurred = 79 [(module) = "framework"]; |
| WTFOccurred wtf_occurred = 80 [(module) = "framework"]; |
| LowMemReported low_mem_reported = 81 [(module) = "framework"]; |
| GenericAtom generic_atom = 82; |
| VibratorStateChanged vibrator_state_changed = 84 [(module) = "framework"]; |
| DeferredJobStatsReported deferred_job_stats_reported = 85 [(module) = "framework"]; |
| ThermalThrottlingStateChanged thermal_throttling = 86 [deprecated=true]; |
| BiometricAcquired biometric_acquired = 87 [(module) = "framework"]; |
| BiometricAuthenticated biometric_authenticated = 88 [(module) = "framework"]; |
| BiometricErrorOccurred biometric_error_occurred = 89 [(module) = "framework"]; |
| UiEventReported ui_event_reported = 90 [ |
| (module) = "framework", |
| (module) = "sysui", |
| (module) = "mediaprovider" |
| ]; |
| BatteryHealthSnapshot battery_health_snapshot = 91; |
| SlowIo slow_io = 92; |
| BatteryCausedShutdown battery_caused_shutdown = 93; |
| PhoneServiceStateChanged phone_service_state_changed = 94 [(module) = "framework"]; |
| PhoneStateChanged phone_state_changed = 95 [(module) = "framework"]; |
| UserRestrictionChanged user_restriction_changed = 96; |
| SettingsUIChanged settings_ui_changed = 97 [(module) = "settings"]; |
| ConnectivityStateChanged connectivity_state_changed = 98 [(module) = "framework"]; |
| // TODO: service state change is very noisy shortly after boot, as well |
| // as at other transitions - coming out of doze, device plugged in, etc. |
| // Consider removing this if it becomes a problem |
| ServiceStateChanged service_state_changed = 99 [(module) = "framework"]; |
| ServiceLaunchReported service_launch_reported = 100 [(module) = "framework"]; |
| FlagFlipUpdateOccurred flag_flip_update_occurred = 101 [(module) = "framework"]; |
| BinaryPushStateChanged binary_push_state_changed = 102 [(module) = "statsd"]; |
| DevicePolicyEvent device_policy_event = 103 [(module) = "framework"]; |
| DocsUIFileOperationCanceledReported docs_ui_file_op_canceled = 104 [(module) = "docsui"]; |
| DocsUIFileOperationCopyMoveModeReported docs_ui_file_op_copy_move_mode_reported = |
| 105 [(module) = "docsui"]; |
| DocsUIFileOperationFailureReported docs_ui_file_op_failure = 106 [(module) = "docsui"]; |
| DocsUIFileOperationReported docs_ui_provider_file_op = 107 [(module) = "docsui"]; |
| DocsUIInvalidScopedAccessRequestReported docs_ui_invalid_scoped_access_request = |
| 108 [(module) = "docsui"]; |
| DocsUILaunchReported docs_ui_launch_reported = 109 [(module) = "docsui"]; |
| DocsUIRootVisitedReported docs_ui_root_visited = 110 [(module) = "docsui"]; |
| DocsUIStartupMsReported docs_ui_startup_ms = 111 [(module) = "docsui"]; |
| DocsUIUserActionReported docs_ui_user_action_reported = 112 [(module) = "docsui"]; |
| WifiEnabledStateChanged wifi_enabled_state_changed = 113 [(module) = "framework"]; |
| WifiRunningStateChanged wifi_running_state_changed = 114 |
| [(module) = "framework", deprecated = true]; |
| AppCompacted app_compacted = 115 [(module) = "framework", deprecated = true]; |
| NetworkDnsEventReported network_dns_event_reported = 116 [(module) = "resolv"]; |
| DocsUIPickerLaunchedFromReported docs_ui_picker_launched_from_reported = |
| 117 [(module) = "docsui"]; |
| DocsUIPickResultReported docs_ui_pick_result_reported = 118 [(module) = "docsui"]; |
| DocsUISearchModeReported docs_ui_search_mode_reported = 119 [(module) = "docsui"]; |
| DocsUISearchTypeReported docs_ui_search_type_reported = 120 [(module) = "docsui"]; |
| DataStallEvent data_stall_event = 121 [(module) = "network_stack"]; |
| RescuePartyResetReported rescue_party_reset_reported = 122 [(module) = "crashrecovery", (module) = "framework"]; |
| SignedConfigReported signed_config_reported = 123 [(module) = "framework"]; |
| GnssNiEventReported gnss_ni_event_reported = 124 [(module) = "framework"]; |
| BluetoothLinkLayerConnectionEvent bluetooth_link_layer_connection_event = |
| 125 [(module) = "bluetooth"]; |
| BluetoothAclConnectionStateChanged bluetooth_acl_connection_state_changed = |
| 126 [(module) = "bluetooth"]; |
| BluetoothScoConnectionStateChanged bluetooth_sco_connection_state_changed = |
| 127 [(module) = "bluetooth"]; |
| AppDowngraded app_downgraded = 128 [(module) = "framework"]; |
| AppOptimizedAfterDowngraded app_optimized_after_downgraded = 129; |
| LowStorageStateChanged low_storage_state_changed = 130 [(module) = "framework"]; |
| GnssNfwNotificationReported gnss_nfw_notification_reported = 131 [(module) = "framework"]; |
| GnssConfigurationReported gnss_configuration_reported = 132 [(module) = "framework"]; |
| UsbPortOverheatEvent usb_port_overheat_event_reported = 133; |
| NfcErrorOccurred nfc_error_occurred = 134 [(module) = "nfc"]; |
| NfcStateChanged nfc_state_changed = 135 [(module) = "nfc"]; |
| NfcBeamOccurred nfc_beam_occurred = 136 [(module) = "nfc"]; |
| NfcCardemulationOccurred nfc_cardemulation_occurred = 137 [(module) = "nfc"]; |
| NfcTagOccurred nfc_tag_occurred = 138 [(module) = "nfc"]; |
| NfcHceTransactionOccurred nfc_hce_transaction_occurred = 139 [(module) = "nfc"]; |
| SeStateChanged se_state_changed = 140 [(module) = "secure_element"]; |
| SeOmapiReported se_omapi_reported = 141 [(module) = "secure_element"]; |
| BroadcastDispatchLatencyReported broadcast_dispatch_latency_reported = |
| 142 [(module) = "framework"]; |
| AttentionManagerServiceResultReported attention_manager_service_result_reported = |
| 143 [(module) = "framework"]; |
| AdbConnectionChanged adb_connection_changed = 144 [(module) = "framework"]; |
| SpeechDspStatReported speech_dsp_stat_reported = 145; |
| UsbContaminantReported usb_contaminant_reported = 146 [(module) = "framework"]; |
| WatchdogRollbackOccurred watchdog_rollback_occurred = |
| 147 [(module) = "framework", (module) = "crashrecovery", (module) = "statsd"]; |
| BiometricSystemHealthIssueDetected biometric_system_health_issue_detected = |
| 148 [(module) = "framework"]; |
| BubbleUIChanged bubble_ui_changed = 149 [(module) = "framework"]; |
| ScheduledJobConstraintChanged scheduled_job_constraint_changed = |
| 150 [(module) = "framework"]; |
| BluetoothActiveDeviceChanged bluetooth_active_device_changed = |
| 151 [(module) = "bluetooth"]; |
| BluetoothA2dpPlaybackStateChanged bluetooth_a2dp_playback_state_changed = |
| 152 [(module) = "bluetooth"]; |
| BluetoothA2dpCodecConfigChanged bluetooth_a2dp_codec_config_changed = |
| 153 [(module) = "bluetooth"]; |
| BluetoothA2dpCodecCapabilityChanged bluetooth_a2dp_codec_capability_changed = |
| 154 [(module) = "bluetooth"]; |
| BluetoothA2dpAudioUnderrunReported bluetooth_a2dp_audio_underrun_reported = |
| 155 [(module) = "bluetooth"]; |
| BluetoothA2dpAudioOverrunReported bluetooth_a2dp_audio_overrun_reported = |
| 156 [(module) = "bluetooth"]; |
| BluetoothDeviceRssiReported bluetooth_device_rssi_reported = |
| 157 [(module) = "bluetooth"]; |
| BluetoothDeviceFailedContactCounterReported |
| bluetooth_device_failed_contact_counter_reported = 158 [(module) = "bluetooth"]; |
| BluetoothDeviceTxPowerLevelReported bluetooth_device_tx_power_level_reported = |
| 159 [(module) = "bluetooth"]; |
| BluetoothHciTimeoutReported bluetooth_hci_timeout_reported = |
| 160 [(module) = "bluetooth"]; |
| BluetoothQualityReportReported bluetooth_quality_report_reported = |
| 161 [(module) = "bluetooth"]; |
| BluetoothDeviceInfoReported bluetooth_device_info_reported = |
| 162 [(module) = "bluetooth"]; |
| BluetoothRemoteVersionInfoReported bluetooth_remote_version_info_reported = |
| 163 [(module) = "bluetooth"]; |
| BluetoothSdpAttributeReported bluetooth_sdp_attribute_reported = |
| 164 [(module) = "bluetooth"]; |
| BluetoothBondStateChanged bluetooth_bond_state_changed = |
| 165 [(module) = "bluetooth"]; |
| BluetoothClassicPairingEventReported bluetooth_classic_pairing_event_reported = |
| 166 [(module) = "bluetooth"]; |
| BluetoothSmpPairingEventReported bluetooth_smp_pairing_event_reported = |
| 167 [(module) = "bluetooth"]; |
| ScreenTimeoutExtensionReported screen_timeout_extension_reported = |
| 168 [(module) = "framework"]; |
| ProcessStartTime process_start_time = 169 [(module) = "framework"]; |
| PermissionGrantRequestResultReported permission_grant_request_result_reported = |
| 170 [(module) = "permissioncontroller"]; |
| BluetoothSocketConnectionStateChanged bluetooth_socket_connection_state_changed = |
| 171 [(module) = "bluetooth"]; |
| DeviceIdentifierAccessDenied device_identifier_access_denied = |
| 172 [(module) = "telephony_common"]; |
| BubbleDeveloperErrorReported bubble_developer_error_reported = 173 [(module) = "framework"]; |
| sysui.AssistGestureStageReported assist_gesture_stage_reported = 174 [(module) = "sysui"]; |
| sysui.AssistGestureFeedbackReported assist_gesture_feedback_reported = |
| 175 [(module) = "sysui"]; |
| sysui.AssistGestureProgressReported assist_gesture_progress_reported = |
| 176 [(module) = "sysui"]; |
| input.TouchGestureClassified touch_gesture_classified = 177 [(module) = "framework"]; |
| HiddenApiUsed hidden_api_used = 178 [(module) = "framework"]; |
| StyleUIChanged style_ui_changed = 179 [(module) = "sysui", (module) = "wallpaper"]; |
| PrivacyIndicatorsInteracted privacy_indicators_interacted = |
| 180 [(module) = "permissioncontroller"]; |
| AppInstallOnExternalStorageReported app_install_on_external_storage_reported = |
| 181 [(module) = "framework"]; |
| NetworkStackReported network_stack_reported = 182 [(module) = "network_stack"]; |
| AppMovedStorageReported app_moved_storage_reported = 183 [(module) = "framework"]; |
| BiometricEnrolled biometric_enrolled = 184 [(module) = "framework"]; |
| SystemServerWatchdogOccurred system_server_watchdog_occurred = 185 [(module) = "framework"]; |
| TombStoneOccurred tomb_stone_occurred = 186 [(module) = "framework"]; |
| BluetoothClassOfDeviceReported bluetooth_class_of_device_reported = |
| 187 [(module) = "bluetooth"]; |
| IntelligenceEventReported intelligence_event_reported = |
| 188 [(module) = "intelligence"]; |
| ThermalThrottlingSeverityStateChanged thermal_throttling_severity_state_changed = |
| 189 [(module) = "framework"]; |
| RoleRequestResultReported role_request_result_reported = |
| 190 [(module) = "permissioncontroller"]; |
| MediametricsAudiopolicyReported mediametrics_audiopolicy_reported = |
| 191 [(module) = "media_metrics"]; |
| MediametricsAudiorecordReported mediametrics_audiorecord_reported = |
| 192[(module) = "media_metrics"]; |
| MediametricsAudiothreadReported mediametrics_audiothread_reported = |
| 193 [(module) = "media_metrics"]; |
| MediametricsAudiotrackReported mediametrics_audiotrack_reported = |
| 194 [(module) = "media_metrics"]; |
| MediametricsCodecReported mediametrics_codec_reported = |
| 195 [(module) = "media_metrics"]; |
| MediametricsDrmWidevineReported mediametrics_drm_widevine_reported = |
| 196 [(module) = "media_metrics"]; |
| MediametricsExtractorReported mediametrics_extractor_reported = |
| 197 [(module) = "media_metrics"]; |
| MediametricsMediadrmReported mediametrics_mediadrm_reported = |
| 198 [(module) = "media_metrics"]; |
| MediametricsNuPlayerReported mediametrics_nuplayer_reported = |
| 199 [(module) = "media_metrics"]; |
| MediametricsRecorderReported mediametrics_recorder_reported = |
| 200 [(module) = "media_metrics"]; |
| MediametricsDrmManagerReported mediametrics_drmmanager_reported = |
| 201 [(module) = "media_metrics"]; |
| CarPowerStateChanged car_power_state_changed = 203 [(module) = "car"]; |
| GarageModeInfo garage_mode_info = 204 [(module) = "car"]; |
| TestAtomReported test_atom_reported = 205 |
| [(module) = "cts", (module) = "statsdtest"]; |
| ContentCaptureCallerMismatchReported content_capture_caller_mismatch_reported = |
| 206 [(module) = "framework"]; |
| ContentCaptureServiceEvents content_capture_service_events = 207 [(module) = "framework"]; |
| ContentCaptureSessionEvents content_capture_session_events = 208 [(module) = "framework"]; |
| ContentCaptureFlushed content_capture_flushed = 209 [(module) = "framework"]; |
| LocationManagerApiUsageReported location_manager_api_usage_reported = |
| 210 [(module) = "framework"]; |
| ReviewPermissionsFragmentResultReported review_permissions_fragment_result_reported = |
| 211 [(module) = "permissioncontroller"]; |
| RuntimePermissionsUpgradeResult runtime_permissions_upgrade_result = |
| 212 [(module) = "permissioncontroller"]; |
| GrantPermissionsActivityButtonActions grant_permissions_activity_button_actions = |
| 213 [(module) = "permissioncontroller"]; |
| LocationAccessCheckNotificationAction location_access_check_notification_action = |
| 214 [(module) = "permissioncontroller"]; |
| AppPermissionFragmentActionReported app_permission_fragment_action_reported = |
| 215 [(module) = "permissioncontroller"]; |
| AppPermissionFragmentViewed app_permission_fragment_viewed = |
| 216 [(module) = "permissioncontroller"]; |
| AppPermissionsFragmentViewed app_permissions_fragment_viewed = |
| 217 [(module) = "permissioncontroller"]; |
| PermissionAppsFragmentViewed permission_apps_fragment_viewed = |
| 218 [(module) = "permissioncontroller"]; |
| TextSelectionEvent text_selection_event = 219 [(module) = "textclassifier"]; |
| TextLinkifyEvent text_linkify_event = 220 [(module) = "textclassifier"]; |
| ConversationActionsEvent conversation_actions_event = 221 [(module) = "textclassifier"]; |
| LanguageDetectionEvent language_detection_event = 222 [(module) = "textclassifier"]; |
| ExclusionRectStateChanged exclusion_rect_state_changed = 223 [(module) = "framework"]; |
| sysui.BackGesture back_gesture_reported_reported = 224 [(module) = "sysui"]; |
| UpdateEngineUpdateAttemptReported update_engine_update_attempt_reported = |
| 225 [(module) = "update_engine"]; |
| UpdateEngineSuccessfulUpdateReported update_engine_successful_update_reported = |
| 226 [(module) = "update_engine"]; |
| CameraActionEvent camera_action_event = 227 [(module) = "framework"]; |
| AppCompatibilityChangeReported app_compatibility_change_reported = |
| 228 [(module) = "framework"]; |
| PerfettoUploaded perfetto_uploaded = 229 [(module) = "perfetto"]; |
| VmsClientConnectionStateChanged vms_client_connection_state_changed = |
| 230 [(module) = "car"]; |
| MediaProviderScanOccurred media_provider_scan_occurred = 233 [(module) = "mediaprovider"]; |
| MediaContentDeleted media_content_deleted = 234 [(module) = "mediaprovider"]; |
| MediaProviderPermissionRequested media_provider_permission_requested = |
| 235 [(module) = "mediaprovider"]; |
| MediaProviderSchemaChanged media_provider_schema_changed = 236 [(module) = "mediaprovider"]; |
| MediaProviderIdleMaintenanceFinished media_provider_idle_maintenance_finished = |
| 237 [(module) = "mediaprovider"]; |
| RebootEscrowRecoveryReported reboot_escrow_recovery_reported = 238 [(module) = "framework"]; |
| BootTimeEventDuration boot_time_event_duration_reported = 239 [(module) = "framework"]; |
| BootTimeEventElapsedTime boot_time_event_elapsed_time_reported = |
| 240 [(module) = "framework"]; |
| BootTimeEventUtcTime boot_time_event_utc_time_reported = 241; |
| BootTimeEventErrorCode boot_time_event_error_code_reported = 242 [(module) = "framework"]; |
| UserspaceRebootReported userspace_reboot_reported = 243 [(module) = "framework"]; |
| NotificationReported notification_reported = 244 [(module) = "framework"]; |
| sysui.NotificationPanelReported notification_panel_reported = 245 [(module) = "sysui"]; |
| NotificationChannelModified notification_channel_modified = 246 [(module) = "framework"]; |
| IntegrityCheckResultReported integrity_check_result_reported = 247 [(module) = "framework"]; |
| IntegrityRulesPushed integrity_rules_pushed = 248 [(module) = "framework"]; |
| CellBroadcastMessageReported cb_message_reported = |
| 249 [(module) = "cellbroadcast"]; |
| CellBroadcastMessageError cb_message_error = |
| 250 [(module) = "cellbroadcast"]; |
| WifiHealthStatReported wifi_health_stat_reported = 251 [(module) = "wifi"]; |
| WifiFailureStatReported wifi_failure_stat_reported = 252 [(module) = "wifi"]; |
| WifiConnectionResultReported wifi_connection_result_reported = 253 [(module) = "wifi"]; |
| AppFreezeChanged app_freeze_changed = 254 [(module) = "framework"]; |
| SnapshotMergeReported snapshot_merge_reported = |
| 255 [(module) = "update_engine"]; |
| ForegroundServiceAppOpSessionEnded foreground_service_app_op_session_ended = |
| 256 [(module) = "framework"]; |
| // DisplayJankReported was deprecated in Android 12+ |
| DisplayJankReported display_jank_reported = 257 [deprecated = true]; |
| AppStandbyBucketChanged app_standby_bucket_changed = 258 [(module) = "framework"]; |
| SharesheetStarted sharesheet_started = 259 [(module) = "framework"]; |
| RankingSelected ranking_selected = 260 [ |
| (module) = "framework", |
| (module) = "sysui", |
| (module) = "mediaprovider" |
| ]; |
| TvSettingsUIInteracted tvsettings_ui_interacted = 261 [(module) = "tv_settings"]; |
| sysui.LauncherStaticLayout launcher_snapshot = 262 [(module) = "sysui"]; |
| PackageInstallerV2Reported package_installer_v2_reported = 263 [(module) = "framework"]; |
| UserLifecycleJourneyReported user_lifecycle_journey_reported = 264 [(module) = "framework"]; |
| UserLifecycleEventOccurred user_lifecycle_event_occurred = 265 [(module) = "framework"]; |
| AccessibilityShortcutReported accessibility_shortcut_reported = |
| 266 [(module) = "framework"]; |
| AccessibilityServiceReported accessibility_service_reported = 267 [(module) = "settings"]; |
| DocsUIDragAndDropReported docs_ui_drag_and_drop_reported = 268 [(module) = "docsui"]; |
| AppUsageEventOccurred app_usage_event_occurred = 269 [(module) = "framework"]; |
| AutoRevokeNotificationClicked auto_revoke_notification_clicked = |
| 270 [(module) = "permissioncontroller"]; |
| AutoRevokeFragmentAppViewed auto_revoke_fragment_app_viewed = |
| 271 [(module) = "permissioncontroller"]; |
| AutoRevokedAppInteraction auto_revoked_app_interaction = |
| 272 [(module) = "permissioncontroller", (module) = "settings"]; |
| AppPermissionGroupsFragmentAutoRevokeAction |
| app_permission_groups_fragment_auto_revoke_action = |
| 273 [(module) = "permissioncontroller"]; |
| EvsUsageStatsReported evs_usage_stats_reported = 274 [(module) = "evs"]; |
| AudioPowerUsageDataReported audio_power_usage_data_reported = |
| 275 [(module) = "media_metrics"]; |
| TvTunerStateChanged tv_tuner_state_changed = 276 [(module) = "framework"]; |
| sysui.MediaOutputOpSwitchReported mediaoutput_op_switch_reported = |
| 277 [(module) = "sysui"]; |
| CellBroadcastMessageFiltered cb_message_filtered = |
| 278 [(module) = "cellbroadcast"]; |
| TvTunerDvrStatus tv_tuner_dvr_status = 279 [(module) = "framework"]; |
| TvCasSessionOpenStatus tv_cas_session_open_status = |
| 280 [(module) = "framework"]; |
| AssistantInvocationReported assistant_invocation_reported = 281 [(module) = "framework"]; |
| DisplayWakeReported display_wake_reported = 282 [(module) = "framework"]; |
| CarUserHalModifyUserRequestReported car_user_hal_modify_user_request_reported = |
| 283 [(module) = "car"]; |
| CarUserHalModifyUserResponseReported car_user_hal_modify_user_response_reported = |
| 284 [(module) = "car"]; |
| CarUserHalPostSwitchResponseReported car_user_hal_post_switch_response_reported = |
| 285 [(module) = "car"]; |
| CarUserHalInitialUserInfoRequestReported car_user_hal_initial_user_info_request_reported = |
| 286 [(module) = "car"]; |
| CarUserHalInitialUserInfoResponseReported car_user_hal_initial_user_info_response_reported = |
| 287 [(module) = "car"]; |
| CarUserHalUserAssociationRequestReported car_user_hal_user_association_request_reported = |
| 288 [(module) = "car"]; |
| CarUserHalSetUserAssociationResponseReported car_user_hal_set_user_association_response_reported = |
| 289 [(module) = "car"]; |
| NetworkIpProvisioningReported network_ip_provisioning_reported = |
| 290 [(module) = "network_stack"]; |
| NetworkDhcpRenewReported network_dhcp_renew_reported = 291 [(module) = "network_stack"]; |
| NetworkValidationReported network_validation_reported = 292 [(module) = "network_stack"]; |
| NetworkStackQuirkReported network_stack_quirk_reported = 293 [(module) = "network_stack"]; |
| MediametricsAudioRecordDeviceUsageReported mediametrics_audiorecorddeviceusage_reported = |
| 294 [(module) = "media_metrics"]; |
| MediametricsAudioThreadDeviceUsageReported mediametrics_audiothreaddeviceusage_reported = |
| 295 [(module) = "media_metrics"]; |
| MediametricsAudioTrackDeviceUsageReported mediametrics_audiotrackdeviceusage_reported = |
| 296 [(module) = "media_metrics"]; |
| MediametricsAudioDeviceConnectionReported mediametrics_audiodeviceconnection_reported = |
| 297 [(module) = "media_metrics"]; |
| BlobCommitted blob_committed = 298 [(module) = "framework"]; |
| BlobLeased blob_leased = 299 [(module) = "framework"]; |
| BlobOpened blob_opened = 300 [(module) = "framework"]; |
| ContactsProviderStatusReported contacts_provider_status_reported = 301; |
| KeystoreKeyEventReported keystore_key_event_reported = 302; |
| NetworkTetheringReported network_tethering_reported = |
| 303 [(module) = "network_tethering"]; |
| sysui.ImeTouchReported ime_touch_reported = 304 [(module) = "sysui"]; |
| UIInteractionFrameInfoReported ui_interaction_frame_info_reported = |
| 305 [(module) = "framework"]; |
| UIActionLatencyReported ui_action_latency_reported = 306 [(module) = "framework"]; |
| WifiDisconnectReported wifi_disconnect_reported = 307 [(module) = "wifi"]; |
| WifiConnectionStateChanged wifi_connection_state_changed = 308 [(module) = "wifi"]; |
| HdmiCecActiveSourceChanged hdmi_cec_active_source_changed = 309 [(module) = "framework"]; |
| HdmiCecMessageReported hdmi_cec_message_reported = 310 [(module) = "framework"]; |
| AirplaneMode airplane_mode = 311 [(module) = "telephony"]; |
| ModemRestart modem_restart = 312 [(module) = "telephony"]; |
| CarrierIdMismatchReported carrier_id_mismatch_reported = 313 [(module) = "telephony"]; |
| CarrierIdTableUpdated carrier_id_table_updated = 314 [(module) = "telephony"]; |
| DataStallRecoveryReported data_stall_recovery_reported = 315 [(module) = "telephony"]; |
| MediametricsMediaParserReported mediametrics_mediaparser_reported = |
| 316 [(module) = "media_metrics"]; |
| TlsHandshakeReported tls_handshake_reported = 317 [(module) = "conscrypt"]; |
| TextClassifierApiUsageReported text_classifier_api_usage_reported = 318 [(module) = "textclassifier"]; |
| CarWatchdogKillStatsReported car_watchdog_kill_stats_reported = 319 [(module) = "car"]; |
| MediametricsPlaybackReported mediametrics_playback_reported = 320 [(module) = "media_metrics"]; |
| MediaNetworkInfoChanged media_network_info_changed = 321 [(module) = "media_metrics"]; |
| MediaPlaybackStateChanged media_playback_state_changed = 322 [(module) = "media_metrics"]; |
| MediaPlaybackErrorReported media_playback_error_reported = 323 [(module) = "media_metrics"]; |
| MediaPlaybackTrackChanged media_playback_track_changed = 324 [(module) = "media_metrics"]; |
| WifiScanReported wifi_scan_reported = 325 [(module) = "wifi"]; |
| WifiPnoScanReported wifi_pno_scan_reported = 326 [(module) = "wifi"]; |
| TifTuneStateChanged tif_tune_changed = 327 [(module) = "framework"]; |
| AutoRotateReported auto_rotate_reported = 328 [(module) = "framework"]; |
| PerfettoTrigger perfetto_trigger = 329 [(module) = "perfetto"]; |
| TranscodingData transcoding_data = 330 [(module) = "mediaprovider"]; |
| ImsServiceEntitlementUpdated ims_service_entitlement_updated = 331 [(module) = "imsentitlement"]; |
| DeviceRotated device_rotated = 333 [(module) = "framework"]; |
| SimSpecificSettingsRestored sim_specific_settings_restored = 334 |
| [(module) = "telephony"]; |
| TextClassifierDownloadReported text_classifier_download_reported = 335 [(module) = "textclassifier"]; |
| PinStorageEvent pin_storage_event = 336 [(module) = "telephony"]; |
| FaceDownReported face_down_reported = 337 [(module) = "framework"]; |
| BluetoothHALCrashReasonReported bluetooth_hal_crash_reason_reported = |
| 338 [(module) = "bluetooth"]; |
| RebootEscrowPreparationReported reboot_escrow_preparation_reported = |
| 339 [(module) = "framework"]; |
| RebootEscrowLskfCaptureReported reboot_escrow_lskf_capture_reported = |
| 340 [(module) = "framework"]; |
| RebootEscrowRebootReported reboot_escrow_reboot_reported = 341 [(module) = "framework"]; |
| BinderLatencyReported binder_latency_reported = 342 [(module) = "framework"]; |
| MediametricsAAudioStreamReported mediametrics_aaudiostream_reported = |
| 343 [(module) = "media_metrics"]; |
| MediaTranscodingSessionEnded media_transcoding_session_ended = 344 |
| [(module) = "media"]; |
| MagnificationUsageReported magnification_usage_reported = |
| 345 [(module) = "framework"]; |
| MagnificationModeWithImeOnReported magnification_mode_with_ime_on_reported = |
| 346 [(module) = "framework"]; |
| AppSearchCallStatsReported app_search_call_stats_reported = 347 [(module) = "appsearch"]; |
| AppSearchPutDocumentStatsReported app_search_put_document_stats_reported = 348 [(module) = "appsearch"]; |
| sysui.DeviceControlChanged device_control_changed = 349 [(module) = "sysui"]; |
| DeviceStateChanged device_state_changed = 350 [(module) = "framework"]; |
| input.InputDeviceRegistered inputdevice_registered = 351 [(module) = "framework"]; |
| sysui.SmartSpaceCardReported smartspace_card_reported = 352 [(module) = "sysui"]; |
| AuthPromptAuthenticateInvoked auth_prompt_authenticate_invoked = 353 [(module) = "framework"]; |
| AuthManagerCanAuthenticateInvoked auth_manager_can_authenticate_invoked = 354 [(module) = "framework"]; |
| AuthEnrollActionInvoked auth_enroll_action_invoked = 355 [(module) = "framework"]; |
| AuthDeprecatedAPIUsed auth_deprecated_api_used = 356 [(module) = "framework"]; |
| UnattendedRebootOccurred unattended_reboot_occurred = 357 [(module) = "scheduling"]; |
| LongRebootBlockingReported long_reboot_blocking_reported = 358 [(module) = "scheduling"]; |
| LocationTimeZoneProviderStateChanged location_time_zone_provider_state_changed = |
| 359 [(module) = "framework"]; |
| // 360-363 are reserved. |
| FdtrackEventOccurred fdtrack_event_occurred = 364 [(module) = "framework"]; |
| TimeoutAutoExtendedReported timeout_auto_extended_reported = 365 |
| [(module) = "framework"]; |
| AlarmBatchDelivered alarm_batch_delivered = 367 [(module) = "framework"]; |
| AlarmScheduled alarm_scheduled = 368 [(module) = "framework"]; |
| CarWatchdogIoOveruseStatsReported car_watchdog_io_overuse_stats_reported = 369 [(module) = "car"]; |
| UserLevelHibernationStateChanged user_level_hibernation_state_changed = 370 [(module) = "framework"]; |
| AppSearchInitializeStatsReported app_search_initialize_stats_reported = 371 [(module) = "appsearch"]; |
| AppSearchQueryStatsReported app_search_query_stats_reported = 372 [(module) = "appsearch"]; |
| AppProcessDied app_process_died = 373 [(module) = "framework"]; |
| NetworkIpReachabilityMonitorReported network_ip_reachability_monitor_reported = |
| 374 [(module) = "network_stack"]; |
| input.SlowInputEventReported slow_input_event_reported = 375 [(module) = "input"]; |
| ANROccurredProcessingStarted anr_occurred_processing_started = 376 [(module) = "framework"]; |
| AppSearchRemoveStatsReported app_search_remove_stats_reported = 377 [(module) = "appsearch"]; |
| MediaCodecReported media_codec_reported = |
| 378 [(module) = "framework", (module) = "media_metrics"]; |
| PermissionUsageFragmentInteraction permission_usage_fragment_interaction = 379 [(module) = "permissioncontroller"]; |
| PermissionDetailsInteraction permission_details_interaction = 380 [(module) = "permissioncontroller"]; |
| PrivacySensorToggleInteraction privacy_sensor_toggle_interaction = 381 [(module) = "framework"]; |
| PrivacyToggleDialogInteraction privacy_toggle_dialog_interaction = 382 [(module) = "framework"]; |
| AppSearchOptimizeStatsReported app_search_optimize_stats_reported = 383 [(module) = "appsearch"]; |
| NonA11yToolServiceWarningReported non_a11y_tool_service_warning_report = 384 [(module) = "framework"]; |
| AppCompatStateChanged app_compat_state_changed = 386 [(module) = "framework"]; |
| SizeCompatRestartButtonEventReported size_compat_restart_button_event_reported = 387 [(module) = "framework"]; |
| SplitscreenUIChanged splitscreen_ui_changed = 388 [(module) = "framework"]; |
| NetworkDnsHandshakeReported network_dns_handshake_reported = 389 [(module) = "resolv"]; |
| BluetoothCodePathCounter bluetooth_code_path_counter = |
| 390 [(module) = "bluetooth"]; |
| BluetoothLeBatchScanReportDelay bluetooth_le_batch_scan_report_delay = |
| 392 [(module) = "bluetooth"]; |
| sysui.AccessibilityFloatingMenuUIChanged accessibility_floating_menu_ui_changed = |
| 393 [(module) = "sysui"]; |
| NeuralNetworksCompilationCompleted neuralnetworks_compilation_completed = 394 |
| [(module) = "neuralnetworks"]; |
| NeuralNetworksExecutionCompleted neuralnetworks_execution_completed = 395 |
| [(module) = "neuralnetworks"]; |
| NeuralNetworksCompilationFailed neuralnetworks_compilation_failed = 396 |
| [(module) = "neuralnetworks"]; |
| NeuralNetworksExecutionFailed neuralnetworks_execution_failed = 397 |
| [(module) = "neuralnetworks"]; |
| ContextHubBooted context_hub_booted = 398 [(module) = "contexthub"]; |
| ContextHubRestarted context_hub_restarted = 399 [(module) = "contexthub"]; |
| ContextHubLoadedNanoappSnapshotReported context_hub_loaded_nanoapp_snapshot_reported = 400 |
| [(module) = "contexthub"]; |
| ChreCodeDownloadTransacted chre_code_download_transacted = 401 [(module) = "contexthub"]; |
| UwbSessionInitiated uwb_session_inited = 402 [(module) = "uwb"]; |
| UwbSessionClosed uwb_session_closed = 403 [(module) = "uwb"]; |
| UwbFirstRangingReceived uwb_first_ranging_received = 404 [(module) = "uwb"]; |
| UwbRangingMeasurementReceived uwb_ranging_measurement_received = 405 [(module) = "uwb"]; |
| TextClassifierDownloadWorkScheduled text_classifier_download_work_scheduled = 406 [(module) = "textclassifier"]; |
| TextClassifierDownloadWorkCompleted text_classifier_download_work_completed = 407 [(module) = "textclassifier"]; |
| ClipboardCleared clipboard_cleared = 408 [(module) = "framework"]; |
| VmCreationRequested vm_creation_requested = 409 [(module) = "virtualizationservice"]; |
| NearbyDeviceScanStateChanged nearby_device_scan_state_changed = 410 [(module) = "nearby"]; |
| CameraCompatControlEventReported camera_compat_control_event_reported = 411 [(module) = "framework"]; |
| ApplicationLocalesChanged application_locales_changed = 412 [(module) = "framework"]; |
| MediametricsAudioTrackStatusReported mediametrics_audiotrackstatus_reported = |
| 413 [(module) = "media_metrics"]; |
| FoldStateDurationReported fold_state_duration_reported = 414 [(module) = "framework"]; |
| LocationTimeZoneProviderControllerStateChanged location_time_zone_provider_controller_state_changed = |
| 415 [(module) = "framework"]; |
| DisplayHbmStateChanged display_hbm_state_changed = 416 [(module) = "framework"]; |
| DisplayHbmBrightnessChanged display_hbm_brightness_changed = 417 [(module) = "framework"]; |
| PersistentUriPermissionsFlushed persistent_uri_permissions_flushed = |
| 418 [(module) = "framework"]; |
| EarlyBootCompOsArtifactsCheckReported early_boot_comp_os_artifacts_check_reported = 419 [(module) = "art"]; |
| VBMetaDigestReported vbmeta_digest_reported = 420 [(module) = "framework"]; |
| ApexInfoGathered apex_info_gathered = 421 [(module) = "framework"]; |
| PvmInfoGathered pvm_info_gathered = 422 [(module) = "framework"]; |
| WearSettingsUIInteracted wear_settings_ui_interacted = 423 [(module) = "wear_settings"]; |
| TracingServiceReportEvent tracing_service_report_event = 424 [(module) = "framework"]; |
| MediametricsAudioRecordStatusReported mediametrics_audiorecordstatus_reported = |
| 425 [(module) = "media_metrics"]; |
| sysui.LauncherLatency launcher_latency = 426 [(module) = "sysui"]; |
| DropboxEntryDropped dropbox_entry_dropped = 427 [(module) = "framework"]; |
| WifiP2pConnectionReported wifi_p2p_connection_reported = 428 [(module) = "wifi"]; |
| GameStateChanged game_state_changed = 429 [(module) = "framework"]; |
| hotword.HotwordDetectorCreateRequested hotword_detector_create_requested = 430 |
| [(module) = "framework"]; |
| hotword.HotwordDetectionServiceInitResultReported hotword_detection_service_init_result_reported = 431 |
| [(module) = "framework"]; |
| hotword.HotwordDetectionServiceRestarted hotword_detection_service_restarted = 432 |
| [(module) = "framework"]; |
| hotword.HotwordDetectorKeyphraseTriggered hotword_detector_keyphrase_triggered = 433 |
| [(module) = "framework"]; |
| hotword.HotwordDetectorEvents hotword_detector_events = 434 |
| [(module) = "framework"]; |
| AdServicesApiCalled ad_services_api_called = |
| 435 [(module) = "adservices", (truncate_timestamp) = true]; |
| AdServicesMeasurementReportsUploaded ad_services_mesurement_reports_uploaded = |
| 436 [(module) = "adservices", (truncate_timestamp) = true]; |
| BootCompletedBroadcastCompletionLatencyReported boot_completed_broadcast_completion_latency_reported = |
| 437 [(module) = "framework"]; |
| ContactsIndexerUpdateStatsReported contacts_indexer_update_stats_reported = 440 |
| [(module) = "appsearch"]; |
| AppBackgroundRestrictionsInfo app_background_restrictions_info = |
| 441 [(module) = "framework"]; |
| MmsSmsProviderGetThreadIdFailed mms_sms_provider_get_thread_id_failed = 442 [(module) = "telephony"]; |
| MmsSmsDatabaseHelperOnUpgradeFailed mms_sms_database_helper_on_upgrade_failed = 443 [(module) = "telephony"]; |
| PermissionReminderNotificationInteracted permission_reminder_notification_interacted = |
| 444 [(module) = "permissioncontroller"]; |
| RecentPermissionDecisionsInteracted recent_permission_decisions_interacted = |
| 445 [(module) = "permissioncontroller"]; |
| GnssPsdsDownloadReported gnss_psds_download_reported = 446 [(module) = "framework"]; |
| LeAudioConnectionSessionReported le_audio_connection_session_reported = 447 [(module) = "bluetooth"]; |
| LeAudioBroadcastSessionReported le_audio_broadcast_session_reported = 448 [(module) = "bluetooth"]; |
| DreamUiEventReported dream_ui_event_reported = 449 [(module) = "framework"]; |
| sysui.TaskManagerEventReported task_manager_event_reported = 450 [(module) = "sysui"]; |
| CdmAssociationAction cdm_association_action = 451 [(module) = "framework"]; |
| MagnificationTripleTapAndHoldActivatedSessionReported magnification_triple_tap_and_hold_activated_session_reported = |
| 452 [(module) = "framework"]; |
| MagnificationFollowTypingFocusActivatedSessionReported magnification_follow_typing_focus_activated_session_reported = |
| 453 [(module) = "framework"]; |
| AccessibilityTextReadingOptionsChanged accessibility_text_reading_options_changed = 454 [(module) = "settings"]; |
| WifiSetupFailureCrashReported wifi_setup_failure_crash_reported = 455 [(module) = "wifi"]; |
| UwbDeviceErrorReported uwb_device_error_reported = 456 [(module) = "uwb"]; |
| IsolatedCompilationScheduled isolated_compilation_scheduled = 457 [(module) = "art"]; |
| IsolatedCompilationEnded isolated_compilation_ended = 458 [(module) = "art"]; |
| OnsOpportunisticEsimProvisioningComplete ons_opportunistic_esim_provisioning_complete = 459 [(module) = "ons"]; |
| SystemServerPreWatchdogOccurred system_server_pre_watchdog_occurred = 460 [(module) = "framework"]; |
| TelephonyAnomalyDetected telephony_anomaly_detected = 461 [(module) = "telephony"]; |
| LetterboxPositionChanged letterbox_position_changed = 462 [(module) = "framework"]; |
| RemoteKeyProvisioningAttempt remote_key_provisioning_attempt = 463 [(module) = "rkpd"]; |
| RemoteKeyProvisioningNetworkInfo remote_key_provisioning_network_info = 464 [(module) = "rkpd"]; |
| RemoteKeyProvisioningTiming remote_key_provisioning_timing = 465 [(module) = "rkpd"]; |
| sysui.MediaOutputOpInteractionReported mediaoutput_op_interaction_report = |
| 466 [(module) = "sysui"]; |
| SyncExemptionOccurred sync_exemption_occurred = 468 [(module) = "framework"]; |
| AutofillPresentationEventReported autofill_presentation_event_reported = 469 [(module) = "framework"]; |
| DockStateChanged dock_state_changed = 470 [(module) = "framework"]; |
| SafetySourceStateCollected safety_source_state_collected = 471 [(module) = "permissioncontroller"]; |
| SafetyCenterSystemEventReported safety_center_system_event_reported = 472 [(module) = "permissioncontroller"]; |
| SafetyCenterInteractionReported safety_center_interaction_reported = 473 [(module) = "permissioncontroller"]; |
| SettingsProviderSettingChanged settings_provider_setting_changed = 474 [(module) = "framework"]; |
| BroadcastDeliveryEventReported broadcast_delivery_event_reported = |
| 475 [(module) = "framework"]; |
| ServiceRequestEventReported service_request_event_reported = 476 [(module) = "framework"]; |
| ProviderAcquisitionEventReported provider_acquisition_event_reported = |
| 477 [(module) = "framework"]; |
| BluetoothDeviceNameReported bluetooth_device_name_reported = 478 [(module) = "bluetooth"]; |
| CellBroadcastConfigUpdated cb_config_updated = 479 [(module) = "cellbroadcast"]; |
| CellBroadcastModuleErrorReported cb_module_error_reported = 480 [(module) = "cellbroadcast"]; |
| CellBroadcastServiceFeatureChanged cb_service_feature_changed = 481 [(module) = "cellbroadcast"]; |
| CellBroadcastReceiverFeatureChanged cb_receiver_feature_changed = 482 [(module) = "cellbroadcast"]; |
| JSScriptEngineLatencyReported jsscriptengine_latency_reported = 483 [(module) = "adservices"]; |
| PrivacySignalNotificationInteraction privacy_signal_notification_interaction = 484 [(module) = "permissioncontroller"]; |
| PrivacySignalIssueCardInteraction privacy_signal_issue_card_interaction = 485 [(module) = "permissioncontroller"]; |
| PrivacySignalsJobFailure privacy_signals_job_failure = 486 [(module) = "permissioncontroller"]; |
| VibrationReported vibration_reported = 487 [(module) = "framework"]; |
| UwbStartRanging uwb_ranging_start = 489 [(module) = "uwb"]; |
| MobileDataDownloadFileGroupDownloadStatusReported mobile_data_download_file_group_status_reported = 490 [(module) = "adservices"]; |
| AppCompactedV2 app_compacted_v2 = 491 [(module) = "framework"]; |
| // reserved 492 |
| AdServicesSettingsUsageReported ad_services_settings_usage_reported = 493 [(module) = "adservices", (truncate_timestamp) = true]; |
| DisplayBrightnessChanged display_brightness_changed = 494 [(module) = "framework"]; |
| ActivityActionBlocked activity_action_blocked = 495 [(module) = "framework"]; |
| BackgroundFetchProcessReported background_fetch_process_reported = |
| 496 [(module) = "adservices"]; |
| UpdateCustomAudienceProcessReported update_custom_audience_process_reported = |
| 497 [(module) = "adservices"]; |
| RunAdBiddingProcessReported run_ad_bidding_process_reported = 498 [(module) = "adservices"]; |
| RunAdScoringProcessReported run_ad_scoring_process_reported = 499 [(module) = "adservices"]; |
| RunAdSelectionProcessReported run_ad_selection_process_reported = |
| 500 [(module) = "adservices"]; |
| RunAdBiddingPerCAProcessReported run_ad_bidding_per_ca_process_reported = |
| 501 [(module) = "adservices"]; |
| MobileDataDownloadDownloadResultReported mobile_data_download_download_result_reported = 502 [(module) = "adservices"]; |
| MobileDataDownloadFileGroupStorageStatsReported mobile_data_download_file_group_storage_stats_reported = 503 [(module) = "adservices"]; |
| NetworkDnsServerSupportReported network_dns_server_support_reported = 504 [(module) = "resolv"]; |
| VmBooted vm_booted = 505 [(module) = "virtualizationservice"]; |
| VmExited vm_exited = 506 [(module) = "virtualizationservice"]; |
| AmbientBrightnessStatsReported ambient_brightness_stats_reported = 507 [(module) = "framework"]; |
| MediametricsSpatializerCapabilitiesReported mediametrics_spatializercapabilities_reported = |
| 508 [(module) = "media_metrics"]; |
| MediametricsSpatializerDeviceEnabledReported mediametrics_spatializerdeviceenabled_reported = |
| 509 [(module) = "media_metrics"]; |
| MediametricsHeadTrackerDeviceEnabledReported mediametrics_headtrackerdeviceenabled_reported = |
| 510 [(module) = "media_metrics"]; |
| MediametricsHeadTrackerDeviceSupportedReported mediametrics_headtrackerdevicesupported_reported = |
| 511 [(module) = "media_metrics"]; |
| AdServicesMeasurementRegistrations ad_services_measurement_registrations = |
| 512 [(module) = "adservices", (truncate_timestamp) = true]; |
| HearingAidInfoReported hearing_aid_info_reported = 513 [(module) = "framework"]; |
| DeviceWideJobConstraintChanged device_wide_job_constraint_changed = |
| 514 [(module) = "framework"]; |
| AmbientModeChanged ambient_mode_changed = 515 [(module) = "framework"]; |
| ANRLatencyReported anr_latency_reported = 516 [(module) = "framework"]; |
| ResourceValueApiStatisticsReported resource_api_info = 517 [(module) = "framework"]; |
| SystemDefaultNetworkChanged system_default_network_changed = |
| 518 [(module) = "network_stack"]; |
| IwlanSetupDataCallResultReported iwlan_setup_data_call_result_reported = 519 [(module) = "iwlan"]; |
| IwlanPdnDisconnectedReasonReported iwlan_pdn_disconnected_reason_reported = 520 [(module) = "iwlan"]; |
| AirplaneModeSessionReported airplane_mode_session_reported = 521 [(module) = "wifi", (module) = "bluetooth"]; |
| VmCpuStatusReported vm_cpu_status_reported = 522 [(module) = "virtualizationservice", deprecated = true]; |
| VmMemStatusReported vm_mem_status_reported = 523 [(module) = "virtualizationservice", deprecated = true]; |
| PackageInstallationSessionReported package_installation_session_reported = 524 [(module) = "framework"]; |
| DefaultNetworkRematchInfo default_network_rematch_info = 525 [(module) = "connectivity"]; |
| NetworkSelectionPerformance network_selection_performance = 526 [(module) = "connectivity"]; |
| NetworkNsdReported network_nsd_reported = 527 [(module) = "connectivity"]; |
| BluetoothDisconnectionReasonReported bluetooth_disconnection_reason_reported = 529 [(module) = "bluetooth"]; |
| BluetoothLocalVersionsReported bluetooth_local_versions_reported = 530 [(module) = "bluetooth"]; |
| BluetoothRemoteSupportedFeaturesReported bluetooth_remote_supported_features_reported = 531 [(module) = "bluetooth"]; |
| BluetoothLocalSupportedFeaturesReported bluetooth_local_supported_features_reported = 532 [(module) = "bluetooth"]; |
| BluetoothGattAppInfo bluetooth_gatt_app_info = 533 [(module) = "bluetooth"]; |
| BrightnessConfigurationUpdated brightness_configuration_updated = 534 [(module) = "framework"]; |
| AdServicesGetTopicsReported ad_services_get_topics_reported = |
| 535 [(module) = "adservices", (truncate_timestamp) = true]; |
| AdServicesEpochComputationGetTopTopicsReported |
| ad_services_epoch_computation_get_top_topics_reported = |
| 536 [(module) = "adservices", (truncate_timestamp) = true]; |
| AdServicesEpochComputationClassifierReported |
| ad_services_epoch_computation_classifier_reported = |
| 537 [(module) = "adservices", (truncate_timestamp) = true]; |
| WearMediaOutputSwitcherLaunched wear_media_output_switcher_launched = |
| 538 [(module) = "MediaOutputSwitcher"]; |
| WearMediaOutputSwitcherFinished wear_media_output_switcher_finished = |
| 539 [(module) = "MediaOutputSwitcher"]; |
| WearMediaOutputSwitcherConnectionReported |
| wear_media_output_switcher_connection_reported = |
| 540 [(module) = "MediaOutputSwitcher"]; |
| WearMediaOutputSwitcherDeviceScanTriggered |
| wear_media_output_switcher_device_scan_triggered = |
| 541 [(module) = "MediaOutputSwitcher"]; |
| WearMediaOutputSwitcherFirstDeviceScanLatency |
| wear_media_output_switcher_first_device_scan_latency = |
| 542 [(module) = "MediaOutputSwitcher"]; |
| WearMediaOutputSwitcherConnectDeviceLatency |
| wear_media_output_switcher_connect_device_latency = |
| 543 [(module) = "MediaOutputSwitcher"]; |
| PackageManagerSnapshotReported |
| package_manager_snapshot_reported = 544 [(module) = "framework"]; |
| PackageManagerAppsFilterCacheBuildReported |
| package_manager_apps_filter_cache_build_reported = 545 [(module) = "framework"]; |
| PackageManagerAppsFilterCacheUpdateReported |
| package_manager_apps_filter_cache_update_reported = 546 [(module) = "framework"]; |
| sysui.LauncherImpressionEvent launcher_impression_event = 547 [(module) = "sysui"]; |
| WearMediaOutputSwitcherAllDevicesScanLatency |
| wear_media_output_switcher_all_devices_scan_latency = |
| 549 [(module) = "MediaOutputSwitcher"]; |
| WsWatchFaceEdited ws_watch_face_edited = 551 [(module) = "wearservices"]; |
| WsWatchFaceFavouriteActionReported ws_watch_face_favorite_action_reported = 552 [(module) = "wearservices"]; |
| WsWatchFaceSetActionReported ws_watch_face_set_action_reported = 553 [(module) = "wearservices"]; |
| PackageUninstallationReported package_uninstallation_reported = 554 [(module) = "framework"]; |
| agif.GameModeChanged game_mode_changed = 555 [(module) = "framework"]; |
| agif.GameModeConfigurationChanged game_mode_configuration_changed = 556 [(module) = "framework"]; |
| BedtimeModeStateChanged bedtime_mode_state_changed = 557 [(module) = "framework"]; |
| NetworkSliceSessionEnded network_slice_session_ended = 558 [(module) = "connectivity"]; |
| NetworkSliceDailyDataUsageReported network_slice_daily_data_usage_reported = 559 [(module) = "connectivity"]; |
| NfcTagTypeOccurred nfc_tag_type_occurred = 560 [(module) = "nfc"]; |
| NfcAIDConflictOccurred nfc_aid_conflict_occurred = 561 [(module) = "nfc"]; |
| NfcReaderConflictOccurred nfc_reader_conflict_occurred = 562 [(module) = "nfc"]; |
| WsTileListChanged ws_tile_list_changed = 563 [(module) = "wearservices"]; |
| GetTypeAccessedWithoutPermission get_type_accessed_without_permission = 564[(module) = "framework"]; |
| MobileBundledAppInfoGathered mobile_bundled_app_info_gathered = 566 [(module) = "framework"]; |
| WsWatchFaceComplicationSetChanged ws_watch_face_complication_set_changed = 567 [(module) = "wearservices"]; |
| media.MediaDrmCreated media_drm_created = 568 [(module) = "media_metrics"]; |
| media.MediaDrmErrored media_drm_errored = 569 [(module) = "media_metrics"]; |
| media.MediaDrmSessionOpened media_drm_session_opened = 570 |
| [(module) = "media_metrics"]; |
| media.MediaDrmSessionClosed media_drm_session_closed = 571 |
| [(module) = "media_metrics"]; |
| UserSelectedResolution user_selected_resolution = 572 [(module) = "settings"]; |
| UnsafeIntentEventReported unsafe_intent_event_reported = 573 [(module) = "framework"]; |
| adpf.PerformanceHintSessionReported performance_hint_session_reported = 574 [(module) = "framework"]; |
| MediametricsMidiDeviceCloseReported mediametrics_midi_device_close_reported = |
| 576 [(module) = "media_metrics"]; |
| hardware.biometrics.BiometricTouchReported biometric_touch_reported = 577 [(module) = "sysui"]; |
| hotword.HotwordAudioEgressEventReported hotword_audio_egress_event_reported = 578 |
| [(module) = "framework"]; |
| location.LocationEnabledStateChanged location_enabled_state_changed = 580 [(module) = "framework"]; |
| view.inputmethod.ImeRequestFinished ime_request_finished = 581 [(module) = "framework"]; |
| usb.UsbComplianceWarningsReported usb_compliance_warnings_reported = 582 [(module) = "framework"]; |
| locale.AppSupportedLocalesChanged app_supported_locales_changed = 583 [(module) = "framework"]; |
| grammaticalinflection.ApplicationGrammaticalInflectionChanged grammatical_inflection_changed = 584 [(module) = "framework"]; |
| providers.mediaprovider.MediaProviderVolumeRecoveryReported |
| media_provider_volume_recovery_reported = 586 [(module) = "mediaprovider"]; |
| hardware.biometrics.BiometricPropertiesCollected |
| biometric_properties_collected = 587 [(module) = "framework"]; |
| kernel.KernelWakeupAttributed kernel_wakeup_attributed = 588 [(module) = "framework"]; |
| display.ScreenStateChangedV2 screen_state_changed_v2 = 589 [(module) = "framework"]; |
| wearservices.WsBackupActionReported ws_backup_action_reported = 590 |
| [(module) = "wearservices"]; |
| wearservices.WsRestoreActionReported ws_restore_action_reported = 591 |
| [(module) = "wearservices"]; |
| devicelogs.DeviceLogAccessEventReported device_log_access_event_reported = 592 [(module) = "sysui"]; |
| wear.media.MediaSessionUpdated media_session_updated = 594 [(module) = "wearmedia"]; |
| wearsysui.WearOobeStateChanged wear_oobe_state_changed = 595 [(module) = "framework"]; |
| wearservices.WsNotificationUpdated ws_notification_updated = 596 |
| [(module) = "wearservices"]; |
| // reserved 597 |
| corenetworking.connectivity.NetworkValidationFailureStatsDailyReported |
| network_validation_failure_stats_daily_reported = 601 [(module) = "connectivity"]; |
| wearservices.WsComplicationTapped ws_complication_tapped = 602 [(module) = "wearservices"]; |
| wearservices.WsNotificationBlocking ws_notification_blocking = 780 [(module) = "wearservices"]; |
| } |
| |
| // Pushed atom extensions. |
| // The atom definitions are under atoms/<feature>/<feature>_extension_atoms.proto |
| extensions 332; // ArtDatumReported art_datum_reported |
| extensions 366; // OdrefreshReported odrefresh_reported |
| extensions 385; // AppSearchSetSchemaStatsReported app_search_set_schema_stats_reported |
| extensions 467; // BackgroundDexoptJobEnded background_dexopt_job_ended |
| extensions 488; // SandboxApiCalled sandbox_api_called |
| extensions 528; // ExpressEventReported express_event_reported |
| extensions 548; // OdsignReported odsign_reported |
| extensions 550; // ArtDeviceDatumReported art_device_datum_reported |
| extensions 565; // ArtDatumDeltaReported art_datum_delta_reported |
| extensions 579; // AppSearchSchemaMigrationStatsReported app_search_schema_migration_stats_reported |
| extensions 585; // CredentialManagerApiCalled credential_manager_api_called |
| extensions 593; // ExpressHistogramSampleReported express_histogram_sample_reported |
| extensions 598; // AdServicesBackCompatGetTopicsReported ad_services_back_compat_get_topics_reported |
| extensions 599; // AdServicesBackCompatEpochComputationClassifierReported ad_services_back_compat_epoch_computation_classifier_reported |
| extensions 600; // MediaCodecReclaimRequestCompleted media_codec_reclaim_request_completed |
| extensions 603; // AutofillUiEventReported autofill_ui_event_reported |
| extensions 604; // AutofillFillRequestReported autofill_fill_request_reported |
| extensions 605; // AutofillFillResponseReported autofill_fill_response_reported |
| extensions 606; // AutofillSaveEventReported autofill_save_event_reported |
| extensions 607; // AutofillSessionCommitted autofill_session_committed |
| extensions 608; // MediaActionReported media_action_reported |
| extensions 609; // MediaControlsLaunched media_controls_launched |
| extensions 610; // WsWearTimeSession ws_wear_time_session |
| extensions 611; // LockscreenShortcutSelected lockscreen_shortcut_selected |
| extensions 612; // LockscreenShortcutTriggered lockscreen_shortcut_triggered |
| extensions 613; // BluetoothHashedDeviceNameReported bluetooth_hashed_device_name_reported |
| extensions 614; // BluetoothL2capCocClientConnection bluetooth_l2cap_coc_client_connection |
| extensions 615; // BluetoothL2capCocServerConnection bluetooth_l2cap_coc_server_connection |
| extensions 616; // HealthConnectApiCalled health_connect_api_called |
| extensions 617; // HealthConnectUsageStats health_usage_stats |
| extensions 618; // HealthConnectStorageStats health_connect_storage_stats |
| extensions 619; // WearAdaptiveSuspendStatsReported wear_adaptive_suspend_stats_reported |
| extensions 620; // WearPowerAnomalyServiceOperationalStatsReported wear_power_anomaly_service_operational_stats_reported |
| extensions 621; // WearPowerAnomalyServiceEventStatsReported wear_power_anomaly_service_event_stats_reported |
| extensions 622; // SettingsSpaReported settings_spa_reported |
| extensions 623; // HealthConnectUiImpression health_connect_ui_impression |
| extensions 624; // HealthConnectUiInteraction health_connect_ui_interaction |
| extensions 625; // HealthConnectAppOpenedReported health_connect_app_opened_reported |
| extensions 626; // WsIncomingCallActionReported ws_incoming_call_action_reported |
| extensions 627; // WsCallDisconnectionReported ws_call_disconnection_reported |
| extensions 628; // WsCallDurationReported ws_call_duration_reported |
| extensions 629; // WsCallUserExperienceLatencyReported ws_call_user_experience_latency_reported |
| extensions 630; // WsCallInteractionReported ws_call_interaction_reported |
| extensions 631; // FullScreenIntentLaunched full_screen_intent_launched |
| extensions 632; // BalAllowed bal_allowed |
| extensions 633; // EmergencyStateChanged emergency_state_changed |
| extensions 634; // QualifiedRatListChanged qualified_rat_list_changed |
| extensions 635; // QnsImsCallDropStats qns_ims_call_drop_stats |
| extensions 636; // QnsFallbackRestrictionChanged qns_fallback_restriction_changed |
| extensions 637; // EmergencyNumberDialed emergency_number_dialed |
| extensions 638; // WifiAwareNdpReported wifi_aware_ndp_reported |
| extensions 639; // WifiAwareAttachReported wifi_aware_attach_reported |
| extensions 640; // AdServicesMeasurementDebugKeys ad_services_measurement_debug_keys |
| extensions 641; // MediaCodecStarted media_codec_started |
| extensions 642; // MediaCodecStopped media_codec_stopped |
| extensions 643; // HealthConnectApiInvoked health_connect_api_invoked |
| extensions 644; // ExpressUidEventReported express_uid_event_reported |
| extensions 645; // PermissionRationaleDialogViewed permission_rationale_dialog_viewed |
| extensions 646; // PermissionRationaleDialogActionReported permission_rationale_dialog_action_reported |
| extensions 647; // AppDataSharingUpdatesNotificationInteraction app_data_sharing_updates_notification_interaction |
| extensions 648; // AppDataSharingUpdatesFragmentViewed app_data_sharing_updates_fragment_viewed |
| extensions 649; // AppDataSharingUpdatesFragmentActionReported app_data_sharing_updates_fragment_action_reported |
| extensions 650; // DailykeepaliveInfoReported daily_keepalive_info_reported |
| extensions 651; // CredentialManagerInitialPhaseReported credential_manager_init_phase_reported |
| extensions 652; // CredentialManagerCandidatePhaseReported credential_manager_candidate_phase_reported |
| extensions 653; // CredentialManagerFinalPhaseReported credential_manager_final_phase_reported |
| extensions 654; // ExerciseRouteApiCalled exercise_route_api_called |
| extensions 655; // PluginInitialized plugin_initialized |
| extensions 656; // BluetoothLeSessionConnected bluetooth_le_session_connected |
| extensions 657; // DNDStateChanged dnd_state_changed |
| extensions 658; // ExpressUidHistogramSampleReported express_uid_histogram_sample_reported |
| extensions 659; // AutofillFieldClassificationEventReported autofill_field_classification_event_reported |
| extensions 660; // TestExtensionAtomReported test_extension_atom_reported |
| extensions 661; // WifiSelfRecoveryTriggered wifi_self_recovery_triggered |
| extensions 662; // AdServicesErrorReported ad_services_error_reported |
| extensions 663; // AdServicesBackgroundJobsExecutionReported ad_services_background_jobs_execution_reported |
| extensions 664; // RkpdPoolStats rkpd_pool_stats |
| extensions 665; // RkpdClientOperation rkpd_client_operation |
| extensions 666; // RestrictedBluetoothDeviceNameReported restricted_bluetooth_device_name_reported |
| extensions 667; // CredentialManagerTotalCandidateReported credential_manager_total_reported |
| extensions 668; // CredentialManagerFinalNoUidReported credential_manager_finalnouid_reported |
| extensions 669; // CredentialManagerGetProviderReported credential_manager_get_reported |
| extensions 670; // CredentialManagerBrowsedAuthenticationClicked credential_manager_auth_click_reported |
| extensions 671; // CredentialManagerApiV2Called credential_manager_apiv2_called |
| extensions 672; // TestRestrictedAtomReported test_restricted_atom_reported |
| extensions 673; // AdServicesMeasurementDelayedSourceRegistration ad_services_measurement_delayed_source_registration |
| extensions 674; // AdServicesMeasurementAttribution ad_services_measurement_attribution |
| extensions 675; // AdServicesMeasurementJobs ad_services_measurement_jobs |
| extensions 676; // AdServicesMeasurementWipeout ad_services_measurement_wipeout |
| extensions 677; // MediaSessionStateChanged media_session_state_changed |
| extensions 678; // IkeSessionTerminated ike_session_terminated |
| extensions 679; // TvLowPowerStandbyPolicy tv_low_power_standby_policy |
| extensions 680; // SoftApStarted softap_started |
| extensions 681; // SoftApStopped softap_stopped |
| extensions 682; // KeyboardConfigured keyboard_configured |
| extensions 683; // KeyboardSystemsEventReported keyboard_systems_event_reported |
| extensions 684; // MediaCodecRendered media_codec_rendered |
| extensions 685; // InTaskActivityStarted in_task_activity_started |
| extensions 686; // InputDeviceUsageReported inputdevice_usage_reported |
| extensions 687; // WifiLockReleased wifi_lock_released |
| extensions 688; // WifiLockDeactivated wifi_lock_deactivated |
| extensions 689; // WifiConfigSaved wifi_config_saved |
| extensions 690; // WifiAwareResourceUsingChanged wifi_aware_resource_using_changed |
| extensions 691; // WifiAwareHalApiCalled wifi_aware_hal_api_called |
| extensions 692; // WifiLocalOnlyRequestReceived wifi_local_only_request_received |
| extensions 693; // WifiLocalOnlyRequestScanTriggered wifi_local_only_request_scan_triggered |
| extensions 694; // WifiThreadTaskExecuted wifi_thread_task_executed |
| extensions 695; // AdServicesMeasurementAdIdMatchForDebugKeys ad_services_ad_id_match_for_debug_keys |
| extensions 696; // BluetoothProfileConnectionAttempted bluetooth_profile_connection_attempted |
| extensions 697; // AdServicesEnrollmentDataStored ad_services_enrollment_data_stored |
| extensions 698; // AdServicesEnrollmentFileDownloaded ad_services_enrollment_file_downloaded |
| extensions 699; // AdServicesEnrollmentMatched ad_services_enrollment_matched |
| extensions 700; // WifiStateChanged wifi_state_changed |
| extensions 701; // HdmiEarcStatusReported hdmi_earc_status_reported |
| extensions 702; // AdServicesConsentMigrated ad_services_consent_migrated |
| extensions 703; // CronetEngineCreated cronet_engine_created |
| extensions 704; // CronetTrafficReported cronet_traffic_reported |
| extensions 705; // DreamSettingChanged dream_setting_changed |
| extensions 706; // AiWallpapersButtonPressed ai_wallpapers_button_pressed |
| extensions 707; // AiWallpapersTemplateSelected ai_wallpapers_template_selected |
| extensions 708; // AiWallpapersTermSelected ai_wallpapers_term_selected |
| extensions 709; // AiWallpapersWallpaperSet ai_wallpapers_wallpaper_set |
| extensions 710; // AiWallpapersSessionSummary ai_wallpapers_session_summary |
| extensions 711; // OnDevicePersonalizationApiCalled ondevicepersonalization_api_called |
| extensions 712; // FederatedComputeApiCalled federated_compute_api_called |
| extensions 713; // CellularRadioPowerStateChanged cellular_radio_power_state_changed |
| extensions 714; // AdServicesEnrollmentFailed ad_services_enrollment_failed |
| extensions 715; // WearModeStateChanged wear_mode_state_changed |
| extensions 716; // LauncherImpressionEventV2 launcher_impression_event_v2 |
| extensions 717; // ExternalTvInputEvent external_tv_input_event |
| extensions 718; // StylusPredictionMetricsReported stylus_prediction_metrics_reported |
| extensions 719; // PnoScanStarted pno_scan_started |
| extensions 720; // PnoScanStopped pno_scan_stopped |
| extensions 721; // MediatorUpdated mediator_updated |
| extensions 722; // WifiIsUnusableReported wifi_is_unusable_reported |
| extensions 723; // WifiApCapabilitiesReported wifi_ap_capabilities_reported |
| extensions 724; // HdmiSoundbarModeStatusReported hdmi_soundbar_mode_status_reported |
| extensions 725; // UserRiskEventReported user_risk_event_reported |
| extensions 726; // DeviceLockCheckInRequestReported device_lock_check_in_request_reported |
| extensions 727; // DeviceLockProvisioningCompleteReported device_lock_provisioning_complete_reported |
| extensions 728; // DeviceLockKioskAppRequestReported device_lock_kiosk_app_request_reported |
| extensions 729; // MediaProjectionStateChanged media_projection_state_changed |
| extensions 730; // MediaProjectionTargetChanged media_projection_target_changed |
| extensions 731; // WearPowerMenuOpened wear_power_menu_opened |
| extensions 732; // ApexInstallationRequested apex_installation_requested |
| extensions 733; // ApexInstallationStaged apex_installation_staged |
| extensions 734; // ApexInstallationEnded apex_installation_ended |
| extensions 735; // SandboxActivityEventOccurred sandbox_activity_event_occurred |
| extensions 736; // RendererInitialized renderer_initialized |
| extensions 737; // SchemaVersionReceived schema_version_received |
| extensions 738; // ThreadnetworkTelemetryDataReported threadnetwork_telemetry_data_reported |
| extensions 739; // ThreadnetworkTopoEntryRepeated threadnetwork_topo_entry_repeated |
| extensions 740; // ThreadnetworkDeviceInfoReported threadnetwork_device_info_reported |
| extensions 741; // LayoutInspected layout_inspected |
| extensions 742; // LayoutExpressionsInspected layout_expression_inspected |
| extensions 743; // LayoutAnimationsInspected layout_animations_inspected |
| extensions 744; // MaterialComponentsInspected material_components_inspected |
| extensions 745; // TileRequested tile_requested |
| extensions 746; // StateResponseReceived state_response_received |
| extensions 747; // TileResponseReceived tile_response_received |
| extensions 748; // InflationFinished inflation_finished |
| extensions 749; // InflationFailed inflation_failed |
| extensions 750; // IgnoredInflationFailuresReported ignored_inflation_failures_reported |
| extensions 751; // DrawableRendered drawable_rendered |
| extensions 752; // StatsSocketLossReported stats_socket_loss_reported |
| extensions 753; // DisplaySwitchLatencyTracked display_switch_latency_tracked |
| extensions 754; // KernelOomKillOccurred kernel_oom_kill_occurred |
| extensions 755; // WearAssistantOpened wear_assistant_opened |
| extensions 756; // AdServicesMeasurementClickVerification ad_services_measurement_click_verification |
| extensions 757; // WearMediaOutputSwitcherDeviceScanApiLatency wear_media_output_switcher_device_scan_api_latency |
| extensions 758; // WearMediaOutputSwitcherSassDeviceUnavailable wear_media_output_switcher_sass_device_unavailable |
| extensions 759; // WearMediaOutputSwitcherFastPairApiTimeout wear_media_output_switcher_fastpair_api_timeout |
| extensions 760; // IkeLivenessCheckSessionValidated ike_liveness_check_session_validated |
| extensions 761; // HotwordEventEgressSize hotword_egress_size_atom_reported |
| extensions 762; // CronetEngineBuilderInitialized cronet_engine_builder_initialized |
| extensions 763; // CronetHttpFlagsInitialized cronet_http_flags_initialized |
| extensions 764; // CronetInitialized cronet_initialized |
| extensions 765; // AdServicesEncryptionKeyFetched ad_services_encryption_key_fetched |
| extensions 766; // AdServicesEncryptionKeyDbTransactionEnded ad_services_encryption_key_db_transaction_ended |
| extensions 767; // DestinationRegisteredBeacons destination_registered_beacons |
| extensions 768; // ReportInteractionApiCalled report_interaction_api_called |
| extensions 769; // InteractionReportingTableCleared interaction_reporting_table_cleared |
| extensions 770; // CarRecentsEventReported car_recents_event_reported |
| extensions 771; // FederatedComputeTrainingEventReported federated_compute_training_event_reported |
| extensions 772; // ThermalStatusCalled thermal_status_called |
| extensions 773; // ThermalHeadroomCalled thermal_headroom_called |
| extensions 774; // ThermalHeadroomThresholdsCalled thermal_headroom_thresholds_called |
| extensions 775; // BootIntegrityInfoReported boot_integrity_info_reported |
| extensions 776; // ScreenOffReported screen_off_reported |
| extensions 777; // ApfSessionInfoReported apf_session_info_reported |
| extensions 778; // IpClientRaInfoReported ip_client_ra_info_reported |
| extensions 779; // NetworkRequestStateChanged network_request_state_changed |
| extensions 781; // BluetoothContentProfileErrorReported bluetooth_content_profile_error_reported |
| extensions 782; // BluetoothRfcommConnectionAttempted bluetooth_rfcomm_connection_attempted |
| extensions 783; // NetworkStatsRecorderFileOperated network_stats_recorder_file_operated |
| extensions 821; // NegotiatedSecurityAssociation negotiated_security_association |
| extensions 850; // VpnConnectionStateChanged vpn_connection_state_changed |
| extensions 851; // VpnConnectionReported vpn_connection_reported |
| extensions 9999; // Atom9999 atom_9999 |
| // StatsdStats tracks platform atoms with ids up to 900. |
| // Update StatsdStats::kMaxPushedAtomId when atom ids here approach that value. |
| |
| // Pulled events will start at field 10000. |
| // Next: 10206 |
| oneof pulled { |
| WifiBytesTransfer wifi_bytes_transfer = 10000 [(module) = "framework"]; |
| WifiBytesTransferByFgBg wifi_bytes_transfer_by_fg_bg = 10001 [(module) = "framework"]; |
| MobileBytesTransfer mobile_bytes_transfer = |
| 10002 [(module) = "framework", (truncate_timestamp) = true]; |
| MobileBytesTransferByFgBg mobile_bytes_transfer_by_fg_bg = |
| 10003 [(module) = "framework", (truncate_timestamp) = true]; |
| BluetoothBytesTransfer bluetooth_bytes_transfer = 10006 [(module) = "framework"]; |
| KernelWakelock kernel_wakelock = 10004 [(module) = "framework"]; |
| SubsystemSleepState subsystem_sleep_state = 10005 [(module) = "framework", (module) = "statsdtest"]; |
| CpuTimePerUid cpu_time_per_uid = 10009 [(module) = "framework", (module) = "statsdtest"]; |
| CpuTimePerUidFreq cpu_time_per_uid_freq = |
| 10010 [(module) = "framework", (module) = "statsd"]; |
| WifiActivityInfo wifi_activity_info = 10011 [(module) = "framework"]; |
| ModemActivityInfo modem_activity_info = 10012 [(module) = "framework"]; |
| BluetoothActivityInfo bluetooth_activity_info = 10007 [(module) = "framework"]; |
| ProcessMemoryState process_memory_state = 10013 [(module) = "framework"]; |
| SystemElapsedRealtime system_elapsed_realtime = 10014 [(module) = "framework"]; |
| SystemUptime system_uptime = 10015 [(module) = "framework"]; |
| CpuActiveTime cpu_active_time = 10016 [(module) = "framework", (module) = "statsdtest"]; |
| CpuClusterTime cpu_cluster_time = 10017 [(module) = "framework"]; |
| DiskSpace disk_space = 10018 [deprecated=true, (module) = "statsdtest"]; |
| RemainingBatteryCapacity remaining_battery_capacity = 10019 [(module) = "framework"]; |
| FullBatteryCapacity full_battery_capacity = 10020 [(module) = "framework"]; |
| Temperature temperature = 10021 [(module) = "framework", (module) = "statsdtest"]; |
| BinderCalls binder_calls = 10022 [(module) = "framework", (module) = "statsd"]; |
| BinderCallsExceptions binder_calls_exceptions = 10023 [(module) = "framework"]; |
| LooperStats looper_stats = 10024 [(module) = "framework", (module) = "statsd"]; |
| DiskStats disk_stats = 10025 [(module) = "framework"]; |
| DirectoryUsage directory_usage = 10026 [(module) = "framework"]; |
| AppSize app_size = 10027 [(module) = "framework"]; |
| CategorySize category_size = 10028 [(module) = "framework"]; |
| ProcStats proc_stats = 10029 [(module) = "framework"]; |
| BatteryVoltage battery_voltage = 10030 [(module) = "framework"]; |
| NumFingerprintsEnrolled num_fingerprints_enrolled = 10031 [(module) = "framework"]; |
| DiskIo disk_io = 10032 [(module) = "framework"]; |
| PowerProfile power_profile = 10033 [(module) = "framework"]; |
| ProcStatsPkgProc proc_stats_pkg_proc = 10034 [(module) = "framework"]; |
| ProcessCpuTime process_cpu_time = 10035 [(module) = "framework"]; |
| CpuTimePerThreadFreq cpu_time_per_thread_freq = 10037 [(module) = "framework"]; |
| OnDevicePowerMeasurement on_device_power_measurement = 10038 [(module) = "framework"]; |
| DeviceCalculatedPowerUse device_calculated_power_use = 10039 [(module) = "framework"]; |
| ProcessMemoryHighWaterMark process_memory_high_water_mark = 10042 [(module) = "framework"]; |
| BatteryLevel battery_level = 10043 [(module) = "framework"]; |
| BuildInformation build_information = 10044 [(module) = "framework"]; |
| BatteryCycleCount battery_cycle_count = 10045 [(module) = "framework"]; |
| DebugElapsedClock debug_elapsed_clock = 10046 [(module) = "framework"]; |
| DebugFailingElapsedClock debug_failing_elapsed_clock = 10047 [(module) = "framework"]; |
| NumFacesEnrolled num_faces_enrolled = 10048 [(module) = "framework"]; |
| RoleHolder role_holder = 10049 [(module) = "framework"]; |
| DangerousPermissionState dangerous_permission_state = 10050 [(module) = "framework"]; |
| TrainInfo train_info = 10051 [(module) = "statsd"]; |
| TimeZoneDataInfo time_zone_data_info = 10052 [(module) = "framework"]; |
| ExternalStorageInfo external_storage_info = 10053 [(module) = "framework"]; |
| GpuStatsGlobalInfo gpu_stats_global_info = 10054; |
| GpuStatsAppInfo gpu_stats_app_info = 10055; |
| SystemIonHeapSize system_ion_heap_size = 10056 [deprecated = true, (module) = "framework"]; |
| AppsOnExternalStorageInfo apps_on_external_storage_info = 10057 [(module) = "framework"]; |
| FaceSettings face_settings = 10058 [(module) = "framework"]; |
| CoolingDevice cooling_device = 10059 [(module) = "framework"]; |
| AppOps app_ops = 10060 [(module) = "framework"]; |
| ProcessSystemIonHeapSize process_system_ion_heap_size = 10061 [(module) = "framework"]; |
| SurfaceflingerStatsGlobalInfo surfaceflinger_stats_global_info = 10062; |
| SurfaceflingerStatsLayerInfo surfaceflinger_stats_layer_info = 10063; |
| ProcessMemorySnapshot process_memory_snapshot = 10064 [(module) = "framework"]; |
| VmsClientStats vms_client_stats = 10065 [(module) = "car"]; |
| NotificationRemoteViews notification_remote_views = 10066 [(module) = "framework"]; |
| DangerousPermissionStateSampled dangerous_permission_state_sampled = |
| 10067 [(module) = "framework"]; |
| GraphicsStats graphics_stats = 10068 [(module) = "hwui"]; |
| RuntimeAppOpAccess runtime_app_op_access = 10069 [(module) = "framework"]; |
| IonHeapSize ion_heap_size = 10070 [(module) = "framework"]; |
| PackageNotificationPreferences package_notification_preferences = |
| 10071 [(module) = "framework"]; |
| PackageNotificationChannelPreferences package_notification_channel_preferences = |
| 10072 [(module) = "framework"]; |
| PackageNotificationChannelGroupPreferences package_notification_channel_group_preferences = |
| 10073 [(module) = "framework"]; |
| GnssStats gnss_stats = 10074 [(module) = "framework"]; |
| AttributedAppOps attributed_app_ops = 10075 [(module) = "framework"]; |
| VoiceCallSession voice_call_session = 10076 [(module) = "telephony"]; |
| VoiceCallRatUsage voice_call_rat_usage = 10077 [(module) = "telephony"]; |
| SimSlotState sim_slot_state = 10078 [(module) = "telephony"]; |
| SupportedRadioAccessFamily supported_radio_access_family = 10079 [(module) = "telephony"]; |
| SettingSnapshot setting_snapshot = 10080 [(module) = "framework"]; |
| BlobInfo blob_info = 10081 [(module) = "framework"]; |
| DataUsageBytesTransfer data_usage_bytes_transfer = |
| 10082 [(module) = "framework", (truncate_timestamp) = true]; |
| BytesTransferByTagAndMetered bytes_transfer_by_tag_and_metered = |
| 10083 [(module) = "framework", (truncate_timestamp) = true]; |
| dnd.DNDModeProto dnd_mode_rule = 10084 [(module) = "framework"]; |
| GeneralExternalStorageAccessStats general_external_storage_access_stats = |
| 10085 [(module) = "mediaprovider"]; |
| IncomingSms incoming_sms = 10086 [(module) = "telephony"]; |
| OutgoingSms outgoing_sms = 10087 [(module) = "telephony"]; |
| CarrierIdTableVersion carrier_id_table_version = 10088 [(module) = "telephony"]; |
| DataCallSession data_call_session = 10089 [(module) = "telephony"]; |
| CellularServiceState cellular_service_state = 10090 [(module) = "telephony"]; |
| CellularDataServiceSwitch cellular_data_service_switch = 10091 [(module) = "telephony"]; |
| SystemMemory system_memory = 10092 [(module) = "framework"]; |
| ImsRegistrationTermination ims_registration_termination = 10093 [(module) = "telephony"]; |
| ImsRegistrationStats ims_registration_stats = 10094 [(module) = "telephony"]; |
| CpuTimePerClusterFreq cpu_time_per_cluster_freq = 10095 [(module) = "framework"]; |
| CpuCyclesPerUidCluster cpu_cycles_per_uid_cluster = 10096 [(module) = "framework"]; |
| DeviceRotatedData device_rotated_data = 10097 [(module) = "framework"]; |
| CpuCyclesPerThreadGroupCluster cpu_cycles_per_thread_group_cluster = 10098 [(module) = "framework"]; |
| MediaDrmActivityInfo media_drm_activity_info = 10099 [(module) = "media_metrics"]; |
| OemManagedBytesTransfer oem_managed_bytes_transfer = 10100 [(module) = "framework"]; |
| GnssPowerStats gnss_power_stats = 10101 [(module) = "framework"]; |
| TimeZoneDetectorState time_zone_detector_state = 10102 [(module) = "framework"]; |
| Keystore2StorageStats keystore2_storage_stats = 10103 [(module) = "framework"]; |
| RkpPoolStats rkp_pool_stats = 10104 [deprecated = true]; |
| ProcessDmabufMemory process_dmabuf_memory = 10105 [(module) = "framework"]; |
| PendingAlarmInfo pending_alarm_info = 10106 [(module) = "framework"]; |
| UserLevelHibernatedApps user_level_hibernated_apps = 10107 [(module) = "framework"]; |
| sysui.LauncherLayoutSnapshot launcher_layout_snapshot = 10108 |
| [(module) = "sysui"]; |
| GlobalHibernatedApps global_hibernated_apps = 10109 [(module) = "framework"]; |
| input.InputEventLatencySketch input_event_latency_sketch = 10110 [(module) = "input"]; |
| BatteryUsageStatsBeforeReset battery_usage_stats_before_reset = |
| 10111 [(module) = "framework"]; |
| BatteryUsageStatsSinceReset battery_usage_stats_since_reset = |
| 10112 [(module) = "framework"]; |
| BatteryUsageStatsSinceResetUsingPowerProfileModel |
| battery_usage_stats_since_reset_using_power_profile_model = |
| 10113 [(module) = "framework"]; |
| InstalledIncrementalPackage installed_incremental_package = 10114 [(module) = "framework"]; |
| TelephonyNetworkRequests telephony_network_requests = |
| 10115 [(module) = "telephony", deprecated = true]; |
| AppSearchStorageInfo app_search_storage_info = 10116 [(module) = "appsearch"]; |
| VmStat vmstat = 10117 [(module) = "framework"]; |
| Keystore2KeyCreationWithGeneralInfo keystore2_key_creation_with_general_info = |
| 10118 [(module) = "framework"]; |
| Keystore2KeyCreationWithAuthInfo keystore2_key_creation_with_auth_info = |
| 10119 [(module) = "framework"]; |
| Keystore2KeyCreationWithPurposeAndModesInfo |
| keystore2_key_creation_with_purpose_and_modes_info = 10120 [(module) = "framework"]; |
| Keystore2AtomWithOverflow keystore2_atom_with_overflow = 10121 [(module) = "framework"]; |
| Keystore2KeyOperationWithPurposeAndModesInfo |
| keystore2_key_operation_with_purpose_and_modes_info = |
| 10122 [(module) = "framework"]; |
| Keystore2KeyOperationWithGeneralInfo keystore2_key_operation_with_general_info = |
| 10123 [(module) = "framework"]; |
| RkpErrorStats rkp_error_stats = 10124 [(module) = "framework"]; |
| Keystore2CrashStats keystore2_crash_stats = 10125 [(module) = "framework"]; |
| VendorApexInfo vendor_apex_info = 10126 [(module) = "framework"]; |
| AccessibilityShortcutStats accessibility_shortcut_stats = 10127 [(module) = "framework"]; |
| AccessibilityFloatingMenuStats accessibility_floating_menu_stats = |
| 10128 [(module) = "framework"]; |
| DataUsageBytesTransferV2 data_usage_bytes_transfer_v2 = 10129 [(module) = "framework", |
| (truncate_timestamp) = true]; |
| MediaCapabilities media_capabilities = 10130 [(module) = "framework"]; |
| CarWatchdogSystemIoUsageSummary car_watchdog_system_io_usage_summary = |
| 10131 [(module) = "car"]; |
| CarWatchdogUidIoUsageSummary car_watchdog_uid_io_usage_summary = 10132 [(module) = "car"]; |
| ImsRegistrationFeatureTagStats ims_registration_feature_tag_stats = |
| 10133 [(module) = "telephony"]; |
| RcsClientProvisioningStats rcs_client_provisioning_stats = |
| 10134 [(module) = "telephony"]; |
| RcsAcsProvisioningStats rcs_acs_provisioning_stats = |
| 10135 [(module) = "telephony"]; |
| SipDelegateStats sip_delegate_stats = 10136 [(module) = "telephony"]; |
| SipTransportFeatureTagStats sip_transport_feature_tag_stats = |
| 10137 [(module) = "telephony"]; |
| SipMessageResponse sip_message_response = 10138 [(module) = "telephony"]; |
| SipTransportSession sip_transport_session = 10139 [(module) = "telephony"]; |
| ImsDedicatedBearerListenerEvent ims_dedicated_bearer_listener_event = |
| 10140 [(module) = "telephony"]; |
| ImsDedicatedBearerEvent ims_dedicated_bearer_event = 10141 [(module) = "telephony"]; |
| ImsRegistrationServiceDescStats ims_registration_service_desc_stats = |
| 10142 [(module) = "telephony"]; |
| UceEventStats uce_event_stats = 10143 [(module) = "telephony"]; |
| PresenceNotifyEvent presence_notify_event = 10144 [(module) = "telephony"]; |
| GbaEvent gba_event = 10145 [(module) = "telephony"]; |
| PerSimStatus per_sim_status = 10146 [(module) = "telephony"]; |
| GpuWorkPerUid gpu_work_per_uid = 10147; |
| PersistentUriPermissionsAmountPerPackage persistent_uri_permissions_amount_per_package = |
| 10148 [(module) = "framework"]; |
| SignedPartitionInfo signed_partition_info = 10149 [(module) = "framework"]; |
| PinnedFileSizesPerPackage pinned_file_sizes_per_package = 10150 |
| [(module) = "framework"]; |
| PendingIntentsPerPackage pending_intents_per_package = 10151 |
| [(module) = "framework"]; |
| UserInfo user_info = 10152 [(module) = "framework"]; |
| TelephonyNetworkRequestsV2 telephony_network_requests_v2 = 10153 [(module) = "telephony"]; |
| DeviceTelephonyProperties device_telephony_properties = 10154 [(module) = "telephony"]; |
| RemoteKeyProvisioningErrorCounts remote_key_provisioning_error_counts = 10155 [deprecated = true]; |
| SafetyState safety_state = 10156 [(module) = "permissioncontroller"]; |
| IncomingMms incoming_mms = 10157 [(module) = "mms"]; |
| OutgoingMms outgoing_mms = 10158 [(module) = "mms"]; |
| MultiUserInfo multi_user_info = 10160 [(module) = "framework"]; |
| NetworkBpfMapInfo network_bpf_map_info = 10161 [(module) = "connectivity"]; |
| OutgoingShortCodeSms outgoing_short_code_sms = 10162 [(module) = "telephony"]; |
| ConnectivityStateSample connectivity_state_sample = 10163 [(module) = "connectivity"]; |
| NetworkSelectionRematchReasonsInfo network_selection_rematch_reasons_info = 10164 [(module) = "connectivity"]; |
| agif.GameModeInfo game_mode_info = 10165 [(module) = "framework"]; |
| agif.GameModeConfiguration game_mode_configuration = 10166 [(module) = "framework"]; |
| agif.GameModeListener game_mode_listener = 10167 [(module) = "framework"]; |
| NetworkSliceRequestCountSample network_slice_request_count = 10168 [(module) = "connectivity"]; |
| WsTileSnapshot ws_tile_snapshot = 10169 [(module) = "wearservices"]; |
| WsActiveWatchFaceComplicationSetSnapshot ws_active_watch_face_complication_set_snapshot = 10170 [(module) = "wearservices"]; |
| ProcessState process_state = 10171 [(module) = "framework"]; |
| ProcessAssociation process_association = 10172 [(module) = "framework"]; |
| adpf.ADPFSystemComponentInfo adpf_system_component_info = 10173 [(module) = "framework"]; |
| sysui.NotificationMemoryUse notification_memory_use = 10174 [(module) = "sysui"]; |
| display.HdrCapabilities hdr_capabilities = 10175 [(module) = "framework"]; |
| WsFavouriteWatchFaceListSnapshot ws_favourite_watch_face_list_snapshot = 10176 [(module) = "wearservices"]; |
| } |
| |
| // Pulled atom extensions. |
| // The atom definitions are under atoms/<feature>/<feature>_extension_atoms.proto |
| extensions 10159; // SandboxSdkStorage sandbox_sdk_storage |
| extensions 10177; // QnsRatPreferenceMismatchInfo qns_rat_preference_mismatch_info |
| extensions 10178; // QnsHandoverTimeMillis qns_handover_time_millis |
| extensions 10179; // QnsHandoverPingpong qns_handover_pingpong |
| extensions 10180; // EmergencyNumbersInfo emergency_numbers_info |
| extensions 10181; // MteState mte_state |
| extensions 10182; // SatelliteController satellite_controller |
| extensions 10183; // SatelliteSession satellite_session |
| extensions 10184; // SatelliteIncomingDatagram satellite_incoming_datagram |
| extensions 10185; // SatelliteOutgoingDatagram satellite_outgoing_datagram |
| extensions 10186; // SatelliteProvision satellite_provision |
| extensions 10187; // SatelliteSosMessageRecommender satellite_sos_message_recommender |
| extensions 10188; // UwbActivityInfo uwb_activity_info |
| extensions 10189; // CachedAppsHighWaterMark cached_apps_high_watermark |
| extensions 10190; // WifiAwareCapabilities wifi_aware_capabilities |
| extensions 10191; // TouchpadUsage touchpad_usage |
| extensions 10192; // DreamSettingSnapshot dream_setting_snapshot |
| extensions 10193; // WifiModuleInfo wifi_module_info |
| extensions 10194; // WifiSettingInfo wifi_setting_info |
| extensions 10195; // WifiComplexSettingInfo wifi_complex_setting_info |
| extensions 10196; // SysproxyBluetoothBytesTransfer sysproxy_bluetooth_bytes_transfer |
| extensions 10197; // WsStandaloneModeSnapshot ws_standalone_mode_snapshot |
| extensions 10198; // WifiConfiguredNetworkInfo wifi_configured_network_info; |
| extensions 10199; // CpuPolicy cpu_policy |
| extensions 10200; // ProxyBytesTransferByFgBg proxy_bytes_transfer_by_fg_bg |
| extensions 10201; // ThermalHeadroomThresholds thermal_headroom_thresholds |
| extensions 10202; // Reserved for b/308823939. |
| extensions 10203; // Reserved for b/308823939. |
| extensions 10204; // Reserved for b/309512867. |
| extensions 10205; // ArtDeviceStatus art_device_status |
| extensions 99999; // Atom99999 atom_99999 |
| |
| // DO NOT USE field numbers above 100,000 in AOSP. |
| // Field numbers 100,000 - 199,999 are reserved for non-AOSP (e.g. OEMs) to use. |
| // Field numbers 200,000 and above are reserved for future use; do not use them at all. |
| reserved 58, 83, 360 to 363, 492, 597, 10008, 10036, 10040, 10041, 21004, 21005; |
| } |
| |
| /* |
| * ***************************************************************************** |
| * Below are all of the individual atoms that are logged by Android via statsd. |
| * |
| * RULES: |
| * - The field ids for each atom must start at 1, and count upwards by 1. |
| * Skipping field ids is not allowed. |
| * - These form an API, so renaming, renumbering or removing fields is |
| * not allowed between android releases. (This is not currently enforced, |
| * but there will be a tool to enforce this restriction). |
| * - The types must be built-in protocol buffer types, namely, no sub-messages |
| * are allowed (yet). The bytes type is also not allowed. |
| * - The CamelCase name of the message type should match the |
| * underscore_separated name as defined in Atom. |
| * - If an atom represents work that can be attributed to an app, there can |
| * be exactly one AttributionChain field. It must be field number 1. |
| * - A field that is a uid should be an int32 field, tagged with the |
| * [(is_uid) = true] annotation. |
| * |
| * CONVENTIONS: |
| * - Events are past tense. e.g. ScreenStateChanged, not ScreenStateChange. |
| * - If there is a UID, it goes first. Think in an object-oriented fashion. |
| * ***************************************************************************** |
| */ |
| |
| /** |
| * This atom is deprecated starting in Q. Please use ThermalThrottlingSeverityStateChanged. |
| * Logs when the Thermal service HAL notifies the throttling start/stop events. |
| * |
| * Logged from: |
| * frameworks/base/services/core/java/com/android/server/stats/StatsCompanionService.java |
| */ |
| message ThermalThrottlingStateChanged { |
| // The type of temperature being reported (CPU, GPU, SKIN, etc) |
| optional android.os.TemperatureTypeEnum sensor_type = 1; |
| |
| // Throttling state, this field is DEPRECATED |
| enum State { |
| UNKNOWN = 0; |
| START = 1; // START indicated that throttling was triggered. |
| STOP = 2; // STOP indicates that throttling was cleared. |
| } |
| optional State state = 2; |
| |
| optional float temperature = 3; |
| } |
| |
| /** |
| * Track transcoding service usage |
| * Logged from: |
| * packages/providers/MediaProvider/src/com/android/providers/media/TranscodeHelper.java |
| * Next Tag: 14 |
| */ |
| message TranscodingData { |
| // Reason that leads to the type of access. |
| enum AccessReason { |
| UNKNOWN = 0; |
| SYSTEM_DEFAULT = 1; // Default option |
| SYSTEM_CONFIG = 2; // Server-side/on-device config |
| APP_MANIFEST = 3; // media_capabilites.xml |
| APP_COMPAT = 4; // App compat framework |
| APP_EXTRA = 5; // ApplicationMediaCapabilities API in open() |
| } |
| |
| // Causes that leads to the failure of transcode. |
| enum FailureCause { |
| CAUSE_UNKNOWN = 0; |
| TRANSCODING_SERVICE_ERROR = 1; // Error from transcoding service. |
| TRANSCODING_CLIENT_TIMEOUT = 2; // Timeout from MediaProvider. |
| TRANSCODING_SESSION_CANCELED = 3; // MediaProvider cancels the transcode. |
| } |
| |
| enum AccessType { |
| HEVC_WRITE = 1; |
| READ_DIRECT = 2; |
| READ_CACHE = 3; |
| READ_TRANSCODE = 4; |
| WRITE_CACHE = 5; // App trying to write to transcodeid avc file in cache, this is rare. |
| AVC_WRITE = 6; |
| } |
| |
| enum Result { |
| SUCCESS = 0; |
| FAIL = 1; |
| UNDEFINED = 2; |
| } |
| |
| optional string requestor_package = 1; |
| optional AccessType access_type = 2; |
| optional int64 file_size_bytes = 3; |
| optional Result transcode_result = 4; |
| optional int64 transcode_duration_millis = 5; // The duration of transcoding. |
| optional int64 file_duration_millis = 6; // The duration of the video file. |
| optional int64 file_framerate_fps = 7; // The framerate of the video file. |
| optional AccessReason access_reason = 8; |
| optional int64 width = 9; |
| optional int64 height = 10; |
| optional bool hit_anr = 11; |
| optional FailureCause failure_cause = 12; // This field is valid only when fails. |
| optional int64 transcoding_service_error_code = 13; // Error code from transcoding service. |
| } |
| |
| /** |
| * Logs when the screen state changes. |
| * |
| * Logged from: |
| * frameworks/base/services/core/java/com/android/server/am/BatteryStatsService.java |
| */ |
| message ScreenStateChanged { |
| // New screen state, from frameworks/proto_logging/stats/enums/view/enums.proto. |
| optional android.view.DisplayStateEnum state = 1 |
| [(state_field_option).exclusive_state = true, (state_field_option).nested = false]; |
| } |
| |
| /** |
| * Part of the go/activity-security project. Logs information about activity |
| * starts which would be blocked as part of the project. |
| * |
| * Logged from: |
| * - frameworks/base/services/core/java/com/android/server/wm/ActivityStarter.java |
| * - frameworks/base/services/core/java/com/android/server/wm/ActivityClientController.java |
| */ |
| message ActivityActionBlocked { |
| enum Action { |
| ACTION_UNSPECIFIED = 0; |
| ACTIVITY_START_SAME_TASK = 1; |
| ACTIVITY_START_DIFFERENT_TASK = 2; |
| ACTIVITY_START_NEW_TASK = 3; |
| FINISH_TASK = 4; |
| } |
| optional int32 caller_uid = 1 [(is_uid) = true]; |
| optional string caller_activity_class_name = 2; |
| optional int32 target_task_top_activity_uid = 3 [(is_uid) = true]; |
| optional string target_task_top_activity_class_name = 4; |
| optional bool target_task_is_different = 5; |
| optional int32 target_activity_uid = 6 [(is_uid) = true]; |
| optional string target_activity_class_name = 7; |
| optional string target_intent_action = 8; |
| optional int32 target_intent_flags = 9; |
| |
| optional Action action = 10; |
| optional int32 version = 11; |
| optional bool multi_window = 12; |
| optional int32 bal_code = 13; |
| optional string task_debug_info = 14; |
| } |
| |
| /** |
| * Logs that the process state of the uid, as determined by ActivityManager |
| * (i.e. the highest process state of that uid's processes) has changed. |
| * |
| * Logged from: |
| * frameworks/base/services/core/java/com/android/server/am/BatteryStatsService.java |
| */ |
| message UidProcessStateChanged { |
| optional int32 uid = 1 [(state_field_option).primary_field = true, (is_uid) = true]; |
| |
| // The state, from frameworks/proto_logging/stats/enums/app/enums.proto. |
| optional android.app.ProcessStateEnum state = 2 |
| [(state_field_option).exclusive_state = true, (state_field_option).nested = false]; |
| } |
| |
| /** |
| * Logs process state change of a process, as per the activity manager. |
| * |
| * Logged from: |
| * frameworks/base/services/core/java/com/android/server/am/ProcessRecord.java |
| */ |
| message ProcessStateChanged { |
| optional int32 uid = 1; |
| optional string process_name = 2; |
| optional string package_name = 3; |
| // TODO: remove this when validation is done |
| optional int64 version = 5; |
| // The state, from frameworks/proto_logging/stats/enums/app/enums.proto. |
| optional android.app.ProcessStateEnum state = 4; |
| } |
| |
| /** |
| * Logs how long a process was in each of the states. |
| */ |
| message ProcessState { |
| optional int32 uid = 1 [(is_uid) = true]; |
| optional string process_name = 2; |
| |
| // Measurement period. Can be used as denominator. |
| // The gauge duration is not representative because we want uptime and also |
| // the measurement usually ends at a time earlier than pull time. |
| optional int32 measurement_start_uptime_seconds = 3; |
| optional int32 measurement_end_uptime_seconds = 4; |
| optional int32 measurement_duration_uptime_seconds = 5; |
| |
| // Individual state breakdowns, summing up to total process runtime. |
| // Flattening (instead of a dimensions - value pair) for two reasons: |
| // 1. Makes metric filtering possible (can pull the entire process data based |
| // on a specific value. |
| // 2. More efficient to encode (proto id serves as dimension). |
| optional int32 top_seconds = 6; |
| optional int32 fgs_seconds = 7; |
| optional int32 bound_top_seconds = 8; |
| optional int32 bound_fgs_seconds = 9; |
| optional int32 important_fg_bg_seconds = 10; |
| optional int32 cached_seconds = 11; |
| optional int32 frozen_seconds = 12; |
| optional int32 other_seconds = 13; |
| } |
| |
| /** |
| * Logs association between processes. |
| */ |
| message ProcessAssociation { |
| optional int32 client_uid = 1 [(is_uid) = true]; |
| |
| // If we only care about the package name name we do not need to upload this |
| // (even though we should add it to the atom for filtering / sharding) |
| optional string client_process = 2; |
| |
| optional int32 service_uid = 3 [(is_uid) = true]; |
| |
| optional string service_name = 4; |
| |
| optional string service_process = 10; |
| |
| // Measurement period. Can be used as denominator. |
| // The gauge duration is not representative because we want uptime and also |
| // the measurement usually ends at a time earlier than pull time. |
| optional int32 measurement_start_uptime_seconds = 5; |
| optional int32 measurement_end_uptime_seconds = 6; |
| optional int32 measurement_duration_uptime_seconds = 7; |
| |
| optional int32 duration_seconds = 8; |
| |
| // Number of times this association was established. |
| optional int32 count = 9; |
| } |
| |
| /** |
| * Logs when ActivityManagerService sleep state is changed. |
| * |
| * Logged from: |
| * frameworks/base/services/core/java/com/android/server/am/ActivityTaskManagerService.java |
| */ |
| message ActivityManagerSleepStateChanged { |
| // TODO: import frameworks proto |
| enum State { |
| UNKNOWN = 0; |
| ASLEEP = 1; |
| AWAKE = 2; |
| } |
| optional State state = 1 |
| [(state_field_option).exclusive_state = true, (state_field_option).nested = false]; |
| } |
| |
| /** |
| * Logs when system memory state changes. |
| * |
| * Logged from: |
| * frameworks/base/services/core/java/com/android/server/am/ActivityManagerService.java |
| */ |
| message MemoryFactorStateChanged { |
| // TODO: import frameworks proto |
| enum State { |
| MEMORY_UNKNOWN = 0; |
| NORMAL = 1; // normal. |
| MODERATE = 2; // moderate memory pressure. |
| LOW = 3; // low memory. |
| CRITICAL = 4; // critical memory. |
| |
| } |
| optional State factor = 1 [ |
| (state_field_option).exclusive_state = true, |
| (state_field_option).nested = false |
| ]; |
| } |
| |
| /** |
| * Logs when app is using too much cpu, according to ActivityManagerService. |
| * |
| * Logged from: |
| * frameworks/base/services/core/java/com/android/server/am/ActivityManagerService.java |
| */ |
| message ExcessiveCpuUsageReported { |
| optional int32 uid = 1; |
| optional string process_name = 2; |
| optional string package_name = 3; |
| // package version. TODO: remove this when validation is done |
| optional int64 version = 4; |
| } |
| |
| /** |
| * Logs when a cached process is killed, along with its pss. |
| * |
| * Logged from: |
| * frameworks/base/services/core/java/com/android/server/am/ActivityManagerService.java |
| */ |
| message CachedKillReported { |
| optional int32 uid = 1; |
| optional string process_name = 2; |
| optional string package_name = 3; |
| // TODO: remove this when validation is done |
| optional int64 version = 5; |
| optional int64 pss = 4; |
| } |
| |
| /** |
| * Logs the change in wifi health. |
| * |
| * Logged from: |
| * frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiDataStall.java |
| */ |
| message WifiHealthStatReported { |
| enum Band { |
| UNKNOWN = 0; |
| // All of 2.4GHz band |
| BAND_2G = 1; |
| // Frequencies in the range of [5150, 5250) GHz |
| BAND_5G_LOW = 2; |
| // Frequencies in the range of [5250, 5725) GHz |
| BAND_5G_MIDDLE = 3; |
| // Frequencies in the range of [5725, 5850) GHz |
| BAND_5G_HIGH = 4; |
| // Frequencies in the range of [5925, 6425) GHz |
| BAND_6G_LOW = 5; |
| // Frequencies in the range of [6425, 6875) GHz |
| BAND_6G_MIDDLE = 6; |
| // Frequencies in the range of [6875, 7125) GHz |
| BAND_6G_HIGH = 7; |
| } |
| // duration this stat is obtained over in milliseconds |
| optional int32 duration_millis = 1; |
| // whether wifi is classified as sufficient for the user's data traffic, determined |
| // by whether the calculated throughput exceeds the average demand within |duration_millis| |
| optional bool is_sufficient = 2; |
| // whether cellular data is available |
| optional bool is_cell_data_available = 3; |
| // the Band bucket the connected network is on |
| optional Band band = 4; |
| // the Signal strength in the range of [-126, 0) |
| optional int32 rssi = 5; |
| // estimated tx throughput in kbps |
| optional int32 tx_kbps = 6 [default = -1]; |
| // estimated rx throughput in kbps |
| optional int32 rx_kbps = 7 [default = -1]; |
| // External scorer UID if external scorer is enabled. Otherwise WIFI_UID for |
| // AOSP scorer. |
| optional int32 scorer_uid = 8; |
| // Whether or not Wi-Fi is predicted as usable by the scorer |
| // Note: 'is_wifi_predicted_as_usable' is deprectaed by 'wifi_predicted_usability_state'. |
| optional bool is_wifi_predicted_as_usable = 9; |
| // Wi-Fi usability state as predicted by the scorer |
| optional android.net.wifi.WifiPredictedUsabilityState wifi_predicted_usability_state = 10; |
| } |
| |
| /** |
| * Logged when wifi detects a significant change in connection failure rate. |
| * |
| * Logged from: frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiHealthMonitor.java |
| * |
| */ |
| message WifiFailureStatReported { |
| enum AbnormalityType { |
| UNKNOWN = 0; |
| SIGNIFICANT_INCREASE = 1; |
| SIGNIFICANT_DECREASE = 2; |
| SIMPLY_HIGH = 3; |
| } |
| enum FailureType { |
| FAILURE_UNKNOWN = 0; |
| FAILURE_CONNECTION = 1; |
| FAILURE_ASSOCIATION_REJECTION = 2; |
| FAILURE_ASSOCIATION_TIMEOUT = 3; |
| FAILURE_AUTHENTICATION = 4; |
| FAILURE_NON_LOCAL_DISCONNECTION = 5; |
| FAILURE_SHORT_CONNECTION_DUE_TO_NON_LOCAL_DISCONNECTION = 6; |
| } |
| // Reason for uploading this stat |
| optional AbnormalityType abnormality_type = 1; |
| // The particular type of failure |
| optional FailureType failure_type = 2; |
| // How many times we have encountered this combination of AbnormalityType and FailureType |
| optional int32 failure_count = 3; |
| } |
| |
| /** |
| * Logs whether a Wifi connection attempt was successful and reasons for failure if it wasn't. |
| * |
| * Logged from: |
| * frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java |
| */ |
| message WifiConnectionResultReported { |
| enum FailureCode { |
| FAILURE_UNKNOWN = 0; |
| FAILURE_ASSOCIATION_TIMEOUT = 1; |
| FAILURE_ASSOCIATION_REJECTION = 2; |
| FAILURE_AUTHENTICATION_GENERAL = 3; |
| FAILURE_AUTHENTICATION_EAP = 4; |
| FAILURE_DHCP = 5; |
| FAILURE_NETWORK_DISCONNECTION = 6; |
| FAILURE_ROAM_TIMEOUT = 7; |
| FAILURE_WRONG_PASSWORD = 8; |
| FAILURE_CONNECT_NETWORK_FAILED = 9; |
| FAILURE_NEW_CONNECTION_ATTEMPT = 10; |
| FAILURE_REDUNDANT_CONNECTION_ATTEMPT = 11; |
| FAILURE_NETWORK_NOT_FOUND = 12; |
| FAILURE_NO_RESPONSE = 13; |
| FAILURE_OTHERS = 14; |
| } |
| |
| enum Trigger { |
| UNKNOWN = 0; |
| // Connection attempt was initiated manually. |
| MANUAL = 1; |
| // Automatic reconnection to the same network as connected previously. |
| RECONNECT_SAME_NETWORK = 2; |
| // Automatic reconnection to a saved network, but not the previous one. |
| AUTOCONNECT_CONFIGURED_NETWORK = 3; |
| // Automatic first connection attempt after device boot. |
| AUTOCONNECT_BOOT = 4; |
| } |
| |
| // True represents a successful connection. |
| optional bool connection_result = 1; |
| // Reason for the connection failure. |
| optional FailureCode failure_code = 2; |
| // Scan RSSI before the connection attempt. |
| optional int32 rssi = 3; |
| // Time taken by this connection attempt. |
| optional int32 connection_attempt_duration_millis = 4; |
| // Band bucket the connected network is on. |
| optional android.net.wifi.WifiBandBucket band = 5; |
| // Authentication type. |
| optional android.net.wifi.WifiAuthType auth_type = 6; |
| // What triggered this connection attempt. |
| optional Trigger trigger = 7; |
| // Whether this network was used (successfully connected to) previously. |
| optional bool network_used = 8; |
| // Time taken from the last successful connection (or device boot if that's the first one). |
| optional int32 time_since_last_connection_seconds = 9; |
| // Whether the connection is carrier wifi. |
| optional bool is_carrier_wifi = 10; |
| // Whether the OOB pseeudonym is enabled for the current connection. |
| optional bool is_oob_pseudonym_enabled = 11; |
| // The client mode role for the connection, can use to determine the connection type. |
| optional android.net.wifi.ClientModeRole role = 12; |
| // The status code specific to each failure code. |
| // - For FAILURE_ASSOCIATION_REJECTION, the value should be one of |
| // SupplicantStaIfaceHal.StaIfaceStatusCode. |
| // - For FAILURE_NETWORK_DISCONNECTION, the value should be |
| // one of SupplicantStaIfaceHal.StaIfaceReasonCode. |
| // - For FAILURE_AUTHENTICATION_EAP, the value should be a EAP failure code. |
| // For all other failure codes, this should be 0. |
| optional int32 failure_specific_status_code = 13; |
| // Information only applicable for EAP networks. |
| optional android.net.wifi.EapType eap_type = 14; |
| optional android.net.wifi.EapInnerMethod eap_inner_method = 15; |
| optional android.net.wifi.RoamingType passpoint_roaming_type = 16; |
| // carrier ID of the network |
| optional int32 carrier_id = 17; |
| optional android.net.wifi.TofuConfiguration tofu_configuration = 18; |
| } |
| |
| /** |
| * Logs when a Wifi connection drops. |
| * |
| * Logged from: |
| * frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java |
| */ |
| message WifiDisconnectReported { |
| enum FailureCode { |
| UNKNOWN = 0; |
| |
| // Wifi supplicant failure reason codes (IEEE Std 802.11-2016, 9.4.1.7, Table 9-45). |
| // See ISupplicantStaIfaceCallback.java:ReasonCode |
| UNSPECIFIED = 1; |
| PREV_AUTH_NOT_VALID = 2; |
| DEAUTH_LEAVING = 3; |
| DISASSOC_DUE_TO_INACTIVITY = 4; |
| DISASSOC_AP_BUSY = 5; |
| CLASS2_FRAME_FROM_NONAUTH_STA = 6; |
| CLASS3_FRAME_FROM_NONASSOC_STA = 7; |
| DISASSOC_STA_HAS_LEFT = 8; |
| STA_REQ_ASSOC_WITHOUT_AUTH = 9; |
| PWR_CAPABILITY_NOT_VALID = 10; |
| SUPPORTED_CHANNEL_NOT_VALID = 11; |
| BSS_TRANSITION_DISASSOC = 12; |
| INVALID_IE = 13; |
| MICHAEL_MIC_FAILURE = 14; |
| FOURWAY_HANDSHAKE_TIMEOUT = 15; |
| GROUP_KEY_UPDATE_TIMEOUT = 16; |
| IE_IN_4WAY_DIFFERS = 17; |
| GROUP_CIPHER_NOT_VALID = 18; |
| PAIRWISE_CIPHER_NOT_VALID = 19; |
| AKMP_NOT_VALID = 20; |
| UNSUPPORTED_RSN_IE_VERSION = 21; |
| INVALID_RSN_IE_CAPAB = 22; |
| IEEE_802_1X_AUTH_FAILED = 23; |
| CIPHER_SUITE_REJECTED = 24; |
| TDLS_TEARDOWN_UNREACHABLE = 25; |
| TDLS_TEARDOWN_UNSPECIFIED = 26; |
| SSP_REQUESTED_DISASSOC = 27; |
| NO_SSP_ROAMING_AGREEMENT = 28; |
| BAD_CIPHER_OR_AKM = 29; |
| NOT_AUTHORIZED_THIS_LOCATION = 30; |
| SERVICE_CHANGE_PRECLUDES_TS = 31; |
| UNSPECIFIED_QOS_REASON = 32; |
| NOT_ENOUGH_BANDWIDTH = 33; |
| DISASSOC_LOW_ACK = 34; |
| EXCEEDED_TXOP = 35; |
| STA_LEAVING = 36; |
| END_TS_BA_DLS = 37; |
| UNKNOWN_TS_BA = 38; |
| TIMEOUT = 39; |
| PEERKEY_MISMATCH = 45; |
| AUTHORIZED_ACCESS_LIMIT_REACHED = 46; |
| EXTERNAL_SERVICE_REQUIREMENTS = 47; |
| INVALID_FT_ACTION_FRAME_COUNT = 48; |
| INVALID_PMKID = 49; |
| INVALID_MDE = 50; |
| INVALID_FTE = 51; |
| MESH_PEERING_CANCELLED = 52; |
| MESH_MAX_PEERS = 53; |
| MESH_CONFIG_POLICY_VIOLATION = 54; |
| MESH_CLOSE_RCVD = 55; |
| MESH_MAX_RETRIES = 56; |
| MESH_CONFIRM_TIMEOUT = 57; |
| MESH_INVALID_GTK = 58; |
| MESH_INCONSISTENT_PARAMS = 59; |
| MESH_INVALID_SECURITY_CAP = 60; |
| MESH_PATH_ERROR_NO_PROXY_INFO = 61; |
| MESH_PATH_ERROR_NO_FORWARDING_INFO = 62; |
| MESH_PATH_ERROR_DEST_UNREACHABLE = 63; |
| MAC_ADDRESS_ALREADY_EXISTS_IN_MBSS = 64; |
| MESH_CHANNEL_SWITCH_REGULATORY_REQ = 65; |
| MESH_CHANNEL_SWITCH_UNSPECIFIED = 66; |
| |
| // ClientModeImpl error codes |
| // Defined in /frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java |
| IFACE_DESTROYED = 10000; |
| WIFI_DISABLED = 10001; |
| SUPPLICANT_DISCONNECTED = 10002; |
| CONNECTING_WATCHDOG_TIMER = 10003; |
| ROAM_WATCHDOG_TIMER = 10004; |
| |
| // New reasons tracking disconnections initiated by wifi framework |
| DISCONNECT_GENERAL = 10005; // Framework disconnect, generic reason |
| // Disconnecting due to unspecified IP reachability lost. |
| DISCONNECT_NUD_FAILURE_GENERIC = 10006; |
| // Disconnecting due to IP reachability lost from roaming |
| DISCONNECT_NUD_FAILURE_ROAM = 10007; |
| // Disconnecting due to IP reachability lost from the CONFIRM command |
| DISCONNECT_NUD_FAILURE_CONFIRM = 10008; |
| // Disconnecting due to IP reachability lost from kernel check |
| DISCONNECT_NUD_FAILURE_ORGANIC = 10009; |
| // Connectivity no longer wants this network |
| DISCONNECT_UNWANTED_BY_CONNECTIVITY = 10010; |
| // Timeout creating the IP client |
| DISCONNECT_CREATE_IP_CLIENT_TIMEOUT = 10011; |
| DISCONNECT_IP_PROVISIONING_FAILURE = 10012; // IP provisioning failure |
| DISCONNECT_P2P_REQUESTED_DISCONNECT = 10013; // Disconnect by P2P |
| // Network is removed from the WifiConfigManager |
| DISCONNECT_NETWORK_REMOVED = 10014; |
| DISCONNECT_NETWORK_UNTRUSTED = 10015; // Network is marked as untrusted |
| DISCONNECT_NETWORK_METERED = 10016; // Network is marked as metered |
| DISCONNECT_TEMP_DISABLED = 10017; // Network is temporarily disabled |
| DISCONNECT_PERM_DISABLED = 10018; // Network is permanently disabled |
| DISCONNECT_CARRIER_OFFLOAD_DISABLED = 10019; |
| // Disconnecting due to Passpoint terms and conditions page |
| DISCONNECT_PASSPOINT_TAC = 10020; |
| // Disconnecting due to issues with terms and conditions URL |
| DISCONNECT_VNC_REQUEST = 10021; |
| // Connected to a network that is already removed |
| DISCONNECT_UNKNOWN_NETWORK = 10022; |
| // User initiated a new connection |
| DISCONNECT_NEW_CONNECTION_USER = 10023; |
| // New connection triggered by non-user |
| DISCONNECT_NEW_CONNECTION_OTHERS = 10024; |
| } |
| |
| // How long the session lasted from successful connection to disconnect. |
| optional int32 connected_duration_seconds = 1; |
| |
| // Reason for the disconnect. |
| optional FailureCode failure_code = 2; |
| |
| // Band bucket the connected network was on. |
| optional android.net.wifi.WifiBandBucket band = 3; |
| |
| // Authentication type. |
| optional android.net.wifi.WifiAuthType auth_type = 4; |
| |
| // Last seen RSSI before the disconnect. |
| optional int32 last_rssi = 5; |
| |
| // Last seen link speed before the disconnect. |
| optional int32 last_link_speed = 6; |
| |
| // Time since the last RSSI and link speed update. |
| // Useful for filtering out very old data |
| optional int32 time_since_last_rssi_poll_seconds = 7; |
| |
| // Time from the last NETWORK_CONNECTION_EVENT to the disconnect |
| optional int32 connected_time_since_last_roam_seconds = 8; |
| |
| // The purpose the of the connection |
| optional android.net.wifi.ClientModeRole role = 9; |
| |
| // The type of EAP authentication. Only applicable for EAP networks. |
| optional android.net.wifi.EapType eap_type = 10; |
| |
| optional android.net.wifi.EapInnerMethod eap_inner_method = 11; |
| |
| optional android.net.wifi.RoamingType passpoint_roaming_type = 12; |
| |
| // Carrier id of the network. |
| optional int32 carrier_id = 13; |
| } |
| |
| /** |
| * Logs when Wifi connection is established or dropped. |
| * |
| * Logged from: |
| * frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java |
| */ |
| message WifiConnectionStateChanged { |
| optional bool is_connected = 1 [ |
| (state_field_option).exclusive_state = true, |
| (state_field_option).nested = false |
| ]; |
| |
| // Band bucket the connected network was on. |
| // Filled for both connected and disconnected cases. |
| optional android.net.wifi.WifiBandBucket band = 2; |
| |
| // Authentication type. |
| // Filled for both connected and disconnected cases. |
| optional android.net.wifi.WifiAuthType auth_type = 3; |
| } |
| |
| /** |
| * Logged when wifi peer to peer connection happens |
| */ |
| message WifiP2pConnectionReported { |
| enum Type { |
| UNSPECIFIED = 0; |
| // fresh new connection. |
| FRESH = 1; |
| // reinvoke a group. |
| REINVOKE = 2; |
| // create a group with the current device as the group owner locally. |
| LOCAL = 3; |
| // create a group or join a group with config. |
| FAST = 4; |
| } |
| enum FailureCode { |
| // Failure is unknown. |
| UNKNOWN = 0; |
| // No failure. |
| NONE = 1; |
| // Timeout for current connecting request. |
| TIMEOUT = 2; |
| // The connecting request is canceled by the user. |
| CANCEL = 3; |
| // Provision discovery failure, e.g. no pin code, timeout, rejected by the peer. |
| PROV_DISC_FAIL = 4; |
| // Invitation failure, e.g. rejected by the peer. |
| INVITATION_FAIL = 5; |
| // Incoming request is rejected by the user. |
| USER_REJECT = 6; |
| // New connection request is issued before ending previous connecting request. |
| NEW_CONNECTION_ATTEMPT = 7; |
| // Group has been removed |
| GROUP_REMOVED = 8; |
| // Creating group failed |
| CREATE_GROUP_FAILED = 9; |
| } |
| enum GroupRole { |
| GROUP_UNKNOWN = 0; |
| GROUP_OWNER = 1; |
| GROUP_CLIENT = 2; |
| } |
| enum Band { |
| // Unknown band/frequency |
| BAND_UNKNOWN = 0; |
| // any band |
| BAND_AUTO = 1; |
| // With 2G band |
| BAND_2G = 2; |
| // With 5G band |
| BAND_5G = 3; |
| // With 6G band |
| BAND_6G = 4; |
| // With a specific frequency |
| BAND_FREQUENCY = 5; |
| } |
| // Type of the connection. |
| optional Type type = 1; |
| // Duration to connect in millis. |
| optional int32 latency_ms= 2; |
| // Duration to connect in step size of 200 millis. |
| optional int32 latency_200ms= 3; |
| // Failure code |
| optional FailureCode failure_code = 4; |
| // Group role. This could be unknown with connect() call when the WifiConfig doesn't have the |
| // credential. |
| optional GroupRole group_role = 5; |
| // Group band preference |
| optional Band band = 6; |
| // Group frequency in MHz if positive. Otherwise, no frequency preference. |
| optional int32 frequency_mhz = 7; |
| // STA mode channel frequency. 0 means unknown. |
| optional int32 sta_frequency_mhz = 8; |
| // The uid of the app that initiates the connection. |
| optional int32 uid = 9 [(is_uid) = true]; |
| // if the country code is in the world mode |
| optional bool is_country_code_world_mode = 10; |
| // fallback to negotiation if device receives invitation response status code "information is |
| // currently unavailable" |
| optional bool fallback_to_negotiation_on_invite_status_info_unavailable = 11; |
| // The try count of connection |
| optional int32 try_count = 12; |
| } |
| |
| /** |
| * Logged when wifi setup failure or crash reported |
| */ |
| message WifiSetupFailureCrashReported { |
| enum Type { |
| UNKNOWN = 0; |
| // Wifi HAL crash |
| HAL_CRASH = 1; |
| // Wificond crash |
| WIFICOND_CRASH = 2; |
| // Supplicant crash |
| SUPPLICANT_CRASH = 3; |
| // hostapd crash |
| HOSTAPD_CRASH = 4; |
| // HAL error on WifiNative.setupInterfaceForClientMode |
| CLIENT_FAILURE_HAL = 5; |
| // Wificond error on WifiNative.setupInterfaceForClientMode |
| CLIENT_FAILURE_WIFICOND = 6; |
| // Supplicant error on WifiNative.setupInterfaceForClientMode |
| CLIENT_FAILURE_SUPPLICANT = 7; |
| // HAL error on WifiNative.setupInterfaceForSoftApMode |
| SOFT_AP_FAILURE_HAL = 8; |
| // Wificond error on WifiNative.setupInterfaceForSoftApMode |
| SOFT_AP_FAILURE_WIFICOND = 9; |
| // Hostapd error on WifiNative.setupInterfaceForSoftApMode |
| SOFT_AP_FAILURE_HOSTAPD = 10; |
| // HAL error on WifiP2pNative.setupInterface |
| P2P_FAILURE_HAL = 11; |
| // Supplicant error on WifiP2pNative.setupInterface |
| P2P_FAILURE_SUPPLICANT = 12; |
| } |
| // Type of failure |
| optional Type type= 1; |
| } |
| |
| |
| /* |
| * Logs metrics on bedtime mode state changed |
| * |
| * Logged From: |
| * frameworks/opt/wear/src/com/google/android/clockwork/healthservices/BedtimeModeController.java |
| */ |
| message BedtimeModeStateChanged { |
| enum BedTimeModeState { |
| BEDTIME_OFF = 0; |
| BEDTIME_ON = 1; |
| } |
| // Log the bedtime mode state |
| optional BedTimeModeState bedtime_mode_state = 1; |
| enum State { |
| OFF = 0; |
| ON = 1; |
| } |
| // Current Wifi state when bedtime mode is toggled |
| optional State current_wifi_state = 2; |
| |
| // Current LTE state when bedtime mode is toggled |
| optional State current_cellular_state = 3; |
| |
| // Current BT state when bedtime mode is toggled |
| optional State current_bluetooth_state = 4; |
| |
| // Current Battery level. Should be in [0, 100]. |
| optional int32 battery_level = 5; |
| } |
| |
| /** |
| * Logs when memory stats of a process is reported. |
| * |
| * Logged from: |
| * frameworks/base/services/core/java/com/android/server/am/ProcessRecord.java |
| */ |
| message ProcessMemoryStatReported { |
| optional int32 uid = 1; |
| optional string process_name = 2; |
| optional string package_name = 3; |
| //TODO: remove this when validation is done |
| optional int64 version = 9; |
| optional int64 pss = 4; |
| optional int64 uss = 5; |
| optional int64 rss = 6; |
| enum Type { |
| ADD_PSS_INTERNAL_SINGLE = 0; |
| ADD_PSS_INTERNAL_ALL_MEM = 1; |
| ADD_PSS_INTERNAL_ALL_POLL = 2; |
| ADD_PSS_EXTERNAL = 3; |
| ADD_PSS_EXTERNAL_SLOW = 4; |
| } |
| optional Type type = 7; |
| optional int64 duration_millis = 8; |
| |
| // The types of the components this process is hosting at the moment this |
| // snapshot is taken. |
| // See the available types in HostingComponentType in AppProtoEnums. |
| optional int32 current_hosting_component_types = 10; |
| |
| // The historical types of the components this process is or was hosting |
| // since it's born. |
| // See the available types in HostingComponentType in AppProtoEnums. |
| optional int32 historical_hosting_component_types = 11; |
| } |
| |
| /** |
| * Logs that a process started, finished, crashed, or ANRed. |
| * |
| * Logged from: |
| * frameworks/base/services/core/java/com/android/server/am/BatteryStatsService.java |
| */ |
| message ProcessLifeCycleStateChanged { |
| optional int32 uid = 1 [(is_uid) = true]; |
| |
| // The process name (usually same as the app name). |
| optional string process_name = 2; |
| |
| // What lifecycle state the process changed to. |
| // This enum is specific to atoms.proto. |
| enum State { |
| FINISHED = 0; |
| STARTED = 1; |
| CRASHED = 2; |
| } |
| optional State state = 3; |
| } |
| |
| /** |
| * Logs when the ble scan state changes. |
| * |
| * Logged from: |
| * packages/apps/Bluetooth/src/com/android/bluetooth/le_scan/AppScanStats.java |
| */ |
| message BleScanStateChanged { |
| repeated AttributionNode attribution_node = 1 |
| [(state_field_option).primary_field_first_uid = true]; |
| |
| enum State { |
| OFF = 0; |
| ON = 1; |
| // RESET indicates all ble stopped. Used when it (re)starts (e.g. after it crashes). |
| RESET = 2; |
| } |
| optional State state = 2 [ |
| (state_field_option).exclusive_state = true, |
| (state_field_option).default_state_value = 0 /* State.OFF */, |
| (state_field_option).trigger_state_reset_value = 2 /* State.RESET */, |
| (state_field_option).nested = true |
| ]; |
| |
| // Does the scan have a filter. |
| optional bool is_filtered = 3 [(state_field_option).primary_field = true]; |
| // Whether the scan is a CALLBACK_TYPE_FIRST_MATCH scan. Called 'background' scan internally. |
| optional bool is_first_match = 4 [(state_field_option).primary_field = true]; |
| // Whether the scan set to piggy-back off the results of other scans (SCAN_MODE_OPPORTUNISTIC). |
| optional bool is_opportunistic = 5 [(state_field_option).primary_field = true]; |
| } |
| |
| /** |
| * Logs reporting of a ble scan finding results. |
| * |
| * Logged from: |
| * packages/apps/Bluetooth/src/com/android/bluetooth/le_scan/AppScanStats.java |
| */ |
| // TODO: Consider also tracking per-scanner-id. |
| message BleScanResultReceived { |
| repeated AttributionNode attribution_node = 1; |
| |
| // Number of ble scan results returned. |
| optional int32 num_results = 2; |
| } |
| |
| /** |
| * Logs when a sensor state changes. |
| * |
| * Logged from: |
| * frameworks/base/services/core/java/com/android/server/am/BatteryStatsService.java |
| */ |
| message SensorStateChanged { |
| repeated AttributionNode attribution_node = 1; |
| |
| // The id (int) of the sensor. |
| optional int32 sensor_id = 2; |
| |
| enum State { |
| OFF = 0; |
| ON = 1; |
| } |
| optional State state = 3; |
| } |
| |
| /** |
| * Logs when GPS signal quality. |
| * |
| * Logged from: |
| * /frameworks/base/location/java/com/android/internal/location/gnssmetrics/GnssMetrics.java |
| */ |
| message GpsSignalQualityChanged { |
| optional android.server.location.GpsSignalQualityEnum level = 1; |
| } |
| |
| |
| /** |
| * Logs when a sync manager sync state changes. |
| * |
| * Logged from: |
| * frameworks/base/services/core/java/com/android/server/am/BatteryStatsService.java |
| */ |
| message SyncStateChanged { |
| repeated AttributionNode attribution_node = 1; |
| |
| // Name of the sync (as named in the app). Can be chosen at run-time. |
| optional string sync_name = 2; |
| |
| enum State { |
| OFF = 0; |
| ON = 1; |
| } |
| optional State state = 3; |
| } |
| |
| /* |
| * Deferred job stats. |
| * |
| * Logged from: |
| * frameworks/base/services/core/java/com/android/server/job/JobSchedulerService.java |
| */ |
| message DeferredJobStatsReported { |
| repeated AttributionNode attribution_node = 1; |
| |
| // Number of jobs deferred. |
| optional int32 num_jobs_deferred = 2; |
| |
| // Time since the last job runs. |
| optional int64 time_since_last_job_millis = 3; |
| } |
| |
| /** |
| * Logs when a job scheduler job state changes. |
| * |
| * Logged from: |
| * frameworks/base/services/core/java/com/android/server/job/JobSchedulerService.java |
| * frameworks/base/services/core/java/com/android/server/job/JobServiceContext.java |
| * |
| * Next tag: 41 |
| */ |
| message ScheduledJobStateChanged { |
| repeated AttributionNode attribution_node = 1; |
| |
| // Name of the job (as named in the app) |
| optional string job_name = 2; |
| |
| enum State { |
| // A job started executing (passed through the STARTED state) and has finished. |
| FINISHED = 0; |
| // A scheduled job has just started executing. |
| STARTED = 1; |
| // An app just scheduled this job to be executed at some point in the future. |
| SCHEDULED = 2; |
| // The job was SCHEDULED but cancelled before it started executing (so it never went |
| // through the STARTED state). |
| CANCELLED = 3; |
| } |
| optional State state = 3; |
| |
| // The internal reason a job has stopped. |
| // This is only applicable when the state is FINISHED. |
| // The default value is INTERNAL_STOP_REASON_UNKNOWN. |
| optional android.app.job.InternalStopReasonEnum internal_stop_reason = 4; |
| |
| // The publicly returned reason onStopJob() was called. |
| // This is only applicable when the state is FINISHED, but may be undefined if |
| // JobService.onStopJob() was never called for the job. |
| // The default value is STOP_REASON_UNDEFINED. |
| optional android.app.job.StopReasonEnum public_stop_reason = 17; |
| |
| // The standby bucket of the app that scheduled the job. These match the framework constants |
| // defined in JobSchedulerService.java with the addition of UNKNOWN using -1, as ACTIVE is |
| // already assigned 0. |
| enum Bucket { |
| UNKNOWN = -1; |
| ACTIVE = 0; |
| WORKING_SET = 1; |
| FREQUENT = 2; |
| RARE = 3; |
| NEVER = 4; |
| RESTRICTED = 5; |
| EXEMPTED = 6; |
| } |
| optional Bucket standby_bucket = 5 [default = UNKNOWN]; |
| |
| // On T- builds, this is the job id (as assigned by the app). |
| // On U+ builds, this is generated by the system, factoring in the job's namespace. |
| optional int64 job_id = 6; |
| |
| // One flag for each of the API constraints defined by JobScheduler. Does not include implicit |
| // constraints as they are always assumed to be set. |
|