Home
last modified time | relevance | path

Searched refs:SurfaceComposerClient (Results 1 – 25 of 79) sorted by relevance

1234

/aosp12/frameworks/native/libs/gui/
H A DSurfaceComposerClient.cpp130 sp<SurfaceComposerClient> SurfaceComposerClient::getDefault() { in getDefault()
1008 SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::show( in show()
1013 SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::hide( in hide()
1018 SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::setSize( in setSize()
1033 SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::setLayer( in setLayer()
1064 SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::setFlags( in setFlags()
1100 SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::setAlpha( in setAlpha()
1163 SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::setCrop( in setCrop()
1402 SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::setApi( in setApi()
1828 SurfaceComposerClient::SurfaceComposerClient() : mStatus(NO_INIT) {} in SurfaceComposerClient() function in android::SurfaceComposerClient
[all …]
H A DSurfaceControl.cpp51 SurfaceControl::SurfaceControl(const sp<SurfaceComposerClient>& client, const sp<IBinder>& handle, in SurfaceControl()
104 const sp<SurfaceComposerClient>& client(mClient); in clearLayerFrameStats()
111 const sp<SurfaceComposerClient>& client(mClient); in getLayerFrameStats()
198 sp<SurfaceComposerClient> SurfaceControl::getClient() const in getClient()
245 new SurfaceControl(new SurfaceComposerClient( in readFromParcel()
/aosp12/frameworks/native/cmds/surfacereplayer/replayer/
H A DReplayer.h85 void setPosition(SurfaceComposerClient::Transaction& t,
87 void setSize(SurfaceComposerClient::Transaction& t,
89 void setAlpha(SurfaceComposerClient::Transaction& t,
91 void setLayer(SurfaceComposerClient::Transaction& t,
93 void setCrop(SurfaceComposerClient::Transaction& t,
101 void setMatrix(SurfaceComposerClient::Transaction& t,
105 void setLayerStack(SurfaceComposerClient::Transaction& t,
107 void setHiddenFlag(SurfaceComposerClient::Transaction& t,
109 void setOpaqueFlag(SurfaceComposerClient::Transaction& t,
111 void setSecureFlag(SurfaceComposerClient::Transaction& t,
[all …]
H A DReplayer.cpp114 SurfaceComposerClient::enableVSyncInjections(true); in replay()
155 SurfaceComposerClient::enableVSyncInjections(false); in replay()
175 SurfaceComposerClient::enableVSyncInjections(false); in stopAutoReplayHandler()
336 SurfaceComposerClient::Transaction liveTransaction; in doTransaction()
357 SurfaceComposerClient::Transaction& transaction, in doSurfaceTransaction()
464 void Replayer::setSize(SurfaceComposerClient::Transaction& t, in setSize()
470 void Replayer::setLayer(SurfaceComposerClient::Transaction& t, in setLayer()
476 void Replayer::setAlpha(SurfaceComposerClient::Transaction& t, in setAlpha()
482 void Replayer::setCrop(SurfaceComposerClient::Transaction& t, in setCrop()
622 SurfaceComposerClient::injectVSync(vSyncEvent.when()); in injectVSyncEvent()
[all …]
/aosp12/frameworks/native/services/surfaceflinger/tests/
H A DCredentials_test.cpp36 using Transaction = SurfaceComposerClient::Transaction;
72 sp<SurfaceComposerClient> mComposerClient;
77 mComposerClient = new SurfaceComposerClient; in initClient()
82 mDisplay = SurfaceComposerClient::getInternalDisplayToken(); in setupBackgroundSurface()
169 mComposerClient = new SurfaceComposerClient; in TEST_F()
185 const auto display = SurfaceComposerClient::getInternalDisplayToken(); in TEST_F()
197 const auto display = SurfaceComposerClient::getInternalDisplayToken(); in TEST_F()
206 const auto display = SurfaceComposerClient::getInternalDisplayToken(); in TEST_F()
215 const auto display = SurfaceComposerClient::getInternalDisplayToken(); in TEST_F()
337 SurfaceComposerClient::getDynamicDisplayInfo(display, &info); in TEST_F()
[all …]
H A DDisplayConfigs_test.cpp51 mDisplayToken = SurfaceComposerClient::getInternalDisplayToken(); in SetUp()
53 SurfaceComposerClient::getDesiredDisplayModeSpecs(mDisplayToken, in SetUp()
65 SurfaceComposerClient::setDesiredDisplayModeSpecs(mDisplayToken, initialDefaultMode, in TearDown()
81 status_t res = SurfaceComposerClient::getDynamicDisplayInfo(mDisplayToken, &info); in TEST_F()
87 res = SurfaceComposerClient::setDesiredDisplayModeSpecs(mDisplayToken, modes[i].id, false, in TEST_F()
100 res = SurfaceComposerClient::getDesiredDisplayModeSpecs(mDisplayToken, &defaultConfig, in TEST_F()
118 SurfaceComposerClient::setDesiredDisplayModeSpecs(mDisplayToken, 0, allowGroupSwitching, in testSetAllowGroupSwitching()
128 res = SurfaceComposerClient::getDesiredDisplayModeSpecs(mDisplayToken, &defaultConfig, in testSetAllowGroupSwitching()
H A DTransactionTestHarnesses.h38 const auto displayToken = SurfaceComposerClient::getInternalDisplayToken(); in getScreenCapture()
41 SurfaceComposerClient::getDisplayState(displayToken, &displayState); in getScreenCapture()
44 SurfaceComposerClient::getActiveDisplayMode(displayToken, &displayMode); in getScreenCapture()
63 vDisplay = SurfaceComposerClient::createDisplay(String8("VirtualDisplay"), in getScreenCapture()
66 SurfaceComposerClient::Transaction t; in getScreenCapture()
72 SurfaceComposerClient::Transaction().apply(true); in getScreenCapture()
84 SurfaceComposerClient::destroyDisplay(vDisplay); in getScreenCapture()
H A DScreenCapture_test.cpp168 SurfaceComposerClient::Transaction().show(child).apply(true); in TEST_F()
185 SurfaceComposerClient::Transaction().show(child).apply(true); in TEST_F()
206 SurfaceComposerClient::Transaction() in TEST_F()
237 SurfaceComposerClient::Transaction() in TEST_F()
281 SurfaceComposerClient::Transaction() in TEST_F()
304 SurfaceComposerClient::Transaction() in TEST_F()
375 SurfaceComposerClient::Transaction().apply(true); in TEST_F()
390 SurfaceComposerClient::Transaction() in TEST_F()
430 SurfaceComposerClient::Transaction() in TEST_F()
455 SurfaceComposerClient::Transaction() in TEST_F()
[all …]
H A DMultiDisplayLayerBounds_test.cpp38 mMainDisplay = SurfaceComposerClient::getInternalDisplayToken(); in SetUp()
39 SurfaceComposerClient::getDisplayState(mMainDisplay, &mMainDisplayState); in SetUp()
40 SurfaceComposerClient::getActiveDisplayMode(mMainDisplay, &mMainDisplayMode); in SetUp()
50 SurfaceComposerClient::destroyDisplay(mVirtualDisplay); in TearDown()
57 SurfaceComposerClient::createDisplay(String8("VirtualDisplay"), false /*secure*/); in createDisplay()
H A DVirtualDisplay_test.cpp45 SurfaceComposerClient::createDisplay(String8("VirtualDisplay"), false /*secure*/); in TEST_F()
47 SurfaceComposerClient::Transaction t; in TEST_F()
51 SurfaceComposerClient::destroyDisplay(virtualDisplay); in TEST_F()
H A DIPC_test.cpp40 using Transaction = SurfaceComposerClient::Transaction;
41 using CallbackInfo = SurfaceComposerClient::CallbackInfo;
42 using TCLHash = SurfaceComposerClient::TCLHash;
139 mClient = new SurfaceComposerClient; in initClient()
214 sp<SurfaceComposerClient> mClient;
225 mClient = new SurfaceComposerClient; in SetUp()
244 sp<SurfaceComposerClient> mClient;
/aosp12/frameworks/native/services/automotive/display/
H A DAutomotiveDisplayProxyService.cpp37 displayToken = SurfaceComposerClient::getPhysicalDisplayToken(PhysicalDisplayId(id)); in getIGraphicBufferProducer()
45 auto err = SurfaceComposerClient::getActiveDisplayMode(displayToken, &displayMode); in getIGraphicBufferProducer()
53 err = SurfaceComposerClient::getDisplayState(displayToken, &displayState); in getIGraphicBufferProducer()
67 sp<android::SurfaceComposerClient> surfaceClient = new SurfaceComposerClient(); in getIGraphicBufferProducer()
107 auto err = SurfaceComposerClient::getDisplayState(it->second.token, &displayState); in showWindow()
113 SurfaceComposerClient::Transaction t; in showWindow()
132 status_t status = SurfaceComposerClient::Transaction{} in hideWindow()
145 auto displayIds = SurfaceComposerClient::getPhysicalDisplayIds(); in getDisplayIdList()
160 auto displayToken = SurfaceComposerClient::getPhysicalDisplayToken(PhysicalDisplayId(id)); in getDisplayInfo()
165 auto err = SurfaceComposerClient::getActiveDisplayMode(displayToken, &displayMode); in getDisplayInfo()
[all …]
/aosp12/frameworks/base/core/jni/
H A Dandroid_view_SurfaceSession.cpp36 sp<SurfaceComposerClient> android_view_SurfaceSession_getClient( in android_view_SurfaceSession_getClient()
38 return reinterpret_cast<SurfaceComposerClient*>( in android_view_SurfaceSession_getClient()
44 SurfaceComposerClient* client = new SurfaceComposerClient(); in nativeCreate()
50 SurfaceComposerClient* client = reinterpret_cast<SurfaceComposerClient*>(ptr); in nativeDestroy()
H A Dandroid_view_SurfaceControl.cpp350 sp<SurfaceComposerClient> client; in nativeCreate()
354 client = SurfaceComposerClient::getDefault(); in nativeCreate()
984 sp<IBinder> token(SurfaceComposerClient::createDisplay( in nativeCreateDisplay()
992 SurfaceComposerClient::destroyDisplay(token); in nativeDestroyDisplay()
1374 SurfaceComposerClient::setDisplayPowerMode(token, mode); in nativeSetDisplayPowerMode()
1561 SurfaceComposerClient::setAutoLowLatencyMode(token, on); in nativeSetAutoLowLatencyMode()
1568 SurfaceComposerClient::setGameContentType(token, on); in nativeSetGameContentType()
1642 SurfaceComposerClient::Transaction* const self = in nativeWriteTransactionToParcel()
1650 SurfaceComposerClient::Transaction* const self = in nativeClearTransaction()
1670 sp<SurfaceComposerClient> client = SurfaceComposerClient::getDefault(); in nativeMirrorSurface()
[all …]
/aosp12/frameworks/native/opengl/tests/lib/
H A DWindowSurface.cpp32 sp<SurfaceComposerClient> surfaceComposerClient = new SurfaceComposerClient; in WindowSurface()
39 const auto displayToken = SurfaceComposerClient::getInternalDisplayToken(); in WindowSurface()
46 err = SurfaceComposerClient::getActiveDisplayMode(displayToken, &displayMode); in WindowSurface()
53 err = SurfaceComposerClient::getDisplayState(displayToken, &displayState); in WindowSurface()
76 SurfaceComposerClient::Transaction{} in WindowSurface()
/aosp12/frameworks/native/libs/gui/tests/
H A DSamplingDemo.cpp39 sp<SurfaceComposerClient> client = new SurfaceComposerClient; in Button()
47 SurfaceComposerClient::Transaction{} in Button()
59 SurfaceComposerClient::Transaction{} in Button()
76 SurfaceComposerClient::Transaction{} in Button()
96 SurfaceComposerClient::Transaction{} in setColor()
107 sp<SurfaceComposerClient> mClient;
H A DEndToEndNativeInputTest.cpp60 using Transaction = SurfaceComposerClient::Transaction;
99 const sp<SurfaceComposerClient> &scc, int width, int height) { in makeBufferInputSurface()
107 const sp<SurfaceComposerClient> &scc, int width, int height) { in makeContainerInputSurface()
116 const sp<SurfaceComposerClient> &scc, int width, int height) { in makeCursorInputSurface()
207 SurfaceComposerClient::Transaction t; in doTransaction()
213 SurfaceComposerClient::Transaction t; in showAt()
224 SurfaceComposerClient::Transaction t; in requestFocus()
310 SurfaceComposerClient::Transaction t; in doTransaction()
316 SurfaceComposerClient::Transaction t; in showAt()
340 mComposerClient = new SurfaceComposerClient; in SetUp()
[all …]
H A DRegionSampling_test.cpp180 mSurfaceComposerClient = new SurfaceComposerClient; in SetUp()
188 SurfaceComposerClient::Transaction{} in SetUp()
198 SurfaceComposerClient::Transaction{} in SetUp()
207 SurfaceComposerClient::Transaction{} in SetUp()
230 sp<SurfaceComposerClient> mSurfaceComposerClient;
361 SurfaceComposerClient::Transaction{}.setPosition(mContentLayer, 600, 600).apply(); in TEST_F()
373 SurfaceComposerClient::Transaction{}.setPosition(mContentLayer, 600, 600).apply(); in TEST_F()
/aosp12/frameworks/base/libs/hwui/tests/common/
H A DTestContext.cpp31 const sp<IBinder> token = SurfaceComposerClient::getInternalDisplayToken(); in getDisplayInfo()
34 const status_t status = SurfaceComposerClient::getStaticDisplayInfo(token, &info); in getDisplayInfo()
51 const sp<IBinder> token = SurfaceComposerClient::getInternalDisplayToken(); in getActiveDisplayMode()
54 const status_t status = SurfaceComposerClient::getActiveDisplayMode(token, &config); in getActiveDisplayMode()
65 mSurfaceComposerClient = new SurfaceComposerClient(); in TestContext()
94 SurfaceComposerClient::Transaction t; in createWindowSurface()
/aosp12/frameworks/native/services/surfaceflinger/tests/fakehwc/
H A DSFFakeHwc_test.cpp71 using Transaction = SurfaceComposerClient::Transaction;
243 mComposerClient = new SurfaceComposerClient; in SetUp()
412 EXPECT_EQ(NO_ERROR, SurfaceComposerClient::getActiveDisplayMode(display, &mode)); in Test_HotplugTwoSeparateConfigs()
465 EXPECT_EQ(NO_ERROR, SurfaceComposerClient::getActiveDisplayMode(display, &mode)); in Test_HotplugTwoSeparateConfigs()
520 EXPECT_EQ(NO_ERROR, SurfaceComposerClient::getActiveDisplayMode(display, &mode)); in Test_HotplugTwoConfigsSameGroup()
827 auto result = SurfaceComposerClient::getActiveDisplayMode(display, &mode); in Test_HotplugPrimaryDisplay()
853 auto result = SurfaceComposerClient::getActiveDisplayMode(display, &mode); in Test_HotplugPrimaryDisplay()
880 const auto display = SurfaceComposerClient::getPhysicalDisplayToken(displayId); in Test_SubsequentHotplugConnectUpdatesDisplay()
978 sp<SurfaceComposerClient> mComposerClient;
1167 mComposerClient = new SurfaceComposerClient; in SetUp()
[all …]
/aosp12/frameworks/native/libs/nativedisplay/
H A DADisplay.cpp129 return SurfaceComposerClient::getPhysicalDisplayToken(impl->id); in getToken()
137 const std::vector<PhysicalDisplayId> ids = SurfaceComposerClient::getPhysicalDisplayIds(); in ADisplay_acquirePhysicalDisplays()
146 const sp<IBinder> token = SurfaceComposerClient::getPhysicalDisplayToken(ids[i]); in ADisplay_acquirePhysicalDisplays()
149 if (const status_t status = SurfaceComposerClient::getStaticDisplayInfo(token, &staticInfo); in ADisplay_acquirePhysicalDisplays()
156 SurfaceComposerClient::getDynamicDisplayInfo(token, &dynamicInfo); in ADisplay_acquirePhysicalDisplays()
177 SurfaceComposerClient::getInternalDisplayId(); in ADisplay_acquirePhysicalDisplays()
184 SurfaceComposerClient::getCompositionPreference(&defaultDataspace, &defaultPixelFormat, in ADisplay_acquirePhysicalDisplays()
269 if (const auto status = SurfaceComposerClient::getDynamicDisplayInfo(token, &info); in ADisplay_getCurrentConfig()
/aosp12/frameworks/wilhelm/tests/sandbox/
H A Dnativewindow.cpp40 sp<SurfaceComposerClient> gComposerClient;
49 sp<SurfaceComposerClient> composerClient = new SurfaceComposerClient; in getNativeWindow_()
63 SurfaceComposerClient::Transaction{} in getNativeWindow_()
/aosp12/frameworks/native/libs/gui/include/gui/
H A DSurfaceControl.h39 class SurfaceComposerClient; variable
85 sp<SurfaceComposerClient> getClient() const;
94 SurfaceControl(const sp<SurfaceComposerClient>& client, const sp<IBinder>& handle,
106 friend class SurfaceComposerClient; variable
114 sp<SurfaceComposerClient> mClient;
H A DBLASTBufferQueue.h99 void setNextTransaction(SurfaceComposerClient::Transaction *t);
100 void mergeWithNextTransaction(SurfaceComposerClient::Transaction* t, uint64_t frameNumber);
105 SurfaceComposerClient::Transaction* outTransaction = nullptr);
129 const std::optional<SurfaceComposerClient::Transaction*> transaction) REQUIRES(mMutex);
211 void setMatrix(SurfaceComposerClient::Transaction* t, const BufferInfo& bufferInfo)
220 SurfaceComposerClient::Transaction* mNextTransaction GUARDED_BY(mMutex);
221 std::vector<std::tuple<uint64_t /* framenumber */, SurfaceComposerClient::Transaction>>
/aosp12/frameworks/base/core/jni/include/android_runtime/
H A Dandroid_view_SurfaceSession.h24 class SurfaceComposerClient; variable
27 extern sp<SurfaceComposerClient> android_view_SurfaceSession_getClient(

1234