/aosp12/frameworks/native/services/surfaceflinger/tests/ |
H A D | DisplayConfigs_test.cpp | 74 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 D | Credentials_test.cpp | 217 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 D | RefreshRateConfigs.h | 131 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 D | RefreshRateConfigs.cpp | 95 defaultMode.value(), allowGroupSwitching, in toString() 866 (policy->allowGroupSwitching || in constructAvailableRefreshRates()
|
/aosp12/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayModeDirector.java | 446 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 D | LocalDisplayAdapter.java | 867 mDisplayModeSpecs.allowGroupSwitching, in setDesiredDisplayModeSpecsLocked()
|
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | RefreshRateConfigsTest.cpp | 1383 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 D | ISurfaceComposer.cpp | 870 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 D | SurfaceComposerClient.cpp | 2020 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 D | android_view_SurfaceControl.cpp | 224 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 D | ISurfaceComposer.h | 418 bool allowGroupSwitching, float primaryRefreshRateMin, float primaryRefreshRateMax,
|
H A D | SurfaceComposerClient.h | 135 bool allowGroupSwitching, float primaryRefreshRateMin, float primaryRefreshRateMax,
|
/aosp12/frameworks/base/core/java/android/view/ |
H A D | SurfaceControl.java | 2054 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 D | SurfaceFlinger.cpp | 1152 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 D | SurfaceFlinger.h | 688 ui::DisplayModeId displayModeId, bool allowGroupSwitching,
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
H A D | DisplayModeDirectorTest.java | 628 assertThat(desiredSpecs.allowGroupSwitching).isFalse(); 639 assertThat(desiredSpecs.allowGroupSwitching).isTrue();
|