Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!

StatsLog

public final class StatsLog
extends Object

java.lang.Object
   ↳ android.util.StatsLog


StatsLog provides an API for developers to send events to statsd. The events can be used to define custom metrics inside statsd.

Summary

Constants

int ACTIVITY_FOREGROUND_STATE_CHANGED

ActivityForegroundStateChanged activity_foreground_state_changed Usage: StatsLog.write(StatsLog.ACTIVITY_FOREGROUND_STATE_CHANGED, int uid, java.lang.String pkg_name, java.lang.String class_name, int state);

int ACTIVITY_FOREGROUND_STATE_CHANGED__STATE__BACKGROUND

int ACTIVITY_FOREGROUND_STATE_CHANGED__STATE__FOREGROUND

int ANOMALY_DETECTED

AnomalyDetected anomaly_detected Usage: StatsLog.write(StatsLog.ANOMALY_DETECTED, int config_uid, long config_id, long alert_id);

int ANROCCURRED__FOREGROUND_STATE__BACKGROUND

int ANROCCURRED__FOREGROUND_STATE__FOREGROUND

int ANROCCURRED__FOREGROUND_STATE__UNKNOWN

int ANROCCURRED__IS_INSTANT_APP__FALSE

int ANROCCURRED__IS_INSTANT_APP__TRUE

int ANROCCURRED__IS_INSTANT_APP__UNAVAILABLE

int ANR_OCCURRED

ANROccurred anr_occurred Usage: StatsLog.write(StatsLog.ANR_OCCURRED, int uid, java.lang.String process_name, java.lang.String short_component_name, java.lang.String reason, int is_instant_app, int foreground_state);

int APP_BREADCRUMB_REPORTED

AppBreadcrumbReported app_breadcrumb_reported Usage: StatsLog.write(StatsLog.APP_BREADCRUMB_REPORTED, int uid, int label, int state);

int APP_BREADCRUMB_REPORTED__STATE__START

int APP_BREADCRUMB_REPORTED__STATE__STOP

int APP_BREADCRUMB_REPORTED__STATE__UNKNOWN

int APP_BREADCRUMB_REPORTED__STATE__UNSPECIFIED

int APP_CRASH_OCCURRED

AppCrashOccurred app_crash_occurred Usage: StatsLog.write(StatsLog.APP_CRASH_OCCURRED, int uid, java.lang.String event_type, java.lang.String process_name, int pid, java.lang.String package_name, int is_instant_app, int foreground_state);

int APP_CRASH_OCCURRED__FOREGROUND_STATE__BACKGROUND

int APP_CRASH_OCCURRED__FOREGROUND_STATE__FOREGROUND

int APP_CRASH_OCCURRED__FOREGROUND_STATE__UNKNOWN

int APP_CRASH_OCCURRED__IS_INSTANT_APP__FALSE

int APP_CRASH_OCCURRED__IS_INSTANT_APP__TRUE

int APP_CRASH_OCCURRED__IS_INSTANT_APP__UNAVAILABLE

int APP_DIED

AppDied app_died Usage: StatsLog.write(StatsLog.APP_DIED, long timestamp_millis);

int APP_START_CANCELED

AppStartCanceled app_start_canceled Usage: StatsLog.write(StatsLog.APP_START_CANCELED, int uid, java.lang.String pkg_name, int type, java.lang.String activity_name);

int APP_START_CANCELED__TYPE__COLD

int APP_START_CANCELED__TYPE__HOT

int APP_START_CANCELED__TYPE__UNKNOWN

int APP_START_CANCELED__TYPE__WARM

int APP_START_FULLY_DRAWN

AppStartFullyDrawn app_start_fully_drawn Usage: StatsLog.write(StatsLog.APP_START_FULLY_DRAWN, int uid, java.lang.String pkg_name, int type, java.lang.String activity_name, boolean transition_process_running, long app_startup_time_millis);

int APP_START_FULLY_DRAWN__TYPE__UNKNOWN

int APP_START_FULLY_DRAWN__TYPE__WITHOUT_BUNDLE

int APP_START_FULLY_DRAWN__TYPE__WITH_BUNDLE

int APP_START_MEMORY_STATE_CAPTURED

AppStartMemoryStateCaptured app_start_memory_state_captured Usage: StatsLog.write(StatsLog.APP_START_MEMORY_STATE_CAPTURED, int uid, java.lang.String process_name, java.lang.String activity_name, long pgfault, long pgmajfault, long rss_in_bytes, long cache_in_bytes, long swap_in_bytes);

int APP_START_OCCURRED

AppStartOccurred app_start_occurred Usage: StatsLog.write(StatsLog.APP_START_OCCURRED, int uid, java.lang.String pkg_name, int type, java.lang.String activity_name, java.lang.String calling_pkg_name, boolean is_instant_app, long activity_start_millis, int reason, int transition_delay_millis, int starting_window_delay_millis, int bind_application_delay_millis, int windows_drawn_delay_millis, java.lang.String launch_token, int package_optimization_compilation_filter, int package_optimization_compilation_reason);

int APP_START_OCCURRED__REASON__APP_TRANSITION_REASON_UNKNOWN

int APP_START_OCCURRED__REASON__APP_TRANSITION_RECENTS_ANIM

int APP_START_OCCURRED__REASON__APP_TRANSITION_SNAPSHOT

int APP_START_OCCURRED__REASON__APP_TRANSITION_SPLASH_SCREEN

int APP_START_OCCURRED__REASON__APP_TRANSITION_TIMEOUT

int APP_START_OCCURRED__REASON__APP_TRANSITION_WINDOWS_DRAWN

int APP_START_OCCURRED__TYPE__COLD

int APP_START_OCCURRED__TYPE__HOT

int APP_START_OCCURRED__TYPE__UNKNOWN

int APP_START_OCCURRED__TYPE__WARM

int AUDIO_STATE_CHANGED

AudioStateChanged audio_state_changed Usage: StatsLog.write(StatsLog.AUDIO_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state); Usage: StatsLog.write_non_chained(StatsLog.AUDIO_STATE_CHANGED, int uid, java.lang.String tag, int state);

int AUDIO_STATE_CHANGED__STATE__OFF

int AUDIO_STATE_CHANGED__STATE__ON

int AUDIO_STATE_CHANGED__STATE__RESET

int BATTERY_LEVEL_CHANGED

BatteryLevelChanged battery_level_changed Usage: StatsLog.write(StatsLog.BATTERY_LEVEL_CHANGED, int battery_level);

int BATTERY_SAVER_MODE_STATE_CHANGED

BatterySaverModeStateChanged battery_saver_mode_state_changed Usage: StatsLog.write(StatsLog.BATTERY_SAVER_MODE_STATE_CHANGED, int state);

int BATTERY_SAVER_MODE_STATE_CHANGED__STATE__OFF

int BATTERY_SAVER_MODE_STATE_CHANGED__STATE__ON

int BLE_SCAN_RESULT_RECEIVED

BleScanResultReceived ble_scan_result_received Usage: StatsLog.write(StatsLog.BLE_SCAN_RESULT_RECEIVED, int[] uid, java.lang.String[] tag, int num_results); Usage: StatsLog.write_non_chained(StatsLog.BLE_SCAN_RESULT_RECEIVED, int uid, java.lang.String tag, int num_results);

int BLE_SCAN_STATE_CHANGED

BleScanStateChanged ble_scan_state_changed Usage: StatsLog.write(StatsLog.BLE_SCAN_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state, boolean is_filtered, boolean is_first_match, boolean is_opportunistic); Usage: StatsLog.write_non_chained(StatsLog.BLE_SCAN_STATE_CHANGED, int uid, java.lang.String tag, int state, boolean is_filtered, boolean is_first_match, boolean is_opportunistic);

int BLE_SCAN_STATE_CHANGED__STATE__OFF

int BLE_SCAN_STATE_CHANGED__STATE__ON

int BLE_SCAN_STATE_CHANGED__STATE__RESET

int BLUETOOTH_ACTIVITY_INFO

BluetoothActivityInfo bluetooth_activity_info Usage: StatsLog.write(StatsLog.BLUETOOTH_ACTIVITY_INFO, long timestamp_millis, int bluetooth_stack_state, long controller_tx_time_millis, long controller_rx_time_millis, long controller_idle_time_millis, long energy_used);

int BLUETOOTH_BYTES_TRANSFER

BluetoothBytesTransfer bluetooth_bytes_transfer Usage: StatsLog.write(StatsLog.BLUETOOTH_BYTES_TRANSFER, int uid, long rx_bytes, long tx_bytes);

int BLUETOOTH_CONNECTION_STATE_CHANGED

BluetoothConnectionStateChanged bluetooth_connection_state_changed Usage: StatsLog.write(StatsLog.BLUETOOTH_CONNECTION_STATE_CHANGED, int state, int obfuscated_id, int bt_profile);

int BLUETOOTH_CONNECTION_STATE_CHANGED__STATE__CONNECTION_STATE_CONNECTED

int BLUETOOTH_CONNECTION_STATE_CHANGED__STATE__CONNECTION_STATE_CONNECTING

int BLUETOOTH_CONNECTION_STATE_CHANGED__STATE__CONNECTION_STATE_DISCONNECTED

int BLUETOOTH_CONNECTION_STATE_CHANGED__STATE__CONNECTION_STATE_DISCONNECTING

int BLUETOOTH_ENABLED_STATE_CHANGED

BluetoothEnabledStateChanged bluetooth_enabled_state_changed Usage: StatsLog.write(StatsLog.BLUETOOTH_ENABLED_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state, int reason, java.lang.String pkgName); Usage: StatsLog.write_non_chained(StatsLog.BLUETOOTH_ENABLED_STATE_CHANGED, int uid, java.lang.String tag, int state, int reason, java.lang.String pkgName);

int BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_AIRPLANE_MODE

int BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_APPLICATION_REQUEST

int BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_CRASH

int BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_DISALLOWED

int BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_RESTARTED

int BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_RESTORE_USER_SETTING

int BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_START_ERROR

int BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_SYSTEM_BOOT

int BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_UNSPECIFIED

int BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_USER_SWITCH

int BLUETOOTH_ENABLED_STATE_CHANGED__STATE__DISABLED

int BLUETOOTH_ENABLED_STATE_CHANGED__STATE__ENABLED

int BLUETOOTH_ENABLED_STATE_CHANGED__STATE__UNKNOWN

int BOOT_SEQUENCE_REPORTED

BootSequenceReported boot_sequence_reported Usage: StatsLog.write(StatsLog.BOOT_SEQUENCE_REPORTED, java.lang.String bootloader_reason, java.lang.String system_reason, long end_time_millis, long total_duration_millis, long bootloader_duration_millis, long time_since_last_boot);

int CALL_STATE_CHANGED

CallStateChanged call_state_changed Usage: StatsLog.write(StatsLog.CALL_STATE_CHANGED, int call_state, int disconnect_cause, boolean self_managed, boolean external_call);

int CALL_STATE_CHANGED__CALL_STATE__ABORTED

int CALL_STATE_CHANGED__CALL_STATE__ACTIVE

int CALL_STATE_CHANGED__CALL_STATE__CONNECTING

int CALL_STATE_CHANGED__CALL_STATE__DIALING

int CALL_STATE_CHANGED__CALL_STATE__DISCONNECTED

int CALL_STATE_CHANGED__CALL_STATE__DISCONNECTING

int CALL_STATE_CHANGED__CALL_STATE__NEW

int CALL_STATE_CHANGED__CALL_STATE__ON_HOLD

int CALL_STATE_CHANGED__CALL_STATE__PULLING

int CALL_STATE_CHANGED__CALL_STATE__RINGING

int CALL_STATE_CHANGED__CALL_STATE__SELECT_PHONE_ACCOUNT

int CALL_STATE_CHANGED__DISCONNECT_CAUSE__ANSWERED_ELSEWHERE

int CALL_STATE_CHANGED__DISCONNECT_CAUSE__BUSY

int CALL_STATE_CHANGED__DISCONNECT_CAUSE__CALL_PULLED

int CALL_STATE_CHANGED__DISCONNECT_CAUSE__CANCELED

int CALL_STATE_CHANGED__DISCONNECT_CAUSE__CONNECTION_MANAGER_NOT_SUPPORTED

int CALL_STATE_CHANGED__DISCONNECT_CAUSE__ERROR

int CALL_STATE_CHANGED__DISCONNECT_CAUSE__LOCAL

int CALL_STATE_CHANGED__DISCONNECT_CAUSE__MISSED

int CALL_STATE_CHANGED__DISCONNECT_CAUSE__OTHER

int CALL_STATE_CHANGED__DISCONNECT_CAUSE__REJECTED

int CALL_STATE_CHANGED__DISCONNECT_CAUSE__REMOTE

int CALL_STATE_CHANGED__DISCONNECT_CAUSE__RESTRICTED

int CALL_STATE_CHANGED__DISCONNECT_CAUSE__UNKNOWN

int CAMERA_STATE_CHANGED

CameraStateChanged camera_state_changed Usage: StatsLog.write(StatsLog.CAMERA_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state); Usage: StatsLog.write_non_chained(StatsLog.CAMERA_STATE_CHANGED, int uid, java.lang.String tag, int state);

int CAMERA_STATE_CHANGED__STATE__OFF

int CAMERA_STATE_CHANGED__STATE__ON

int CAMERA_STATE_CHANGED__STATE__RESET

int CHARGE_CYCLES_REPORTED

ChargeCyclesReported charge_cycles_reported Usage: StatsLog.write(StatsLog.CHARGE_CYCLES_REPORTED, int cycle_bucket_1, int cycle_bucket_2, int cycle_bucket_3, int cycle_bucket_4, int cycle_bucket_5, int cycle_bucket_6, int cycle_bucket_7, int cycle_bucket_8);

int CHARGING_STATE_CHANGED

ChargingStateChanged charging_state_changed Usage: StatsLog.write(StatsLog.CHARGING_STATE_CHANGED, int state);

int CHARGING_STATE_CHANGED__STATE__BATTERY_STATUS_CHARGING

int CHARGING_STATE_CHANGED__STATE__BATTERY_STATUS_DISCHARGING

int CHARGING_STATE_CHANGED__STATE__BATTERY_STATUS_FULL

int CHARGING_STATE_CHANGED__STATE__BATTERY_STATUS_INVALID

int CHARGING_STATE_CHANGED__STATE__BATTERY_STATUS_NOT_CHARGING

int CHARGING_STATE_CHANGED__STATE__BATTERY_STATUS_UNKNOWN

int CPU_ACTIVE_TIME

CpuActiveTime cpu_active_time Usage: StatsLog.write(StatsLog.CPU_ACTIVE_TIME, int uid, long time_millis);

int CPU_CLUSTER_TIME

CpuClusterTime cpu_cluster_time Usage: StatsLog.write(StatsLog.CPU_CLUSTER_TIME, int uid, int cluster_index, long time_millis);

int CPU_TIME_PER_FREQ

CpuTimePerFreq cpu_time_per_freq Usage: StatsLog.write(StatsLog.CPU_TIME_PER_FREQ, int cluster, int freq_index, long time_millis);

int CPU_TIME_PER_UID

CpuTimePerUid cpu_time_per_uid Usage: StatsLog.write(StatsLog.CPU_TIME_PER_UID, int uid, long user_time_millis, long sys_time_millis);

int CPU_TIME_PER_UID_FREQ

CpuTimePerUidFreq cpu_time_per_uid_freq Usage: StatsLog.write(StatsLog.CPU_TIME_PER_UID_FREQ, int uid, int freq_index, long time_millis);

int DAVEY_OCCURRED

DaveyOccurred davey_occurred Usage: StatsLog.write(StatsLog.DAVEY_OCCURRED, int uid, long jank_duration_millis);

int DEVICE_IDLE_MODE_STATE_CHANGED

DeviceIdleModeStateChanged device_idle_mode_state_changed Usage: StatsLog.write(StatsLog.DEVICE_IDLE_MODE_STATE_CHANGED, int state);

int DEVICE_IDLE_MODE_STATE_CHANGED__STATE__DEVICE_IDLE_MODE_DEEP

int DEVICE_IDLE_MODE_STATE_CHANGED__STATE__DEVICE_IDLE_MODE_LIGHT

int DEVICE_IDLE_MODE_STATE_CHANGED__STATE__DEVICE_IDLE_MODE_OFF

int DEVICE_IDLING_MODE_STATE_CHANGED

DeviceIdlingModeStateChanged device_idling_mode_state_changed Usage: StatsLog.write(StatsLog.DEVICE_IDLING_MODE_STATE_CHANGED, int state);

int DEVICE_IDLING_MODE_STATE_CHANGED__STATE__DEVICE_IDLE_MODE_DEEP

int DEVICE_IDLING_MODE_STATE_CHANGED__STATE__DEVICE_IDLE_MODE_LIGHT

int DEVICE_IDLING_MODE_STATE_CHANGED__STATE__DEVICE_IDLE_MODE_OFF

int DISK_SPACE

DiskSpace disk_space Usage: StatsLog.write(StatsLog.DISK_SPACE, long data_available_bytes, long system_available_bytes, long temp_available_bytes);

int FLASHLIGHT_STATE_CHANGED

FlashlightStateChanged flashlight_state_changed Usage: StatsLog.write(StatsLog.FLASHLIGHT_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state); Usage: StatsLog.write_non_chained(StatsLog.FLASHLIGHT_STATE_CHANGED, int uid, java.lang.String tag, int state);

int FLASHLIGHT_STATE_CHANGED__STATE__OFF

int FLASHLIGHT_STATE_CHANGED__STATE__ON

int FLASHLIGHT_STATE_CHANGED__STATE__RESET

int FOREGROUND_SERVICE_STATE_CHANGED

ForegroundServiceStateChanged foreground_service_state_changed Usage: StatsLog.write(StatsLog.FOREGROUND_SERVICE_STATE_CHANGED, int uid, java.lang.String short_name, int state);

int FOREGROUND_SERVICE_STATE_CHANGED__STATE__ENTER

int FOREGROUND_SERVICE_STATE_CHANGED__STATE__EXIT

int FULL_BATTERY_CAPACITY

FullBatteryCapacity full_battery_capacity Usage: StatsLog.write(StatsLog.FULL_BATTERY_CAPACITY, int capacity_uAh);

