FileDocCategorySizeDatePackage
IBatteryStats.javaAPI DocAndroid 5.1 API65620Sat Mar 14 05:48:08 GMT 2015com.android.internal.app

IBatteryStats

public interface IBatteryStats implements android.os.IInterface

Fields Summary
Constructors Summary
Methods Summary
public longcomputeBatteryTimeRemaining()

public longcomputeChargeTimeRemaining()

public longgetAwakeTimeBattery()

public longgetAwakeTimePlugged()

public byte[]getStatistics()

public android.os.ParcelFileDescriptorgetStatisticsStream()

public voidnoteBluetoothOff()

public voidnoteBluetoothOn()

public voidnoteBluetoothState(int bluetoothState)

public voidnoteChangeWakelockFromSource(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 voidnoteConnectivityChanged(int type, java.lang.String extra)

public voidnoteEvent(int code, java.lang.String name, int uid)

public voidnoteFlashlightOff()

public voidnoteFlashlightOn()

public voidnoteFullWifiLockAcquired(int uid)

public voidnoteFullWifiLockAcquiredFromSource(android.os.WorkSource ws)

public voidnoteFullWifiLockReleased(int uid)

public voidnoteFullWifiLockReleasedFromSource(android.os.WorkSource ws)

public voidnoteInteractive(boolean interactive)

public voidnoteJobFinish(java.lang.String name, int uid)

public voidnoteJobStart(java.lang.String name, int uid)

public voidnoteMobileRadioPowerState(int powerState, long timestampNs)

public voidnoteNetworkInterfaceType(java.lang.String iface, int type)

public voidnoteNetworkStatsEnabled()

public voidnotePhoneDataConnectionState(int dataType, boolean hasData)

public voidnotePhoneOff()

public voidnotePhoneOn()

public voidnotePhoneSignalStrength(android.telephony.SignalStrength signalStrength)

public voidnotePhoneState(int phoneState)

public voidnoteResetAudio()

public voidnoteResetVideo()

public voidnoteScreenBrightness(int brightness)

public voidnoteScreenState(int state)

public voidnoteStartAudio(int uid)

public voidnoteStartGps(int uid)

public voidnoteStartSensor(int uid, int sensor)

public voidnoteStartVideo(int uid)

public voidnoteStartWakelock(int uid, int pid, java.lang.String name, java.lang.String historyName, int type, boolean unimportantForLogging)

public voidnoteStartWakelockFromSource(android.os.WorkSource ws, int pid, java.lang.String name, java.lang.String historyName, int type, boolean unimportantForLogging)

public voidnoteStopAudio(int uid)

public voidnoteStopGps(int uid)

public voidnoteStopSensor(int uid, int sensor)

public voidnoteStopVideo(int uid)

public voidnoteStopWakelock(int uid, int pid, java.lang.String name, java.lang.String historyName, int type)

public voidnoteStopWakelockFromSource(android.os.WorkSource ws, int pid, java.lang.String name, java.lang.String historyName, int type)

public voidnoteSyncFinish(java.lang.String name, int uid)

public voidnoteSyncStart(java.lang.String name, int uid)

public voidnoteUserActivity(int uid, int event)

public voidnoteVibratorOff(int uid)

public voidnoteVibratorOn(int uid, long durationMillis)

public voidnoteWifiBatchedScanStartedFromSource(android.os.WorkSource ws, int csph)

public voidnoteWifiBatchedScanStoppedFromSource(android.os.WorkSource ws)

public voidnoteWifiMulticastDisabled(int uid)

public voidnoteWifiMulticastDisabledFromSource(android.os.WorkSource ws)

public voidnoteWifiMulticastEnabled(int uid)

public voidnoteWifiMulticastEnabledFromSource(android.os.WorkSource ws)

public voidnoteWifiOff()

public voidnoteWifiOn()

public voidnoteWifiRssiChanged(int newRssi)

public voidnoteWifiRunning(android.os.WorkSource ws)

public voidnoteWifiRunningChanged(android.os.WorkSource oldWs, android.os.WorkSource newWs)

public voidnoteWifiScanStarted(int uid)

public voidnoteWifiScanStartedFromSource(android.os.WorkSource ws)

public voidnoteWifiScanStopped(int uid)

public voidnoteWifiScanStoppedFromSource(android.os.WorkSource ws)

public voidnoteWifiState(int wifiState, java.lang.String accessPoint)

public voidnoteWifiStopped(android.os.WorkSource ws)

public voidnoteWifiSupplicantStateChanged(int supplState, boolean failedAuth)

public voidsetBatteryState(int status, int health, int plugType, int level, int temp, int volt)