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.aidl105 void noteMobileRadioPowerState(int powerState, long timestampNs, int uid); in noteMobileRadioPowerState() argument
131 void noteWifiRadioPowerState(int powerState, long timestampNs, int uid); in noteWifiRadioPowerState() argument
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java395 int powerState = isActive in notifyInterfaceClassActivity() local
404 powerState = mLastPowerStateFromRadio; in notifyInterfaceClassActivity()
409 if (mLastPowerStateFromRadio != powerState) { in notifyInterfaceClassActivity()
410 mLastPowerStateFromRadio = powerState; in notifyInterfaceClassActivity()
412 getBatteryStats().noteMobileRadioPowerState(powerState, tsNanos, uid); in notifyInterfaceClassActivity()
416 FrameworkStatsLog.MOBILE_RADIO_POWER_STATE_CHANGED, uid, null, powerState); in notifyInterfaceClassActivity()
421 if (mLastPowerStateFromWifi != powerState) { in notifyInterfaceClassActivity()
422 mLastPowerStateFromWifi = powerState; in notifyInterfaceClassActivity()
424 getBatteryStats().noteWifiRadioPowerState(powerState, tsNanos, uid); in notifyInterfaceClassActivity()
428 FrameworkStatsLog.WIFI_RADIO_POWER_STATE_CHANGED, uid, null, powerState); in notifyInterfaceClassActivity()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java692 public void noteMobileRadioPowerState(int powerState, long timestampNs, int uid) { in noteMobileRadioPowerState() argument
696 update = mStats.noteMobileRadioPowerStateLocked(powerState, timestampNs, uid); in noteMobileRadioPowerState()
869 public void noteWifiRadioPowerState(int powerState, long tsNanos, int uid) { in noteWifiRadioPowerState() argument
876 final String type = (powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_HIGH || in noteWifiRadioPowerState()
877 powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_MEDIUM) ? "active" in noteWifiRadioPowerState()
881 mStats.noteWifiRadioPowerState(powerState, tsNanos, uid); in noteWifiRadioPowerState()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java691 final int powerState; in sendNextBroadcast() local
720 powerState = mBroadcastedInteractiveState; in sendNextBroadcast()
725 if (powerState == INTERACTIVE_STATE_AWAKE) { in sendNextBroadcast()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java387 boolean powerState; in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4885 public boolean noteMobileRadioPowerStateLocked(int powerState, long timestampNs, int uid) { in noteMobileRadioPowerStateLocked() argument
4888 if (mMobileRadioPowerState != powerState) { in noteMobileRadioPowerStateLocked()
4891 powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_MEDIUM in noteMobileRadioPowerStateLocked()
4892 || powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_HIGH; in noteMobileRadioPowerStateLocked()
4916 mMobileRadioPowerState = powerState; in noteMobileRadioPowerStateLocked()
5663 public void noteWifiRadioPowerState(int powerState, long timestampNs, int uid) { in noteWifiRadioPowerState() argument
5666 if (mWifiRadioPowerState != powerState) { in noteWifiRadioPowerState()
5668 powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_MEDIUM in noteWifiRadioPowerState()
5669 || powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_HIGH; in noteWifiRadioPowerState()
5684 mWifiRadioPowerState = powerState; in noteWifiRadioPowerState()
/frameworks/native/vulkan/api/
Dvulkan.api6335 VkDisplayPowerStateEXT powerState