/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeScreenBrightnessTest.java | 82 assertEquals(DEFAULT_BRIGHTNESS, mServiceFake.screenBrightness); in testInitialize_setsScreenBrightnessToValidValue() 83 assertTrue(mServiceFake.screenBrightness <= PowerManager.BRIGHTNESS_ON); in testInitialize_setsScreenBrightnessToValidValue() 93 assertEquals(3, mServiceFake.screenBrightness); in testAod_usesLightSensor() 106 assertEquals(1, mServiceFake.screenBrightness); in testAod_usesDebugValue() 117 assertEquals(maxBrightness, mServiceFake.screenBrightness); in testAod_usesLightSensorRespectingUserSetting() 132 assertEquals(2, mServiceFake.screenBrightness); in testPausingAod_doesntPauseLightSensor() 145 assertEquals(1, mServiceFake.screenBrightness); in testPausingAod_doesNotResetBrightness() 156 assertEquals(1, mServiceFake.screenBrightness); in testPulsing_usesLightSensor() 170 assertEquals(DEFAULT_BRIGHTNESS, mServiceFake.screenBrightness); in testDozingAfterPulsing_pausesLightSensor() 194 assertNotEquals(1, mServiceFake.screenBrightness); in testNoBrightnessDeliveredAfterFinish() [all …]
|
D | DozeServiceFake.java | 33 public int screenBrightness; field in DozeServiceFake 57 screenBrightness = brightness; in setDozeScreenBrightness() 65 screenBrightness = PowerManager.BRIGHTNESS_DEFAULT; in reset()
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamManagerService.java | 225 int screenBrightness) { in startDozingInternal() argument 229 + ", screenBrightness=" + screenBrightness); in startDozingInternal() 235 mCurrentDreamDozeScreenBrightness = screenBrightness; 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/ |
D | IDreamManager.aidl | 38 void startDozing(in IBinder token, int screenState, int screenBrightness); in startDozing() argument
|
/frameworks/base/core/java/android/os/ |
D | PowerManagerInternal.java | 142 int screenState, int screenBrightness); in setDozeOverrideFromDreamManager() argument
|
/frameworks/base/core/java/android/view/ |
D | WindowManager.java | 2249 public float screenBrightness = BRIGHTNESS_OVERRIDE_NONE; field in WindowManager.LayoutParams 2738 out.writeFloat(screenBrightness); in writeToParcel() 2794 screenBrightness = in.readFloat(); in LayoutParams() 2964 if (screenBrightness != o.screenBrightness) { in copyFrom() 2965 screenBrightness = o.screenBrightness; in copyFrom() 3136 if (screenBrightness != BRIGHTNESS_OVERRIDE_NONE) { in toString() 3138 sb.append(screenBrightness); in toString() 3222 proto.write(SCREEN_BRIGHTNESS, screenBrightness); in writeToProto()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 3191 int screenState, int screenBrightness) { in setDozeOverrideFromDreamManagerInternal() argument 3194 || mDozeScreenBrightnessOverrideFromDreamManager != screenBrightness) { in setDozeOverrideFromDreamManagerInternal() 3196 mDozeScreenBrightnessOverrideFromDreamManager = screenBrightness; in setDozeOverrideFromDreamManagerInternal() 4863 public void setScreenBrightnessOverrideFromWindowManager(int screenBrightness) { in setScreenBrightnessOverrideFromWindowManager() argument 4864 if (screenBrightness < PowerManager.BRIGHTNESS_DEFAULT in setScreenBrightnessOverrideFromWindowManager() 4865 || screenBrightness > PowerManager.BRIGHTNESS_ON) { in setScreenBrightnessOverrideFromWindowManager() 4866 screenBrightness = PowerManager.BRIGHTNESS_DEFAULT; in setScreenBrightnessOverrideFromWindowManager() 4868 setScreenBrightnessOverrideFromWindowManagerInternal(screenBrightness); in setScreenBrightnessOverrideFromWindowManager() 4872 public void setDozeOverrideFromDreamManager(int screenState, int screenBrightness) { in setDozeOverrideFromDreamManager() argument 4886 if (screenBrightness < PowerManager.BRIGHTNESS_DEFAULT in setDozeOverrideFromDreamManager() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowController.java | 369 mLpChanged.screenBrightness = mScreenBrightnessDoze; in applyBrightness() 371 mLpChanged.screenBrightness = WindowManager.LayoutParams.BRIGHTNESS_OVERRIDE_NONE; in applyBrightness()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RootWindowContainer.java | 897 if (!syswin && w.mAttrs.screenBrightness >= 0 && mScreenBrightness < 0) { in handleNotObscuredLocked() 898 mScreenBrightness = w.mAttrs.screenBrightness; in handleNotObscuredLocked()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |