Home
last modified time | relevance | path

Searched refs:allowGroupSwitching (Results 1 – 16 of 16) sorted by relevance

/aosp12/frameworks/native/services/surfaceflinger/tests/
H A DDisplayConfigs_test.cpp74 void testSetAllowGroupSwitching(bool allowGroupSwitching);
95 bool allowGroupSwitching; in TEST_F() local
101 &allowGroupSwitching, in TEST_F()
108 ASSERT_EQ(allowGroupSwitching, false); in TEST_F()
116 void RefreshRateRangeTest::testSetAllowGroupSwitching(bool allowGroupSwitching) { in testSetAllowGroupSwitching() argument
118 SurfaceComposerClient::setDesiredDisplayModeSpecs(mDisplayToken, 0, allowGroupSwitching, in testSetAllowGroupSwitching()
136 ASSERT_EQ(newAllowGroupSwitching, allowGroupSwitching); in testSetAllowGroupSwitching()
H A DCredentials_test.cpp217 bool allowGroupSwitching; in TEST_F() local
224 &allowGroupSwitching, &primaryFpsMin, in TEST_F()
230 allowGroupSwitching, primaryFpsMin, in TEST_F()
/aosp12/frameworks/native/services/surfaceflinger/Scheduler/
H A DRefreshRateConfigs.h131 bool allowGroupSwitching = kAllowGroupSwitchingDefault; member
149 Policy(DisplayModeId defaultMode, bool allowGroupSwitching, const FpsRange& range) in Policy()
150 : Policy(defaultMode, allowGroupSwitching, range, range) {} in Policy()
156 Policy(DisplayModeId defaultMode, bool allowGroupSwitching, const FpsRange& primaryRange, in Policy()
159 allowGroupSwitching(allowGroupSwitching), in Policy()
166 allowGroupSwitching == other.allowGroupSwitching;
H A DRefreshRateConfigs.cpp95 defaultMode.value(), allowGroupSwitching, in toString()
866 (policy->allowGroupSwitching || in constructAvailableRefreshRates()
/aosp12/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayModeDirector.java446 boolean allowGroupSwitching = in getDesiredDisplayModeSpecs()
450 allowGroupSwitching, in getDesiredDisplayModeSpecs()
843 public boolean allowGroupSwitching; field in DisplayModeDirector.DesiredDisplayModeSpecs
863 boolean allowGroupSwitching, in DesiredDisplayModeSpecs() argument
867 this.allowGroupSwitching = allowGroupSwitching; in DesiredDisplayModeSpecs()
880 baseModeId, allowGroupSwitching, primaryRefreshRateRange.min, in toString()
902 if (allowGroupSwitching != desiredDisplayModeSpecs.allowGroupSwitching) { in equals()
917 return Objects.hash(baseModeId, allowGroupSwitching, primaryRefreshRateRange, in hashCode()
926 allowGroupSwitching = other.allowGroupSwitching; in copyFrom()
H A DLocalDisplayAdapter.java867 mDisplayModeSpecs.allowGroupSwitching, in setDesiredDisplayModeSpecsLocked()
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DRefreshRateConfigsTest.cpp1383 policy.allowGroupSwitching = true; in TEST_F()
1404 policy.allowGroupSwitching = true; in TEST_F()
1426 policy.allowGroupSwitching = true; in TEST_F()
1450 policy.allowGroupSwitching = true; in TEST_F()
1477 policy.allowGroupSwitching = true; in TEST_F()
1509 policy.allowGroupSwitching = true; in TEST_F()
1545 policy.allowGroupSwitching = true; in TEST_F()
1580 policy.allowGroupSwitching = true; in TEST_F()
1609 policy.allowGroupSwitching = true; in TEST_F()
1647 policy.allowGroupSwitching = true; in TEST_F()
/aosp12/frameworks/native/libs/gui/
H A DISurfaceComposer.cpp870 ui::DisplayModeId defaultMode, bool allowGroupSwitching, in setDesiredDisplayModeSpecs() argument
890 result = data.writeBool(allowGroupSwitching); in setDesiredDisplayModeSpecs()
1845 bool allowGroupSwitching; in onTransact() local
1846 result = data.readBool(&allowGroupSwitching); in onTransact()
1879 result = setDesiredDisplayModeSpecs(displayToken, defaultMode, allowGroupSwitching, in onTransact()
1895 bool allowGroupSwitching; in onTransact() local
1902 getDesiredDisplayModeSpecs(displayToken, &defaultMode, &allowGroupSwitching, in onTransact()
1918 result = reply->writeBool(allowGroupSwitching); in onTransact()
H A DSurfaceComposerClient.cpp2020 const sp<IBinder>& displayToken, ui::DisplayModeId defaultMode, bool allowGroupSwitching, in setDesiredDisplayModeSpecs() argument
2024 ->setDesiredDisplayModeSpecs(displayToken, defaultMode, allowGroupSwitching, in setDesiredDisplayModeSpecs()
/aosp12/frameworks/base/core/jni/
H A Dandroid_view_SurfaceControl.cpp224 jfieldID allowGroupSwitching; member
1230 jboolean allowGroupSwitching = in nativeSetDesiredDisplayModeSpecs() local
1232 gDesiredDisplayModeSpecsClassInfo.allowGroupSwitching); in nativeSetDesiredDisplayModeSpecs()
1247 allowGroupSwitching, in nativeSetDesiredDisplayModeSpecs()
1260 bool allowGroupSwitching; in nativeGetDesiredDisplayModeSpecs() local
1265 if (SurfaceComposerClient::getDesiredDisplayModeSpecs(token, &defaultMode, &allowGroupSwitching, in nativeGetDesiredDisplayModeSpecs()
1274 gDesiredDisplayModeSpecsClassInfo.ctor, defaultMode, allowGroupSwitching, in nativeGetDesiredDisplayModeSpecs()
2186 gDesiredDisplayModeSpecsClassInfo.allowGroupSwitching = in register_android_view_SurfaceControl()
/aosp12/frameworks/native/libs/gui/include/gui/
H A DISurfaceComposer.h418 bool allowGroupSwitching, float primaryRefreshRateMin, float primaryRefreshRateMax,
H A DSurfaceComposerClient.h135 bool allowGroupSwitching, float primaryRefreshRateMin, float primaryRefreshRateMax,
/aosp12/frameworks/base/core/java/android/view/
H A DSurfaceControl.java2054 public boolean allowGroupSwitching; field in SurfaceControl.DesiredDisplayModeSpecs
2062 public DesiredDisplayModeSpecs(int defaultMode, boolean allowGroupSwitching, in DesiredDisplayModeSpecs() argument
2066 this.allowGroupSwitching = allowGroupSwitching; in DesiredDisplayModeSpecs()
/aosp12/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp1152 const auto allowGroupSwitching = in setActiveMode() local
1153 display->refreshRateConfigs().getCurrentPolicy().allowGroupSwitching; in setActiveMode()
1155 allowGroupSwitching, in setActiveMode()
6613 const sp<IBinder>& displayToken, ui::DisplayModeId defaultMode, bool allowGroupSwitching, in setDesiredDisplayModeSpecs() argument
6634 allowGroupSwitching, in setDesiredDisplayModeSpecs()
6673 *outAllowGroupSwitching = policy.allowGroupSwitching; in getDesiredDisplayModeSpecs()
6799 overridePolicy.allowGroupSwitching = true; in acquireFrameRateFlexibilityToken()
H A DSurfaceFlinger.h688 ui::DisplayModeId displayModeId, bool allowGroupSwitching,
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/display/
H A DDisplayModeDirectorTest.java628 assertThat(desiredSpecs.allowGroupSwitching).isFalse();
639 assertThat(desiredSpecs.allowGroupSwitching).isTrue();