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 powerState); in notifyInterfaceClassActivity()
421 if (mLastPowerStateFromWifi != powerState) { in notifyInterfaceClassActivity()
422 mLastPowerStateFromWifi = powerState; in notifyInterfaceClassActivity()
424 getBatteryStats().noteWifiRadioPowerState(powerState, tsNanos, uid); in notifyInterfaceClassActivity()
428 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.java371 boolean powerState; in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4882 public boolean noteMobileRadioPowerStateLocked(int powerState, long timestampNs, int uid) { in noteMobileRadioPowerStateLocked() argument
4885 if (mMobileRadioPowerState != powerState) { in noteMobileRadioPowerStateLocked()
4888 powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_MEDIUM in noteMobileRadioPowerStateLocked()
4889 || powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_HIGH; in noteMobileRadioPowerStateLocked()
4913 mMobileRadioPowerState = powerState; in noteMobileRadioPowerStateLocked()
5650 public void noteWifiRadioPowerState(int powerState, long timestampNs, int uid) { in noteWifiRadioPowerState() argument
5653 if (mWifiRadioPowerState != powerState) { in noteWifiRadioPowerState()
5655 powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_MEDIUM in noteWifiRadioPowerState()
5656 || powerState == DataConnectionRealTimeInfo.DC_POWER_STATE_HIGH; in noteWifiRadioPowerState()
5671 mWifiRadioPowerState = powerState; in noteWifiRadioPowerState()
/frameworks/native/vulkan/api/
Dvulkan.api6335 VkDisplayPowerStateEXT powerState