int GPS_SCAN_STATE_CHANGED

GpsScanStateChanged gps_scan_state_changed Usage: StatsLog.write(StatsLog.GPS_SCAN_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state); Usage: StatsLog.write_non_chained(StatsLog.GPS_SCAN_STATE_CHANGED, int uid, java.lang.String tag, int state);

int GPS_SCAN_STATE_CHANGED__STATE__OFF

int GPS_SCAN_STATE_CHANGED__STATE__ON

int HARDWARE_FAILED

HardwareFailed hardware_failed Usage: StatsLog.write(StatsLog.HARDWARE_FAILED, int hardware_type, int hardware_location, int failure_code);

int HARDWARE_FAILED__HARDWARE_TYPE__HARDWARE_FAILED_CODEC

int HARDWARE_FAILED__HARDWARE_TYPE__HARDWARE_FAILED_FINGERPRINT

int HARDWARE_FAILED__HARDWARE_TYPE__HARDWARE_FAILED_MICROPHONE

int HARDWARE_FAILED__HARDWARE_TYPE__HARDWARE_FAILED_SPEAKER

int HARDWARE_FAILED__HARDWARE_TYPE__HARDWARE_FAILED_UNKNOWN

int ISOLATED_UID_CHANGED

IsolatedUidChanged isolated_uid_changed Usage: StatsLog.write(StatsLog.ISOLATED_UID_CHANGED, int parent_uid, int isolated_uid, int event);

int ISOLATED_UID_CHANGED__EVENT__CREATED

int ISOLATED_UID_CHANGED__EVENT__REMOVED

int KERNEL_WAKELOCK

KernelWakelock kernel_wakelock Usage: StatsLog.write(StatsLog.KERNEL_WAKELOCK, java.lang.String name, int count, int version, long time);

int KERNEL_WAKEUP_REPORTED

KernelWakeupReported kernel_wakeup_reported Usage: StatsLog.write(StatsLog.KERNEL_WAKEUP_REPORTED, java.lang.String wakeup_reason_name, long duration_micros);

int KEYGUARD_BOUNCER_PASSWORD_ENTERED

KeyguardBouncerPasswordEntered keyguard_bouncer_password_entered Usage: StatsLog.write(StatsLog.KEYGUARD_BOUNCER_PASSWORD_ENTERED, int result);

int KEYGUARD_BOUNCER_PASSWORD_ENTERED__RESULT__FAILURE

int KEYGUARD_BOUNCER_PASSWORD_ENTERED__RESULT__SUCCESS

int KEYGUARD_BOUNCER_PASSWORD_ENTERED__RESULT__UNKNOWN

int KEYGUARD_BOUNCER_STATE_CHANGED

KeyguardBouncerStateChanged keyguard_bouncer_state_changed Usage: StatsLog.write(StatsLog.KEYGUARD_BOUNCER_STATE_CHANGED, int state);

int KEYGUARD_BOUNCER_STATE_CHANGED__STATE__HIDDEN

int KEYGUARD_BOUNCER_STATE_CHANGED__STATE__SHOWN

int KEYGUARD_BOUNCER_STATE_CHANGED__STATE__UNKNOWN

int KEYGUARD_STATE_CHANGED

KeyguardStateChanged keyguard_state_changed Usage: StatsLog.write(StatsLog.KEYGUARD_STATE_CHANGED, int state);

int KEYGUARD_STATE_CHANGED__STATE__HIDDEN

int KEYGUARD_STATE_CHANGED__STATE__OCCLUDED

int KEYGUARD_STATE_CHANGED__STATE__SHOWN

int KEYGUARD_STATE_CHANGED__STATE__UNKNOWN

int LMK_KILL_OCCURRED

LmkKillOccurred lmk_kill_occurred Usage: StatsLog.write(StatsLog.LMK_KILL_OCCURRED, int uid, java.lang.String process_name, int oom_score, long pgfault, long pgmajfault, long rss_in_bytes, long cache_in_bytes, long swap_in_bytes);

int LMK_STATE_CHANGED

LmkStateChanged lmk_state_changed Usage: StatsLog.write(StatsLog.LMK_STATE_CHANGED, int state);

int LMK_STATE_CHANGED__STATE__START

int LMK_STATE_CHANGED__STATE__STOP

int LMK_STATE_CHANGED__STATE__UNKNOWN

int LONG_PARTIAL_WAKELOCK_STATE_CHANGED

LongPartialWakelockStateChanged long_partial_wakelock_state_changed Usage: StatsLog.write(StatsLog.LONG_PARTIAL_WAKELOCK_STATE_CHANGED, int[] uid, java.lang.String[] tag, java.lang.String tag, java.lang.String history_tag, int state); Usage: StatsLog.write_non_chained(StatsLog.LONG_PARTIAL_WAKELOCK_STATE_CHANGED, int uid, java.lang.String tag, java.lang.String tag, java.lang.String history_tag, int state);

int LONG_PARTIAL_WAKELOCK_STATE_CHANGED__STATE__OFF

int LONG_PARTIAL_WAKELOCK_STATE_CHANGED__STATE__ON

int LOW_MEM_REPORTED

LowMemReported low_mem_reported Usage: StatsLog.write(StatsLog.LOW_MEM_REPORTED);

int MEDIA_CODEC_STATE_CHANGED

MediaCodecStateChanged media_codec_state_changed Usage: StatsLog.write(StatsLog.MEDIA_CODEC_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state); Usage: StatsLog.write_non_chained(StatsLog.MEDIA_CODEC_STATE_CHANGED, int uid, java.lang.String tag, int state);

int MEDIA_CODEC_STATE_CHANGED__STATE__OFF

int MEDIA_CODEC_STATE_CHANGED__STATE__ON

int MEDIA_CODEC_STATE_CHANGED__STATE__RESET

int MOBILE_BYTES_TRANSFER

MobileBytesTransfer mobile_bytes_transfer Usage: StatsLog.write(StatsLog.MOBILE_BYTES_TRANSFER, int uid, long rx_bytes, long rx_packets, long tx_bytes, long tx_packets);

int MOBILE_BYTES_TRANSFER_BY_FG_BG

MobileBytesTransferByFgBg mobile_bytes_transfer_by_fg_bg Usage: StatsLog.write(StatsLog.MOBILE_BYTES_TRANSFER_BY_FG_BG, int uid, boolean is_foreground, long rx_bytes, long rx_packets, long tx_bytes, long tx_packets);

int MOBILE_CONNECTION_STATE_CHANGED

MobileConnectionStateChanged mobile_connection_state_changed Usage: StatsLog.write(StatsLog.MOBILE_CONNECTION_STATE_CHANGED, int state, int sim_slot_index, int data_connection_id, long capabilities, boolean has_internet);

int MOBILE_CONNECTION_STATE_CHANGED__STATE__ACTIVATING

int MOBILE_CONNECTION_STATE_CHANGED__STATE__ACTIVE

int MOBILE_CONNECTION_STATE_CHANGED__STATE__DISCONNECTING

int MOBILE_CONNECTION_STATE_CHANGED__STATE__DISCONNECTION_ERROR_CREATING_CONNECTION

int MOBILE_CONNECTION_STATE_CHANGED__STATE__INACTIVE

int MOBILE_CONNECTION_STATE_CHANGED__STATE__UNKNOWN

int MOBILE_RADIO_POWER_STATE_CHANGED

MobileRadioPowerStateChanged mobile_radio_power_state_changed Usage: StatsLog.write(StatsLog.MOBILE_RADIO_POWER_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state); Usage: StatsLog.write_non_chained(StatsLog.MOBILE_RADIO_POWER_STATE_CHANGED, int uid, java.lang.String tag, int state);

int MOBILE_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_HIGH

int MOBILE_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_LOW

int MOBILE_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_MEDIUM

int MOBILE_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_UNKNOWN

int MOBILE_RADIO_TECHNOLOGY_CHANGED

MobileRadioTechnologyChanged mobile_radio_technology_changed Usage: StatsLog.write(StatsLog.MOBILE_RADIO_TECHNOLOGY_CHANGED, int state, int sim_slot_index);

int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_1XRTT

int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_CDMA

int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_EDGE

int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_EHRPD

int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_EVDO_0

int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_EVDO_A

int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_EVDO_B

int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_GPRS

int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_GSM

int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_HSDPA

int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_HSPA

int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_HSPAP

int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_HSUPA

int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_IDEN

int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_IWLAN

int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_LTE

int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_LTE_CA

int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_TD_SCDMA

int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_UMTS

int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_UNKNOWN

int MODEM_ACTIVITY_INFO

ModemActivityInfo modem_activity_info Usage: StatsLog.write(StatsLog.MODEM_ACTIVITY_INFO, long timestamp_millis, long sleep_time_millis, long controller_idle_time_millis, long controller_tx_time_pl0_millis, long controller_tx_time_pl1_millis, long controller_tx_time_pl2_millis, long controller_tx_time_pl3_millis, long controller_tx_time_pl4_millis, long controller_rx_time_millis, long energy_used);

int OVERLAY_STATE_CHANGED

OverlayStateChanged overlay_state_changed Usage: StatsLog.write(StatsLog.OVERLAY_STATE_CHANGED, int uid, java.lang.String package_name, boolean using_alert_window, int state);

int OVERLAY_STATE_CHANGED__STATE__ENTERED

int OVERLAY_STATE_CHANGED__STATE__EXITED

int PACKET_WAKEUP_OCCURRED

PacketWakeupOccurred packet_wakeup_occurred Usage: StatsLog.write(StatsLog.PACKET_WAKEUP_OCCURRED, int uid, java.lang.String iface, int ethertype, java.lang.String destination_hardware_address, java.lang.String source_ip, java.lang.String destination_ip, int ip_next_header, int source_port, int destination_port);

int PHONE_SIGNAL_STRENGTH_CHANGED

PhoneSignalStrengthChanged phone_signal_strength_changed Usage: StatsLog.write(StatsLog.PHONE_SIGNAL_STRENGTH_CHANGED, int signal_strength);

int PHONE_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_GOOD

int PHONE_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_GREAT

int PHONE_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_MODERATE

int PHONE_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_NONE_OR_UNKNOWN

int PHONE_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_POOR

int PHYSICAL_DROP_DETECTED

PhysicalDropDetected physical_drop_detected Usage: StatsLog.write(StatsLog.PHYSICAL_DROP_DETECTED, int confidence_pctg, int accel_peak_thousandths_g, int freefall_time_millis);

int PICTURE_IN_PICTURE_STATE_CHANGED

PictureInPictureStateChanged picture_in_picture_state_changed Usage: StatsLog.write(StatsLog.PICTURE_IN_PICTURE_STATE_CHANGED, int uid, java.lang.String short_name, int state);

int PICTURE_IN_PICTURE_STATE_CHANGED__STATE__DISMISSED

int PICTURE_IN_PICTURE_STATE_CHANGED__STATE__ENTERED

int PICTURE_IN_PICTURE_STATE_CHANGED__STATE__EXPANDED_TO_FULL_SCREEN

int PICTURE_IN_PICTURE_STATE_CHANGED__STATE__MINIMIZED

int PLUGGED_STATE_CHANGED

PluggedStateChanged plugged_state_changed Usage: StatsLog.write(StatsLog.PLUGGED_STATE_CHANGED, int state);

int PLUGGED_STATE_CHANGED__STATE__BATTERY_PLUGGED_AC

int PLUGGED_STATE_CHANGED__STATE__BATTERY_PLUGGED_NONE

int PLUGGED_STATE_CHANGED__STATE__BATTERY_PLUGGED_USB

int PLUGGED_STATE_CHANGED__STATE__BATTERY_PLUGGED_WIRELESS

int PROCESS_LIFE_CYCLE_STATE_CHANGED

ProcessLifeCycleStateChanged process_life_cycle_state_changed Usage: StatsLog.write(StatsLog.PROCESS_LIFE_CYCLE_STATE_CHANGED, int uid, java.lang.String process_name, int state);

int PROCESS_LIFE_CYCLE_STATE_CHANGED__STATE__CRASHED

int PROCESS_LIFE_CYCLE_STATE_CHANGED__STATE__FINISHED

int PROCESS_LIFE_CYCLE_STATE_CHANGED__STATE__STARTED

int PROCESS_MEMORY_STATE

ProcessMemoryState process_memory_state Usage: StatsLog.write(StatsLog.PROCESS_MEMORY_STATE, int uid, java.lang.String process_name, int oom_score, long pgfault, long pgmajfault, long rss_in_bytes, long cache_in_bytes, long swap_in_bytes);

int REMAINING_BATTERY_CAPACITY

RemainingBatteryCapacity remaining_battery_capacity Usage: StatsLog.write(StatsLog.REMAINING_BATTERY_CAPACITY, int charge_uAh);

int RESOURCE_CONFIGURATION_CHANGED

ResourceConfigurationChanged resource_configuration_changed Usage: StatsLog.write(StatsLog.RESOURCE_CONFIGURATION_CHANGED, int colorMode, int densityDpi, float fontScale, int hardKeyboardHidden, int keyboard, int keyboardHideen, int mcc, int mnc, int navigation, int navigationHidden, int orientation, int screenHeightDp, int screenLayout, int screenWidthDp, int smallestScreenWidthDp, int touchscreen, int uiMode);

int SCHEDULED_JOB_STATE_CHANGED

ScheduledJobStateChanged scheduled_job_state_changed Usage: StatsLog.write(StatsLog.SCHEDULED_JOB_STATE_CHANGED, int[] uid, java.lang.String[] tag, java.lang.String job_name, int state, int stop_reason); Usage: StatsLog.write_non_chained(StatsLog.SCHEDULED_JOB_STATE_CHANGED, int uid, java.lang.String tag, java.lang.String job_name, int state, int stop_reason);

int SCHEDULED_JOB_STATE_CHANGED__STATE__FINISHED

int SCHEDULED_JOB_STATE_CHANGED__STATE__SCHEDULED

int SCHEDULED_JOB_STATE_CHANGED__STATE__STARTED

int SCHEDULED_JOB_STATE_CHANGED__STOP_REASON__STOP_REASON_CANCELLED

int SCHEDULED_JOB_STATE_CHANGED__STOP_REASON__STOP_REASON_CONSTRAINTS_NOT_SATISFIED

int SCHEDULED_JOB_STATE_CHANGED__STOP_REASON__STOP_REASON_DEVICE_IDLE

int SCHEDULED_JOB_STATE_CHANGED__STOP_REASON__STOP_REASON_PREEMPT

int SCHEDULED_JOB_STATE_CHANGED__STOP_REASON__STOP_REASON_TIMEOUT

int SCHEDULED_JOB_STATE_CHANGED__STOP_REASON__STOP_REASON_UNKNOWN

int SCREEN_BRIGHTNESS_CHANGED

ScreenBrightnessChanged screen_brightness_changed Usage: StatsLog.write(StatsLog.SCREEN_BRIGHTNESS_CHANGED, int level);

int SCREEN_STATE_CHANGED

ScreenStateChanged screen_state_changed Usage: StatsLog.write(StatsLog.SCREEN_STATE_CHANGED, int state);

int SCREEN_STATE_CHANGED__STATE__DISPLAY_STATE_DOZE

int SCREEN_STATE_CHANGED__STATE__DISPLAY_STATE_DOZE_SUSPEND

int SCREEN_STATE_CHANGED__STATE__DISPLAY_STATE_OFF

int SCREEN_STATE_CHANGED__STATE__DISPLAY_STATE_ON

int SCREEN_STATE_CHANGED__STATE__DISPLAY_STATE_ON_SUSPEND

int SCREEN_STATE_CHANGED__STATE__DISPLAY_STATE_UNKNOWN

int SCREEN_STATE_CHANGED__STATE__DISPLAY_STATE_VR

int SENSOR_STATE_CHANGED

SensorStateChanged sensor_state_changed Usage: StatsLog.write(StatsLog.SENSOR_STATE_CHANGED, int[] uid, java.lang.String[] tag, int sensor_id, int state); Usage: StatsLog.write_non_chained(StatsLog.SENSOR_STATE_CHANGED, int uid, java.lang.String tag, int sensor_id, int state);

int SENSOR_STATE_CHANGED__STATE__OFF

int SENSOR_STATE_CHANGED__STATE__ON

int SETTING_CHANGED

SettingChanged setting_changed Usage: StatsLog.write(StatsLog.SETTING_CHANGED, java.lang.String setting, java.lang.String value, java.lang.String new_value, java.lang.String prev_value, java.lang.String tag, boolean is_default, int user, int reason);

int SETTING_CHANGED__REASON__DELETED

int SETTING_CHANGED__REASON__UPDATED

int SHUTDOWN_SEQUENCE_REPORTED

ShutdownSequenceReported shutdown_sequence_reported Usage: StatsLog.write(StatsLog.SHUTDOWN_SEQUENCE_REPORTED, boolean reboot, java.lang.String reason, long start_time_millis, long duration_millis);

int SPEAKER_IMPEDANCE_REPORTED

SpeakerImpedanceReported speaker_impedance_reported Usage: StatsLog.write(StatsLog.SPEAKER_IMPEDANCE_REPORTED, int speaker_location, int impedance);

int SUBSYSTEM_SLEEP_STATE

SubsystemSleepState subsystem_sleep_state Usage: StatsLog.write(StatsLog.SUBSYSTEM_SLEEP_STATE, java.lang.String subsystem_name, java.lang.String subname, long count, long time_millis);

int SYNC_STATE_CHANGED

SyncStateChanged sync_state_changed Usage: StatsLog.write(StatsLog.SYNC_STATE_CHANGED, int[] uid, java.lang.String[] tag, java.lang.String sync_name, int state); Usage: StatsLog.write_non_chained(StatsLog.SYNC_STATE_CHANGED, int uid, java.lang.String tag, java.lang.String sync_name, int state);

int SYNC_STATE_CHANGED__STATE__OFF

int SYNC_STATE_CHANGED__STATE__ON

int SYSTEM_ELAPSED_REALTIME

SystemElapsedRealtime system_elapsed_realtime Usage: StatsLog.write(StatsLog.SYSTEM_ELAPSED_REALTIME, long time_millis);

int SYSTEM_UPTIME

SystemUptime system_uptime Usage: StatsLog.write(StatsLog.SYSTEM_UPTIME, long uptime_millis);

