Home
last modified time | relevance | path

Searched refs:DEFAULT_DISPLAY_ID (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/window/
DSystemPerformanceHinterTests.java66 private static final int DEFAULT_DISPLAY_ID = android.view.Display.DEFAULT_DISPLAY; field in SystemPerformanceHinterTests
67 private static final int SECONDARY_DISPLAY_ID = DEFAULT_DISPLAY_ID + 1;
68 private static final int NO_ROOT_DISPLAY_ID = DEFAULT_DISPLAY_ID + 2;
91 mRootProvider.put(DEFAULT_DISPLAY_ID, mDefaultDisplayRoot); in setUpOnce()
104 mHinter.startSession(HINT_ADPF, DEFAULT_DISPLAY_ID, TEST_REASON); in testADPFHintWithoutADPFSession_expectThrows()
116 hinter.startSession(HINT_SF_FRAME_RATE, DEFAULT_DISPLAY_ID, TEST_REASON); in testSFVRRHintWithoutDisplayRootProvider_expectThrows()
122 mHinter.startSession(HINT_SF_FRAME_RATE, DEFAULT_DISPLAY_ID, TEST_REASON); in testGetDefaultDisplayRoot()
123 assertEquals(DEFAULT_DISPLAY_ID, mRootProvider.lastRequestedDisplayId); in testGetDefaultDisplayRoot()
136 mHinter.startSession(HINT_SF_FRAME_RATE, DEFAULT_DISPLAY_ID, TEST_REASON); in testOnlyCacheDisplayRoots()
137 mHinter.startSession(HINT_SF_FRAME_RATE, DEFAULT_DISPLAY_ID, TEST_REASON); in testOnlyCacheDisplayRoots()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DCommitAndCompositeTest.h34 mFlinger.setupMockScheduler({.displayId = DEFAULT_DISPLAY_ID}); in SetUp()
43 FakeHwcDisplayInjector(DEFAULT_DISPLAY_ID, hal::DisplayType::PHYSICAL, kIsPrimary) in SetUp()
48 .setId(DEFAULT_DISPLAY_ID) in SetUp()
71 static constexpr PhysicalDisplayId DEFAULT_DISPLAY_ID = PhysicalDisplayId::fromPort(42u); member
DVSyncPredictorTest.cpp69 constexpr PhysicalDisplayId DEFAULT_DISPLAY_ID = PhysicalDisplayId::fromPort(42u); variable
76 DEFAULT_DISPLAY_ID)); in displayMode()
687 kResolution, DEFAULT_DISPLAY_ID) in TEST_F()
753 kResolution, DEFAULT_DISPLAY_ID) in TEST_F()
780 kResolution, DEFAULT_DISPLAY_ID) in TEST_F()
812 kResolution, DEFAULT_DISPLAY_ID) in TEST_F()
839 kResolution, DEFAULT_DISPLAY_ID) in TEST_F()
862 kResolution, DEFAULT_DISPLAY_ID) in TEST_F()
899 kResolution, DEFAULT_DISPLAY_ID) in TEST_F()
DVSyncReactorTest.cpp84 constexpr PhysicalDisplayId DEFAULT_DISPLAY_ID = PhysicalDisplayId::fromPort(42u); variable
91 kResolution, DEFAULT_DISPLAY_ID)); in displayMode()
105 mReactor(DEFAULT_DISPLAY_ID, std::make_unique<ClockWrapper>(mMockClock), *mMockTracker, in VSyncReactorTest()
485 VSyncReactor(DEFAULT_DISPLAY_ID, std::make_unique<ClockWrapper>(mMockClock), in TEST_F()
DCompositionTest.cpp79 constexpr PhysicalDisplayId DEFAULT_DISPLAY_ID = PhysicalDisplayId::fromPort(42u); variable
102 mFlinger.setupMockScheduler({.displayId = DEFAULT_DISPLAY_ID}); in CompositionTest()
249 FakeHwcDisplayInjector(DEFAULT_DISPLAY_ID, hal::DisplayType::PHYSICAL, true /* isPrimary */) in setupPreconditions()
267 .setId(DEFAULT_DISPLAY_ID) in setupPreconditions()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DDisplayTest.cpp69 constexpr PhysicalDisplayId DEFAULT_DISPLAY_ID = PhysicalDisplayId::fromPort(123u); variable
177 .setId(DEFAULT_DISPLAY_ID) in getDisplayCreationArgsForPhysicalDisplay()
210 {DEFAULT_DISPLAY_ID.value,
271 EXPECT_EQ(DEFAULT_DISPLAY_ID, display->getId()); in TEST_F()
290 .setId(DEFAULT_DISPLAY_ID) in TEST_F()
297 EXPECT_EQ(DEFAULT_DISPLAY_ID, mDisplay->getId()); in TEST_F()
353 EXPECT_CALL(mHwComposer, disconnectDisplay(HalDisplayId(DEFAULT_DISPLAY_ID))).Times(1); in TEST_F()
357 EXPECT_CALL(mHwComposer, disconnectDisplay(HalDisplayId(DEFAULT_DISPLAY_ID))).Times(0); in TEST_F()
376 EXPECT_CALL(mHwComposer, setColorTransform(HalDisplayId(DEFAULT_DISPLAY_ID), kIdentity)) in TEST_F()
385 EXPECT_CALL(mHwComposer, setColorTransform(HalDisplayId(DEFAULT_DISPLAY_ID), kNonIdentity)) in TEST_F()
[all …]
DRenderSurfaceTest.cpp39 constexpr DisplayId DEFAULT_DISPLAY_ID = PhysicalDisplayId::fromPort(123u); variable
54 EXPECT_CALL(mDisplay, getId()).WillRepeatedly(Return(DEFAULT_DISPLAY_ID)); in RenderSurfaceTest()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DBrightnessTrackerTest.java89 private static final String DEFAULT_DISPLAY_ID = "123"; field in BrightnessTrackerTest
435 /* isDefaultBrightnessConfig= */ false, DEFAULT_DISPLAY_ID); in testIgnoreAutomaticBrightnessChange()
778 /* isDefaultBrightnessConfig= */ false, DEFAULT_DISPLAY_ID, new float[10], in testBackgroundHandlerDelay()
943 notifyBrightnessChanged(tracker, brightness, DEFAULT_DISPLAY_ID); in notifyBrightnessChanged()