Home
last modified time | relevance | path

Searched refs:powerState (Results 1 – 7 of 7) 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/am/
DBatteryStatsService.java576 public void noteMobileRadioPowerState(int powerState, long timestampNs, int uid) { in noteMobileRadioPowerState() argument
580 update = mStats.noteMobileRadioPowerStateLocked(powerState, timestampNs, uid); in noteMobileRadioPowerState()
725 public void noteWifiRadioPowerState(int powerState, long tsNanos, int uid) { in noteWifiRadioPowerState() argument
732 final String type = (powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_HIGH || in noteWifiRadioPowerState()
733 powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_MEDIUM) ? "active" in noteWifiRadioPowerState()
737 mStats.noteWifiRadioPowerState(powerState, tsNanos, uid); in noteWifiRadioPowerState()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java591 final int powerState; in sendNextBroadcast() local
620 powerState = mBroadcastedInteractiveState; in sendNextBroadcast()
625 if (powerState == INTERACTIVE_STATE_AWAKE) { in sendNextBroadcast()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java474 private void notifyInterfaceClassActivity(int type, int powerState, long tsNanos, in notifyInterfaceClassActivity() argument
483 powerState = mLastPowerStateFromRadio; in notifyInterfaceClassActivity()
488 if (mLastPowerStateFromRadio != powerState) { in notifyInterfaceClassActivity()
489 mLastPowerStateFromRadio = powerState; in notifyInterfaceClassActivity()
491 getBatteryStats().noteMobileRadioPowerState(powerState, tsNanos, uid); in notifyInterfaceClassActivity()
498 if (mLastPowerStateFromWifi != powerState) { in notifyInterfaceClassActivity()
499 mLastPowerStateFromWifi = powerState; in notifyInterfaceClassActivity()
501 getBatteryStats().noteWifiRadioPowerState(powerState, tsNanos, uid); in notifyInterfaceClassActivity()
507 boolean isActive = powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_MEDIUM in notifyInterfaceClassActivity()
508 || powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_HIGH; in notifyInterfaceClassActivity()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4320 public boolean noteMobileRadioPowerStateLocked(int powerState, long timestampNs, int uid) { in noteMobileRadioPowerStateLocked() argument
4323 if (mMobileRadioPowerState != powerState) { in noteMobileRadioPowerStateLocked()
4326 powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_MEDIUM in noteMobileRadioPowerStateLocked()
4327 || powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_HIGH; in noteMobileRadioPowerStateLocked()
4351 mMobileRadioPowerState = powerState; in noteMobileRadioPowerStateLocked()
5027 public void noteWifiRadioPowerState(int powerState, long timestampNs, int uid) { in noteWifiRadioPowerState() argument
5030 if (mWifiRadioPowerState != powerState) { in noteWifiRadioPowerState()
5032 powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_MEDIUM in noteWifiRadioPowerState()
5033 || powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_HIGH; in noteWifiRadioPowerState()
5045 mWifiRadioPowerState = powerState; in noteWifiRadioPowerState()
/frameworks/native/vulkan/include/vulkan/
Dvulkan.h6000 VkDisplayPowerStateEXT powerState; member
/frameworks/native/vulkan/api/
Dvulkan.api4488 VkDisplayPowerStateEXT powerState