Home
last modified time | relevance | path

Searched refs:powerState (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl95 void noteMobileRadioPowerState(int powerState, long timestampNs, int uid); in noteMobileRadioPowerState() argument
123 void noteWifiRadioPowerState(int powerState, long timestampNs, int uid); in noteWifiRadioPowerState() argument
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java597 final int powerState; in sendNextBroadcast() local
626 powerState = mBroadcastedInteractiveState; in sendNextBroadcast()
631 if (powerState == INTERACTIVE_STATE_AWAKE) { in sendNextBroadcast()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java613 public void noteMobileRadioPowerState(int powerState, long timestampNs, int uid) { in noteMobileRadioPowerState() argument
617 update = mStats.noteMobileRadioPowerStateLocked(powerState, timestampNs, uid); in noteMobileRadioPowerState()
762 public void noteWifiRadioPowerState(int powerState, long tsNanos, int uid) { in noteWifiRadioPowerState() argument
769 final String type = (powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_HIGH || in noteWifiRadioPowerState()
770 powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_MEDIUM) ? "active" in noteWifiRadioPowerState()
775 mStats.noteWifiRadioPowerState(powerState, tsNanos, uid); in noteWifiRadioPowerState()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java461 private void notifyInterfaceClassActivity(int type, int powerState, long tsNanos, in notifyInterfaceClassActivity() argument
470 powerState = mLastPowerStateFromRadio; in notifyInterfaceClassActivity()
475 if (mLastPowerStateFromRadio != powerState) { in notifyInterfaceClassActivity()
476 mLastPowerStateFromRadio = powerState; in notifyInterfaceClassActivity()
478 getBatteryStats().noteMobileRadioPowerState(powerState, tsNanos, uid); in notifyInterfaceClassActivity()
485 if (mLastPowerStateFromWifi != powerState) { in notifyInterfaceClassActivity()
486 mLastPowerStateFromWifi = powerState; in notifyInterfaceClassActivity()
488 getBatteryStats().noteWifiRadioPowerState(powerState, tsNanos, uid); in notifyInterfaceClassActivity()
494 boolean isActive = powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_MEDIUM in notifyInterfaceClassActivity()
495 || powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_HIGH; in notifyInterfaceClassActivity()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4196 public boolean noteMobileRadioPowerStateLocked(int powerState, long timestampNs, int uid) { in noteMobileRadioPowerStateLocked() argument
4199 if (mMobileRadioPowerState != powerState) { in noteMobileRadioPowerStateLocked()
4202 powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_MEDIUM in noteMobileRadioPowerStateLocked()
4203 || powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_HIGH; in noteMobileRadioPowerStateLocked()
4227 mMobileRadioPowerState = powerState; in noteMobileRadioPowerStateLocked()
4903 public void noteWifiRadioPowerState(int powerState, long timestampNs, int uid) { in noteWifiRadioPowerState() argument
4906 if (mWifiRadioPowerState != powerState) { in noteWifiRadioPowerState()
4908 powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_MEDIUM in noteWifiRadioPowerState()
4909 || powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_HIGH; in noteWifiRadioPowerState()
4921 mWifiRadioPowerState = powerState; in noteWifiRadioPowerState()
/frameworks/native/vulkan/api/
Dvulkan.api4151 VkDisplayPowerStateEXT powerState