/frameworks/native/services/surfaceflinger/tests/ |
D | BootDisplayMode_test.cpp | 38 mDisplayToken = SurfaceComposerClient::getPhysicalDisplayToken(ids.front()); in SetUp() 48 status = mSf->getDynamicDisplayInfoFromToken(mDisplayToken, &info); in SetUp() 68 binder::Status status = mSf->setBootDisplayMode(mDisplayToken, mOldMode); in TearDown() 72 status = mSf->getDynamicDisplayInfoFromToken(mDisplayToken, &info); in TearDown() 80 sp<IBinder> mDisplayToken; member 85 binder::Status status = mSf->setBootDisplayMode(mDisplayToken, mNewMode); in TEST_F() 89 status = mSf->getDynamicDisplayInfoFromToken(mDisplayToken, &info); in TEST_F() 96 binder::Status status = mSf->clearBootDisplayMode(mDisplayToken); in TEST_F() 100 status = mSf->getDynamicDisplayInfoFromToken(mDisplayToken, &info); in TEST_F() 107 status = mSf->setBootDisplayMode(mDisplayToken, newMode); in TEST_F() [all …]
|
D | DisplayConfigs_test.cpp | 49 mDisplayToken = SurfaceComposerClient::getPhysicalDisplayToken(ids.front()); in SetUp() 50 status_t res = SurfaceComposerClient::getDesiredDisplayModeSpecs(mDisplayToken, &mSpecs); in SetUp() 55 status_t res = SurfaceComposerClient::setDesiredDisplayModeSpecs(mDisplayToken, mSpecs); in TearDown() 76 res = SurfaceComposerClient::setDesiredDisplayModeSpecs(mDisplayToken, setSpecs); in testSetDesiredDisplayModeSpecs() 79 res = SurfaceComposerClient::getDesiredDisplayModeSpecs(mDisplayToken, &getSpecs); in testSetDesiredDisplayModeSpecs() 85 sp<IBinder> mDisplayToken; member in android::RefreshRateRangeTest
|
/frameworks/native/libs/gui/tests/ |
D | DisplayedContentSampling_test.cpp | 38 mDisplayToken = SurfaceComposerClient::getPhysicalDisplayToken(ids.front()); in SetUp() 39 ASSERT_TRUE(mDisplayToken); in SetUp() 46 mComposerClient->getDisplayedContentSamplingAttributes(mDisplayToken, &format, in shouldSkipTest() 60 sp<IBinder> mDisplayToken; member in android::DisplayedContentSamplingTest 71 mComposerClient->getDisplayedContentSamplingAttributes(mDisplayToken, &format, in TEST_F() 81 mComposerClient->setDisplayContentSamplingEnabled(mDisplayToken, true, INVALID_MASK, 0); in TEST_F() 88 status_t status = mComposerClient->setDisplayContentSamplingEnabled(mDisplayToken, true, in TEST_F() 92 status = mComposerClient->setDisplayContentSamplingEnabled(mDisplayToken, false, componentMask, in TEST_F() 100 status_t status = mComposerClient->setDisplayContentSamplingEnabled(mDisplayToken, true, in TEST_F() 106 status = mComposerClient->setDisplayContentSamplingEnabled(mDisplayToken, false, componentMask, in TEST_F() [all …]
|
D | BLASTBufferQueue_test.cpp | 202 mDisplayToken = SurfaceComposerClient::getPhysicalDisplayToken(ids.front()); in SetUp() 203 ASSERT_NE(nullptr, mDisplayToken.get()); in SetUp() 205 t.setDisplayLayerStack(mDisplayToken, ui::DEFAULT_LAYER_STACK); in SetUp() 210 ASSERT_EQ(NO_ERROR, SurfaceComposerClient::getDisplayState(mDisplayToken, &displayState)); in SetUp() 349 sp<IBinder> mDisplayToken; member in android::BLASTBufferQueueTest
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControlHdrLayerInfoListener.cpp | 41 : mListener(env->NewGlobalRef(listener)), mDisplayToken(env->NewGlobalRef(displayToken)) { in SurfaceControlHdrLayerInfoListener() 49 env->CallVoidMethod(mListener, gListenerClassInfo.mOnHdrInfoChanged, mDisplayToken, in onHdrLayerInfoChanged() 61 auto token = ibinderForJavaObject(requireEnv(), mDisplayToken); in startListening() 66 auto token = ibinderForJavaObject(requireEnv(), mDisplayToken); in stopListening() 74 env->DeleteGlobalRef(mDisplayToken); in ~SurfaceControlHdrLayerInfoListener() 89 jobject mDisplayToken; member
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDevice.java | 62 private final IBinder mDisplayToken; field in DisplayDevice 93 mDisplayToken = displayToken; in DisplayDevice() 128 return mDisplayToken; in getDisplayTokenLocked() 315 t.setDisplayLayerStack(mDisplayToken, layerStack); in setLayerStackLocked() 330 t.setDisplayFlags(mDisplayToken, flags); in setDisplayFlagsLocked() 363 t.setDisplayProjection(mDisplayToken, in setProjectionLocked() 374 t.setDisplaySurface(mDisplayToken, surface); in setSurfaceLocked() 418 pw.println("mDisplayToken=" + mDisplayToken); in dumpLocked()
|
D | LocalDisplayAdapter.java | 1676 private final IBinder mDisplayToken; 1689 mDisplayToken = displayToken; 1693 .getDisplayBrightnessSupport(mDisplayToken); 1708 mSurfaceControlProxy.setDisplayBrightness(mDisplayToken, backlight); 1710 mSurfaceControlProxy.setDisplayBrightness(mDisplayToken, sdrBacklight, sdrNits,
|
/frameworks/base/core/java/android/window/ |
D | ScreenCapture.java | 531 private final IBinder mDisplayToken; field in ScreenCapture.DisplayCaptureArgs 537 mDisplayToken = builder.mDisplayToken; in DisplayCaptureArgs() 546 private IBinder mDisplayToken; field in ScreenCapture.DisplayCaptureArgs.Builder 555 if (mDisplayToken == null) { in build() 570 mDisplayToken = displayToken; in setDisplayToken()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TestableSurfaceFlinger.h | 954 mCreationArgs(flinger.mFlinger, flinger.mFlinger->getHwComposer(), mDisplayToken, in FakeDisplayDeviceInjector() 962 sp<IBinder> token() const { return mDisplayToken; } in token() 971 return mFlinger.mutableDrawingState().displays.editValueFor(mDisplayToken); in mutableDrawingDisplayState() 975 return mFlinger.mutableCurrentState().displays.editValueFor(mDisplayToken); in mutableCurrentDisplayState() 979 return mFlinger.mutableDrawingState().displays.valueFor(mDisplayToken); in getDrawingDisplayState() 983 return mFlinger.mutableCurrentState().displays.valueFor(mDisplayToken); in getCurrentDisplayState() 987 return mFlinger.mutableDisplays().get(mDisplayToken)->get(); in mutableDisplayDevice() 1106 .emplace_or_replace(*physicalId, mDisplayToken, *physicalId, in inject() 1127 mFlinger.mutableDisplays().emplace_or_replace(mDisplayToken, display); in inject() 1129 mFlinger.mutableCurrentState().displays.add(mDisplayToken, state); in inject() [all …]
|
/frameworks/native/cmds/flatland/ |
D | GLHelper.h | 91 sp<IBinder> mDisplayToken; variable
|
D | GLHelper.cpp | 42 mDisplayToken = displayToken; in setUp() 228 status_t err = mSurfaceComposerClient->getActiveDisplayMode(mDisplayToken, &mode); in computeWindowScale()
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.h | 135 const wp<IBinder>& getDisplayToken() const { return mDisplayToken; } in getDisplayToken() 222 const wp<IBinder> mDisplayToken; variable
|
D | DisplayDevice.cpp | 64 mDisplayToken(args.displayToken), in DisplayDevice()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | HighBrightnessModeControllerTest.java | 92 private Binder mDisplayToken; field in HighBrightnessModeControllerTest 113 mDisplayToken = null; in setUp() 129 mInjectorMock, mHandler, DISPLAY_WIDTH, DISPLAY_HEIGHT, mDisplayToken, in testNoHbmData() 140 mInjectorMock, mHandler, DISPLAY_WIDTH, DISPLAY_HEIGHT, mDisplayToken, in testNoHbmData_Enabled() 757 DISPLAY_HEIGHT, mDisplayToken, mDisplayUniqueId, DEFAULT_MIN, DEFAULT_MAX, in build()
|
D | LogicalDisplayTest.java | 66 private IBinder mDisplayToken; field in LogicalDisplayTest 78 mDisplayToken = mock(IBinder.class); in setUp() 405 DisplayDevice displayDevice = new DisplayDevice(mDisplayAdapter, mDisplayToken, in testDisplayInputFlags()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 451 if (token != mBootAnimation->mDisplayToken) { in handleEvent() 458 mBootAnimation->mDisplayToken, &displayMode); in handleEvent() 547 mDisplayToken = token; in readyToRun() 555 if (mDisplayToken == nullptr) { in readyToRun() 556 mDisplayToken = SurfaceComposerClient::getPhysicalDisplayToken(ids.front()); in readyToRun() 557 if (mDisplayToken == nullptr) { in readyToRun() 564 SurfaceComposerClient::getActiveDisplayMode(mDisplayToken, &displayMode); in readyToRun() 662 t.setDisplayProjection(mDisplayToken, orientation, layerStackRect, displayRect); in rotateAwayFromNaturalOrientationIfNeeded() 1813 t.setDisplayProjection(mDisplayToken, ui::ROTATION_0, layerStackRect, displayRect); in handleViewport()
|
D | BootAnimation.h | 230 sp<IBinder> mDisplayToken; variable
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/color/ |
D | DisplayWhiteBalanceTintControllerTest.java | 64 IBinder mDisplayToken; field in DisplayWhiteBalanceTintControllerTest 110 mDisplayToken = new Binder(); in setUp()
|