Home
last modified time | relevance | path

Searched refs:mDisplayToken (Results 1 – 18 of 18) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/
DBootDisplayMode_test.cpp38 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 …]
DDisplayConfigs_test.cpp49 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/
DDisplayedContentSampling_test.cpp38 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 …]
DBLASTBufferQueue_test.cpp202 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/
Dandroid_view_SurfaceControlHdrLayerInfoListener.cpp41 : 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/
DDisplayDevice.java62 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()
DLocalDisplayAdapter.java1676 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/
DScreenCapture.java531 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/
DTestableSurfaceFlinger.h954 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/
DGLHelper.h91 sp<IBinder> mDisplayToken; variable
DGLHelper.cpp42 mDisplayToken = displayToken; in setUp()
228 status_t err = mSurfaceComposerClient->getActiveDisplayMode(mDisplayToken, &mode); in computeWindowScale()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.h135 const wp<IBinder>& getDisplayToken() const { return mDisplayToken; } in getDisplayToken()
222 const wp<IBinder> mDisplayToken; variable
DDisplayDevice.cpp64 mDisplayToken(args.displayToken), in DisplayDevice()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DHighBrightnessModeControllerTest.java92 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()
DLogicalDisplayTest.java66 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/
DBootAnimation.cpp451 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()
DBootAnimation.h230 sp<IBinder> mDisplayToken; variable
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/color/
DDisplayWhiteBalanceTintControllerTest.java64 IBinder mDisplayToken; field in DisplayWhiteBalanceTintControllerTest
110 mDisplayToken = new Binder(); in setUp()