/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/ |
D | CarLaunchParamsModifierUpdatableTest.java | 161 when(display.getDisplayId()).thenReturn(displayId); in mockDisplay() 266 display.getDisplayId()).getTaskDisplayArea(); in assertDisplayIsAllowed() 275 assertThat(displayRequested.getDisplayId()).isNotEqualTo(displayAssigned.getDisplayId()); in assertDisplayIsReassigned() 278 displayRequested.getDisplayId()).getTaskDisplayArea(); in assertDisplayIsReassigned() 280 displayAssigned.getDisplayId()).getTaskDisplayArea(); in assertDisplayIsReassigned() 354 mUpdatable.setPassengerDisplays(new int[]{mDisplay10ForPassenger.getDisplayId(), in testAllowAllForDriverDuringBoot() 355 mDisplay10ForPassenger.getDisplayId()}); in testAllowAllForDriverDuringBoot() 363 mUpdatable.setPassengerDisplays(new int[]{mDisplay10ForPassenger.getDisplayId(), in testAllowAllForDriverAfterUserSwitching() 364 mDisplay10ForPassenger.getDisplayId()}); in testAllowAllForDriverAfterUserSwitching() 379 mUpdatable.setPassengerDisplays(new int[]{mDisplay10ForPassenger.getDisplayId(), in testPassengerAllowed() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ContentRecorder.java | 158 mDisplayContent.getDisplayId()); in onConfigurationChanged() 170 mDisplayContent.getDisplayId()); in onConfigurationChanged() 179 mDisplayContent.getDisplayId()); in onConfigurationChanged() 194 mDisplayContent.getDisplayId(), recordedContentBounds, in onConfigurationChanged() 205 mDisplayContent.getDisplayId(), recordedContentBounds, in onConfigurationChanged() 221 mDisplayContent.getDisplayId(), mDisplayContent.getLastHasContent()); in pauseRecording() 263 mDisplayContent.getDisplayId()); in stopMediaProjection() 324 mDisplayContent.getDisplayId()); in startRecordingIfNeeded() 334 mDisplayContent.getDisplayId()); in startRecordingIfNeeded() 340 mDisplayContent.getDisplayId(), mDisplayContent.getDisplayInfo().state); in startRecordingIfNeeded() [all …]
|
D | ActivityRecordInputSink.java | 95 mInputWindowHandleWrapper.setDisplayId(mActivityRecord.getDisplayId()); in getInputWindowHandleWrapper() 101 mActivityRecord.getDisplayId()); in createInputWindowHandle()
|
D | AnrController.java | 95 DisplayContent display = mService.mRoot.getDisplayContent(activity.getDisplayId()); in notifyAppUnresponsive() 114 mUnresponsiveAppByDisplay.put(activity.getDisplayId(), activity); in notifyAppUnresponsive() 266 unresponsiveApp = mUnresponsiveAppByDisplay.get(newFocus.getDisplayId()); in onFocusChanged() 272 mUnresponsiveAppByDisplay.remove(newFocus.getDisplayId()); in onFocusChanged()
|
D | InputTarget.java | 33 int getDisplayId(); in getDisplayId() method
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | MagnificationSettingsControllerTest.java | 110 eq(mContext.getDisplayId()), eq(enable)); in testPanelOnSetDiagonalScrolling_delegateToCallback() 120 eq(mContext.getDisplayId()), eq(newMode)); in testPanelOnModeSwitch_delegateToCallback() 130 eq(mContext.getDisplayId()), eq(shown)); in testPanelOnSettingsPanelVisibilityChanged_delegateToCallback() 140 eq(mContext.getDisplayId()), eq(index)); in testPanelOnSetMagnifierSize_delegateToCallback() 150 eq(mContext.getDisplayId()), eq(enable)); in testPanelOnEditMagnifierSizeMode_delegateToCallback() 161 eq(mContext.getDisplayId()), eq(scale), eq(updatePersistence)); in testPanelOnMagnifierScale_delegateToCallback()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContextTest.java | 62 assertEquals(systemContext.getDisplay().getDisplayId(), systemContext.getDisplayId()); in testDisplayIdForSystemContext() 70 assertEquals(systemUiContext.getDisplay().getDisplayId(), systemUiContext.getDisplayId()); in testDisplayIdForSystemUiContext() 78 assertEquals(testContext.getDisplayNoVerify().getDisplayId(), testContext.getDisplayId()); in testDisplayIdForTestContext() 89 assertEquals(defaultDisplayContext.getDisplay().getDisplayId(), in testDisplayIdForDefaultDisplayContext() 90 defaultDisplayContext.getDisplayId()); in testDisplayIdForDefaultDisplayContext()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | UiAutomationTest.java | 84 assertWithMessage("getDisplayId()").that(uiAutomation.getDisplayId()) in testGetDisplay_contextWithSecondaryDisplayId() 94 assertWithMessage("getDisplayId()").that(uiAutomation.getDisplayId()) in testGetDisplay_contextWithInvalidDisplayId() 107 assertWithMessage("getDisplayId()").that(uiAutomation.getDisplayId()) in testGetDisplay_visibleBgUsers() 119 assertWithMessage("getDisplayId()").that(uiAutomation.getDisplayId()) in testGetDisplay_visibleBgUsers_contextWithInvalidDisplayId() 134 when(mContext.getDisplayId()).thenReturn(displayId); in mockContextDisplay()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/ |
D | DisplayDensityUtils.java | 121 Log.w(LOG_TAG, "Cannot fetch display info for display " + display.getDisplayId()); in DisplayDensityUtils() 125 if (display.getDisplayId() == Display.DEFAULT_DISPLAY) { in DisplayDensityUtils() 133 display.getDisplayId()); in DisplayDensityUtils() 136 + display.getDisplayId()); in DisplayDensityUtils() 216 if (display.getDisplayId() == Display.DEFAULT_DISPLAY) { in DisplayDensityUtils() 270 int displayId = display.getDisplayId(); in clearForcedDisplayDensity() 304 int displayId = display.getDisplayId(); in setForcedDisplayDensity()
|
/frameworks/base/core/java/android/view/ |
D | VerifiedInputEvent.java | 116 public int getDisplayId() { in getDisplayId() method in VerifiedInputEvent 172 && getDisplayId() == that.getDisplayId(); in equals() 182 _hash = 31 * _hash + getDisplayId(); in hashCode()
|
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/tests/src/com/android/systemui/accessibility/accessibilitymenu/tests/ |
D | AccessibilityMenuServiceTest.java | 250 float resetBrightness = displayManager.getBrightness(context.getDisplayId()); in testAdjustBrightness() 259 context.getDisplayId()).getBrightnessInfo(); in testAdjustBrightness() 262 displayManager.setBrightness(context.getDisplayId(), brightnessInfo.brightnessMinimum); in testAdjustBrightness() 265 () -> displayManager.getBrightness(context.getDisplayId()) in testAdjustBrightness() 270 () -> displayManager.getBrightness(context.getDisplayId()) in testAdjustBrightness() 273 displayManager.setBrightness(context.getDisplayId(), brightnessInfo.brightnessMaximum); in testAdjustBrightness() 276 () -> displayManager.getBrightness(context.getDisplayId()) in testAdjustBrightness() 281 () -> displayManager.getBrightness(context.getDisplayId()) in testAdjustBrightness() 284 displayManager.setBrightness(context.getDisplayId(), resetBrightness); in testAdjustBrightness()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | InputMethodDialogWindowContextTest.java | 105 final int displayId = mSecondaryDisplay.getDisplayId(); in setUp() 130 mWindowContext.get(mSecondaryDisplay.getDisplayId()); in testGetSettingsContext() 137 final Context context = mWindowContext.get(mSecondaryDisplay.getDisplayId()); in testGetSettingsContextOnDualDisplayContent() 171 assertThat(context.getDisplayId()).isEqualTo(dc.getDisplayId()); in assertImeSwitchContextMetricsValidity()
|
D | DisplayWindowSettingsTests.java | 100 assertNotEquals(Display.DEFAULT_DISPLAY, mSecondaryDisplay.getDisplayId()); in setUp() 105 assertNotEquals(Display.DEFAULT_DISPLAY, mPrivateDisplay.getDisplayId()); in setUp() 106 assertNotEquals(mSecondaryDisplay.getDisplayId(), mPrivateDisplay.getDisplayId()); in setUp() 233 mWm.clearForcedDisplaySize(mSecondaryDisplay.getDisplayId()); in testSetForcedSize() 246 mWm.clearForcedDisplayDensityForUser(mSecondaryDisplay.getDisplayId(), 0 /* userId */); in testSetForcedDensity() 259 mWm.setForcedDisplayScalingMode(mSecondaryDisplay.getDisplayId(), in testSetForcedScalingMode() 433 … assertEquals(DISPLAY_IME_POLICY_LOCAL, wmInternal.getDisplayImePolicy(dc.getDisplayId())); in testShouldShowImeOnDisplayWithinForceDesktopMode()
|
D | ContentRecordingControllerTests.java | 68 mVirtualDisplayId = mVirtualDisplayContent.getDisplayId(); in setup() 191 assertThat(virtualDisplay.getDisplayId()).isNotEqualTo(mVirtualDisplayId); in testSetContentRecordingSessionLocked_takeOverCurrentSession_accepted() 192 sessionUpdate.setVirtualDisplayId(virtualDisplay.getDisplayId()); in testSetContentRecordingSessionLocked_takeOverCurrentSession_accepted()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | SurfaceViewRequestUtils.java | 36 bundle.putInt(KEY_DISPLAY_ID, surfaceView.getDisplay().getDisplayId()); in createSurfaceBundle() 58 public static int getDisplayId(Bundle bundle) { in getDisplayId() method in SurfaceViewRequestUtils
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
D | TaskContainer.java | 96 mDisplayId = taskProperties.getDisplayId(); in TaskContainer() 106 int getDisplayId() { in getDisplayId() method in TaskContainer 121 mDisplayId = info.getDisplayId(); in updateTaskFragmentParentInfo() 380 int getDisplayId() { in getDisplayId() method in TaskContainer.TaskProperties 414 final int displayId = activity.getDisplayId(); in getTaskPropertiesFromActivity()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | BurnInProtectionHelper.java | 153 mDisplayManagerInternal.setDisplayOffsets(mDisplay.getDisplayId(), in updateBurnInProtection() 254 if (displayId == mDisplay.getDisplayId()) { in onDisplayChanged() 275 mDisplayManagerInternal.setDisplayOffsets(mDisplay.getDisplayId(), 0, 0); in onAnimationEnd() 291 mDisplayManagerInternal.setDisplayOffsets(mDisplay.getDisplayId(), in onAnimationUpdate()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityInputFilter.java | 265 final int displayId = event.getDisplayId(); in onInputEvent() 303 final int displayId = event.getDisplayId(); in getEventStreamState() 375 final int displayId = event.getDisplayId(); in handleMotionEvent() 480 Slog.i(TAG, "enableFeaturesForDisplay() : display Id = " + display.getDisplayId()); in enableFeaturesForDisplay() 484 final int displayId = display.getDisplayId(); in enableFeaturesForDisplay() 586 disableFeaturesForDisplay(displaysList.get(i).getDisplayId()); in disableFeatures() 624 resetStreamStateForDisplay(display.getDisplayId()); in enableFeaturesForDisplayIfInstalled() 678 resetStreamStateForDisplay(displaysList.get(i).getDisplayId()); in resetAllStreamState() 713 final int displayId = display.getDisplayId(); in refreshMagnificationMode() 1030 final int displayId = displaysList.get(i).getDisplayId(); in dump()
|
/frameworks/base/libs/input/ |
D | PointerController.cpp | 128 const int32_t displayId = mCursorController.getDisplayId(); in move() 139 const int32_t displayId = mCursorController.getDisplayId(); in setPosition() 150 const int32_t displayId = mCursorController.getDisplayId(); in getPosition() 159 int32_t PointerController::getDisplayId() const { in getDisplayId() function in android::PointerController 160 return mCursorController.getDisplayId(); in getDisplayId()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/ |
D | NavigationBarController.java | 244 if (!taskbarShown && mNavigationBars.get(mContext.getDisplayId()) == null) { in updateNavbarForTaskbar() 254 Flags.HIDE_NAVBAR_WINDOW)) && shouldCreateNavBarAndTaskBar(mContext.getDisplayId()); in initializeTaskbarIfNecessary() 258 final int displayId = mContext.getDisplayId(); in initializeTaskbarIfNecessary() 325 || display.getDisplayId() != mDisplayTracker.getDefaultDisplayId()) { in createNavigationBars() 343 final int displayId = display.getDisplayId(); in createNavigationBar() 369 navBar.setImeWindowStatus(display.getDisplayId(), result.mImeToken, in createNavigationBar()
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | InputController.java | 264 == inputDeviceDescriptor.getDisplayId()) { in closeInputDeviceDescriptorLocked() 319 mostRecentlyCreatedMouse.getDisplayId()); in updateActivePointerDisplayIdLocked() 395 if (inputDeviceDescriptor.getDisplayId() in sendButtonEvent() 428 if (inputDeviceDescriptor.getDisplayId() in sendRelativeEvent() 446 if (inputDeviceDescriptor.getDisplayId() in sendScrollEvent() 464 if (inputDeviceDescriptor.getDisplayId() in getCursorPosition() 480 fout.println(" displayId: " + inputDeviceDescriptor.getDisplayId()); in dump() 655 public int getDisplayId() { in getDisplayId() method in InputController.InputDeviceDescriptor
|
/frameworks/base/core/java/android/companion/virtual/audio/ |
D | VirtualAudioDevice.java | 121 mVirtualDevice.onAudioSessionStarting(mVirtualDisplay.getDisplay().getDisplayId(), in startAudioInjection() 152 mVirtualDevice.onAudioSessionStarting(mVirtualDisplay.getDisplay().getDisplayId(), in startAudioCapture()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/ |
D | CompatUIController.java | 339 forAllLayouts(layout -> layout.updateVisibility(showOnDisplay(layout.getDisplayId()))); in onKeyguardVisibilityChanged() 400 showOnDisplay(layout.getDisplayId()))) { in createOrUpdateCompatLayout() 450 showOnDisplay(mActiveLetterboxEduLayout.getDisplayId()))) { in createOrUpdateLetterboxEduLayout() 500 showOnDisplay(layout.getDisplayId()))) { in createOrUpdateRestartDialogLayout() 551 showOnDisplay(mActiveReachabilityEduLayout.getDisplayId()))) { in createOrUpdateReachabilityEduLayout() 603 showOnDisplay(mUserAspectRatioSettingsLayout.getDisplayId()))) { in createOrUpdateUserAspectRatioSettingsLayout() 705 forAllLayouts(layout -> layout.getDisplayId() == displayId, callback); in forAllLayoutsOnDisplay()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MotionEventTest.java | 76 assertEquals(displayId, motionEvent_Single.getDisplayId()); in testObtainWithDisplayId() 77 assertEquals(displayId, motionEvent.getDisplayId()); in testObtainWithDisplayId() 81 assertEquals(displayId, motionEvent.getDisplayId()); in testObtainWithDisplayId()
|
/frameworks/base/core/java/android/app/ |
D | Presentation.java | 345 if (displayId == mDisplay.getDisplayId()) { 352 if (displayId == mDisplay.getDisplayId()) {
|