int TEMPERATURE

Temperature temperature Usage: StatsLog.write(StatsLog.TEMPERATURE, int sensor_location, java.lang.String sensor_name, int temperature_dC);

int TEMPERATURE__SENSOR_LOCATION__TEMPERATURE_TYPE_BATTERY

int TEMPERATURE__SENSOR_LOCATION__TEMPERATURE_TYPE_CPU

int TEMPERATURE__SENSOR_LOCATION__TEMPERATURE_TYPE_GPU

int TEMPERATURE__SENSOR_LOCATION__TEMPERATURE_TYPE_SKIN

int TEMPERATURE__SENSOR_LOCATION__TEMPERATURE_TYPE_UNKNOWN

int UID_PROCESS_STATE_CHANGED

UidProcessStateChanged uid_process_state_changed Usage: StatsLog.write(StatsLog.UID_PROCESS_STATE_CHANGED, int uid, int state);

int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_BACKUP

int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_BOUND_FOREGROUND_SERVICE

int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_CACHED_ACTIVITY

int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_CACHED_ACTIVITY_CLIENT

int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_CACHED_EMPTY

int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_CACHED_RECENT

int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_FOREGROUND_SERVICE

int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_HEAVY_WEIGHT

int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_HOME

int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_IMPORTANT_BACKGROUND

int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_IMPORTANT_FOREGROUND

int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_LAST_ACTIVITY

int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_NONEXISTENT

int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_PERSISTENT

int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_PERSISTENT_UI

int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_RECEIVER

int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_SERVICE

int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_TOP

int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_TOP_SLEEPING

int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_TRANSIENT_BACKGROUND

int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_UNKNOWN

int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_UNKNOWN_TO_PROTO

int USB_CONNECTOR_STATE_CHANGED

UsbConnectorStateChanged usb_connector_state_changed Usage: StatsLog.write(StatsLog.USB_CONNECTOR_STATE_CHANGED, int state);

int USB_CONNECTOR_STATE_CHANGED__STATE__CONNECTED

int USB_CONNECTOR_STATE_CHANGED__STATE__DISCONNECTED

int USB_DEVICE_ATTACHED

UsbDeviceAttached usb_device_attached Usage: StatsLog.write(StatsLog.USB_DEVICE_ATTACHED, int vid, int pid, boolean has_audio, boolean has_hid, boolean has_storage);

int WAKELOCK_STATE_CHANGED

WakelockStateChanged wakelock_state_changed Usage: StatsLog.write(StatsLog.WAKELOCK_STATE_CHANGED, int[] uid, java.lang.String[] tag, int level, java.lang.String tag, int state); Usage: StatsLog.write_non_chained(StatsLog.WAKELOCK_STATE_CHANGED, int uid, java.lang.String tag, int level, java.lang.String tag, int state);

int WAKELOCK_STATE_CHANGED__LEVEL__DOZE_WAKE_LOCK

int WAKELOCK_STATE_CHANGED__LEVEL__DRAW_WAKE_LOCK

int WAKELOCK_STATE_CHANGED__LEVEL__FULL_WAKE_LOCK

int WAKELOCK_STATE_CHANGED__LEVEL__PARTIAL_WAKE_LOCK

int WAKELOCK_STATE_CHANGED__LEVEL__PROXIMITY_SCREEN_OFF_WAKE_LOCK

int WAKELOCK_STATE_CHANGED__LEVEL__SCREEN_BRIGHT_WAKE_LOCK

int WAKELOCK_STATE_CHANGED__LEVEL__SCREEN_DIM_WAKE_LOCK

int WAKELOCK_STATE_CHANGED__STATE__ACQUIRE

int WAKELOCK_STATE_CHANGED__STATE__CHANGE_ACQUIRE

int WAKELOCK_STATE_CHANGED__STATE__CHANGE_RELEASE

int WAKELOCK_STATE_CHANGED__STATE__RELEASE

int WAKEUP_ALARM_OCCURRED

WakeupAlarmOccurred wakeup_alarm_occurred Usage: StatsLog.write(StatsLog.WAKEUP_ALARM_OCCURRED, int[] uid, java.lang.String[] tag, java.lang.String tag); Usage: StatsLog.write_non_chained(StatsLog.WAKEUP_ALARM_OCCURRED, int uid, java.lang.String tag, java.lang.String tag);

int WIFI_ACTIVITY_INFO

WifiActivityInfo wifi_activity_info Usage: StatsLog.write(StatsLog.WIFI_ACTIVITY_INFO, long timestamp_millis, int stack_state, long controller_tx_time_millis, long controller_rx_time_millis, long controller_idle_time_millis, long controller_energy_used);

int WIFI_BYTES_TRANSFER

WifiBytesTransfer wifi_bytes_transfer Usage: StatsLog.write(StatsLog.WIFI_BYTES_TRANSFER, int uid, long rx_bytes, long rx_packets, long tx_bytes, long tx_packets);

int WIFI_BYTES_TRANSFER_BY_FG_BG

WifiBytesTransferByFgBg wifi_bytes_transfer_by_fg_bg Usage: StatsLog.write(StatsLog.WIFI_BYTES_TRANSFER_BY_FG_BG, int uid, boolean is_foreground, long rx_bytes, long rx_packets, long tx_bytes, long tx_packets);

int WIFI_LOCK_STATE_CHANGED

WifiLockStateChanged wifi_lock_state_changed Usage: StatsLog.write(StatsLog.WIFI_LOCK_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state); Usage: StatsLog.write_non_chained(StatsLog.WIFI_LOCK_STATE_CHANGED, int uid, java.lang.String tag, int state);

int WIFI_LOCK_STATE_CHANGED__STATE__OFF

int WIFI_LOCK_STATE_CHANGED__STATE__ON

int WIFI_MULTICAST_LOCK_STATE_CHANGED

WifiMulticastLockStateChanged wifi_multicast_lock_state_changed Usage: StatsLog.write(StatsLog.WIFI_MULTICAST_LOCK_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state); Usage: StatsLog.write_non_chained(StatsLog.WIFI_MULTICAST_LOCK_STATE_CHANGED, int uid, java.lang.String tag, int state);

int WIFI_MULTICAST_LOCK_STATE_CHANGED__STATE__OFF

int WIFI_MULTICAST_LOCK_STATE_CHANGED__STATE__ON

int WIFI_RADIO_POWER_STATE_CHANGED

WifiRadioPowerStateChanged wifi_radio_power_state_changed Usage: StatsLog.write(StatsLog.WIFI_RADIO_POWER_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state); Usage: StatsLog.write_non_chained(StatsLog.WIFI_RADIO_POWER_STATE_CHANGED, int uid, java.lang.String tag, int state);

int WIFI_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_HIGH

int WIFI_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_LOW

int WIFI_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_MEDIUM

int WIFI_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_UNKNOWN

int WIFI_SCAN_STATE_CHANGED

WifiScanStateChanged wifi_scan_state_changed Usage: StatsLog.write(StatsLog.WIFI_SCAN_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state); Usage: StatsLog.write_non_chained(StatsLog.WIFI_SCAN_STATE_CHANGED, int uid, java.lang.String tag, int state);

int WIFI_SCAN_STATE_CHANGED__STATE__OFF

int WIFI_SCAN_STATE_CHANGED__STATE__ON

int WIFI_SIGNAL_STRENGTH_CHANGED

WifiSignalStrengthChanged wifi_signal_strength_changed Usage: StatsLog.write(StatsLog.WIFI_SIGNAL_STRENGTH_CHANGED, int signal_strength);

int WIFI_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_GOOD

int WIFI_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_GREAT

int WIFI_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_MODERATE

int WIFI_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_NONE_OR_UNKNOWN

int WIFI_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_POOR

int WTF_OCCURRED

WTFOccurred wtf_occurred Usage: StatsLog.write(StatsLog.WTF_OCCURRED, int uid, java.lang.String tag, java.lang.String process_name, int pid);

Public methods

static boolean logEvent(int label)

Logs an event that does not represent a start or stop boundary.

static boolean logStart(int label)

Logs a start event.

static boolean logStop(int label)

Logs a stop event.

