Searched refs:allowedConfigs (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 767 std::vector<int32_t> allowedConfigs; in nativeSetAllowedDisplayConfigs() local 769 allowedConfigs.reserve(configArraySize); in nativeSetAllowedDisplayConfigs() 773 allowedConfigs.push_back(configArrayElements[i]); in nativeSetAllowedDisplayConfigs() 777 size_t result = SurfaceComposerClient::setAllowedDisplayConfigs(token, allowedConfigs); in nativeSetAllowedDisplayConfigs() 785 std::vector<int32_t> allowedConfigs; in nativeGetAllowedDisplayConfigs() local 786 size_t result = SurfaceComposerClient::getAllowedDisplayConfigs(token, &allowedConfigs); in nativeGetAllowedDisplayConfigs() 791 jintArray allowedConfigsArray = env->NewIntArray(allowedConfigs.size()); in nativeGetAllowedDisplayConfigs() 797 for (size_t i = 0; i < allowedConfigs.size(); i++) { in nativeGetAllowedDisplayConfigs() 798 allowedConfigsArrayValues[i] = static_cast<jint>(allowedConfigs[i]); in nativeGetAllowedDisplayConfigs()
|
/frameworks/native/libs/gui/ |
D | ISurfaceComposer.cpp | 855 const std::vector<int32_t>& allowedConfigs) { in setAllowedDisplayConfigs() argument 867 result = data.writeInt32Vector(allowedConfigs); in setAllowedDisplayConfigs() 1540 std::vector<int32_t> allowedConfigs; in onTransact() local 1541 data.readInt32Vector(&allowedConfigs); in onTransact() 1542 status_t result = setAllowedDisplayConfigs(displayToken, allowedConfigs); in onTransact() 1549 std::vector<int32_t> allowedConfigs; in onTransact() local 1550 status_t result = getAllowedDisplayConfigs(displayToken, &allowedConfigs); in onTransact() 1551 reply->writeInt32Vector(allowedConfigs); in onTransact()
|
D | SurfaceComposerClient.cpp | 1435 const sp<IBinder>& displayToken, const std::vector<int32_t>& allowedConfigs) { in setAllowedDisplayConfigs() argument 1437 allowedConfigs); in setAllowedDisplayConfigs()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LocalDisplayAdapter.java | 115 int[] allowedConfigs = SurfaceControl.getAllowedDisplayConfigs(displayToken); in tryConnectDisplayLocked() local 121 configs, activeConfig, allowedConfigs, colorModes, activeColorMode, in tryConnectDisplayLocked() 126 allowedConfigs, colorModes, activeColorMode)) { in tryConnectDisplayLocked()
|
/frameworks/base/core/java/android/view/ |
D | SurfaceControl.java | 163 int[] allowedConfigs); in nativeSetAllowedDisplayConfigs() argument 1583 public static boolean setAllowedDisplayConfigs(IBinder displayToken, int[] allowedConfigs) { in setAllowedDisplayConfigs() argument 1587 if (allowedConfigs == null) { in setAllowedDisplayConfigs() 1591 return nativeSetAllowedDisplayConfigs(displayToken, allowedConfigs); in setAllowedDisplayConfigs()
|
/frameworks/native/libs/gui/include/gui/ |
D | ISurfaceComposer.h | 391 const std::vector<int32_t>& allowedConfigs) = 0;
|
D | SurfaceComposerClient.h | 120 const std::vector<int32_t>& allowedConfigs);
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.h | 472 const std::vector<int32_t>& allowedConfigs) override; 540 const std::vector<int32_t>& allowedConfigs)
|
D | SurfaceFlinger.cpp | 6177 const std::vector<int32_t>& allowedConfigs) { in setAllowedDisplayConfigsInternal() argument 6182 const auto allowedDisplayConfigs = DisplayConfigs(allowedConfigs.begin(), in setAllowedDisplayConfigsInternal() 6183 allowedConfigs.end()); in setAllowedDisplayConfigsInternal() 6209 ALOGV("switching to config %d", allowedConfigs[0]); in setAllowedDisplayConfigsInternal() 6211 {RefreshRateType::DEFAULT, allowedConfigs[0], Scheduler::ConfigEvent::Changed}); in setAllowedDisplayConfigsInternal() 6216 const std::vector<int32_t>& allowedConfigs) { in setAllowedDisplayConfigs() argument 6219 if (!displayToken || allowedConfigs.empty()) { in setAllowedDisplayConfigs() 6237 setAllowedDisplayConfigsInternal(display, allowedConfigs); in setAllowedDisplayConfigs()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Transaction_test.cpp | 5959 std::vector<int32_t> allowedConfigs; in TEST_F() local 5963 allowedConfigs.push_back(i); in TEST_F() 5966 status_t res = SurfaceComposerClient::setAllowedDisplayConfigs(mDisplayToken, allowedConfigs); in TEST_F() 5972 EXPECT_EQ(allowedConfigs, outConfigs); in TEST_F() 5982 std::vector<int32_t> allowedConfigs; in TEST_F() local 5985 allowedConfigs.push_back(i); in TEST_F() 5989 status_t res = SurfaceComposerClient::setAllowedDisplayConfigs(mDisplayToken, allowedConfigs); in TEST_F() 5999 EXPECT_TRUE(std::find(allowedConfigs.begin(), allowedConfigs.end(), newActiveConfig) != in TEST_F() 6000 allowedConfigs.end()); in TEST_F()
|