/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/ |
H A D | CompatUIControllerTest.java | 67 private static final int DISPLAY_ID = 0; field in CompatUIControllerTest 88 doReturn(DISPLAY_ID).when(mMockLayout).getDisplayId(); in setUp() 132 mController.onDisplayAdded(DISPLAY_ID); in testOnDisplayAdded() 133 mController.onDisplayAdded(DISPLAY_ID + 1); in testOnDisplayAdded() 141 mController.onDisplayAdded(DISPLAY_ID); in testOnDisplayRemoved() 143 mController.onCompatInfoChanged(DISPLAY_ID, TASK_ID, taskConfig, in testOnDisplayRemoved() 146 mController.onDisplayRemoved(DISPLAY_ID + 1); in testOnDisplayRemoved() 152 mController.onDisplayRemoved(DISPLAY_ID); in testOnDisplayRemoved() 161 mController.onCompatInfoChanged(DISPLAY_ID, TASK_ID, taskConfig, in testOnDisplayConfigurationChanged() 176 mController.onDisplayAdded(DISPLAY_ID); in testInsetsChanged() [all …]
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
H A D | DisplayModeDirectorTest.java | 114 private static final int DISPLAY_ID = 0; field in DisplayModeDirectorTest 253 votesByDisplay.put(DISPLAY_ID, votes); in testVotingWithFloatingPointErrors() 291 votesByDisplay.put(DISPLAY_ID, votes); in testFlickerHasLowerPriorityThanUserAndRangeIsSingle() 371 votesByDisplay.put(DISPLAY_ID, votes); 447 votesByDisplay.put(DISPLAY_ID, votes); in testAppRequestRefreshRateRange() 554 votesByDisplay.put(DISPLAY_ID, votes); 592 votesByDisplay.put(DISPLAY_ID, votes); 678 votesByDisplay.put(DISPLAY_ID, votes); 952 votesByDisplay.put(DISPLAY_ID, votes); 999 votesByDisplay.put(DISPLAY_ID, votes); in testAppRequestMaxRefreshRate() [all …]
|
H A D | LogicalDisplayTest.java | 41 private static final int DISPLAY_ID = 0; field in LogicalDisplayTest 58 mLogicalDisplay = new LogicalDisplay(DISPLAY_ID, LAYER_STACK, mDisplayDevice); in setUp()
|
H A D | AutomaticBrightnessControllerTest.java | 59 private static final int DISPLAY_ID = 0; field in AutomaticBrightnessControllerTest 82 mLogicalDisplay = new LogicalDisplay(DISPLAY_ID, LAYER_STACK, mDisplayDevice); in setUp()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/model/ |
H A D | SysUiStateTest.java | 42 private static final int DISPLAY_ID = DEFAULT_DISPLAY; field in SysUiStateTest 76 .commitUpdate(DISPLAY_ID); in addMultipleRemoveOne_setFlag() 96 .commitUpdate(DISPLAY_ID); in addMultipleRemoveOne_setFlags() 117 mFlagsContainer.commitUpdate(DISPLAY_ID); in setFlags()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | VerifiedKeyEventTest.kt | 42 assertEquals(DISPLAY_ID, event.displayId) 132 private const val DISPLAY_ID = 2 143 return VerifiedKeyEvent(DEVICE_ID, EVENT_TIME_NANOS, SOURCE, DISPLAY_ID, ACTION,
|
H A D | VerifiedMotionEventTest.kt | 47 assertEquals(DISPLAY_ID, event.displayId) 154 private const val DISPLAY_ID = 2 164 return VerifiedMotionEvent(DEVICE_ID, EVENT_TIME_NANOS, SOURCE, DISPLAY_ID,
|
/aosp12/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/taskbar/ |
H A D | TaskbarNavButtonControllerTest.java | 35 private final static int DISPLAY_ID = 2; field in TaskbarNavButtonControllerTest 51 when(mockService.getDisplayId()).thenReturn(DISPLAY_ID); in setup() 73 .notifyAccessibilityButtonClicked(DISPLAY_ID); in testPressA11yShortClick()
|
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | DisplayDevice_InitiateModeChange.cpp | 59 .setPhysicalDisplayId(PrimaryDisplayVariant::DISPLAY_ID::get()) 70 .setPhysicalDisplayId(PrimaryDisplayVariant::DISPLAY_ID::get()) 81 .setPhysicalDisplayId(PrimaryDisplayVariant::DISPLAY_ID::get())
|
H A D | SurfaceFlinger_HandleTransactionLockedTest.cpp | 77 onHotplugReceived(ResultOf(convert, Case::Display::DISPLAY_ID::get()), connected)) in expectHotplugReceived() 117 const auto displayId = PhysicalDisplayId::tryCast(Case::Display::DISPLAY_ID::get()); in verifyDisplayIsConnected() 145 const auto displayId = Case::Display::DISPLAY_ID::get(); in verifyPhysicalDisplayIsConnected() 250 const auto displayId = Case::Display::DISPLAY_ID::get(); in processesHotplugDisconnectCommon() 328 const auto displayId = Case::Display::DISPLAY_ID::get(); in TEST_F() 367 const auto displayId = Case::Display::DISPLAY_ID::get(); in TEST_F() 503 const auto displayId = Case::Display::DISPLAY_ID::get(); in TEST_F()
|
H A D | DisplayTransactionTestHelpers.h | 238 using DISPLAY_ID = DisplayIdGetter<DisplayIdType>; 266 ceDisplayArgs.setId(DISPLAY_ID::get()) 362 const auto displayId = DisplayVariant::DISPLAY_ID::get(); 390 .setId(DisplayVariant::DISPLAY_ID::get()) 545 .setId(Base::DISPLAY_ID::get()) 592 const auto displayId = Base::DISPLAY_ID::get();
|
H A D | SurfaceFlinger_SetupNewDisplayDeviceInternalTest.cpp | 238 const auto displayId = PhysicalDisplayId::tryCast(Case::Display::DISPLAY_ID::get()); in setupNewDisplayDeviceInternalTest() 268 EXPECT_EQ(Case::Display::DISPLAY_ID::get(), device->getId()); in setupNewDisplayDeviceInternalTest()
|
H A D | SurfaceFlinger_SetPowerModeInternalTest.cpp | 399 const auto displayId = Case::Display::DISPLAY_ID::get(); in TEST_F()
|
/aosp12/packages/apps/Car/SystemUI/tests/src/com/android/systemui/wm/ |
H A D | DisplaySystemBarsControllerTest.java | 54 private static final int DISPLAY_ID = 1; field in DisplaySystemBarsControllerTest 90 mController.onDisplayAdded(DISPLAY_ID); in onDisplayAdded_loadsBarControlPolicyFilters()
|
/aosp12/frameworks/native/libs/input/tests/ |
H A D | InputEvent_test.cpp | 30 static constexpr int32_t DISPLAY_ID = ADISPLAY_ID_DEFAULT; variable 189 event.initialize(id, 2, AINPUT_SOURCE_GAMEPAD, DISPLAY_ID, HMAC, AKEY_EVENT_ACTION_DOWN, in TEST_F() 197 ASSERT_EQ(DISPLAY_ID, event.getDisplayId()); in TEST_F() 292 event->initialize(mId, 2, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID, HMAC, in initializeEventWithHistory() 348 ASSERT_EQ(DISPLAY_ID, event->getDisplayId()); in assertEqualsEventWithHistory() 614 event.initialize(InputEvent::nextId(), 0 /*deviceId*/, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID, in TEST_F() 832 DISPLAY_ID, INVALID_HMAC, AMOTION_EVENT_ACTION_DOWN, 0, 0, in TEST_F() 854 event.initialize(InputEvent::nextId(), 0 /*deviceId*/, AINPUT_SOURCE_MOUSE, DISPLAY_ID, in TEST_F()
|
H A D | VelocityTracker_test.cpp | 34 constexpr int32_t DISPLAY_ID = ADISPLAY_ID_DEFAULT; // default display id variable 183 DISPLAY_ID, INVALID_HMAC, action, 0 /*actionButton*/, 0 /*flags*/, in createMotionEventStream()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
H A D | SidefpsControllerTest.kt | 75 private const val DISPLAY_ID = 2 149 val display = Display(dmGlobal, DISPLAY_ID, displayInfo, DEFAULT_DISPLAY_ADJUSTMENTS) 150 `when`(dmGlobal.getDisplayInfo(eq(DISPLAY_ID))).thenReturn(displayInfo)
|
/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | KeyguardController.java | 43 import static com.android.server.wm.KeyguardOccludedProto.DISPLAY_ID; 619 proto.write(DISPLAY_ID, mDisplayId); in dumpDebug()
|
H A D | TaskFragment.java | 61 import static com.android.server.wm.TaskFragmentProto.DISPLAY_ID; 2493 proto.write(DISPLAY_ID, getDisplayId()); in dumpDebug()
|
H A D | WindowState.java | 169 import static com.android.server.wm.WindowStateProto.DISPLAY_ID; 4255 proto.write(DISPLAY_ID, getDisplayId()); in dumpDebug()
|
/aosp12/frameworks/native/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 58 static constexpr int32_t DISPLAY_ID = 0; variable 59 static constexpr int32_t SECONDARY_DISPLAY_ID = DISPLAY_ID + 1; 1277 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F() 1308 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F() 1312 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F() 1882 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F() 1901 ASSERT_FALSE(mReader->canDispatchToDisplay(deviceId, DISPLAY_ID)); in TEST_F() 2269 setDisplayInfoAndReconfigure(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in SetUp() 3431 ASSERT_EQ(DISPLAY_ID, args.displayId); in TEST_F() 7786 ASSERT_EQ(DISPLAY_ID, args.displayId); in TEST_F() [all …]
|
H A D | InputDispatcher_test.cpp | 49 static constexpr int32_t DISPLAY_ID = ADISPLAY_ID_DEFAULT; variable 535 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F() 547 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F() 560 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F() 574 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F() 587 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F() 601 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F() 612 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F() 625 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F() 637 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F() [all …]
|
/aosp12/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodManager.java | 22 …ew.inputmethod.InputMethodEditorTraceProto.InputMethodClientsTraceProto.ClientSideProto.DISPLAY_ID; 3220 proto.write(DISPLAY_ID, mDisplayId); in dumpDebug()
|
/aosp12/frameworks/base/core/java/android/view/ |
H A D | ViewRootImpl.java | 40 import static android.view.ViewRootImplProto.DISPLAY_ID; 8129 proto.write(DISPLAY_ID, mDisplay.getDisplayId()); in dumpDebug()
|
/aosp12/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 42730 Landroid/os/SystemPropertiesProto$Ro$Build;->DISPLAY_ID:J
|