Home
last modified time | relevance | path

Searched refs:screenState (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeScreenState.java65 int screenState = newState.screenState(mParameters); in transitionTo() local
72 applyScreenState(screenState); in transitionTo()
77 if (screenState == Display.STATE_UNKNOWN) { in transitionTo()
90 mPendingScreenState = screenState; in transitionTo()
102 Log.d(TAG, "Display state changed to " + screenState + " delayed by " in transitionTo()
112 Log.d(TAG, "Pending display state change to " + screenState); in transitionTo()
115 applyScreenState(screenState); in transitionTo()
124 private void applyScreenState(int screenState) { in applyScreenState() argument
125 if (screenState != Display.STATE_UNKNOWN) { in applyScreenState()
126 if (DEBUG) Log.d(TAG, "setDozeScreenState(" + screenState + ")"); in applyScreenState()
[all …]
DDozeMachine.java96 int screenState(DozeParameters parameters) { in screenState() method in DozeMachine.State
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeServiceFake.java30 public int screenState; field in DozeServiceFake
46 screenState = state; in setDozeScreenState()
62 screenState = Display.STATE_UNKNOWN; in reset()
DDozeScreenStateTest.java79 assertEquals(Display.STATE_OFF, mServiceFake.screenState); in testScreen_offInDoze()
87 assertEquals(Display.STATE_DOZE_SUSPEND, mServiceFake.screenState); in testScreen_onInAod()
98 assertEquals(Display.STATE_ON, mServiceFake.screenState); in testScreen_onInPulse()
108 assertEquals(Display.STATE_OFF, mServiceFake.screenState); in testScreen_offInRequestPulseWithoutAoD()
118 assertEquals(Display.STATE_OFF, mServiceFake.screenState); in testScreen_offInRequestPulseWithAoD()
134 assertEquals(Display.STATE_DOZE_SUSPEND, mServiceFake.screenState); in test_initialScreenStatePostedToHandler()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DScreenLifecycle.java76 private void setScreenState(int screenState) { in setScreenState() argument
77 mScreenState = screenState; in setScreenState()
78 Trace.traceCounter(Trace.TRACE_TAG_APP, "screenState", screenState); in setScreenState()
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
DKeyguardServiceDelegate.java77 public int screenState; field in KeyguardServiceDelegate.KeyguardState
184 if (mKeyguardState.screenState == SCREEN_STATE_ON
185 || mKeyguardState.screenState == SCREEN_STATE_TURNING_ON) {
189 if (mKeyguardState.screenState == SCREEN_STATE_ON) {
315 mKeyguardState.screenState = SCREEN_STATE_TURNING_OFF; in onScreenTurningOff()
323 mKeyguardState.screenState = SCREEN_STATE_OFF; in onScreenTurnedOff()
337 mKeyguardState.screenState = SCREEN_STATE_TURNING_ON; in onScreenTurningOn()
345 mKeyguardState.screenState = SCREEN_STATE_ON; in onScreenTurnedOn()
421 proto.write(SCREEN_STATE, mKeyguardState.screenState); in writeToProto()
442 pw.println(prefix + "screenState=" + screenStateToString(mKeyguardState.screenState)); in dump()
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamManagerService.java224 private void startDozingInternal(IBinder token, int screenState, in startDozingInternal() argument
228 + ", screenState=" + screenState in startDozingInternal()
234 mCurrentDreamDozeScreenState = screenState; in startDozingInternal()
237 screenState, screenBrightness); in startDozingInternal()
617 public void startDozing(IBinder token, int screenState, int screenBrightness) { in startDozing() argument
625 startDozingInternal(token, screenState, screenBrightness); in startDozing()
/frameworks/base/core/java/android/service/dreams/
DIDreamManager.aidl38 void startDozing(in IBinder token, int screenState, int screenBrightness); in startDozing() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DDeviceStateMonitorTest.java138 private void sendStates(int screenState, int chargingState, int wifiState) { in sendStates() argument
141 DeviceStateMonitor.EVENT_SCREEN_STATE_CHANGED, screenState, 0).sendToTarget(); in sendStates()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySaverPolicyTest.java213 final PowerSaveState screenState = in verifyBatterySaverConstantsUpdated() local
215 assertThat(screenState.batterySaverEnabled).isFalse(); in verifyBatterySaverConstantsUpdated()
216 assertThat(screenState.brightnessFactor).isWithin(PRECISION).of(BRIGHTNESS_FACTOR); in verifyBatterySaverConstantsUpdated()
/frameworks/base/core/java/android/os/
DPowerManagerInternal.java142 int screenState, int screenBrightness); in setDozeOverrideFromDreamManager() argument
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java3191 int screenState, int screenBrightness) { in setDozeOverrideFromDreamManagerInternal() argument
3193 if (mDozeScreenStateOverrideFromDreamManager != screenState in setDozeOverrideFromDreamManagerInternal()
3195 mDozeScreenStateOverrideFromDreamManager = screenState; in setDozeOverrideFromDreamManagerInternal()
4872 public void setDozeOverrideFromDreamManager(int screenState, int screenBrightness) { in setDozeOverrideFromDreamManager() argument
4873 switch (screenState) { in setDozeOverrideFromDreamManager()
4883 screenState = Display.STATE_UNKNOWN; in setDozeOverrideFromDreamManager()
4890 setDozeOverrideFromDreamManagerInternal(screenState, screenBrightness); in setDozeOverrideFromDreamManager()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsCpuTimesTest.java1304 private void updateTimeBasesLocked(boolean unplugged, int screenState, in updateTimeBasesLocked() argument
1309 mBatteryStatsImpl.updateTimeBasesLocked(unplugged, screenState, upTime, realTime); in updateTimeBasesLocked()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp1447 String8 screenState; in setParameters() local
1448 if (param.get(String8(AudioParameter::keyScreenState), screenState) == NO_ERROR) { in setParameters()
1449 bool isOff = (screenState == AudioParameter::valueOff); in setParameters()
DThreads.cpp2926 uint32_t screenState = AudioFlinger::mScreenState; in threadLoop_write() local
2927 if (screenState != mScreenState) { in threadLoop_write()
2928 mScreenState = screenState; in threadLoop_write()
/frameworks/base/core/java/android/view/
DViewGroup.java3449 void dispatchScreenStateChanged(int screenState) { in dispatchScreenStateChanged() argument
3450 super.dispatchScreenStateChanged(screenState); in dispatchScreenStateChanged()
3455 children[i].dispatchScreenStateChanged(screenState); in dispatchScreenStateChanged()
/frameworks/base/core/java/android/widget/
DTextView.java7556 public void onScreenStateChanged(int screenState) { in onScreenStateChanged() argument
7557 super.onScreenStateChanged(screenState); in onScreenStateChanged()
7558 if (mEditor != null) mEditor.onScreenStateChanged(screenState); in onScreenStateChanged()
DEditor.java811 void onScreenStateChanged(int screenState) { in onScreenStateChanged() argument
812 switch (screenState) { in onScreenStateChanged()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...