Methods Summary |
---|
public long | computeBatteryTimeRemaining()
|
public long | computeChargeTimeRemaining()
|
public long | getAwakeTimeBattery()
|
public long | getAwakeTimePlugged()
|
public byte[] | getStatistics()
|
public android.os.ParcelFileDescriptor | getStatisticsStream()
|
public void | noteBluetoothOff()
|
public void | noteBluetoothOn()
|
public void | noteBluetoothState(int bluetoothState)
|
public void | noteChangeWakelockFromSource(android.os.WorkSource ws, int pid, java.lang.String name, java.lang.String histyoryName, int type, android.os.WorkSource newWs, int newPid, java.lang.String newName, java.lang.String newHistoryName, int newType, boolean newUnimportantForLogging)
|
public void | noteConnectivityChanged(int type, java.lang.String extra)
|
public void | noteEvent(int code, java.lang.String name, int uid)
|
public void | noteFlashlightOff()
|
public void | noteFlashlightOn()
|
public void | noteFullWifiLockAcquired(int uid)
|
public void | noteFullWifiLockAcquiredFromSource(android.os.WorkSource ws)
|
public void | noteFullWifiLockReleased(int uid)
|
public void | noteFullWifiLockReleasedFromSource(android.os.WorkSource ws)
|
public void | noteInteractive(boolean interactive)
|
public void | noteJobFinish(java.lang.String name, int uid)
|
public void | noteJobStart(java.lang.String name, int uid)
|
public void | noteMobileRadioPowerState(int powerState, long timestampNs)
|
public void | noteNetworkInterfaceType(java.lang.String iface, int type)
|
public void | noteNetworkStatsEnabled()
|
public void | notePhoneDataConnectionState(int dataType, boolean hasData)
|
public void | notePhoneOff()
|
public void | notePhoneOn()
|
public void | notePhoneSignalStrength(android.telephony.SignalStrength signalStrength)
|
public void | notePhoneState(int phoneState)
|
public void | noteResetAudio()
|
public void | noteResetVideo()
|
public void | noteScreenBrightness(int brightness)
|
public void | noteScreenState(int state)
|
public void | noteStartAudio(int uid)
|
public void | noteStartGps(int uid)
|
public void | noteStartSensor(int uid, int sensor)
|
public void | noteStartVideo(int uid)
|
public void | noteStartWakelock(int uid, int pid, java.lang.String name, java.lang.String historyName, int type, boolean unimportantForLogging)
|
public void | noteStartWakelockFromSource(android.os.WorkSource ws, int pid, java.lang.String name, java.lang.String historyName, int type, boolean unimportantForLogging)
|
public void | noteStopAudio(int uid)
|
public void | noteStopGps(int uid)
|
public void | noteStopSensor(int uid, int sensor)
|
public void | noteStopVideo(int uid)
|
public void | noteStopWakelock(int uid, int pid, java.lang.String name, java.lang.String historyName, int type)
|
public void | noteStopWakelockFromSource(android.os.WorkSource ws, int pid, java.lang.String name, java.lang.String historyName, int type)
|
public void | noteSyncFinish(java.lang.String name, int uid)
|
public void | noteSyncStart(java.lang.String name, int uid)
|
public void | noteUserActivity(int uid, int event)
|
public void | noteVibratorOff(int uid)
|
public void | noteVibratorOn(int uid, long durationMillis)
|
public void | noteWifiBatchedScanStartedFromSource(android.os.WorkSource ws, int csph)
|
public void | noteWifiBatchedScanStoppedFromSource(android.os.WorkSource ws)
|
public void | noteWifiMulticastDisabled(int uid)
|
public void | noteWifiMulticastDisabledFromSource(android.os.WorkSource ws)
|
public void | noteWifiMulticastEnabled(int uid)
|
public void | noteWifiMulticastEnabledFromSource(android.os.WorkSource ws)
|
public void | noteWifiOff()
|
public void | noteWifiOn()
|
public void | noteWifiRssiChanged(int newRssi)
|
public void | noteWifiRunning(android.os.WorkSource ws)
|
public void | noteWifiRunningChanged(android.os.WorkSource oldWs, android.os.WorkSource newWs)
|
public void | noteWifiScanStarted(int uid)
|
public void | noteWifiScanStartedFromSource(android.os.WorkSource ws)
|
public void | noteWifiScanStopped(int uid)
|
public void | noteWifiScanStoppedFromSource(android.os.WorkSource ws)
|
public void | noteWifiState(int wifiState, java.lang.String accessPoint)
|
public void | noteWifiStopped(android.os.WorkSource ws)
|
public void | noteWifiSupplicantStateChanged(int supplState, boolean failedAuth)
|
public void | setBatteryState(int status, int health, int plugType, int level, int temp, int volt)
|