Home
last modified time | relevance | path

Searched refs:DEFAULT_DISPLAY_GROUP (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/
DScreenUndimDetectorTest.java24 import static android.view.Display.DEFAULT_DISPLAY_GROUP;
62 private static final int OTHER_DISPLAY_GROUP = DEFAULT_DISPLAY_GROUP + 1;
114 mScreenUndimDetector.recordScreenPolicy(DEFAULT_DISPLAY_GROUP, POLICY_DIM); in recordScreenPolicy_disabledByFlag_noop()
115 mScreenUndimDetector.recordScreenPolicy(DEFAULT_DISPLAY_GROUP, POLICY_BRIGHT); in recordScreenPolicy_disabledByFlag_noop()
124 mScreenUndimDetector.recordScreenPolicy(DEFAULT_DISPLAY_GROUP, policy); in recordScreenPolicy_samePolicy_noop()
125 mScreenUndimDetector.recordScreenPolicy(DEFAULT_DISPLAY_GROUP, policy); in recordScreenPolicy_samePolicy_noop()
133 mScreenUndimDetector.recordScreenPolicy(DEFAULT_DISPLAY_GROUP, POLICY_DIM); in recordScreenPolicy_dimToBright_extends()
134 mScreenUndimDetector.recordScreenPolicy(DEFAULT_DISPLAY_GROUP, POLICY_BRIGHT); in recordScreenPolicy_dimToBright_extends()
141 mScreenUndimDetector.recordScreenPolicy(DEFAULT_DISPLAY_GROUP, POLICY_DIM); in recordScreenPolicy_dimToBright_ignoresOtherDisplayGroup()
146 mScreenUndimDetector.recordScreenPolicy(DEFAULT_DISPLAY_GROUP, POLICY_BRIGHT); in recordScreenPolicy_dimToBright_ignoresOtherDisplayGroup()
[all …]
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerManagerServiceTest.java1380 info.displayGroupId = Display.DEFAULT_DISPLAY_GROUP; in testInattentiveSleep_userActivityDismissesWarning()
1521 info.displayGroupId = Display.DEFAULT_DISPLAY_GROUP; in testInattentiveSleep_wakeLockOnAfterRelease_inattentiveSleepTimeoutNotAffected()
1549 info.displayGroupId = Display.DEFAULT_DISPLAY_GROUP; in testInattentiveSleep_userActivityNoChangeLights_inattentiveSleepTimeoutNotAffected()
1571 info.displayGroupId = Display.DEFAULT_DISPLAY_GROUP; in testInattentiveSleep_userActivity_inattentiveSleepTimeoutExtended()
1606 final int nonDefaultDisplayGroupId = Display.DEFAULT_DISPLAY_GROUP + 1; in testWakeLock_affectsProperDisplayGroup()
1614 info.displayGroupId = Display.DEFAULT_DISPLAY_GROUP; in testWakeLock_affectsProperDisplayGroup()
1631 assertThat(mService.getWakefulnessLocked(Display.DEFAULT_DISPLAY_GROUP)).isEqualTo( in testWakeLock_affectsProperDisplayGroup()
1638 assertThat(mService.getWakefulnessLocked(Display.DEFAULT_DISPLAY_GROUP)).isEqualTo( in testWakeLock_affectsProperDisplayGroup()
1646 final int nonDefaultDisplayGroupId = Display.DEFAULT_DISPLAY_GROUP + 1; in testInvalidDisplayGroupWakeLock_affectsAllDisplayGroups()
1654 info.displayGroupId = Display.DEFAULT_DISPLAY_GROUP; in testInvalidDisplayGroupWakeLock_affectsAllDisplayGroups()
[all …]
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLogicalDisplayMapperTest.java21 import static android.view.Display.DEFAULT_DISPLAY_GROUP;
523 assertThat(displayGroupId1).isEqualTo(DEFAULT_DISPLAY_GROUP); in testGetDisplayInfoForStateLocked_multipleDisplayGroups()
524 assertThat(displayGroupId2).isNotEqualTo(DEFAULT_DISPLAY_GROUP); in testGetDisplayInfoForStateLocked_multipleDisplayGroups()
526 assertThat(displayGroupId3).isNotEqualTo(DEFAULT_DISPLAY_GROUP); in testGetDisplayInfoForStateLocked_multipleDisplayGroups()
537 assertEquals(DEFAULT_DISPLAY_GROUP, in testSingleDisplayGroup()
539 assertEquals(DEFAULT_DISPLAY_GROUP, in testSingleDisplayGroup()
541 assertEquals(DEFAULT_DISPLAY_GROUP, in testSingleDisplayGroup()
556 assertEquals(DEFAULT_DISPLAY_GROUP, in testMultipleDisplayGroups()
558 assertEquals(DEFAULT_DISPLAY_GROUP, in testMultipleDisplayGroups()
560 assertNotEquals(DEFAULT_DISPLAY_GROUP, in testMultipleDisplayGroups()
[all …]
DDisplayManagerServiceTest.java1360 assertEquals(Display.DEFAULT_DISPLAY_GROUP,
/frameworks/base/services/core/java/com/android/server/power/
DWakefulnessSessionObserver.java168 Display.DEFAULT_DISPLAY_GROUP, in WakefulnessSessionObserver()
169 new WakefulnessSessionPowerGroup(Display.DEFAULT_DISPLAY_GROUP)); in WakefulnessSessionObserver()
DPowerManagerService.java313 IntArray.wrap(new int[]{Display.DEFAULT_DISPLAY_GROUP});
750 if (mScreenTimeoutOverridePolicy != null && groupId == Display.DEFAULT_DISPLAY_GROUP) { in onWakefulnessChangedLocked()
776 final boolean supportsSandman = groupId == Display.DEFAULT_DISPLAY_GROUP; in onDisplayGroupAdded()
794 if (groupId == Display.DEFAULT_DISPLAY_GROUP) { in onDisplayGroupRemoved()
1302 final PowerGroup powerGroup = mPowerGroups.get(Display.DEFAULT_DISPLAY_GROUP);
1347 sleepPowerGroupLocked(mPowerGroups.get(Display.DEFAULT_DISPLAY_GROUP),
1378 mPowerGroups.append(Display.DEFAULT_DISPLAY_GROUP,
2089 dreamPowerGroupLocked(mPowerGroups.get(Display.DEFAULT_DISPLAY_GROUP),
2096 if (userActivityNoUpdateLocked(mPowerGroups.get(Display.DEFAULT_DISPLAY_GROUP),
2654 wakePowerGroupLocked(mPowerGroups.get(Display.DEFAULT_DISPLAY_GROUP),
[all …]
DScreenUndimDetector.java128 if (displayGroupId != Display.DEFAULT_DISPLAY_GROUP || newPolicy == mCurrentScreenPolicy) { in recordScreenPolicy()
DPowerGroup.java102 mGroupId = Display.DEFAULT_DISPLAY_GROUP; in PowerGroup()
/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplayMapper.java197 private int mNextNonDefaultGroupId = Display.DEFAULT_DISPLAY_GROUP + 1;
995 final boolean hasOwnDisplayGroup = groupId != Display.DEFAULT_DISPLAY_GROUP; in assignDisplayGroupLocked()
1231 if (!isOwnDisplayGroup) return Display.DEFAULT_DISPLAY_GROUP; in assignDisplayGroupIdLocked()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java2396 startedGoingToSleep(Display.DEFAULT_DISPLAY_GROUP,
2398 finishedGoingToSleep(Display.DEFAULT_DISPLAY_GROUP,
5479 if (displayGroupId != Display.DEFAULT_DISPLAY_GROUP) {
5503 if (displayGroupId != Display.DEFAULT_DISPLAY_GROUP) {
5547 if (displayGroupId != Display.DEFAULT_DISPLAY_GROUP) {
5581 if (displayGroupId != Display.DEFAULT_DISPLAY_GROUP) {
6038 startedWakingUp(Display.DEFAULT_DISPLAY_GROUP, PowerManager.WAKE_REASON_UNKNOWN);
6039 finishedWakingUp(Display.DEFAULT_DISPLAY_GROUP, PowerManager.WAKE_REASON_UNKNOWN);
/frameworks/base/core/java/android/view/
DDisplay.java155 public static final int DEFAULT_DISPLAY_GROUP = 0; field in Display
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTaskManagerServiceTests.java265 displayInfo.displayGroupId = Display.DEFAULT_DISPLAY_GROUP + 1; in testSetLockScreenShownWithAlwaysUnlockedVirtualDisplay()