Lines Matching refs:SurfaceComposerClient
20 using Transaction = SurfaceComposerClient::Transaction;
54 sp<SurfaceComposerClient> mComposerClient;
59 mComposerClient = new SurfaceComposerClient; in initClient()
64 mDisplay = SurfaceComposerClient::getInternalDisplayToken(); in setupBackgroundSurface()
68 ASSERT_EQ(NO_ERROR, SurfaceComposerClient::getDisplayInfo(mDisplay, &info)); in setupBackgroundSurface()
86 mVirtualDisplay = SurfaceComposerClient::createDisplay(DISPLAY_NAME, true); in setupVirtualDisplay()
169 mComposerClient = new SurfaceComposerClient; in TEST_F()
175 return SurfaceComposerClient::getInternalDisplayToken() != nullptr; in TEST_F()
185 const auto display = SurfaceComposerClient::getInternalDisplayToken(); in TEST_F()
189 ASSERT_EQ(NO_ERROR, SurfaceComposerClient::getDisplayInfo(display, &info)); in TEST_F()
192 ASSERT_EQ(NO_ERROR, SurfaceComposerClient::getDisplayConfigs(display, &configs)); in TEST_F()
194 ASSERT_EQ(NO_ERROR, SurfaceComposerClient::getActiveConfig(display)); in TEST_F()
197 SurfaceComposerClient::getActiveColorMode(display)); in TEST_F()
201 const auto display = SurfaceComposerClient::getInternalDisplayToken(); in TEST_F()
204 return SurfaceComposerClient::getDisplayColorModes(display, &outColorModes); in TEST_F()
210 const auto display = SurfaceComposerClient::getInternalDisplayToken(); in TEST_F()
213 return SurfaceComposerClient::getDisplayNativePrimaries(display, primaries); in TEST_F()
219 const auto display = SurfaceComposerClient::getInternalDisplayToken(); in TEST_F()
221 return SurfaceComposerClient::setActiveConfig(display, 0); in TEST_F()
227 const auto display = SurfaceComposerClient::getInternalDisplayToken(); in TEST_F()
229 return SurfaceComposerClient::setActiveColorMode(display, ui::ColorMode::NATIVE); in TEST_F()
236 sp<IBinder> testDisplay = SurfaceComposerClient::createDisplay(DISPLAY_NAME, true); in TEST_F()
242 sp<IBinder> testDisplay = SurfaceComposerClient::createDisplay(DISPLAY_NAME, false); in TEST_F()
252 ASSERT_EQ(NO_ERROR, SurfaceComposerClient::getDisplayInfo(mVirtualDisplay, &info)); in TEST_F()
253 SurfaceComposerClient::destroyDisplay(mVirtualDisplay); in TEST_F()
256 ASSERT_EQ(NAME_NOT_FOUND, SurfaceComposerClient::getDisplayInfo(mVirtualDisplay, &info)); in TEST_F()
260 const auto display = SurfaceComposerClient::getInternalDisplayToken(); in TEST_F()
326 const auto display = SurfaceComposerClient::getInternalDisplayToken(); in TEST_F()
329 status_t error = SurfaceComposerClient::isWideColorDisplay(display, &result); in TEST_F()
333 SurfaceComposerClient::getDisplayColorModes(display, &colorModes); in TEST_F()
349 const auto display = SurfaceComposerClient::getInternalDisplayToken(); in TEST_F()
353 return SurfaceComposerClient::isWideColorDisplay(display, &result); in TEST_F()
359 const auto display = SurfaceComposerClient::getInternalDisplayToken(); in TEST_F()
361 ColorMode colorMode = SurfaceComposerClient::getActiveColorMode(display); in TEST_F()