static int write(int code, int[] uid, String[] tag, int arg2, boolean arg3, boolean arg4, boolean arg5)
static int write(int code, int arg1, String arg2, boolean arg3, int arg4)
static int write(int code, int arg1, boolean arg2, long arg3, long arg4, long arg5, long arg6)
static int write(int code, long arg1, long arg2, long arg3)
static int write(int code, int arg1, int arg2, int arg3, long arg4, boolean arg5)
static int write(int code, String arg1, String arg2, long arg3, long arg4)
static int write(int code, String arg1, String arg2, long arg3, long arg4, long arg5, long arg6)
static int write(int code, int[] uid, String[] tag, int arg2)
static int write(int code, int arg1, int arg2, boolean arg3, boolean arg4, boolean arg5)
static int write(int code, int arg1, String arg2, int arg3, String arg4, String arg5, boolean arg6, long arg7, int arg8, int arg9, int arg10, int arg11, int arg12, String arg13, int arg14, int arg15)
static int write(int code, int arg1, int arg2, int arg3)
static int write(int code, int arg1, long arg2)
static int write(int code, int arg1, String arg2, int arg3, String arg4)
static int write(int code, int arg1, int arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13, int arg14, int arg15, int arg16, int arg17)
static int write(int code, int[] uid, String[] tag, String arg2, int arg3, int arg4)
static int write(int code, int[] uid, String[] tag, int arg2, int arg3)
static int write(int code, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
static int write(int code, int arg1, String arg2, int arg3)
static int write(int code, int arg1, String arg2, int arg3, String arg4, String arg5, String arg6, int arg7, int arg8, int arg9)
static int write(int code, String arg1, long arg2)
static int write(int code, int arg1, int arg2, boolean arg3, boolean arg4)
static int write(int code, int[] uid, String[] tag, String arg2, int arg3)
static int write(int code, boolean arg1, String arg2, long arg3, long arg4)
static int write(int code)
static int write(int code, int arg1, int arg2)
static int write(int code, int arg1, String arg2, String arg3, String arg4, int arg5, int arg6)
static int write(int code, int arg1, String arg2, String arg3, long arg4, long arg5, long arg6, long arg7, long arg8)
static int write(int code, int arg1)
static int write(int code, int[] uid, String[] tag, int arg2, String arg3, int arg4)
static int write(int code, int[] uid, String[] tag, String arg2)
static int write(int code, int[] uid, String[] tag, String arg2, String arg3, int arg4)
static int write(int code, int[] uid, String[] tag, int arg2, int arg3, String arg4)
static int write(int code, long arg1)
static int write(int code, int arg1, long arg2, long arg3, long arg4, long arg5)
static int write(int code, int arg1, String arg2, String arg3, int arg4)
static int write(int code, String arg1, String arg2, String arg3, String arg4, String arg5, boolean arg6, int arg7, int arg8)
static int write(int code, int arg1, long arg2, long arg3)
static int write(int code, int arg1, int arg2, long arg3)
static int write(int code, int arg1, String arg2, String arg3, int arg4, String arg5, int arg6, int arg7)
static int write(int code, long arg1, int arg2, long arg3, long arg4, long arg5, long arg6)
static int write(int code, int arg1, String arg2, int arg3, long arg4, long arg5, long arg6, long arg7, long arg8)
static int write(int code, String arg1, int arg2, int arg3, long arg4)
static int write(int code, int arg1, String arg2, int arg3, String arg4, boolean arg5, long arg6)
static int write(int code, long arg1, long arg2, long arg3, long arg4, long arg5, long arg6, long arg7, long arg8, long arg9, long arg10)
static int write_non_chained(int code, int arg1, String arg2, int arg3, int arg4, String arg5)
static int write_non_chained(int code, int arg1, String arg2, int arg3)
static int write_non_chained(int code, int arg1, String arg2, String arg3, int arg4, int arg5)
static int write_non_chained(int code, int arg1, String arg2, int arg3, String arg4, int arg5)
static int write_non_chained(int code, int arg1, String arg2, int arg3, boolean arg4, boolean arg5, boolean arg6)
static int write_non_chained(int code, int arg1, String arg2, String arg3)
static int write_non_chained(int code, int arg1, String arg2, String arg3, String arg4, int arg5)
static int write_non_chained(int code, int arg1, String arg2, int arg3, int arg4)
static int write_non_chained(int code, int arg1, String arg2, String arg3, int arg4)

Inherited methods

Constants

ACTIVITY_FOREGROUND_STATE_CHANGED

public static final int ACTIVITY_FOREGROUND_STATE_CHANGED

ActivityForegroundStateChanged activity_foreground_state_changed Usage: StatsLog.write(StatsLog.ACTIVITY_FOREGROUND_STATE_CHANGED, int uid, java.lang.String pkg_name, java.lang.String class_name, int state);

Constant Value: 42 (0x0000002a)

ACTIVITY_FOREGROUND_STATE_CHANGED__STATE__BACKGROUND

public static final int ACTIVITY_FOREGROUND_STATE_CHANGED__STATE__BACKGROUND

Constant Value: 0 (0x00000000)

ACTIVITY_FOREGROUND_STATE_CHANGED__STATE__FOREGROUND

public static final int ACTIVITY_FOREGROUND_STATE_CHANGED__STATE__FOREGROUND

Constant Value: 1 (0x00000001)

ANOMALY_DETECTED

public static final int ANOMALY_DETECTED

AnomalyDetected anomaly_detected Usage: StatsLog.write(StatsLog.ANOMALY_DETECTED, int config_uid, long config_id, long alert_id);

Constant Value: 46 (0x0000002e)

ANROCCURRED__FOREGROUND_STATE__BACKGROUND

public static final int ANROCCURRED__FOREGROUND_STATE__BACKGROUND

Constant Value: 1 (0x00000001)

ANROCCURRED__FOREGROUND_STATE__FOREGROUND

public static final int ANROCCURRED__FOREGROUND_STATE__FOREGROUND

Constant Value: 2 (0x00000002)

ANROCCURRED__FOREGROUND_STATE__UNKNOWN

public static final int ANROCCURRED__FOREGROUND_STATE__UNKNOWN

Constant Value: 0 (0x00000000)

ANROCCURRED__IS_INSTANT_APP__FALSE

public static final int ANROCCURRED__IS_INSTANT_APP__FALSE

Constant Value: 1 (0x00000001)

ANROCCURRED__IS_INSTANT_APP__TRUE

public static final int ANROCCURRED__IS_INSTANT_APP__TRUE

Constant Value: 2 (0x00000002)

ANROCCURRED__IS_INSTANT_APP__UNAVAILABLE

public static final int ANROCCURRED__IS_INSTANT_APP__UNAVAILABLE

Constant Value: 0 (0x00000000)

ANR_OCCURRED

public static final int ANR_OCCURRED

ANROccurred anr_occurred Usage: StatsLog.write(StatsLog.ANR_OCCURRED, int uid, java.lang.String process_name, java.lang.String short_component_name, java.lang.String reason, int is_instant_app, int foreground_state);

Constant Value: 79 (0x0000004f)

APP_BREADCRUMB_REPORTED

public static final int APP_BREADCRUMB_REPORTED

AppBreadcrumbReported app_breadcrumb_reported Usage: StatsLog.write(StatsLog.APP_BREADCRUMB_REPORTED, int uid, int label, int state);

Constant Value: 47 (0x0000002f)

APP_BREADCRUMB_REPORTED__STATE__START

public static final int APP_BREADCRUMB_REPORTED__STATE__START

Constant Value: 3 (0x00000003)

APP_BREADCRUMB_REPORTED__STATE__STOP

public static final int APP_BREADCRUMB_REPORTED__STATE__STOP

Constant Value: 2 (0x00000002)

APP_BREADCRUMB_REPORTED__STATE__UNKNOWN

public static final int APP_BREADCRUMB_REPORTED__STATE__UNKNOWN

Constant Value: 0 (0x00000000)

APP_BREADCRUMB_REPORTED__STATE__UNSPECIFIED

public static final int APP_BREADCRUMB_REPORTED__STATE__UNSPECIFIED

Constant Value: 1 (0x00000001)

APP_CRASH_OCCURRED

public static final int APP_CRASH_OCCURRED

AppCrashOccurred app_crash_occurred Usage: StatsLog.write(StatsLog.APP_CRASH_OCCURRED, int uid, java.lang.String event_type, java.lang.String process_name, int pid, java.lang.String package_name, int is_instant_app, int foreground_state);

Constant Value: 78 (0x0000004e)

APP_CRASH_OCCURRED__FOREGROUND_STATE__BACKGROUND

public static final int APP_CRASH_OCCURRED__FOREGROUND_STATE__BACKGROUND

Constant Value: 1 (0x00000001)

APP_CRASH_OCCURRED__FOREGROUND_STATE__FOREGROUND

public static final int APP_CRASH_OCCURRED__FOREGROUND_STATE__FOREGROUND

Constant Value: 2 (0x00000002)

APP_CRASH_OCCURRED__FOREGROUND_STATE__UNKNOWN

public static final int APP_CRASH_OCCURRED__FOREGROUND_STATE__UNKNOWN

Constant Value: 0 (0x00000000)

APP_CRASH_OCCURRED__IS_INSTANT_APP__FALSE

public static final int APP_CRASH_OCCURRED__IS_INSTANT_APP__FALSE

Constant Value: 1 (0x00000001)

APP_CRASH_OCCURRED__IS_INSTANT_APP__TRUE

public static final int APP_CRASH_OCCURRED__IS_INSTANT_APP__TRUE

Constant Value: 2 (0x00000002)

APP_CRASH_OCCURRED__IS_INSTANT_APP__UNAVAILABLE

public static final int APP_CRASH_OCCURRED__IS_INSTANT_APP__UNAVAILABLE

Constant Value: 0 (0x00000000)

APP_DIED

public static final int APP_DIED

AppDied app_died Usage: StatsLog.write(StatsLog.APP_DIED, long timestamp_millis);

Constant Value: 65 (0x00000041)

APP_START_CANCELED

public static final int APP_START_CANCELED

AppStartCanceled app_start_canceled Usage: StatsLog.write(StatsLog.APP_START_CANCELED, int uid, java.lang.String pkg_name, int type, java.lang.String activity_name);

Constant Value: 49 (0x00000031)

APP_START_CANCELED__TYPE__COLD

public static final int APP_START_CANCELED__TYPE__COLD

Constant Value: 3 (0x00000003)

APP_START_CANCELED__TYPE__HOT

public static final int APP_START_CANCELED__TYPE__HOT

Constant Value: 2 (0x00000002)

APP_START_CANCELED__TYPE__UNKNOWN

public static final int APP_START_CANCELED__TYPE__UNKNOWN

Constant Value: 0 (0x00000000)

APP_START_CANCELED__TYPE__WARM

public static final int APP_START_CANCELED__TYPE__WARM

Constant Value: 1 (0x00000001)

APP_START_FULLY_DRAWN

public static final int APP_START_FULLY_DRAWN

AppStartFullyDrawn app_start_fully_drawn Usage: StatsLog.write(StatsLog.APP_START_FULLY_DRAWN, int uid, java.lang.String pkg_name, int type, java.lang.String activity_name, boolean transition_process_running, long app_startup_time_millis);

Constant Value: 50 (0x00000032)

APP_START_FULLY_DRAWN__TYPE__UNKNOWN

public static final int APP_START_FULLY_DRAWN__TYPE__UNKNOWN

Constant Value: 0 (0x00000000)

APP_START_FULLY_DRAWN__TYPE__WITHOUT_BUNDLE

public static final int APP_START_FULLY_DRAWN__TYPE__WITHOUT_BUNDLE

Constant Value: 2 (0x00000002)

APP_START_FULLY_DRAWN__TYPE__WITH_BUNDLE

public static final int APP_START_FULLY_DRAWN__TYPE__WITH_BUNDLE

Constant Value: 1 (0x00000001)

APP_START_MEMORY_STATE_CAPTURED

public static final int APP_START_MEMORY_STATE_CAPTURED

AppStartMemoryStateCaptured app_start_memory_state_captured Usage: StatsLog.write(StatsLog.APP_START_MEMORY_STATE_CAPTURED, int uid, java.lang.String process_name, java.lang.String activity_name, long pgfault, long pgmajfault, long rss_in_bytes, long cache_in_bytes, long swap_in_bytes);

Constant Value: 55 (0x00000037)

APP_START_OCCURRED

public static final int APP_START_OCCURRED

AppStartOccurred app_start_occurred Usage: StatsLog.write(StatsLog.APP_START_OCCURRED, int uid, java.lang.String pkg_name, int type, java.lang.String activity_name, java.lang.String calling_pkg_name, boolean is_instant_app, long activity_start_millis, int reason, int transition_delay_millis, int starting_window_delay_millis, int bind_application_delay_millis, int windows_drawn_delay_millis, java.lang.String launch_token, int package_optimization_compilation_filter, int package_optimization_compilation_reason);

Constant Value: 48 (0x00000030)

APP_START_OCCURRED__REASON__APP_TRANSITION_REASON_UNKNOWN

public static final int APP_START_OCCURRED__REASON__APP_TRANSITION_REASON_UNKNOWN

Constant Value: 0 (0x00000000)

APP_START_OCCURRED__REASON__APP_TRANSITION_RECENTS_ANIM

public static final int APP_START_OCCURRED__REASON__APP_TRANSITION_RECENTS_ANIM

Constant Value: 5 (0x00000005)

APP_START_OCCURRED__REASON__APP_TRANSITION_SNAPSHOT

public static final int APP_START_OCCURRED__REASON__APP_TRANSITION_SNAPSHOT

Constant Value: 4 (0x00000004)

APP_START_OCCURRED__REASON__APP_TRANSITION_SPLASH_SCREEN

public static final int APP_START_OCCURRED__REASON__APP_TRANSITION_SPLASH_SCREEN

Constant Value: 1 (0x00000001)

APP_START_OCCURRED__REASON__APP_TRANSITION_TIMEOUT

public static final int APP_START_OCCURRED__REASON__APP_TRANSITION_TIMEOUT

Constant Value: 3 (0x00000003)

APP_START_OCCURRED__REASON__APP_TRANSITION_WINDOWS_DRAWN

public static final int APP_START_OCCURRED__REASON__APP_TRANSITION_WINDOWS_DRAWN

Constant Value: 2 (0x00000002)

APP_START_OCCURRED__TYPE__COLD

public static final int APP_START_OCCURRED__TYPE__COLD

Constant Value: 3 (0x00000003)

APP_START_OCCURRED__TYPE__HOT

public static final int APP_START_OCCURRED__TYPE__HOT

Constant Value: 2 (0x00000002)

APP_START_OCCURRED__TYPE__UNKNOWN

public static final int APP_START_OCCURRED__TYPE__UNKNOWN

Constant Value: 0 (0x00000000)

APP_START_OCCURRED__TYPE__WARM

public static final int APP_START_OCCURRED__TYPE__WARM

Constant Value: 1 (0x00000001)

AUDIO_STATE_CHANGED

public static final int AUDIO_STATE_CHANGED

AudioStateChanged audio_state_changed Usage: StatsLog.write(StatsLog.AUDIO_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state); Usage: StatsLog.write_non_chained(StatsLog.AUDIO_STATE_CHANGED, int uid, java.lang.String tag, int state);

Constant Value: 23 (0x00000017)

AUDIO_STATE_CHANGED__STATE__OFF

public static final int AUDIO_STATE_CHANGED__STATE__OFF

Constant Value: 0 (0x00000000)

AUDIO_STATE_CHANGED__STATE__ON

public static final int AUDIO_STATE_CHANGED__STATE__ON

Constant Value: 1 (0x00000001)

AUDIO_STATE_CHANGED__STATE__RESET

public static final int AUDIO_STATE_CHANGED__STATE__RESET

Constant Value: 2 (0x00000002)

BATTERY_LEVEL_CHANGED

public static final int BATTERY_LEVEL_CHANGED

BatteryLevelChanged battery_level_changed Usage: StatsLog.write(StatsLog.BATTERY_LEVEL_CHANGED, int battery_level);

Constant Value: 30 (0x0000001e)

BATTERY_SAVER_MODE_STATE_CHANGED

public static final int BATTERY_SAVER_MODE_STATE_CHANGED

BatterySaverModeStateChanged battery_saver_mode_state_changed Usage: StatsLog.write(StatsLog.BATTERY_SAVER_MODE_STATE_CHANGED, int state);

Constant Value: 20 (0x00000014)

BATTERY_SAVER_MODE_STATE_CHANGED__STATE__OFF

public static final int BATTERY_SAVER_MODE_STATE_CHANGED__STATE__OFF

Constant Value: 0 (0x00000000)

BATTERY_SAVER_MODE_STATE_CHANGED__STATE__ON

public static final int BATTERY_SAVER_MODE_STATE_CHANGED__STATE__ON

Constant Value: 1 (0x00000001)

BLE_SCAN_RESULT_RECEIVED

public static final int BLE_SCAN_RESULT_RECEIVED

BleScanResultReceived ble_scan_result_received Usage: StatsLog.write(StatsLog.BLE_SCAN_RESULT_RECEIVED, int[] uid, java.lang.String[] tag, int num_results); Usage: StatsLog.write_non_chained(StatsLog.BLE_SCAN_RESULT_RECEIVED, int uid, java.lang.String tag, int num_results);

Constant Value: 4 (0x00000004)

BLE_SCAN_STATE_CHANGED

public static final int BLE_SCAN_STATE_CHANGED

BleScanStateChanged ble_scan_state_changed Usage: StatsLog.write(StatsLog.BLE_SCAN_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state, boolean is_filtered, boolean is_first_match, boolean is_opportunistic); Usage: StatsLog.write_non_chained(StatsLog.BLE_SCAN_STATE_CHANGED, int uid, java.lang.String tag, int state, boolean is_filtered, boolean is_first_match, boolean is_opportunistic);

Constant Value: 2 (0x00000002)

BLE_SCAN_STATE_CHANGED__STATE__OFF

public static final int BLE_SCAN_STATE_CHANGED__STATE__OFF

Constant Value: 0 (0x00000000)

BLE_SCAN_STATE_CHANGED__STATE__ON

public static final int BLE_SCAN_STATE_CHANGED__STATE__ON

Constant Value: 1 (0x00000001)

BLE_SCAN_STATE_CHANGED__STATE__RESET

public static final int BLE_SCAN_STATE_CHANGED__STATE__RESET

Constant Value: 2 (0x00000002)

BLUETOOTH_ACTIVITY_INFO

public static final int BLUETOOTH_ACTIVITY_INFO

BluetoothActivityInfo bluetooth_activity_info Usage: StatsLog.write(StatsLog.BLUETOOTH_ACTIVITY_INFO, long timestamp_millis, int bluetooth_stack_state, long controller_tx_time_millis, long controller_rx_time_millis, long controller_idle_time_millis, long energy_used);

Constant Value: 10007 (0x00002717)

BLUETOOTH_BYTES_TRANSFER

public static final int BLUETOOTH_BYTES_TRANSFER

BluetoothBytesTransfer bluetooth_bytes_transfer Usage: StatsLog.write(StatsLog.BLUETOOTH_BYTES_TRANSFER, int uid, long rx_bytes, long tx_bytes);

Constant Value: 10006 (0x00002716)

BLUETOOTH_CONNECTION_STATE_CHANGED

public static final int BLUETOOTH_CONNECTION_STATE_CHANGED

BluetoothConnectionStateChanged bluetooth_connection_state_changed Usage: StatsLog.write(StatsLog.BLUETOOTH_CONNECTION_STATE_CHANGED, int state, int obfuscated_id, int bt_profile);

Constant Value: 68 (0x00000044)

BLUETOOTH_CONNECTION_STATE_CHANGED__STATE__CONNECTION_STATE_CONNECTED

public static final int BLUETOOTH_CONNECTION_STATE_CHANGED__STATE__CONNECTION_STATE_CONNECTED

Constant Value: 2 (0x00000002)

BLUETOOTH_CONNECTION_STATE_CHANGED__STATE__CONNECTION_STATE_CONNECTING

public static final int BLUETOOTH_CONNECTION_STATE_CHANGED__STATE__CONNECTION_STATE_CONNECTING

Constant Value: 1 (0x00000001)

BLUETOOTH_CONNECTION_STATE_CHANGED__STATE__CONNECTION_STATE_DISCONNECTED

public static final int BLUETOOTH_CONNECTION_STATE_CHANGED__STATE__CONNECTION_STATE_DISCONNECTED

Constant Value: 0 (0x00000000)

BLUETOOTH_CONNECTION_STATE_CHANGED__STATE__CONNECTION_STATE_DISCONNECTING

public static final int BLUETOOTH_CONNECTION_STATE_CHANGED__STATE__CONNECTION_STATE_DISCONNECTING

Constant Value: 3 (0x00000003)

BLUETOOTH_ENABLED_STATE_CHANGED

public static final int BLUETOOTH_ENABLED_STATE_CHANGED

BluetoothEnabledStateChanged bluetooth_enabled_state_changed Usage: StatsLog.write(StatsLog.BLUETOOTH_ENABLED_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state, int reason, java.lang.String pkgName); Usage: StatsLog.write_non_chained(StatsLog.BLUETOOTH_ENABLED_STATE_CHANGED, int uid, java.lang.String tag, int state, int reason, java.lang.String pkgName);

Constant Value: 67 (0x00000043)

BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_AIRPLANE_MODE

public static final int BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_AIRPLANE_MODE

Constant Value: 2 (0x00000002)

BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_APPLICATION_REQUEST

public static final int BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_APPLICATION_REQUEST

Constant Value: 1 (0x00000001)

BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_CRASH

public static final int BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_CRASH

Constant Value: 7 (0x00000007)

BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_DISALLOWED

public static final int BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_DISALLOWED

Constant Value: 3 (0x00000003)

BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_RESTARTED

public static final int BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_RESTARTED

Constant Value: 4 (0x00000004)

BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_RESTORE_USER_SETTING

public static final int BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_RESTORE_USER_SETTING

Constant Value: 9 (0x00000009)

BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_START_ERROR

public static final int BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_START_ERROR

Constant Value: 5 (0x00000005)

BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_SYSTEM_BOOT

public static final int BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_SYSTEM_BOOT

Constant Value: 6 (0x00000006)

BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_UNSPECIFIED

public static final int BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_UNSPECIFIED

Constant Value: 0 (0x00000000)

BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_USER_SWITCH

public static final int BLUETOOTH_ENABLED_STATE_CHANGED__REASON__ENABLE_DISABLE_REASON_USER_SWITCH

Constant Value: 8 (0x00000008)

BLUETOOTH_ENABLED_STATE_CHANGED__STATE__DISABLED

public static final int BLUETOOTH_ENABLED_STATE_CHANGED__STATE__DISABLED

Constant Value: 2 (0x00000002)

BLUETOOTH_ENABLED_STATE_CHANGED__STATE__ENABLED

public static final int BLUETOOTH_ENABLED_STATE_CHANGED__STATE__ENABLED

Constant Value: 1 (0x00000001)

BLUETOOTH_ENABLED_STATE_CHANGED__STATE__UNKNOWN

public static final int BLUETOOTH_ENABLED_STATE_CHANGED__STATE__UNKNOWN

Constant Value: 0 (0x00000000)

BOOT_SEQUENCE_REPORTED

public static final int BOOT_SEQUENCE_REPORTED

BootSequenceReported boot_sequence_reported Usage: StatsLog.write(StatsLog.BOOT_SEQUENCE_REPORTED, java.lang.String bootloader_reason, java.lang.String system_reason, long end_time_millis, long total_duration_millis, long bootloader_duration_millis, long time_since_last_boot);

Constant Value: 57 (0x00000039)

CALL_STATE_CHANGED

public static final int CALL_STATE_CHANGED

CallStateChanged call_state_changed Usage: StatsLog.write(StatsLog.CALL_STATE_CHANGED, int call_state, int disconnect_cause, boolean self_managed, boolean external_call);

Constant Value: 61 (0x0000003d)

CALL_STATE_CHANGED__CALL_STATE__ABORTED

public static final int CALL_STATE_CHANGED__CALL_STATE__ABORTED

Constant Value: 8 (0x00000008)

CALL_STATE_CHANGED__CALL_STATE__ACTIVE

public static final int CALL_STATE_CHANGED__CALL_STATE__ACTIVE

Constant Value: 5 (0x00000005)

CALL_STATE_CHANGED__CALL_STATE__CONNECTING

public static final int CALL_STATE_CHANGED__CALL_STATE__CONNECTING

Constant Value: 1 (0x00000001)

CALL_STATE_CHANGED__CALL_STATE__DIALING

public static final int CALL_STATE_CHANGED__CALL_STATE__DIALING

Constant Value: 3 (0x00000003)

CALL_STATE_CHANGED__CALL_STATE__DISCONNECTED

public static final int CALL_STATE_CHANGED__CALL_STATE__DISCONNECTED

Constant Value: 7 (0x00000007)

CALL_STATE_CHANGED__CALL_STATE__DISCONNECTING

public static final int CALL_STATE_CHANGED__CALL_STATE__DISCONNECTING

Constant Value: 9 (0x00000009)

CALL_STATE_CHANGED__CALL_STATE__NEW

public static final int CALL_STATE_CHANGED__CALL_STATE__NEW

Constant Value: 0 (0x00000000)

CALL_STATE_CHANGED__CALL_STATE__ON_HOLD

public static final int CALL_STATE_CHANGED__CALL_STATE__ON_HOLD

Constant Value: 6 (0x00000006)

CALL_STATE_CHANGED__CALL_STATE__PULLING

public static final int CALL_STATE_CHANGED__CALL_STATE__PULLING

Constant Value: 10 (0x0000000a)

CALL_STATE_CHANGED__CALL_STATE__RINGING

public static final int CALL_STATE_CHANGED__CALL_STATE__RINGING

Constant Value: 4 (0x00000004)

CALL_STATE_CHANGED__CALL_STATE__SELECT_PHONE_ACCOUNT

public static final int CALL_STATE_CHANGED__CALL_STATE__SELECT_PHONE_ACCOUNT

Constant Value: 2 (0x00000002)

CALL_STATE_CHANGED__DISCONNECT_CAUSE__ANSWERED_ELSEWHERE

public static final int CALL_STATE_CHANGED__DISCONNECT_CAUSE__ANSWERED_ELSEWHERE

Constant Value: 11 (0x0000000b)

CALL_STATE_CHANGED__DISCONNECT_CAUSE__BUSY

public static final int CALL_STATE_CHANGED__DISCONNECT_CAUSE__BUSY

Constant Value: 7 (0x00000007)

CALL_STATE_CHANGED__DISCONNECT_CAUSE__CALL_PULLED

public static final int CALL_STATE_CHANGED__DISCONNECT_CAUSE__CALL_PULLED

Constant Value: 12 (0x0000000c)

CALL_STATE_CHANGED__DISCONNECT_CAUSE__CANCELED

public static final int CALL_STATE_CHANGED__DISCONNECT_CAUSE__CANCELED

Constant Value: 4 (0x00000004)

CALL_STATE_CHANGED__DISCONNECT_CAUSE__CONNECTION_MANAGER_NOT_SUPPORTED

public static final int CALL_STATE_CHANGED__DISCONNECT_CAUSE__CONNECTION_MANAGER_NOT_SUPPORTED

Constant Value: 10 (0x0000000a)

CALL_STATE_CHANGED__DISCONNECT_CAUSE__ERROR

public static final int CALL_STATE_CHANGED__DISCONNECT_CAUSE__ERROR

Constant Value: 1 (0x00000001)

CALL_STATE_CHANGED__DISCONNECT_CAUSE__LOCAL

public static final int CALL_STATE_CHANGED__DISCONNECT_CAUSE__LOCAL

Constant Value: 2 (0x00000002)

CALL_STATE_CHANGED__DISCONNECT_CAUSE__MISSED

public static final int CALL_STATE_CHANGED__DISCONNECT_CAUSE__MISSED

Constant Value: 5 (0x00000005)

CALL_STATE_CHANGED__DISCONNECT_CAUSE__OTHER

public static final int CALL_STATE_CHANGED__DISCONNECT_CAUSE__OTHER

Constant Value: 9 (0x00000009)

CALL_STATE_CHANGED__DISCONNECT_CAUSE__REJECTED

public static final int CALL_STATE_CHANGED__DISCONNECT_CAUSE__REJECTED

Constant Value: 6 (0x00000006)

CALL_STATE_CHANGED__DISCONNECT_CAUSE__REMOTE

public static final int CALL_STATE_CHANGED__DISCONNECT_CAUSE__REMOTE

Constant Value: 3 (0x00000003)

CALL_STATE_CHANGED__DISCONNECT_CAUSE__RESTRICTED

public static final int CALL_STATE_CHANGED__DISCONNECT_CAUSE__RESTRICTED

Constant Value: 8 (0x00000008)

CALL_STATE_CHANGED__DISCONNECT_CAUSE__UNKNOWN

public static final int CALL_STATE_CHANGED__DISCONNECT_CAUSE__UNKNOWN

Constant Value: 0 (0x00000000)

CAMERA_STATE_CHANGED

public static final int CAMERA_STATE_CHANGED

CameraStateChanged camera_state_changed Usage: StatsLog.write(StatsLog.CAMERA_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state); Usage: StatsLog.write_non_chained(StatsLog.CAMERA_STATE_CHANGED, int uid, java.lang.String tag, int state);

Constant Value: 25 (0x00000019)

CAMERA_STATE_CHANGED__STATE__OFF

public static final int CAMERA_STATE_CHANGED__STATE__OFF

Constant Value: 0 (0x00000000)

CAMERA_STATE_CHANGED__STATE__ON

public static final int CAMERA_STATE_CHANGED__STATE__ON

Constant Value: 1 (0x00000001)

CAMERA_STATE_CHANGED__STATE__RESET

public static final int CAMERA_STATE_CHANGED__STATE__RESET

Constant Value: 2 (0x00000002)

CHARGE_CYCLES_REPORTED

public static final int CHARGE_CYCLES_REPORTED

ChargeCyclesReported charge_cycles_reported Usage: StatsLog.write(StatsLog.CHARGE_CYCLES_REPORTED, int cycle_bucket_1, int cycle_bucket_2, int cycle_bucket_3, int cycle_bucket_4, int cycle_bucket_5, int cycle_bucket_6, int cycle_bucket_7, int cycle_bucket_8);

Constant Value: 74 (0x0000004a)

CHARGING_STATE_CHANGED

public static final int CHARGING_STATE_CHANGED

ChargingStateChanged charging_state_changed Usage: StatsLog.write(StatsLog.CHARGING_STATE_CHANGED, int state);

Constant Value: 31 (0x0000001f)

CHARGING_STATE_CHANGED__STATE__BATTERY_STATUS_CHARGING

public static final int CHARGING_STATE_CHANGED__STATE__BATTERY_STATUS_CHARGING

Constant Value: 2 (0x00000002)

CHARGING_STATE_CHANGED__STATE__BATTERY_STATUS_DISCHARGING

public static final int CHARGING_STATE_CHANGED__STATE__BATTERY_STATUS_DISCHARGING

Constant Value: 3 (0x00000003)

CHARGING_STATE_CHANGED__STATE__BATTERY_STATUS_FULL

public static final int CHARGING_STATE_CHANGED__STATE__BATTERY_STATUS_FULL

Constant Value: 5 (0x00000005)

CHARGING_STATE_CHANGED__STATE__BATTERY_STATUS_INVALID

public static final int CHARGING_STATE_CHANGED__STATE__BATTERY_STATUS_INVALID

Constant Value: 0 (0x00000000)

CHARGING_STATE_CHANGED__STATE__BATTERY_STATUS_NOT_CHARGING

public static final int CHARGING_STATE_CHANGED__STATE__BATTERY_STATUS_NOT_CHARGING

Constant Value: 4 (0x00000004)

CHARGING_STATE_CHANGED__STATE__BATTERY_STATUS_UNKNOWN

public static final int CHARGING_STATE_CHANGED__STATE__BATTERY_STATUS_UNKNOWN

Constant Value: 1 (0x00000001)

CPU_ACTIVE_TIME

public static final int CPU_ACTIVE_TIME

CpuActiveTime cpu_active_time Usage: StatsLog.write(StatsLog.CPU_ACTIVE_TIME, int uid, long time_millis);

Constant Value: 10016 (0x00002720)

CPU_CLUSTER_TIME

public static final int CPU_CLUSTER_TIME

CpuClusterTime cpu_cluster_time Usage: StatsLog.write(StatsLog.CPU_CLUSTER_TIME, int uid, int cluster_index, long time_millis);

Constant Value: 10017 (0x00002721)

CPU_TIME_PER_FREQ

public static final int CPU_TIME_PER_FREQ

CpuTimePerFreq cpu_time_per_freq Usage: StatsLog.write(StatsLog.CPU_TIME_PER_FREQ, int cluster, int freq_index, long time_millis);

Constant Value: 10008 (0x00002718)

CPU_TIME_PER_UID

public static final int CPU_TIME_PER_UID

CpuTimePerUid cpu_time_per_uid Usage: StatsLog.write(StatsLog.CPU_TIME_PER_UID, int uid, long user_time_millis, long sys_time_millis);

Constant Value: 10009 (0x00002719)

CPU_TIME_PER_UID_FREQ

public static final int CPU_TIME_PER_UID_FREQ

CpuTimePerUidFreq cpu_time_per_uid_freq Usage: StatsLog.write(StatsLog.CPU_TIME_PER_UID_FREQ, int uid, int freq_index, long time_millis);

Constant Value: 10010 (0x0000271a)

DAVEY_OCCURRED

public static final int DAVEY_OCCURRED

DaveyOccurred davey_occurred Usage: StatsLog.write(StatsLog.DAVEY_OCCURRED, int uid, long jank_duration_millis);

Constant Value: 58 (0x0000003a)

DEVICE_IDLE_MODE_STATE_CHANGED

public static final int DEVICE_IDLE_MODE_STATE_CHANGED

DeviceIdleModeStateChanged device_idle_mode_state_changed Usage: StatsLog.write(StatsLog.DEVICE_IDLE_MODE_STATE_CHANGED, int state);

Constant Value: 21 (0x00000015)

DEVICE_IDLE_MODE_STATE_CHANGED__STATE__DEVICE_IDLE_MODE_DEEP

public static final int DEVICE_IDLE_MODE_STATE_CHANGED__STATE__DEVICE_IDLE_MODE_DEEP

Constant Value: 2 (0x00000002)

DEVICE_IDLE_MODE_STATE_CHANGED__STATE__DEVICE_IDLE_MODE_LIGHT

public static final int DEVICE_IDLE_MODE_STATE_CHANGED__STATE__DEVICE_IDLE_MODE_LIGHT

Constant Value: 1 (0x00000001)

DEVICE_IDLE_MODE_STATE_CHANGED__STATE__DEVICE_IDLE_MODE_OFF

public static final int DEVICE_IDLE_MODE_STATE_CHANGED__STATE__DEVICE_IDLE_MODE_OFF

Constant Value: 0 (0x00000000)

DEVICE_IDLING_MODE_STATE_CHANGED

public static final int DEVICE_IDLING_MODE_STATE_CHANGED

DeviceIdlingModeStateChanged device_idling_mode_state_changed Usage: StatsLog.write(StatsLog.DEVICE_IDLING_MODE_STATE_CHANGED, int state);

Constant Value: 22 (0x00000016)

DEVICE_IDLING_MODE_STATE_CHANGED__STATE__DEVICE_IDLE_MODE_DEEP

public static final int DEVICE_IDLING_MODE_STATE_CHANGED__STATE__DEVICE_IDLE_MODE_DEEP

Constant Value: 2 (0x00000002)

DEVICE_IDLING_MODE_STATE_CHANGED__STATE__DEVICE_IDLE_MODE_LIGHT

public static final int DEVICE_IDLING_MODE_STATE_CHANGED__STATE__DEVICE_IDLE_MODE_LIGHT

Constant Value: 1 (0x00000001)

DEVICE_IDLING_MODE_STATE_CHANGED__STATE__DEVICE_IDLE_MODE_OFF

public static final int DEVICE_IDLING_MODE_STATE_CHANGED__STATE__DEVICE_IDLE_MODE_OFF

Constant Value: 0 (0x00000000)

DISK_SPACE

public static final int DISK_SPACE

DiskSpace disk_space Usage: StatsLog.write(StatsLog.DISK_SPACE, long data_available_bytes, long system_available_bytes, long temp_available_bytes);

Constant Value: 10018 (0x00002722)

FLASHLIGHT_STATE_CHANGED

public static final int FLASHLIGHT_STATE_CHANGED

FlashlightStateChanged flashlight_state_changed Usage: StatsLog.write(StatsLog.FLASHLIGHT_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state); Usage: StatsLog.write_non_chained(StatsLog.FLASHLIGHT_STATE_CHANGED, int uid, java.lang.String tag, int state);

Constant Value: 26 (0x0000001a)

FLASHLIGHT_STATE_CHANGED__STATE__OFF

public static final int FLASHLIGHT_STATE_CHANGED__STATE__OFF

Constant Value: 0 (0x00000000)

FLASHLIGHT_STATE_CHANGED__STATE__ON

public static final int FLASHLIGHT_STATE_CHANGED__STATE__ON

Constant Value: 1 (0x00000001)

FLASHLIGHT_STATE_CHANGED__STATE__RESET

public static final int FLASHLIGHT_STATE_CHANGED__STATE__RESET

Constant Value: 2 (0x00000002)

FOREGROUND_SERVICE_STATE_CHANGED

public static final int FOREGROUND_SERVICE_STATE_CHANGED

ForegroundServiceStateChanged foreground_service_state_changed Usage: StatsLog.write(StatsLog.FOREGROUND_SERVICE_STATE_CHANGED, int uid, java.lang.String short_name, int state);

Constant Value: 60 (0x0000003c)

FOREGROUND_SERVICE_STATE_CHANGED__STATE__ENTER

public static final int FOREGROUND_SERVICE_STATE_CHANGED__STATE__ENTER

Constant Value: 1 (0x00000001)

FOREGROUND_SERVICE_STATE_CHANGED__STATE__EXIT

public static final int FOREGROUND_SERVICE_STATE_CHANGED__STATE__EXIT

Constant Value: 2 (0x00000002)

FULL_BATTERY_CAPACITY

public static final int FULL_BATTERY_CAPACITY

FullBatteryCapacity full_battery_capacity Usage: StatsLog.write(StatsLog.FULL_BATTERY_CAPACITY, int capacity_uAh);

Constant Value: 10020 (0x00002724)

GPS_SCAN_STATE_CHANGED

public static final int GPS_SCAN_STATE_CHANGED

GpsScanStateChanged gps_scan_state_changed Usage: StatsLog.write(StatsLog.GPS_SCAN_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state); Usage: StatsLog.write_non_chained(StatsLog.GPS_SCAN_STATE_CHANGED, int uid, java.lang.String tag, int state);

Constant Value: 6 (0x00000006)

GPS_SCAN_STATE_CHANGED__STATE__OFF

public static final int GPS_SCAN_STATE_CHANGED__STATE__OFF

Constant Value: 0 (0x00000000)

GPS_SCAN_STATE_CHANGED__STATE__ON

public static final int GPS_SCAN_STATE_CHANGED__STATE__ON

Constant Value: 1 (0x00000001)

HARDWARE_FAILED

public static final int HARDWARE_FAILED

HardwareFailed hardware_failed Usage: StatsLog.write(StatsLog.HARDWARE_FAILED, int hardware_type, int hardware_location, int failure_code);

Constant Value: 72 (0x00000048)

HARDWARE_FAILED__HARDWARE_TYPE__HARDWARE_FAILED_CODEC

public static final int HARDWARE_FAILED__HARDWARE_TYPE__HARDWARE_FAILED_CODEC

Constant Value: 2 (0x00000002)

HARDWARE_FAILED__HARDWARE_TYPE__HARDWARE_FAILED_FINGERPRINT

public static final int HARDWARE_FAILED__HARDWARE_TYPE__HARDWARE_FAILED_FINGERPRINT

Constant Value: 4 (0x00000004)

HARDWARE_FAILED__HARDWARE_TYPE__HARDWARE_FAILED_MICROPHONE

public static final int HARDWARE_FAILED__HARDWARE_TYPE__HARDWARE_FAILED_MICROPHONE

Constant Value: 1 (0x00000001)

HARDWARE_FAILED__HARDWARE_TYPE__HARDWARE_FAILED_SPEAKER

public static final int HARDWARE_FAILED__HARDWARE_TYPE__HARDWARE_FAILED_SPEAKER

Constant Value: 3 (0x00000003)

HARDWARE_FAILED__HARDWARE_TYPE__HARDWARE_FAILED_UNKNOWN

public static final int HARDWARE_FAILED__HARDWARE_TYPE__HARDWARE_FAILED_UNKNOWN

Constant Value: 0 (0x00000000)

ISOLATED_UID_CHANGED

public static final int ISOLATED_UID_CHANGED

IsolatedUidChanged isolated_uid_changed Usage: StatsLog.write(StatsLog.ISOLATED_UID_CHANGED, int parent_uid, int isolated_uid, int event);

Constant Value: 43 (0x0000002b)

ISOLATED_UID_CHANGED__EVENT__CREATED

public static final int ISOLATED_UID_CHANGED__EVENT__CREATED

Constant Value: 1 (0x00000001)

ISOLATED_UID_CHANGED__EVENT__REMOVED

public static final int ISOLATED_UID_CHANGED__EVENT__REMOVED

Constant Value: 0 (0x00000000)

KERNEL_WAKELOCK

public static final int KERNEL_WAKELOCK

KernelWakelock kernel_wakelock Usage: StatsLog.write(StatsLog.KERNEL_WAKELOCK, java.lang.String name, int count, int version, long time);

Constant Value: 10004 (0x00002714)

KERNEL_WAKEUP_REPORTED

public static final int KERNEL_WAKEUP_REPORTED

KernelWakeupReported kernel_wakeup_reported Usage: StatsLog.write(StatsLog.KERNEL_WAKEUP_REPORTED, java.lang.String wakeup_reason_name, long duration_micros);

Constant Value: 36 (0x00000024)

KEYGUARD_BOUNCER_PASSWORD_ENTERED

public static final int KEYGUARD_BOUNCER_PASSWORD_ENTERED

KeyguardBouncerPasswordEntered keyguard_bouncer_password_entered Usage: StatsLog.write(StatsLog.KEYGUARD_BOUNCER_PASSWORD_ENTERED, int result);

Constant Value: 64 (0x00000040)

KEYGUARD_BOUNCER_PASSWORD_ENTERED__RESULT__FAILURE

public static final int KEYGUARD_BOUNCER_PASSWORD_ENTERED__RESULT__FAILURE

Constant Value: 1 (0x00000001)

KEYGUARD_BOUNCER_PASSWORD_ENTERED__RESULT__SUCCESS

public static final int KEYGUARD_BOUNCER_PASSWORD_ENTERED__RESULT__SUCCESS

Constant Value: 2 (0x00000002)

KEYGUARD_BOUNCER_PASSWORD_ENTERED__RESULT__UNKNOWN

public static final int KEYGUARD_BOUNCER_PASSWORD_ENTERED__RESULT__UNKNOWN

Constant Value: 0 (0x00000000)

KEYGUARD_BOUNCER_STATE_CHANGED

public static final int KEYGUARD_BOUNCER_STATE_CHANGED

KeyguardBouncerStateChanged keyguard_bouncer_state_changed Usage: StatsLog.write(StatsLog.KEYGUARD_BOUNCER_STATE_CHANGED, int state);

Constant Value: 63 (0x0000003f)

KEYGUARD_BOUNCER_STATE_CHANGED__STATE__HIDDEN

public static final int KEYGUARD_BOUNCER_STATE_CHANGED__STATE__HIDDEN

Constant Value: 1 (0x00000001)

KEYGUARD_BOUNCER_STATE_CHANGED__STATE__SHOWN

public static final int KEYGUARD_BOUNCER_STATE_CHANGED__STATE__SHOWN

Constant Value: 2 (0x00000002)

KEYGUARD_BOUNCER_STATE_CHANGED__STATE__UNKNOWN

public static final int KEYGUARD_BOUNCER_STATE_CHANGED__STATE__UNKNOWN

Constant Value: 0 (0x00000000)

KEYGUARD_STATE_CHANGED

public static final int KEYGUARD_STATE_CHANGED

KeyguardStateChanged keyguard_state_changed Usage: StatsLog.write(StatsLog.KEYGUARD_STATE_CHANGED, int state);

Constant Value: 62 (0x0000003e)

KEYGUARD_STATE_CHANGED__STATE__HIDDEN

public static final int KEYGUARD_STATE_CHANGED__STATE__HIDDEN

Constant Value: 1 (0x00000001)

KEYGUARD_STATE_CHANGED__STATE__OCCLUDED

public static final int KEYGUARD_STATE_CHANGED__STATE__OCCLUDED

Constant Value: 3 (0x00000003)

KEYGUARD_STATE_CHANGED__STATE__SHOWN

public static final int KEYGUARD_STATE_CHANGED__STATE__SHOWN

Constant Value: 2 (0x00000002)

KEYGUARD_STATE_CHANGED__STATE__UNKNOWN

public static final int KEYGUARD_STATE_CHANGED__STATE__UNKNOWN

Constant Value: 0 (0x00000000)

LMK_KILL_OCCURRED

public static final int LMK_KILL_OCCURRED

LmkKillOccurred lmk_kill_occurred Usage: StatsLog.write(StatsLog.LMK_KILL_OCCURRED, int uid, java.lang.String process_name, int oom_score, long pgfault, long pgmajfault, long rss_in_bytes, long cache_in_bytes, long swap_in_bytes);

Constant Value: 51 (0x00000033)

LMK_STATE_CHANGED

public static final int LMK_STATE_CHANGED

LmkStateChanged lmk_state_changed Usage: StatsLog.write(StatsLog.LMK_STATE_CHANGED, int state);

Constant Value: 54 (0x00000036)

LMK_STATE_CHANGED__STATE__START

public static final int LMK_STATE_CHANGED__STATE__START

Constant Value: 1 (0x00000001)

LMK_STATE_CHANGED__STATE__STOP

public static final int LMK_STATE_CHANGED__STATE__STOP

Constant Value: 2 (0x00000002)

LMK_STATE_CHANGED__STATE__UNKNOWN

public static final int LMK_STATE_CHANGED__STATE__UNKNOWN

Constant Value: 0 (0x00000000)

LONG_PARTIAL_WAKELOCK_STATE_CHANGED

public static final int LONG_PARTIAL_WAKELOCK_STATE_CHANGED

LongPartialWakelockStateChanged long_partial_wakelock_state_changed Usage: StatsLog.write(StatsLog.LONG_PARTIAL_WAKELOCK_STATE_CHANGED, int[] uid, java.lang.String[] tag, java.lang.String tag, java.lang.String history_tag, int state); Usage: StatsLog.write_non_chained(StatsLog.LONG_PARTIAL_WAKELOCK_STATE_CHANGED, int uid, java.lang.String tag, java.lang.String tag, java.lang.String history_tag, int state);

Constant Value: 11 (0x0000000b)

LONG_PARTIAL_WAKELOCK_STATE_CHANGED__STATE__OFF

public static final int LONG_PARTIAL_WAKELOCK_STATE_CHANGED__STATE__OFF

Constant Value: 0 (0x00000000)

LONG_PARTIAL_WAKELOCK_STATE_CHANGED__STATE__ON

public static final int LONG_PARTIAL_WAKELOCK_STATE_CHANGED__STATE__ON

Constant Value: 1 (0x00000001)

LOW_MEM_REPORTED

public static final int LOW_MEM_REPORTED

LowMemReported low_mem_reported Usage: StatsLog.write(StatsLog.LOW_MEM_REPORTED);

Constant Value: 81 (0x00000051)

MEDIA_CODEC_STATE_CHANGED

public static final int MEDIA_CODEC_STATE_CHANGED

MediaCodecStateChanged media_codec_state_changed Usage: StatsLog.write(StatsLog.MEDIA_CODEC_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state); Usage: StatsLog.write_non_chained(StatsLog.MEDIA_CODEC_STATE_CHANGED, int uid, java.lang.String tag, int state);

Constant Value: 24 (0x00000018)

MEDIA_CODEC_STATE_CHANGED__STATE__OFF

public static final int MEDIA_CODEC_STATE_CHANGED__STATE__OFF

Constant Value: 0 (0x00000000)

MEDIA_CODEC_STATE_CHANGED__STATE__ON

public static final int MEDIA_CODEC_STATE_CHANGED__STATE__ON

Constant Value: 1 (0x00000001)

MEDIA_CODEC_STATE_CHANGED__STATE__RESET

public static final int MEDIA_CODEC_STATE_CHANGED__STATE__RESET

Constant Value: 2 (0x00000002)

MOBILE_BYTES_TRANSFER

public static final int MOBILE_BYTES_TRANSFER

MobileBytesTransfer mobile_bytes_transfer Usage: StatsLog.write(StatsLog.MOBILE_BYTES_TRANSFER, int uid, long rx_bytes, long rx_packets, long tx_bytes, long tx_packets);

Constant Value: 10002 (0x00002712)

MOBILE_BYTES_TRANSFER_BY_FG_BG

public static final int MOBILE_BYTES_TRANSFER_BY_FG_BG

MobileBytesTransferByFgBg mobile_bytes_transfer_by_fg_bg Usage: StatsLog.write(StatsLog.MOBILE_BYTES_TRANSFER_BY_FG_BG, int uid, boolean is_foreground, long rx_bytes, long rx_packets, long tx_bytes, long tx_packets);

Constant Value: 10003 (0x00002713)

MOBILE_CONNECTION_STATE_CHANGED

public static final int MOBILE_CONNECTION_STATE_CHANGED

MobileConnectionStateChanged mobile_connection_state_changed Usage: StatsLog.write(StatsLog.MOBILE_CONNECTION_STATE_CHANGED, int state, int sim_slot_index, int data_connection_id, long capabilities, boolean has_internet);

Constant Value: 75 (0x0000004b)

MOBILE_CONNECTION_STATE_CHANGED__STATE__ACTIVATING

public static final int MOBILE_CONNECTION_STATE_CHANGED__STATE__ACTIVATING

Constant Value: 2 (0x00000002)

MOBILE_CONNECTION_STATE_CHANGED__STATE__ACTIVE

public static final int MOBILE_CONNECTION_STATE_CHANGED__STATE__ACTIVE

Constant Value: 3 (0x00000003)

MOBILE_CONNECTION_STATE_CHANGED__STATE__DISCONNECTING

public static final int MOBILE_CONNECTION_STATE_CHANGED__STATE__DISCONNECTING

Constant Value: 4 (0x00000004)

MOBILE_CONNECTION_STATE_CHANGED__STATE__DISCONNECTION_ERROR_CREATING_CONNECTION

public static final int MOBILE_CONNECTION_STATE_CHANGED__STATE__DISCONNECTION_ERROR_CREATING_CONNECTION

Constant Value: 5 (0x00000005)

MOBILE_CONNECTION_STATE_CHANGED__STATE__INACTIVE

public static final int MOBILE_CONNECTION_STATE_CHANGED__STATE__INACTIVE

Constant Value: 1 (0x00000001)

MOBILE_CONNECTION_STATE_CHANGED__STATE__UNKNOWN

public static final int MOBILE_CONNECTION_STATE_CHANGED__STATE__UNKNOWN

Constant Value: 0 (0x00000000)

MOBILE_RADIO_POWER_STATE_CHANGED

public static final int MOBILE_RADIO_POWER_STATE_CHANGED

MobileRadioPowerStateChanged mobile_radio_power_state_changed Usage: StatsLog.write(StatsLog.MOBILE_RADIO_POWER_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state); Usage: StatsLog.write_non_chained(StatsLog.MOBILE_RADIO_POWER_STATE_CHANGED, int uid, java.lang.String tag, int state);

Constant Value: 12 (0x0000000c)

MOBILE_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_HIGH

public static final int MOBILE_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_HIGH

Constant Value: 3 (0x00000003)

MOBILE_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_LOW

public static final int MOBILE_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_LOW

Constant Value: 1 (0x00000001)

MOBILE_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_MEDIUM

public static final int MOBILE_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_MEDIUM

Constant Value: 2 (0x00000002)

MOBILE_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_UNKNOWN

public static final int MOBILE_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_UNKNOWN

Constant Value: 2147483647 (0x7fffffff)

MOBILE_RADIO_TECHNOLOGY_CHANGED

public static final int MOBILE_RADIO_TECHNOLOGY_CHANGED

MobileRadioTechnologyChanged mobile_radio_technology_changed Usage: StatsLog.write(StatsLog.MOBILE_RADIO_TECHNOLOGY_CHANGED, int state, int sim_slot_index);

Constant Value: 76 (0x0000004c)

MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_1XRTT

public static final int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_1XRTT

Constant Value: 7 (0x00000007)

MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_CDMA

public static final int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_CDMA

Constant Value: 4 (0x00000004)

MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_EDGE

public static final int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_EDGE

Constant Value: 2 (0x00000002)

MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_EHRPD

public static final int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_EHRPD

Constant Value: 14 (0x0000000e)

MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_EVDO_0

public static final int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_EVDO_0

Constant Value: 5 (0x00000005)

MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_EVDO_A

public static final int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_EVDO_A

Constant Value: 6 (0x00000006)

MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_EVDO_B

public static final int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_EVDO_B

Constant Value: 12 (0x0000000c)

MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_GPRS

public static final int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_GPRS

Constant Value: 1 (0x00000001)

MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_GSM

public static final int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_GSM

Constant Value: 16 (0x00000010)

MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_HSDPA

public static final int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_HSDPA

Constant Value: 8 (0x00000008)

MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_HSPA

public static final int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_HSPA

Constant Value: 10 (0x0000000a)

MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_HSPAP

public static final int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_HSPAP

Constant Value: 15 (0x0000000f)

MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_HSUPA

public static final int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_HSUPA

Constant Value: 9 (0x00000009)

MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_IDEN

public static final int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_IDEN

Constant Value: 11 (0x0000000b)

MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_IWLAN

public static final int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_IWLAN

Constant Value: 18 (0x00000012)

MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_LTE

public static final int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_LTE

Constant Value: 13 (0x0000000d)

MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_LTE_CA

public static final int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_LTE_CA

Constant Value: 19 (0x00000013)

MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_TD_SCDMA

public static final int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_TD_SCDMA

Constant Value: 17 (0x00000011)

MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_UMTS

public static final int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_UMTS

Constant Value: 3 (0x00000003)

MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_UNKNOWN

public static final int MOBILE_RADIO_TECHNOLOGY_CHANGED__STATE__NETWORK_TYPE_UNKNOWN

Constant Value: 0 (0x00000000)

MODEM_ACTIVITY_INFO

public static final int MODEM_ACTIVITY_INFO

ModemActivityInfo modem_activity_info Usage: StatsLog.write(StatsLog.MODEM_ACTIVITY_INFO, long timestamp_millis, long sleep_time_millis, long controller_idle_time_millis, long controller_tx_time_pl0_millis, long controller_tx_time_pl1_millis, long controller_tx_time_pl2_millis, long controller_tx_time_pl3_millis, long controller_tx_time_pl4_millis, long controller_rx_time_millis, long energy_used);

Constant Value: 10012 (0x0000271c)

OVERLAY_STATE_CHANGED

public static final int OVERLAY_STATE_CHANGED

OverlayStateChanged overlay_state_changed Usage: StatsLog.write(StatsLog.OVERLAY_STATE_CHANGED, int uid, java.lang.String package_name, boolean using_alert_window, int state);

Constant Value: 59 (0x0000003b)

OVERLAY_STATE_CHANGED__STATE__ENTERED

public static final int OVERLAY_STATE_CHANGED__STATE__ENTERED

Constant Value: 1 (0x00000001)

OVERLAY_STATE_CHANGED__STATE__EXITED

public static final int OVERLAY_STATE_CHANGED__STATE__EXITED

Constant Value: 2 (0x00000002)

PACKET_WAKEUP_OCCURRED

public static final int PACKET_WAKEUP_OCCURRED

PacketWakeupOccurred packet_wakeup_occurred Usage: StatsLog.write(StatsLog.PACKET_WAKEUP_OCCURRED, int uid, java.lang.String iface, int ethertype, java.lang.String destination_hardware_address, java.lang.String source_ip, java.lang.String destination_ip, int ip_next_header, int source_port, int destination_port);

Constant Value: 44 (0x0000002c)

PHONE_SIGNAL_STRENGTH_CHANGED

public static final int PHONE_SIGNAL_STRENGTH_CHANGED

PhoneSignalStrengthChanged phone_signal_strength_changed Usage: StatsLog.write(StatsLog.PHONE_SIGNAL_STRENGTH_CHANGED, int signal_strength);

Constant Value: 40 (0x00000028)

PHONE_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_GOOD

public static final int PHONE_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_GOOD

Constant Value: 3 (0x00000003)

PHONE_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_GREAT

public static final int PHONE_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_GREAT

Constant Value: 4 (0x00000004)

PHONE_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_MODERATE

public static final int PHONE_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_MODERATE

Constant Value: 2 (0x00000002)

PHONE_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_NONE_OR_UNKNOWN

public static final int PHONE_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_NONE_OR_UNKNOWN

Constant Value: 0 (0x00000000)

PHONE_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_POOR

public static final int PHONE_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_POOR

Constant Value: 1 (0x00000001)

PHYSICAL_DROP_DETECTED

public static final int PHYSICAL_DROP_DETECTED

PhysicalDropDetected physical_drop_detected Usage: StatsLog.write(StatsLog.PHYSICAL_DROP_DETECTED, int confidence_pctg, int accel_peak_thousandths_g, int freefall_time_millis);

Constant Value: 73 (0x00000049)

PICTURE_IN_PICTURE_STATE_CHANGED

public static final int PICTURE_IN_PICTURE_STATE_CHANGED

PictureInPictureStateChanged picture_in_picture_state_changed Usage: StatsLog.write(StatsLog.PICTURE_IN_PICTURE_STATE_CHANGED, int uid, java.lang.String short_name, int state);

Constant Value: 52 (0x00000034)

PICTURE_IN_PICTURE_STATE_CHANGED__STATE__DISMISSED

public static final int PICTURE_IN_PICTURE_STATE_CHANGED__STATE__DISMISSED

Constant Value: 4 (0x00000004)

PICTURE_IN_PICTURE_STATE_CHANGED__STATE__ENTERED

public static final int PICTURE_IN_PICTURE_STATE_CHANGED__STATE__ENTERED

Constant Value: 1 (0x00000001)

PICTURE_IN_PICTURE_STATE_CHANGED__STATE__EXPANDED_TO_FULL_SCREEN

public static final int PICTURE_IN_PICTURE_STATE_CHANGED__STATE__EXPANDED_TO_FULL_SCREEN

Constant Value: 2 (0x00000002)

PICTURE_IN_PICTURE_STATE_CHANGED__STATE__MINIMIZED

public static final int PICTURE_IN_PICTURE_STATE_CHANGED__STATE__MINIMIZED

Constant Value: 3 (0x00000003)

PLUGGED_STATE_CHANGED

public static final int PLUGGED_STATE_CHANGED

PluggedStateChanged plugged_state_changed Usage: StatsLog.write(StatsLog.PLUGGED_STATE_CHANGED, int state);

Constant Value: 32 (0x00000020)

PLUGGED_STATE_CHANGED__STATE__BATTERY_PLUGGED_AC

public static final int PLUGGED_STATE_CHANGED__STATE__BATTERY_PLUGGED_AC

Constant Value: 1 (0x00000001)

PLUGGED_STATE_CHANGED__STATE__BATTERY_PLUGGED_NONE

public static final int PLUGGED_STATE_CHANGED__STATE__BATTERY_PLUGGED_NONE

Constant Value: 0 (0x00000000)

PLUGGED_STATE_CHANGED__STATE__BATTERY_PLUGGED_USB

public static final int PLUGGED_STATE_CHANGED__STATE__BATTERY_PLUGGED_USB

Constant Value: 2 (0x00000002)

PLUGGED_STATE_CHANGED__STATE__BATTERY_PLUGGED_WIRELESS

public static final int PLUGGED_STATE_CHANGED__STATE__BATTERY_PLUGGED_WIRELESS

Constant Value: 4 (0x00000004)

PROCESS_LIFE_CYCLE_STATE_CHANGED

public static final int PROCESS_LIFE_CYCLE_STATE_CHANGED

ProcessLifeCycleStateChanged process_life_cycle_state_changed Usage: StatsLog.write(StatsLog.PROCESS_LIFE_CYCLE_STATE_CHANGED, int uid, java.lang.String process_name, int state);

Constant Value: 28 (0x0000001c)

PROCESS_LIFE_CYCLE_STATE_CHANGED__STATE__CRASHED

public static final int PROCESS_LIFE_CYCLE_STATE_CHANGED__STATE__CRASHED

Constant Value: 2 (0x00000002)

PROCESS_LIFE_CYCLE_STATE_CHANGED__STATE__FINISHED

public static final int PROCESS_LIFE_CYCLE_STATE_CHANGED__STATE__FINISHED

Constant Value: 0 (0x00000000)

PROCESS_LIFE_CYCLE_STATE_CHANGED__STATE__STARTED

public static final int PROCESS_LIFE_CYCLE_STATE_CHANGED__STATE__STARTED

Constant Value: 1 (0x00000001)

PROCESS_MEMORY_STATE

public static final int PROCESS_MEMORY_STATE

ProcessMemoryState process_memory_state Usage: StatsLog.write(StatsLog.PROCESS_MEMORY_STATE, int uid, java.lang.String process_name, int oom_score, long pgfault, long pgmajfault, long rss_in_bytes, long cache_in_bytes, long swap_in_bytes);

Constant Value: 10013 (0x0000271d)

REMAINING_BATTERY_CAPACITY

public static final int REMAINING_BATTERY_CAPACITY

RemainingBatteryCapacity remaining_battery_capacity Usage: StatsLog.write(StatsLog.REMAINING_BATTERY_CAPACITY, int charge_uAh);

Constant Value: 10019 (0x00002723)

RESOURCE_CONFIGURATION_CHANGED

public static final int RESOURCE_CONFIGURATION_CHANGED

ResourceConfigurationChanged resource_configuration_changed Usage: StatsLog.write(StatsLog.RESOURCE_CONFIGURATION_CHANGED, int colorMode, int densityDpi, float fontScale, int hardKeyboardHidden, int keyboard, int keyboardHideen, int mcc, int mnc, int navigation, int navigationHidden, int orientation, int screenHeightDp, int screenLayout, int screenWidthDp, int smallestScreenWidthDp, int touchscreen, int uiMode);

Constant Value: 66 (0x00000042)

SCHEDULED_JOB_STATE_CHANGED

public static final int SCHEDULED_JOB_STATE_CHANGED

ScheduledJobStateChanged scheduled_job_state_changed Usage: StatsLog.write(StatsLog.SCHEDULED_JOB_STATE_CHANGED, int[] uid, java.lang.String[] tag, java.lang.String job_name, int state, int stop_reason); Usage: StatsLog.write_non_chained(StatsLog.SCHEDULED_JOB_STATE_CHANGED, int uid, java.lang.String tag, java.lang.String job_name, int state, int stop_reason);

Constant Value: 8 (0x00000008)

SCHEDULED_JOB_STATE_CHANGED__STATE__FINISHED

public static final int SCHEDULED_JOB_STATE_CHANGED__STATE__FINISHED

Constant Value: 0 (0x00000000)

SCHEDULED_JOB_STATE_CHANGED__STATE__SCHEDULED

public static final int SCHEDULED_JOB_STATE_CHANGED__STATE__SCHEDULED

Constant Value: 2 (0x00000002)

SCHEDULED_JOB_STATE_CHANGED__STATE__STARTED

public static final int SCHEDULED_JOB_STATE_CHANGED__STATE__STARTED

Constant Value: 1 (0x00000001)

SCHEDULED_JOB_STATE_CHANGED__STOP_REASON__STOP_REASON_CANCELLED

public static final int SCHEDULED_JOB_STATE_CHANGED__STOP_REASON__STOP_REASON_CANCELLED

Constant Value: 0 (0x00000000)

SCHEDULED_JOB_STATE_CHANGED__STOP_REASON__STOP_REASON_CONSTRAINTS_NOT_SATISFIED

public static final int SCHEDULED_JOB_STATE_CHANGED__STOP_REASON__STOP_REASON_CONSTRAINTS_NOT_SATISFIED

Constant Value: 1 (0x00000001)

SCHEDULED_JOB_STATE_CHANGED__STOP_REASON__STOP_REASON_DEVICE_IDLE

public static final int SCHEDULED_JOB_STATE_CHANGED__STOP_REASON__STOP_REASON_DEVICE_IDLE

Constant Value: 4 (0x00000004)

SCHEDULED_JOB_STATE_CHANGED__STOP_REASON__STOP_REASON_PREEMPT

public static final int SCHEDULED_JOB_STATE_CHANGED__STOP_REASON__STOP_REASON_PREEMPT

Constant Value: 2 (0x00000002)

SCHEDULED_JOB_STATE_CHANGED__STOP_REASON__STOP_REASON_TIMEOUT

public static final int SCHEDULED_JOB_STATE_CHANGED__STOP_REASON__STOP_REASON_TIMEOUT

Constant Value: 3 (0x00000003)

SCHEDULED_JOB_STATE_CHANGED__STOP_REASON__STOP_REASON_UNKNOWN

public static final int SCHEDULED_JOB_STATE_CHANGED__STOP_REASON__STOP_REASON_UNKNOWN

Constant Value: -1 (0xffffffff)

SCREEN_BRIGHTNESS_CHANGED

public static final int SCREEN_BRIGHTNESS_CHANGED

ScreenBrightnessChanged screen_brightness_changed Usage: StatsLog.write(StatsLog.SCREEN_BRIGHTNESS_CHANGED, int level);

Constant Value: 9 (0x00000009)

SCREEN_STATE_CHANGED

public static final int SCREEN_STATE_CHANGED

ScreenStateChanged screen_state_changed Usage: StatsLog.write(StatsLog.SCREEN_STATE_CHANGED, int state);

Constant Value: 29 (0x0000001d)

SCREEN_STATE_CHANGED__STATE__DISPLAY_STATE_DOZE

public static final int SCREEN_STATE_CHANGED__STATE__DISPLAY_STATE_DOZE

Constant Value: 3 (0x00000003)

SCREEN_STATE_CHANGED__STATE__DISPLAY_STATE_DOZE_SUSPEND

public static final int SCREEN_STATE_CHANGED__STATE__DISPLAY_STATE_DOZE_SUSPEND

Constant Value: 4 (0x00000004)

SCREEN_STATE_CHANGED__STATE__DISPLAY_STATE_OFF

public static final int SCREEN_STATE_CHANGED__STATE__DISPLAY_STATE_OFF

Constant Value: 1 (0x00000001)

SCREEN_STATE_CHANGED__STATE__DISPLAY_STATE_ON

public static final int SCREEN_STATE_CHANGED__STATE__DISPLAY_STATE_ON

Constant Value: 2 (0x00000002)

SCREEN_STATE_CHANGED__STATE__DISPLAY_STATE_ON_SUSPEND

public static final int SCREEN_STATE_CHANGED__STATE__DISPLAY_STATE_ON_SUSPEND

Constant Value: 6 (0x00000006)

SCREEN_STATE_CHANGED__STATE__DISPLAY_STATE_UNKNOWN

public static final int SCREEN_STATE_CHANGED__STATE__DISPLAY_STATE_UNKNOWN

Constant Value: 0 (0x00000000)

SCREEN_STATE_CHANGED__STATE__DISPLAY_STATE_VR

public static final int SCREEN_STATE_CHANGED__STATE__DISPLAY_STATE_VR

Constant Value: 5 (0x00000005)

SENSOR_STATE_CHANGED

public static final int SENSOR_STATE_CHANGED

SensorStateChanged sensor_state_changed Usage: StatsLog.write(StatsLog.SENSOR_STATE_CHANGED, int[] uid, java.lang.String[] tag, int sensor_id, int state); Usage: StatsLog.write_non_chained(StatsLog.SENSOR_STATE_CHANGED, int uid, java.lang.String tag, int sensor_id, int state);

Constant Value: 5 (0x00000005)

SENSOR_STATE_CHANGED__STATE__OFF

public static final int SENSOR_STATE_CHANGED__STATE__OFF

Constant Value: 0 (0x00000000)

SENSOR_STATE_CHANGED__STATE__ON

public static final int SENSOR_STATE_CHANGED__STATE__ON

Constant Value: 1 (0x00000001)

SETTING_CHANGED

public static final int SETTING_CHANGED

SettingChanged setting_changed Usage: StatsLog.write(StatsLog.SETTING_CHANGED, java.lang.String setting, java.lang.String value, java.lang.String new_value, java.lang.String prev_value, java.lang.String tag, boolean is_default, int user, int reason);

Constant Value: 41 (0x00000029)

SETTING_CHANGED__REASON__DELETED

public static final int SETTING_CHANGED__REASON__DELETED

Constant Value: 2 (0x00000002)

SETTING_CHANGED__REASON__UPDATED

public static final int SETTING_CHANGED__REASON__UPDATED

Constant Value: 1 (0x00000001)

SHUTDOWN_SEQUENCE_REPORTED

public static final int SHUTDOWN_SEQUENCE_REPORTED

ShutdownSequenceReported shutdown_sequence_reported Usage: StatsLog.write(StatsLog.SHUTDOWN_SEQUENCE_REPORTED, boolean reboot, java.lang.String reason, long start_time_millis, long duration_millis);

Constant Value: 56 (0x00000038)

SPEAKER_IMPEDANCE_REPORTED

public static final int SPEAKER_IMPEDANCE_REPORTED

SpeakerImpedanceReported speaker_impedance_reported Usage: StatsLog.write(StatsLog.SPEAKER_IMPEDANCE_REPORTED, int speaker_location, int impedance);

Constant Value: 71 (0x00000047)

SUBSYSTEM_SLEEP_STATE

public static final int SUBSYSTEM_SLEEP_STATE

SubsystemSleepState subsystem_sleep_state Usage: StatsLog.write(StatsLog.SUBSYSTEM_SLEEP_STATE, java.lang.String subsystem_name, java.lang.String subname, long count, long time_millis);

Constant Value: 10005 (0x00002715)

SYNC_STATE_CHANGED

public static final int SYNC_STATE_CHANGED

SyncStateChanged sync_state_changed Usage: StatsLog.write(StatsLog.SYNC_STATE_CHANGED, int[] uid, java.lang.String[] tag, java.lang.String sync_name, int state); Usage: StatsLog.write_non_chained(StatsLog.SYNC_STATE_CHANGED, int uid, java.lang.String tag, java.lang.String sync_name, int state);

Constant Value: 7 (0x00000007)

SYNC_STATE_CHANGED__STATE__OFF

public static final int SYNC_STATE_CHANGED__STATE__OFF

Constant Value: 0 (0x00000000)

SYNC_STATE_CHANGED__STATE__ON

public static final int SYNC_STATE_CHANGED__STATE__ON

Constant Value: 1 (0x00000001)

SYSTEM_ELAPSED_REALTIME

public static final int SYSTEM_ELAPSED_REALTIME

SystemElapsedRealtime system_elapsed_realtime Usage: StatsLog.write(StatsLog.SYSTEM_ELAPSED_REALTIME, long time_millis);

Constant Value: 10014 (0x0000271e)

SYSTEM_UPTIME

public static final int SYSTEM_UPTIME

SystemUptime system_uptime Usage: StatsLog.write(StatsLog.SYSTEM_UPTIME, long uptime_millis);

Constant Value: 10015 (0x0000271f)

TEMPERATURE

public static final int TEMPERATURE

Temperature temperature Usage: StatsLog.write(StatsLog.TEMPERATURE, int sensor_location, java.lang.String sensor_name, int temperature_dC);

Constant Value: 10021 (0x00002725)

TEMPERATURE__SENSOR_LOCATION__TEMPERATURE_TYPE_BATTERY

public static final int TEMPERATURE__SENSOR_LOCATION__TEMPERATURE_TYPE_BATTERY

Constant Value: 2 (0x00000002)

TEMPERATURE__SENSOR_LOCATION__TEMPERATURE_TYPE_CPU

public static final int TEMPERATURE__SENSOR_LOCATION__TEMPERATURE_TYPE_CPU

Constant Value: 0 (0x00000000)

TEMPERATURE__SENSOR_LOCATION__TEMPERATURE_TYPE_GPU

public static final int TEMPERATURE__SENSOR_LOCATION__TEMPERATURE_TYPE_GPU

Constant Value: 1 (0x00000001)

TEMPERATURE__SENSOR_LOCATION__TEMPERATURE_TYPE_SKIN

public static final int TEMPERATURE__SENSOR_LOCATION__TEMPERATURE_TYPE_SKIN

Constant Value: 3 (0x00000003)

TEMPERATURE__SENSOR_LOCATION__TEMPERATURE_TYPE_UNKNOWN

public static final int TEMPERATURE__SENSOR_LOCATION__TEMPERATURE_TYPE_UNKNOWN

Constant Value: -1 (0xffffffff)

UID_PROCESS_STATE_CHANGED

public static final int UID_PROCESS_STATE_CHANGED

UidProcessStateChanged uid_process_state_changed Usage: StatsLog.write(StatsLog.UID_PROCESS_STATE_CHANGED, int uid, int state);

Constant Value: 27 (0x0000001b)

UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_BACKUP

public static final int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_BACKUP

Constant Value: 1008 (0x000003f0)

UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_BOUND_FOREGROUND_SERVICE

public static final int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_BOUND_FOREGROUND_SERVICE

Constant Value: 1004 (0x000003ec)

UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_CACHED_ACTIVITY

public static final int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_CACHED_ACTIVITY

Constant Value: 1015 (0x000003f7)

UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_CACHED_ACTIVITY_CLIENT

public static final int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_CACHED_ACTIVITY_CLIENT

Constant Value: 1016 (0x000003f8)

UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_CACHED_EMPTY

public static final int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_CACHED_EMPTY

Constant Value: 1018 (0x000003fa)

UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_CACHED_RECENT

public static final int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_CACHED_RECENT

Constant Value: 1017 (0x000003f9)

UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_FOREGROUND_SERVICE

public static final int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_FOREGROUND_SERVICE

Constant Value: 1003 (0x000003eb)

UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_HEAVY_WEIGHT

public static final int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_HEAVY_WEIGHT

Constant Value: 1012 (0x000003f4)

UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_HOME

public static final int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_HOME

Constant Value: 1013 (0x000003f5)

UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_IMPORTANT_BACKGROUND

public static final int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_IMPORTANT_BACKGROUND

Constant Value: 1006 (0x000003ee)

UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_IMPORTANT_FOREGROUND

public static final int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_IMPORTANT_FOREGROUND

Constant Value: 1005 (0x000003ed)

UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_LAST_ACTIVITY

public static final int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_LAST_ACTIVITY

Constant Value: 1014 (0x000003f6)

UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_NONEXISTENT

public static final int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_NONEXISTENT

Constant Value: 1019 (0x000003fb)

UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_PERSISTENT

public static final int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_PERSISTENT

Constant Value: 1000 (0x000003e8)

UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_PERSISTENT_UI

public static final int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_PERSISTENT_UI

Constant Value: 1001 (0x000003e9)

UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_RECEIVER

public static final int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_RECEIVER

Constant Value: 1010 (0x000003f2)

UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_SERVICE

public static final int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_SERVICE

Constant Value: 1009 (0x000003f1)

UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_TOP

public static final int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_TOP

Constant Value: 1002 (0x000003ea)

UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_TOP_SLEEPING

public static final int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_TOP_SLEEPING

Constant Value: 1011 (0x000003f3)

UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_TRANSIENT_BACKGROUND

public static final int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_TRANSIENT_BACKGROUND

Constant Value: 1007 (0x000003ef)

UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_UNKNOWN

public static final int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_UNKNOWN

Constant Value: 999 (0x000003e7)

UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_UNKNOWN_TO_PROTO

public static final int UID_PROCESS_STATE_CHANGED__STATE__PROCESS_STATE_UNKNOWN_TO_PROTO

Constant Value: 998 (0x000003e6)

USB_CONNECTOR_STATE_CHANGED

public static final int USB_CONNECTOR_STATE_CHANGED

UsbConnectorStateChanged usb_connector_state_changed Usage: StatsLog.write(StatsLog.USB_CONNECTOR_STATE_CHANGED, int state);

Constant Value: 70 (0x00000046)

USB_CONNECTOR_STATE_CHANGED__STATE__CONNECTED

public static final int USB_CONNECTOR_STATE_CHANGED__STATE__CONNECTED

Constant Value: 1 (0x00000001)

USB_CONNECTOR_STATE_CHANGED__STATE__DISCONNECTED

public static final int USB_CONNECTOR_STATE_CHANGED__STATE__DISCONNECTED

Constant Value: 0 (0x00000000)

USB_DEVICE_ATTACHED

public static final int USB_DEVICE_ATTACHED

UsbDeviceAttached usb_device_attached Usage: StatsLog.write(StatsLog.USB_DEVICE_ATTACHED, int vid, int pid, boolean has_audio, boolean has_hid, boolean has_storage);

Constant Value: 77 (0x0000004d)

WAKELOCK_STATE_CHANGED

public static final int WAKELOCK_STATE_CHANGED

WakelockStateChanged wakelock_state_changed Usage: StatsLog.write(StatsLog.WAKELOCK_STATE_CHANGED, int[] uid, java.lang.String[] tag, int level, java.lang.String tag, int state); Usage: StatsLog.write_non_chained(StatsLog.WAKELOCK_STATE_CHANGED, int uid, java.lang.String tag, int level, java.lang.String tag, int state);

Constant Value: 10 (0x0000000a)

WAKELOCK_STATE_CHANGED__LEVEL__DOZE_WAKE_LOCK

public static final int WAKELOCK_STATE_CHANGED__LEVEL__DOZE_WAKE_LOCK

Constant Value: 64 (0x00000040)

WAKELOCK_STATE_CHANGED__LEVEL__DRAW_WAKE_LOCK

public static final int WAKELOCK_STATE_CHANGED__LEVEL__DRAW_WAKE_LOCK

Constant Value: 128 (0x00000080)

WAKELOCK_STATE_CHANGED__LEVEL__FULL_WAKE_LOCK

public static final int WAKELOCK_STATE_CHANGED__LEVEL__FULL_WAKE_LOCK

Constant Value: 26 (0x0000001a)

WAKELOCK_STATE_CHANGED__LEVEL__PARTIAL_WAKE_LOCK

public static final int WAKELOCK_STATE_CHANGED__LEVEL__PARTIAL_WAKE_LOCK

Constant Value: 1 (0x00000001)

WAKELOCK_STATE_CHANGED__LEVEL__PROXIMITY_SCREEN_OFF_WAKE_LOCK

public static final int WAKELOCK_STATE_CHANGED__LEVEL__PROXIMITY_SCREEN_OFF_WAKE_LOCK

Constant Value: 32 (0x00000020)

WAKELOCK_STATE_CHANGED__LEVEL__SCREEN_BRIGHT_WAKE_LOCK

public static final int WAKELOCK_STATE_CHANGED__LEVEL__SCREEN_BRIGHT_WAKE_LOCK

Constant Value: 10 (0x0000000a)

WAKELOCK_STATE_CHANGED__LEVEL__SCREEN_DIM_WAKE_LOCK

public static final int WAKELOCK_STATE_CHANGED__LEVEL__SCREEN_DIM_WAKE_LOCK

Constant Value: 6 (0x00000006)

WAKELOCK_STATE_CHANGED__STATE__ACQUIRE

public static final int WAKELOCK_STATE_CHANGED__STATE__ACQUIRE

Constant Value: 1 (0x00000001)

WAKELOCK_STATE_CHANGED__STATE__CHANGE_ACQUIRE

public static final int WAKELOCK_STATE_CHANGED__STATE__CHANGE_ACQUIRE

Constant Value: 3 (0x00000003)

WAKELOCK_STATE_CHANGED__STATE__CHANGE_RELEASE

public static final int WAKELOCK_STATE_CHANGED__STATE__CHANGE_RELEASE

Constant Value: 2 (0x00000002)

WAKELOCK_STATE_CHANGED__STATE__RELEASE

public static final int WAKELOCK_STATE_CHANGED__STATE__RELEASE

Constant Value: 0 (0x00000000)

WAKEUP_ALARM_OCCURRED

public static final int WAKEUP_ALARM_OCCURRED

WakeupAlarmOccurred wakeup_alarm_occurred Usage: StatsLog.write(StatsLog.WAKEUP_ALARM_OCCURRED, int[] uid, java.lang.String[] tag, java.lang.String tag); Usage: StatsLog.write_non_chained(StatsLog.WAKEUP_ALARM_OCCURRED, int uid, java.lang.String tag, java.lang.String tag);

Constant Value: 35 (0x00000023)

WIFI_ACTIVITY_INFO

public static final int WIFI_ACTIVITY_INFO

WifiActivityInfo wifi_activity_info Usage: StatsLog.write(StatsLog.WIFI_ACTIVITY_INFO, long timestamp_millis, int stack_state, long controller_tx_time_millis, long controller_rx_time_millis, long controller_idle_time_millis, long controller_energy_used);

Constant Value: 10011 (0x0000271b)

WIFI_BYTES_TRANSFER

public static final int WIFI_BYTES_TRANSFER

WifiBytesTransfer wifi_bytes_transfer Usage: StatsLog.write(StatsLog.WIFI_BYTES_TRANSFER, int uid, long rx_bytes, long rx_packets, long tx_bytes, long tx_packets);

Constant Value: 10000 (0x00002710)

WIFI_BYTES_TRANSFER_BY_FG_BG

public static final int WIFI_BYTES_TRANSFER_BY_FG_BG

WifiBytesTransferByFgBg wifi_bytes_transfer_by_fg_bg Usage: StatsLog.write(StatsLog.WIFI_BYTES_TRANSFER_BY_FG_BG, int uid, boolean is_foreground, long rx_bytes, long rx_packets, long tx_bytes, long tx_packets);

Constant Value: 10001 (0x00002711)

WIFI_LOCK_STATE_CHANGED

public static final int WIFI_LOCK_STATE_CHANGED

WifiLockStateChanged wifi_lock_state_changed Usage: StatsLog.write(StatsLog.WIFI_LOCK_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state); Usage: StatsLog.write_non_chained(StatsLog.WIFI_LOCK_STATE_CHANGED, int uid, java.lang.String tag, int state);

Constant Value: 37 (0x00000025)

WIFI_LOCK_STATE_CHANGED__STATE__OFF

public static final int WIFI_LOCK_STATE_CHANGED__STATE__OFF

Constant Value: 0 (0x00000000)

WIFI_LOCK_STATE_CHANGED__STATE__ON

public static final int WIFI_LOCK_STATE_CHANGED__STATE__ON

Constant Value: 1 (0x00000001)

WIFI_MULTICAST_LOCK_STATE_CHANGED

public static final int WIFI_MULTICAST_LOCK_STATE_CHANGED

WifiMulticastLockStateChanged wifi_multicast_lock_state_changed Usage: StatsLog.write(StatsLog.WIFI_MULTICAST_LOCK_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state); Usage: StatsLog.write_non_chained(StatsLog.WIFI_MULTICAST_LOCK_STATE_CHANGED, int uid, java.lang.String tag, int state);

Constant Value: 53 (0x00000035)

WIFI_MULTICAST_LOCK_STATE_CHANGED__STATE__OFF

public static final int WIFI_MULTICAST_LOCK_STATE_CHANGED__STATE__OFF

Constant Value: 0 (0x00000000)

WIFI_MULTICAST_LOCK_STATE_CHANGED__STATE__ON

public static final int WIFI_MULTICAST_LOCK_STATE_CHANGED__STATE__ON

Constant Value: 1 (0x00000001)

WIFI_RADIO_POWER_STATE_CHANGED

public static final int WIFI_RADIO_POWER_STATE_CHANGED

WifiRadioPowerStateChanged wifi_radio_power_state_changed Usage: StatsLog.write(StatsLog.WIFI_RADIO_POWER_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state); Usage: StatsLog.write_non_chained(StatsLog.WIFI_RADIO_POWER_STATE_CHANGED, int uid, java.lang.String tag, int state);

Constant Value: 13 (0x0000000d)

WIFI_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_HIGH

public static final int WIFI_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_HIGH

Constant Value: 3 (0x00000003)

WIFI_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_LOW

public static final int WIFI_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_LOW

Constant Value: 1 (0x00000001)

WIFI_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_MEDIUM

public static final int WIFI_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_MEDIUM

Constant Value: 2 (0x00000002)

WIFI_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_UNKNOWN

public static final int WIFI_RADIO_POWER_STATE_CHANGED__STATE__DATA_CONNECTION_POWER_STATE_UNKNOWN

Constant Value: 2147483647 (0x7fffffff)

WIFI_SCAN_STATE_CHANGED

public static final int WIFI_SCAN_STATE_CHANGED

WifiScanStateChanged wifi_scan_state_changed Usage: StatsLog.write(StatsLog.WIFI_SCAN_STATE_CHANGED, int[] uid, java.lang.String[] tag, int state); Usage: StatsLog.write_non_chained(StatsLog.WIFI_SCAN_STATE_CHANGED, int uid, java.lang.String tag, int state);

Constant Value: 39 (0x00000027)

WIFI_SCAN_STATE_CHANGED__STATE__OFF

public static final int WIFI_SCAN_STATE_CHANGED__STATE__OFF

Constant Value: 0 (0x00000000)

WIFI_SCAN_STATE_CHANGED__STATE__ON

public static final int WIFI_SCAN_STATE_CHANGED__STATE__ON

Constant Value: 1 (0x00000001)

WIFI_SIGNAL_STRENGTH_CHANGED

public static final int WIFI_SIGNAL_STRENGTH_CHANGED

WifiSignalStrengthChanged wifi_signal_strength_changed Usage: StatsLog.write(StatsLog.WIFI_SIGNAL_STRENGTH_CHANGED, int signal_strength);

Constant Value: 38 (0x00000026)

WIFI_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_GOOD

public static final int WIFI_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_GOOD

Constant Value: 3 (0x00000003)

WIFI_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_GREAT

public static final int WIFI_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_GREAT

Constant Value: 4 (0x00000004)

WIFI_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_MODERATE

public static final int WIFI_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_MODERATE

Constant Value: 2 (0x00000002)

WIFI_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_NONE_OR_UNKNOWN

public static final int WIFI_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_NONE_OR_UNKNOWN

Constant Value: 0 (0x00000000)

WIFI_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_POOR

public static final int WIFI_SIGNAL_STRENGTH_CHANGED__SIGNAL_STRENGTH__SIGNAL_STRENGTH_POOR

Constant Value: 1 (0x00000001)

WTF_OCCURRED

public static final int WTF_OCCURRED

WTFOccurred wtf_occurred Usage: StatsLog.write(StatsLog.WTF_OCCURRED, int uid, java.lang.String tag, java.lang.String process_name, int pid);

Constant Value: 80 (0x00000050)

Public methods

logEvent

added in API level 28
public static boolean logEvent (int label)

Logs an event that does not represent a start or stop boundary.

Parameters
label int: developer-chosen label.

Returns
boolean True if the log request was sent to statsd.

logStart

added in API level 28
public static boolean logStart (int label)

Logs a start event.

Parameters
label int: developer-chosen label.

Returns
boolean True if the log request was sent to statsd.

logStop

added in API level 28
public static boolean logStop (int label)

Logs a stop event.

Parameters
label int: developer-chosen label.

Returns
boolean True if the log request was sent to statsd.

write

public static int write (int code, 
                int[] uid, 
                String[] tag, 
                int arg2, 
                boolean arg3, 
                boolean arg4, 
                boolean arg5)

Parameters
code int

uid int

tag String

arg2 int

arg3 boolean

arg4 boolean

arg5 boolean

Returns
int

write

public static int write (int code, 
                int arg1, 
                String arg2, 
                boolean arg3, 
                int arg4)

Parameters
code int

arg1 int

arg2 String

arg3 boolean

arg4 int

Returns
int

write

public static int write (int code, 
                int arg1, 
                boolean arg2, 
                long arg3, 
                long arg4, 
                long arg5, 
                long arg6)

Parameters
code int

arg1 int

arg2 boolean

arg3 long

arg4 long

arg5 long

arg6 long

Returns
int

write

public static int write (int code, 
                long arg1, 
                long arg2, 
                long arg3)

Parameters
code int

arg1 long

arg2 long

arg3 long

Returns
int

write

public static int write (int code, 
                int arg1, 
                int arg2, 
                int arg3, 
                long arg4, 
                boolean arg5)

Parameters
code int

arg1 int

arg2 int

arg3 int

arg4 long

arg5 boolean

Returns
int

write

public static int write (int code, 
                String arg1, 
                String arg2, 
                long arg3, 
                long arg4)

Parameters
code int

arg1 String

arg2 String

arg3 long

arg4 long

Returns
int

write

public static int write (int code, 
                String arg1, 
                String arg2, 
                long arg3, 
                long arg4, 
                long arg5, 
                long arg6)

Parameters
code int

arg1 String

arg2 String

arg3 long

arg4 long

arg5 long

arg6 long

Returns
int

write

public static int write (int code, 
                int[] uid, 
                String[] tag, 
                int arg2)

Parameters
code int

uid int

tag String

arg2 int

Returns
int

write

public static int write (int code, 
                int arg1, 
                int arg2, 
                boolean arg3, 
                boolean arg4, 
                boolean arg5)

Parameters
code int

arg1 int

arg2 int

arg3 boolean

arg4 boolean

arg5 boolean

Returns
int

write

public static int write (int code, 
                int arg1, 
                String arg2, 
                int arg3, 
                String arg4, 
                String arg5, 
                boolean arg6, 
                long arg7, 
                int arg8, 
                int arg9, 
                int arg10, 
                int arg11, 
                int arg12, 
                String arg13, 
                int arg14, 
                int arg15)

Parameters
code int

arg1 int

arg2 String

arg3 int

arg4 String

arg5 String

arg6 boolean

arg7 long

arg8 int

arg9 int

arg10 int

arg11 int

arg12 int

arg13 String

arg14 int

arg15 int

Returns
int

write

public static int write (int code, 
                int arg1, 
                int arg2, 
                int arg3)

Parameters
code int

arg1 int

arg2 int

arg3 int

Returns
int

write

public static int write (int code, 
                int arg1, 
                long arg2)

Parameters
code int

arg1 int

arg2 long

Returns
int

write

public static int write (int code, 
                int arg1, 
                String arg2, 
                int arg3, 
                String arg4)

Parameters
code int

arg1 int

arg2 String

arg3 int

arg4 String

Returns
int

write

public static int write (int code, 
                int arg1, 
                int arg2, 
                float arg3, 
                int arg4, 
                int arg5, 
                int arg6, 
                int arg7, 
                int arg8, 
                int arg9, 
                int arg10, 
                int arg11, 
                int arg12, 
                int arg13, 
                int arg14, 
                int arg15, 
                int arg16, 
                int arg17)

Parameters
code int

arg1 int

arg2 int

arg3 float

arg4 int

arg5 int

arg6 int

arg7 int

arg8 int

arg9 int

arg10 int

arg11 int

arg12 int

arg13 int

arg14 int

arg15 int

arg16 int

arg17 int

Returns
int

write

public static int write (int code, 
                int[] uid, 
                String[] tag, 
                String arg2, 
                int arg3, 
                int arg4)

Parameters
code int

uid int

tag String

arg2 String

arg3 int

arg4 int

Returns
int

write

public static int write (int code, 
                int[] uid, 
                String[] tag, 
                int arg2, 
                int arg3)

Parameters
code int

uid int

tag String

arg2 int

arg3 int

Returns
int

write

public static int write (int code, 
                int arg1, 
                int arg2, 
                int arg3, 
                int arg4, 
                int arg5, 
                int arg6, 
                int arg7, 
                int arg8)

Parameters
code int

arg1 int

arg2 int

arg3 int

arg4 int

arg5 int

arg6 int

arg7 int

arg8 int

Returns
int

write

public static int write (int code, 
                int arg1, 
                String arg2, 
                int arg3)

Parameters
code int

arg1 int

arg2 String

arg3 int

Returns
int

write

public static int write (int code, 
                int arg1, 
                String arg2, 
                int arg3, 
                String arg4, 
                String arg5, 
                String arg6, 
                int arg7, 
                int arg8, 
                int arg9)

Parameters
code int

arg1 int

arg2 String

arg3 int

arg4 String

arg5 String

arg6 String

arg7 int

arg8 int

arg9 int

Returns
int

write

public static int write (int code, 
                String arg1, 
                long arg2)

Parameters
code int

arg1 String

arg2 long

Returns
int

write

public static int write (int code, 
                int arg1, 
                int arg2, 
                boolean arg3, 
                boolean arg4)

Parameters
code int

arg1 int

arg2 int

arg3 boolean

arg4 boolean

Returns
int

write

public static int write (int code, 
                int[] uid, 
                String[] tag, 
                String arg2, 
                int arg3)

Parameters
code int

uid int

tag String

arg2 String

arg3 int

Returns
int

write

public static int write (int code, 
                boolean arg1, 
                String arg2, 
                long arg3, 
                long arg4)

Parameters
code int

arg1 boolean

arg2 String

arg3 long

arg4 long

Returns
int

write

public static int write (int code)

Parameters
code int

Returns
int

write

public static int write (int code, 
                int arg1, 
                int arg2)

Parameters
code int

arg1 int

arg2 int

Returns
int

write

public static int write (int code, 
                int arg1, 
                String arg2, 
                String arg3, 
                String arg4, 
                int arg5, 
                int arg6)

Parameters
code int

arg1 int

arg2 String

arg3 String

arg4 String

arg5 int

arg6 int

Returns
int

write

public static int write (int code, 
                int arg1, 
                String arg2, 
                String arg3, 
                long arg4, 
                long arg5, 
                long arg6, 
                long arg7, 
                long arg8)

Parameters
code int

arg1 int

arg2 String

arg3 String

arg4 long

arg5 long

arg6 long

arg7 long

arg8 long

Returns
int

write

public static int write (int code, 
                int arg1)

Parameters
code int

arg1 int

Returns
int

write

public static int write (int code, 
                int[] uid, 
                String[] tag, 
                int arg2, 
                String arg3, 
                int arg4)

Parameters
code int

uid int

tag String

arg2 int

arg3 String

arg4 int

Returns
int

write

public static int write (int code, 
                int[] uid, 
                String[] tag, 
                String arg2)

Parameters
code int

uid int

tag String

arg2 String

Returns
int

write

public static int write (int code, 
                int[] uid, 
                String[] tag, 
                String arg2, 
                String arg3, 
                int arg4)

Parameters
code int

uid int

tag String

arg2 String

arg3 String

arg4 int

Returns
int

write

public static int write (int code, 
                int[] uid, 
                String[] tag, 
                int arg2, 
                int arg3, 
                String arg4)

Parameters
code int

uid int

tag String

arg2 int

arg3 int

arg4 String

Returns
int

write

public static int write (int code, 
                long arg1)

Parameters
code int

arg1 long

Returns
int

write

public static int write (int code, 
                int arg1, 
                long arg2, 
                long arg3, 
                long arg4, 
                long arg5)

Parameters
code int

arg1 int

arg2 long

arg3 long

arg4 long

arg5 long

Returns
int

write

public static int write (int code, 
                int arg1, 
                String arg2, 
                String arg3, 
                int arg4)

Parameters
code int

arg1 int

arg2 String

arg3 String

arg4 int

Returns
int

write

public static int write (int code, 
                String arg1, 
                String arg2, 
                String arg3, 
                String arg4, 
                String arg5, 
                boolean arg6, 
                int arg7, 
                int arg8)

Parameters
code int

arg1 String

arg2 String

arg3 String

arg4 String

arg5 String

arg6 boolean

arg7 int

arg8 int

Returns
int

write

public static int write (int code, 
                int arg1, 
                long arg2, 
                long arg3)

Parameters
code int

arg1 int

arg2 long

arg3 long

Returns
int

write

public static int write (int code, 
                int arg1, 
                int arg2, 
                long arg3)

Parameters
code int

arg1 int

arg2 int

arg3 long

Returns
int

write

public static int write (int code, 
                int arg1, 
                String arg2, 
                String arg3, 
                int arg4, 
                String arg5, 
                int arg6, 
                int arg7)

Parameters
code int

arg1 int

arg2 String

arg3 String

arg4 int

arg5 String

arg6 int

arg7 int

Returns
int

write

public static int write (int code, 
                long arg1, 
                int arg2, 
                long arg3, 
                long arg4, 
                long arg5, 
                long arg6)

Parameters
code int

arg1 long

arg2 int

arg3 long

arg4 long

arg5 long

arg6 long

Returns
int

write

public static int write (int code, 
                int arg1, 
                String arg2, 
                int arg3, 
                long arg4, 
                long arg5, 
                long arg6, 
                long arg7, 
                long arg8)

Parameters
code int

arg1 int

arg2 String

arg3 int

arg4 long

arg5 long

arg6 long

arg7 long

arg8 long

Returns
int

write

public static int write (int code, 
                String arg1, 
                int arg2, 
                int arg3, 
                long arg4)

Parameters
code int

arg1 String

arg2 int

arg3 int

arg4 long

Returns
int

write

public static int write (int code, 
                int arg1, 
                String arg2, 
                int arg3, 
                String arg4, 
                boolean arg5, 
                long arg6)

Parameters
code int

arg1 int

arg2 String

arg3 int

arg4 String

arg5 boolean

arg6 long

Returns
int

write

public static int write (int code, 
                long arg1, 
                long arg2, 
                long arg3, 
                long arg4, 
                long arg5, 
                long arg6, 
                long arg7, 
                long arg8, 
                long arg9, 
                long arg10)

Parameters
code int

arg1 long

arg2 long

arg3 long

arg4 long

arg5 long

arg6 long

arg7 long

arg8 long

arg9 long

arg10 long

Returns
int

write_non_chained

public static int write_non_chained (int code, 
                int arg1, 
                String arg2, 
                int arg3, 
                int arg4, 
                String arg5)

Parameters
code int

arg1 int

arg2 String

arg3 int

arg4 int

arg5 String

Returns
int

write_non_chained

public static int write_non_chained (int code, 
                int arg1, 
                String arg2, 
                int arg3)

Parameters
code int

arg1 int

arg2 String

arg3 int

Returns
int

write_non_chained

public static int write_non_chained (int code, 
                int arg1, 
                String arg2, 
                String arg3, 
                int arg4, 
                int arg5)

Parameters
code int

arg1 int

arg2 String

arg3 String

arg4 int

arg5 int

Returns
int

write_non_chained

public static int write_non_chained (int code, 
                int arg1, 
                String arg2, 
                int arg3, 
                String arg4, 
                int arg5)

Parameters
code int

arg1 int

arg2 String

arg3 int

arg4 String

arg5 int

Returns
int

write_non_chained

public static int write_non_chained (int code, 
                int arg1, 
                String arg2, 
                int arg3, 
                boolean arg4, 
                boolean arg5, 
                boolean arg6)

Parameters
code int

arg1 int

arg2 String

arg3 int

arg4 boolean

arg5 boolean

arg6 boolean

Returns
int

write_non_chained

public static int write_non_chained (int code, 
                int arg1, 
                String arg2, 
                String arg3)

Parameters
code int

arg1 int

arg2 String

arg3 String

Returns
int

write_non_chained

public static int write_non_chained (int code, 
                int arg1, 
                String arg2, 
                String arg3, 
                String arg4, 
                int arg5)

Parameters
code int

arg1 int

arg2 String

arg3 String

arg4 String

arg5 int

Returns
int

write_non_chained

public static int write_non_chained (int code, 
                int arg1, 
                String arg2, 
                int arg3, 
                int arg4)

Parameters
code int

arg1 int

arg2 String

arg3 int

arg4 int

Returns
int

write_non_chained

public static int write_non_chained (int code, 
                int arg1, 
                String arg2, 
                String arg3, 
                int arg4)

Parameters
code int

arg1 int

arg2 String

arg3 String

arg4 int

Returns
int