Searched refs:DEFAULT_DISPLAY_GROUP (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/ |
D | ScreenUndimDetectorTest.java | 25 import static android.view.Display.DEFAULT_DISPLAY_GROUP; 64 private static final int OTHER_DISPLAY_GROUP = DEFAULT_DISPLAY_GROUP + 1; 111 mScreenUndimDetector.recordScreenPolicy(DEFAULT_DISPLAY_GROUP, POLICY_DIM); in recordScreenPolicy_disabledByFlag_noop() 112 mScreenUndimDetector.recordScreenPolicy(DEFAULT_DISPLAY_GROUP, POLICY_BRIGHT); in recordScreenPolicy_disabledByFlag_noop() 121 mScreenUndimDetector.recordScreenPolicy(DEFAULT_DISPLAY_GROUP, policy); in recordScreenPolicy_samePolicy_noop() 122 mScreenUndimDetector.recordScreenPolicy(DEFAULT_DISPLAY_GROUP, policy); in recordScreenPolicy_samePolicy_noop() 130 mScreenUndimDetector.recordScreenPolicy(DEFAULT_DISPLAY_GROUP, POLICY_DIM); in recordScreenPolicy_dimToBright_extends() 131 mScreenUndimDetector.recordScreenPolicy(DEFAULT_DISPLAY_GROUP, POLICY_BRIGHT); in recordScreenPolicy_dimToBright_extends() 138 mScreenUndimDetector.recordScreenPolicy(DEFAULT_DISPLAY_GROUP, POLICY_DIM); in recordScreenPolicy_dimToBright_ignoresOtherDisplayGroup() 143 mScreenUndimDetector.recordScreenPolicy(DEFAULT_DISPLAY_GROUP, POLICY_BRIGHT); in recordScreenPolicy_dimToBright_ignoresOtherDisplayGroup() [all …]
|
D | PowerManagerServiceMockingTest.java | 273 info.displayGroupId = Display.DEFAULT_DISPLAY_GROUP; in testUserActivityOnDeviceStateChange()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | PowerManagerServiceTest.java | 447 mService.setWakefulnessLocked(Display.DEFAULT_DISPLAY_GROUP, WAKEFULNESS_AWAKE, 0, 0, 0, 0, in testGetDesiredScreenPolicy_WithVR() 458 mService.setWakefulnessLocked(Display.DEFAULT_DISPLAY_GROUP, WAKEFULNESS_ASLEEP, 0, 0, 0, 0, in testGetDesiredScreenPolicy_WithVR() 464 mService.setWakefulnessLocked(Display.DEFAULT_DISPLAY_GROUP, WAKEFULNESS_AWAKE, 0, 0, 0, 0, in testGetDesiredScreenPolicy_WithVR() 1214 info.displayGroupId = Display.DEFAULT_DISPLAY_GROUP; in testInattentiveSleep_userActivityDismissesWarning() 1321 info.displayGroupId = Display.DEFAULT_DISPLAY_GROUP; in testInattentiveSleep_wakeLockOnAfterRelease_inattentiveSleepTimeoutNotAffected() 1349 info.displayGroupId = Display.DEFAULT_DISPLAY_GROUP; in testInattentiveSleep_userActivityNoChangeLights_inattentiveSleepTimeoutNotAffected() 1371 info.displayGroupId = Display.DEFAULT_DISPLAY_GROUP; in testInattentiveSleep_userActivity_inattentiveSleepTimeoutExtended() 1406 final int nonDefaultDisplayGroupId = Display.DEFAULT_DISPLAY_GROUP + 1; in testWakeLock_affectsProperDisplayGroup() 1414 info.displayGroupId = Display.DEFAULT_DISPLAY_GROUP; in testWakeLock_affectsProperDisplayGroup() 1431 assertThat(mService.getWakefulnessLocked(Display.DEFAULT_DISPLAY_GROUP)).isEqualTo( in testWakeLock_affectsProperDisplayGroup() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | LogicalDisplayMapperTest.java | 21 import static android.view.Display.DEFAULT_DISPLAY_GROUP; 377 assertEquals(DEFAULT_DISPLAY_GROUP, in testSingleDisplayGroup() 379 assertEquals(DEFAULT_DISPLAY_GROUP, in testSingleDisplayGroup() 381 assertEquals(DEFAULT_DISPLAY_GROUP, in testSingleDisplayGroup() 396 assertEquals(DEFAULT_DISPLAY_GROUP, in testMultipleDisplayGroups() 398 assertEquals(DEFAULT_DISPLAY_GROUP, in testMultipleDisplayGroups() 400 assertNotEquals(DEFAULT_DISPLAY_GROUP, in testMultipleDisplayGroups() 409 assertEquals(DEFAULT_DISPLAY_GROUP, in testMultipleDisplayGroups()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ScreenUndimDetector.java | 128 if (displayGroupId != Display.DEFAULT_DISPLAY_GROUP || newPolicy == mCurrentScreenPolicy) { in recordScreenPolicy()
|
D | PowerManagerService.java | 722 final boolean supportsSandman = groupId == Display.DEFAULT_DISPLAY_GROUP; in onDisplayGroupAdded() 740 if (groupId == Display.DEFAULT_DISPLAY_GROUP) { in onDisplayGroupRemoved() 1191 final PowerGroup powerGroup = mPowerGroups.get(Display.DEFAULT_DISPLAY_GROUP); 1234 sleepPowerGroupLocked(mPowerGroups.get(Display.DEFAULT_DISPLAY_GROUP), 1265 mPowerGroups.append(Display.DEFAULT_DISPLAY_GROUP, 1940 dreamPowerGroupLocked(mPowerGroups.get(Display.DEFAULT_DISPLAY_GROUP), 1947 if (userActivityNoUpdateLocked(mPowerGroups.get(Display.DEFAULT_DISPLAY_GROUP), 2192 PowerGroup defaultGroup = mPowerGroups.get(Display.DEFAULT_DISPLAY_GROUP); 2500 wakePowerGroupLocked(mPowerGroups.get(Display.DEFAULT_DISPLAY_GROUP), 2506 userActivityNoUpdateLocked(mPowerGroups.get(Display.DEFAULT_DISPLAY_GROUP), now, [all …]
|
D | PowerGroup.java | 102 mGroupId = Display.DEFAULT_DISPLAY_GROUP; in PowerGroup()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LogicalDisplayMapper.java | 158 private int mNextNonDefaultGroupId = Display.DEFAULT_DISPLAY_GROUP + 1; 796 final boolean hasOwnDisplayGroup = groupId != Display.DEFAULT_DISPLAY_GROUP; in assignDisplayGroupLocked() 985 return isOwnDisplayGroup ? mNextNonDefaultGroupId++ : Display.DEFAULT_DISPLAY_GROUP; in assignDisplayGroupIdLocked()
|
/frameworks/base/core/java/android/view/ |
D | Display.java | 146 public static final int DEFAULT_DISPLAY_GROUP = 0; field in Display
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityTaskManagerServiceTests.java | 271 displayInfo.displayGroupId = Display.DEFAULT_DISPLAY_GROUP + 1; in testSetLockScreenShownWithAlwaysUnlockedVirtualDisplay()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 4641 && groupId == Display.DEFAULT_DISPLAY_GROUP in onPowerGroupWakefulnessChanged()
|