/frameworks/native/libs/gui/tests/ |
D | DisplayedContentSampling_test.cpp | 35 mDisplayToken = mComposerClient->getInternalDisplayToken(); in SetUp() 36 ASSERT_TRUE(mDisplayToken); in SetUp() 43 mComposerClient->getDisplayedContentSamplingAttributes(mDisplayToken, &format, in shouldSkipTest() 57 sp<IBinder> mDisplayToken; member in android::DisplayedContentSamplingTest 68 mComposerClient->getDisplayedContentSamplingAttributes(mDisplayToken, &format, in TEST_F() 78 mComposerClient->setDisplayContentSamplingEnabled(mDisplayToken, true, INVALID_MASK, 0); in TEST_F() 85 status_t status = mComposerClient->setDisplayContentSamplingEnabled(mDisplayToken, true, in TEST_F() 89 status = mComposerClient->setDisplayContentSamplingEnabled(mDisplayToken, false, componentMask, in TEST_F() 97 status_t status = mComposerClient->setDisplayContentSamplingEnabled(mDisplayToken, true, in TEST_F() 103 status = mComposerClient->setDisplayContentSamplingEnabled(mDisplayToken, false, componentMask, in TEST_F() [all …]
|
D | BLASTBufferQueue_test.cpp | 100 mDisplayToken = mClient->getInternalDisplayToken(); in SetUp() 101 ASSERT_NE(nullptr, mDisplayToken.get()); in SetUp() 103 t.setDisplayLayerStack(mDisplayToken, 0); in SetUp() 108 ASSERT_EQ(NO_ERROR, SurfaceComposerClient::getActiveDisplayConfig(mDisplayToken, &config)); in SetUp() 206 sp<IBinder> mDisplayToken; member in android::BLASTBufferQueueTest 306 mComposer->captureScreen(mDisplayToken, &mScreenCaptureBuf, capturedSecureLayers, in TEST_F() 388 mComposer->captureScreen(mDisplayToken, &mScreenCaptureBuf, capturedSecureLayers, in TEST_F() 449 mComposer->captureScreen(mDisplayToken, &mScreenCaptureBuf, capturedSecureLayers, in TEST_F() 494 mComposer->captureScreen(mDisplayToken, &mScreenCaptureBuf, capturedSecureLayers, in test()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | DisplayConfigs_test.cpp | 35 void SetUp() override { mDisplayToken = SurfaceComposerClient::getInternalDisplayToken(); } in SetUp() 37 sp<IBinder> mDisplayToken; member in android::RefreshRateRangeTest 46 status_t res = SurfaceComposerClient::getDesiredDisplayConfigSpecs(mDisplayToken, in TEST_F() 55 res = SurfaceComposerClient::getDisplayConfigs(mDisplayToken, &configs); in TEST_F() 59 res = SurfaceComposerClient::setDesiredDisplayConfigSpecs(mDisplayToken, i, in TEST_F() 71 res = SurfaceComposerClient::getDesiredDisplayConfigSpecs(mDisplayToken, &defaultConfig, in TEST_F() 84 res = SurfaceComposerClient::setDesiredDisplayConfigSpecs(mDisplayToken, initialDefaultConfig, in TEST_F()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDevice.java | 38 private final IBinder mDisplayToken; field in DisplayDevice 59 mDisplayToken = displayToken; in DisplayDevice() 89 return mDisplayToken; in getDisplayTokenLocked() 201 t.setDisplayLayerStack(mDisplayToken, layerStack); in setLayerStackLocked() 234 t.setDisplayProjection(mDisplayToken, in setProjectionLocked() 245 t.setDisplaySurface(mDisplayToken, surface); in setSurfaceLocked() 290 pw.println("mDisplayToken=" + mDisplayToken); in dumpLocked()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/color/ |
D | DisplayWhiteBalanceTintControllerTest.java | 56 IBinder mDisplayToken; field in DisplayWhiteBalanceTintControllerTest 83 mDisplayToken = new Binder(); in setUp() 84 doReturn(mDisplayToken).when(() -> SurfaceControl.getInternalDisplayToken()); in setUp() 118 .when(() -> SurfaceControl.getDisplayNativePrimaries(mDisplayToken)); in displayWhiteBalance_setupWithSurfaceControl() 138 .when(() -> SurfaceControl.getDisplayNativePrimaries(mDisplayToken)); in displayWhiteBalance_setupWithInvalidSurfaceControlData() 157 doReturn(null).when(() -> SurfaceControl.getDisplayNativePrimaries(mDisplayToken)); in displayWhiteBalance_setupWithResources() 181 doReturn(null).when(() -> SurfaceControl.getDisplayNativePrimaries(mDisplayToken)); in displayWhiteBalance_setupWithInvalidResources() 212 .when(() -> SurfaceControl.getDisplayNativePrimaries(mDisplayToken)); in displayWhiteBalance_validateTransformMatrix()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TestableSurfaceFlinger.h | 566 mCreationArgs(flinger.mFlinger.get(), mDisplayToken, compositionDisplay), in FakeDisplayDeviceInjector() 572 sp<IBinder> token() const { return mDisplayToken; } in token() 575 return mFlinger.mutableDrawingState().displays.editValueFor(mDisplayToken); in mutableDrawingDisplayState() 579 return mFlinger.mutableCurrentState().displays.editValueFor(mDisplayToken); in mutableCurrentDisplayState() 583 return mFlinger.mutableDrawingState().displays.valueFor(mDisplayToken); in getDrawingDisplayState() 587 return mFlinger.mutableCurrentState().displays.valueFor(mDisplayToken); in getCurrentDisplayState() 590 auto& mutableDisplayDevice() { return mFlinger.mutableDisplays()[mDisplayToken]; } in mutableDisplayDevice() 642 mFlinger.mutableDisplays().emplace(mDisplayToken, device); in inject() 643 mFlinger.mutableCurrentState().displays.add(mDisplayToken, state); in inject() 644 mFlinger.mutableDrawingState().displays.add(mDisplayToken, state); in inject() [all …]
|
/frameworks/base/services/core/java/com/android/server/lights/ |
D | LightsService.java | 265 private final IBinder mDisplayToken; field in LightsService.LightImpl 270 mDisplayToken = SurfaceControl.getInternalDisplayToken(); in LightImpl() 272 mDisplayToken); in LightImpl() 318 SurfaceControl.setDisplayBrightness(mDisplayToken, brightness); in setBrightness()
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.h | 108 const wp<IBinder>& getDisplayToken() const { return mDisplayToken; } in getDisplayToken() 166 const wp<IBinder> mDisplayToken; variable
|
D | DisplayDevice.cpp | 59 mDisplayToken(args.displayToken), in DisplayDevice()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 317 if (token != mBootAnimation->mDisplayToken) { in handleEvent() 324 mBootAnimation->mDisplayToken, &displayConfig); in handleEvent() 374 mDisplayToken = SurfaceComposerClient::getInternalDisplayToken(); in readyToRun() 375 if (mDisplayToken == nullptr) in readyToRun() 380 SurfaceComposerClient::getActiveDisplayConfig(mDisplayToken, &displayConfig); in readyToRun() 1260 t.setDisplayProjection(mDisplayToken, ui::ROTATION_0, layerStackRect, displayRect); in handleViewport()
|
D | BootAnimation.h | 193 sp<IBinder> mDisplayToken; variable
|