Home
last modified time | relevance | path

Searched refs:displayGroupId (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTestWindowManagerPolicy.java133 public void startedWakingUp(int displayGroupId, @WakeReason int wakeReason) { in startedWakingUp() argument
137 public void finishedWakingUp(int displayGroupId, @WakeReason int wakeReason) { in finishedWakingUp() argument
141 public void startedGoingToSleep(int displayGroupId, @GoToSleepReason int sleepReason) { in startedGoingToSleep() argument
145 public void finishedGoingToSleep(int displayGroupId, @GoToSleepReason int sleepReason) { in finishedGoingToSleep() argument
263 public void userActivity(int displayGroupId, int event) { in userActivity() argument
DPossibleDisplayInfoMapperTests.java140 mSecondDisplayInfo.displayGroupId = mDefaultDisplayInfo.displayGroupId + 1; in testUpdatePossibleDisplayInfos_secondDisplayAdded_differentGroup()
DActivityTaskManagerServiceTests.java265 displayInfo.displayGroupId = Display.DEFAULT_DISPLAY_GROUP + 1; in testSetLockScreenShownWithAlwaysUnlockedVirtualDisplay()
/frameworks/base/services/core/java/com/android/server/power/
DScreenUndimDetector.java127 public void recordScreenPolicy(int displayGroupId, int newPolicy) { in recordScreenPolicy() argument
128 if (displayGroupId != Display.DEFAULT_DISPLAY_GROUP || newPolicy == mCurrentScreenPolicy) { in recordScreenPolicy()
272 public void userActivity(int displayGroupId) { in userActivity() argument
273 if (displayGroupId != Display.DEFAULT_DISPLAY) { in userActivity()
DNotifier.java715 public void onUserActivity(int displayGroupId, @PowerManager.UserActivityEvent int event, in onUserActivity() argument
724 SystemClock.uptimeMillis(), displayGroupId, event); in onUserActivity() local
733 msg.arg1 = displayGroupId; in onUserActivity()
807 public void onScreenPolicyUpdate(int displayGroupId, int newPolicy) { in onScreenPolicyUpdate() argument
814 msg.arg1 = displayGroupId; in onScreenPolicyUpdate()
852 private void sendUserActivity(int displayGroupId, int event) { in sendUserActivity() argument
862 mPolicy.userActivity(displayGroupId, event); in sendUserActivity()
864 mScreenUndimDetector.userActivity(displayGroupId); in sendUserActivity()
1034 private void screenPolicyChanging(int displayGroupId, int screenPolicy) { in screenPolicyChanging() argument
1035 mScreenUndimDetector.recordScreenPolicy(displayGroupId, screenPolicy); in screenPolicyChanging()
DPowerManagerService.java2076 final int groupId = displayInfo.displayGroupId;
3977 PowerGroup powerGroup = mPowerGroups.get(displayInfo.displayGroupId);
4553 int displayGroupId = displayGroupIds.get(i);
4554 if (displayGroupId == Display.DEFAULT_DISPLAY_GROUP) {
4558 if (mPowerGroups.contains(displayGroupId)) {
4559 Slog.e(TAG, "Tried to add already existing group:" + displayGroupId);
4563 displayGroupId,
4571 mPowerGroups.append(displayGroupId, powerGroup);
5493 return displayInfo.displayGroupId;
6054 int groupId = displayInfo.displayGroupId;
/frameworks/base/services/core/java/com/android/server/policy/
DWindowManagerPolicy.java807 void startedWakingUp(int displayGroupId, @PowerManager.WakeReason int pmWakeReason); in startedWakingUp() argument
820 void finishedWakingUp(int displayGroupId, @PowerManager.WakeReason int pmWakeReason); in finishedWakingUp() argument
833 void startedGoingToSleep(int displayGroupId, @PowerManager.GoToSleepReason int pmSleepReason); in startedGoingToSleep() argument
846 void finishedGoingToSleep(int displayGroupId, @PowerManager.GoToSleepReason int pmSleepReason); in finishedGoingToSleep() argument
1059 void userActivity(int displayGroupId, int event); in userActivity() argument
DPhoneWindowManager.java5471 public void startedGoingToSleep(int displayGroupId,
5474 Slog.i(TAG, "Started going to sleep... (groupId=" + displayGroupId + " why="
5479 if (displayGroupId != Display.DEFAULT_DISPLAY_GROUP) {
5501 public void finishedGoingToSleep(int displayGroupId,
5503 if (displayGroupId != Display.DEFAULT_DISPLAY_GROUP) {
5508 Slog.i(TAG, "Finished going to sleep... (groupId=" + displayGroupId + " why="
5540 public void startedWakingUp(int displayGroupId, @WakeReason int pmWakeReason) {
5542 Slog.i(TAG, "Started waking up... (groupId=" + displayGroupId + " why="
5547 if (displayGroupId != Display.DEFAULT_DISPLAY_GROUP) {
5574 public void finishedWakingUp(int displayGroupId, @WakeReason int pmWakeReason) {
[all …]
/frameworks/base/core/java/android/view/
DDisplayInfo.java79 public int displayGroupId; field in DisplayInfo
419 && displayGroupId == other.displayGroupId in equals()
478 displayGroupId = other.displayGroupId; in copyFrom()
534 displayGroupId = source.readInt(); in readFromParcel()
606 dest.writeInt(displayGroupId); in writeToParcel()
844 sb.append(displayGroupId); in toString()
/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()
1614 info.displayGroupId = Display.DEFAULT_DISPLAY_GROUP; in testWakeLock_affectsProperDisplayGroup()
1654 info.displayGroupId = Display.DEFAULT_DISPLAY_GROUP; in testInvalidDisplayGroupWakeLock_affectsAllDisplayGroups()
1695 info.displayGroupId = nonDefaultDisplayGroupId; in testRemovedDisplayGroupWakeLock_affectsNoDisplayGroups()
2210 info.displayGroupId = nonDefaultDisplayGroupId; in testMultiDisplay_twoDisplays_defaultDisplayCanDoze()
2248 info.displayGroupId = nonDefaultDisplayGroupId; in testMultiDisplay_addNewDisplay_becomeGloballyAwakeButDefaultRemainsDozing()
2324 info.displayGroupId = nonDefaultDisplayGroupId; in testMultiDisplay_bothDisplaysSleep_onWakefulnessChangedEventsFireCorrectly()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplayMapper.java1232 Integer displayGroupId = mDisplayGroupIdsByName.get(displayGroupName); in assignDisplayGroupIdLocked()
1233 if (displayGroupId == null) { in assignDisplayGroupIdLocked()
1234 displayGroupId = Integer.valueOf(mNextNonDefaultGroupId++); in assignDisplayGroupIdLocked()
1235 mDisplayGroupIdsByName.put(displayGroupName, displayGroupId); in assignDisplayGroupIdLocked()
1237 return displayGroupId; in assignDisplayGroupIdLocked()
DLogicalDisplay.java541 mBaseDisplayInfo.displayGroupId = mDisplayGroupId; in updateLocked()
/frameworks/base/services/core/java/com/android/server/wm/
DDeferredDisplayUpdater.java396 || first.displayGroupId != second.displayGroupId in calculateDisplayInfoDiff()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayManagerServiceTest.java1086 int displayGroupId1 = localService.getDisplayInfo(displayId1).displayGroupId;
1103 int displayGroupId2 = localService.getDisplayInfo(displayId2).displayGroupId;
1143 int displayGroupId1 = localService.getDisplayInfo(displayId1).displayGroupId;
1163 int displayGroupId2 = localService.getDisplayInfo(displayId2).displayGroupId;
1361 localService.getDisplayInfo(displayId).displayGroupId);
2824 int groupId = display.getDisplayInfoLocked().displayGroupId;
DLogicalDisplayTest.java539 assertEquals(newId, info3.displayGroupId); in testUpdateDisplayGroupIdLocked()