Searched refs:powerState (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 105 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/ |
D | NetworkManagementService.java | 395 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/ |
D | BatteryStatsService.java | 692 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/ |
D | Notifier.java | 691 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/ |
D | PowerManagerServiceTest.java | 387 boolean powerState; in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 4885 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/ |
D | vulkan.api | 6335 VkDisplayPowerStateEXT powerState
|