Home
last modified time | relevance | path

Searched refs:RefreshRateRange (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/display/mode/
DSkinThermalStatusObserver.java51 private final SparseArray<SparseArray<SurfaceControl.RefreshRateRange>>
68 public static SurfaceControl.RefreshRateRange findBestMatchingRefreshRateRange( in findBestMatchingRefreshRateRange()
70 SparseArray<SurfaceControl.RefreshRateRange> throttlingMap) { in findBestMatchingRefreshRateRange()
71 SurfaceControl.RefreshRateRange foundRange = null; in findBestMatchingRefreshRateRange()
150 SparseArray<SparseArray<SurfaceControl.RefreshRateRange>> localMap = new SparseArray<>( in populateInitialDisplayInfo()
170 SparseArray<SurfaceControl.RefreshRateRange> throttlingMap = in updateThermalRefreshRateThrottling()
186 SparseArray<SparseArray<SurfaceControl.RefreshRateRange>> localMap; in updateVotes()
203 SparseArray<SurfaceControl.RefreshRateRange> localMap; in updateVoteForDisplay()
222 SparseArray<SurfaceControl.RefreshRateRange> throttlingMap) { in reportThrottlingIfNeeded()
232 SurfaceControl.RefreshRateRange foundRange = findBestMatchingRefreshRateRange(currentStatus, in reportThrottlingIfNeeded()
[all …]
DDisplayModeDirector.java69 import android.view.SurfaceControl.RefreshRateRange;
387 final RefreshRateRange range = new RefreshRateRange(fps, fps); in getDesiredDisplayModeSpecs()
427 new RefreshRateRange( in getDesiredDisplayModeSpecs()
430 new RefreshRateRange( in getDesiredDisplayModeSpecs()
434 new RefreshRateRange( in getDesiredDisplayModeSpecs()
437 new RefreshRateRange( in getDesiredDisplayModeSpecs()
1302 RefreshRateRange refreshRateRange = null; in getFrameRateVote()
1306 refreshRateRange = new RefreshRateRange(minRefreshRate, max); in getFrameRateVote()
1725 private SparseArray<RefreshRateRange> mLowZoneRefreshRateForThermals;
1729 private SparseArray<RefreshRateRange> mHighZoneRefreshRateForThermals;
[all …]
DProximitySensorObserver.java86 final SurfaceControl.RefreshRateRange rate = in recalculateVotesLocked()
DVoteSummary.java31 private static final float FLOAT_TOLERANCE = SurfaceControl.RefreshRateRange.FLOAT_TOLERANCE;
/frameworks/native/libs/gui/aidl/android/gui/
DDisplayModeSpecs.aidl28 parcelable RefreshRateRange {
36 RefreshRateRange physical;
41 RefreshRateRange render;
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DSettingsObserverTest.kt24 import android.view.SurfaceControl.RefreshRateRange
49 private val RANGE_NO_LIMIT = RefreshRateRange(0f, Float.POSITIVE_INFINITY)
50 private val RANGE_0_60 = RefreshRateRange(0f, 60f)
51 private val RANGE_0_90 = RefreshRateRange(0f, 90f)
52 private val RANGE_0_120 = RefreshRateRange(0f, 120f)
53 private val RANGE_60_90 = RefreshRateRange(60f, 90f)
54 private val RANGE_60_120 = RefreshRateRange(60f, 120f)
55 private val RANGE_60_INF = RefreshRateRange(60f, Float.POSITIVE_INFINITY)
56 private val RANGE_90_90 = RefreshRateRange(90f, 90f)
57 private val RANGE_90_120 = RefreshRateRange(90f, 120f)
[all …]
DSkinThermalStatusObserverTest.java156 SparseArray<SurfaceControl.RefreshRateRange> displayConfig = new SparseArray<>(); in testNotifiesWithConfigVotes()
158 new SurfaceControl.RefreshRateRange(90.0f, 120.0f)); in testNotifiesWithConfigVotes()
159 SparseArray<SparseArray<SurfaceControl.RefreshRateRange>> config = new SparseArray<>(); in testNotifiesWithConfigVotes()
230 private final SparseArray<SparseArray<SurfaceControl.RefreshRateRange>> mOverriddenConfig;
242 SparseArray<SparseArray<SurfaceControl.RefreshRateRange>> overriddenConfig) { in RegisteringFakesInjector()
266 SparseArray<SurfaceControl.RefreshRateRange> config = mOverriddenConfig.get(displayId); in getDisplayInfo()
DProximitySensorObserverTest.java48 private static final SurfaceControl.RefreshRateRange REFRESH_RATE_RANGE =
49 new SurfaceControl.RefreshRateRange(60, 90);
DDisplayModeDirectorTest.java79 import android.view.SurfaceControl.RefreshRateRange;
1591 new SparseArray<RefreshRateRange>() {{
1592 put(Temperature.THROTTLING_CRITICAL, new RefreshRateRange(60, 60));
1691 new SparseArray<RefreshRateRange>() {{
1692 put(Temperature.THROTTLING_CRITICAL, new RefreshRateRange(60, 60));
2633 eq(Sensor.STRING_TYPE_PROXIMITY))).thenReturn(new RefreshRateRange(60, 60)); in testProximitySensorVoting()
3404 new RefreshRateRange(refreshRate, refreshRate); in testUpdateLayoutLimitedRefreshRate_validDisplayInfo()
3430 mInjector.mDisplayInfo.layoutLimitedRefreshRate = new RefreshRateRange(10, 10); in testUpdateLayoutLimitedRefreshRate_invalidDisplayInfo()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDeferredDisplayUpdaterDiffTest.java44 import android.view.SurfaceControl.RefreshRateRange;
217 } else if (type.equals(RefreshRateRange.class)) { in setDifferentFieldValues()
218 field.set(first, new RefreshRateRange(0, 100)); in setDifferentFieldValues()
219 field.set(second, new RefreshRateRange(20, 80)); in setDifferentFieldValues()
225 RefreshRateRange.class)) { in setDifferentFieldValues()
226 final SparseArray<RefreshRateRange> array1 = new SparseArray<>(); in setDifferentFieldValues()
227 array1.set(0, new RefreshRateRange(0, 100)); in setDifferentFieldValues()
228 final SparseArray<RefreshRateRange> array2 = new SparseArray<>(); in setDifferentFieldValues()
229 array2.set(0, new RefreshRateRange(20, 80)); in setDifferentFieldValues()
DRefreshRatePolicyTest.java20 import static android.view.SurfaceControl.RefreshRateRange.FLOAT_TOLERANCE;
/frameworks/base/services/core/java/com/android/server/wm/
DRefreshRatePolicy.java30 import android.view.SurfaceControl.RefreshRateRange;
41 private final HashMap<String, RefreshRateRange> mPackages = new HashMap<>();
50 new RefreshRateRange(minSupportedRefreshRate, maxSupportedRefreshRate)); in add()
53 public RefreshRateRange get(String s) { in get()
251 return mRefreshRate <= refreshRate + RefreshRateRange.FLOAT_TOLERANCE in refreshRateEquals()
252 && mRefreshRate >= refreshRate - RefreshRateRange.FLOAT_TOLERANCE; in refreshRateEquals()
323 RefreshRateRange range = mNonHighRefreshRatePackages.get(packageName); in getPreferredMinRefreshRate()
344 RefreshRateRange range = mNonHighRefreshRatePackages.get(packageName); in getPreferredMaxRefreshRate()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerInternal.java32 import android.view.SurfaceControl.RefreshRateRange;
354 public abstract RefreshRateRange getRefreshRateForDisplayAndSensor( in getRefreshRateForDisplayAndSensor()
686 public RefreshRateRange range;
690 range = new RefreshRateRange(min, max); in RefreshRateLimitation()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLogicalDisplayTest.java471 SurfaceControl.RefreshRateRange layoutLimitedRefreshRate = in testUpdateLayoutLimitedRefreshRate()
472 new SurfaceControl.RefreshRateRange(0, 120); in testUpdateLayoutLimitedRefreshRate()
487 SurfaceControl.RefreshRateRange layoutLimitedRefreshRate = in testUpdateLayoutLimitedRefreshRate_setsDirtyFlag()
488 new SurfaceControl.RefreshRateRange(0, 120); in testUpdateLayoutLimitedRefreshRate_setsDirtyFlag()
500 SparseArray<SurfaceControl.RefreshRateRange> refreshRanges = new SparseArray<>(); in testUpdateRefreshRateThermalThrottling()
501 refreshRanges.put(0, new SurfaceControl.RefreshRateRange(0, 120)); in testUpdateRefreshRateThermalThrottling()
516 SparseArray<SurfaceControl.RefreshRateRange> refreshRanges = new SparseArray<>(); in testUpdateRefreshRateThermalThrottling_setsDirtyFlag()
517 refreshRanges.put(0, new SurfaceControl.RefreshRateRange(0, 120)); in testUpdateRefreshRateThermalThrottling_setsDirtyFlag()
DLocalDisplayAdapterTest.java53 import android.view.SurfaceControl.RefreshRateRange;
95 private static final RefreshRateRange REFRESH_RATE_RANGE =
96 new RefreshRateRange(REFRESH_RATE, REFRESH_RATE);
DDisplayManagerServiceTest.java2433 SurfaceControl.RefreshRateRange result = localService.getRefreshRateForDisplayAndSensor(
2462 SurfaceControl.RefreshRateRange result = localService.getRefreshRateForDisplayAndSensor(
/frameworks/base/core/java/android/view/
DSurfaceControl.java1939 public static final class RefreshRateRange implements Parcelable { class in SurfaceControl
1955 public RefreshRateRange() {} in RefreshRateRange() method in SurfaceControl.RefreshRateRange
1957 public RefreshRateRange(float min, float max) { in RefreshRateRange() method in SurfaceControl.RefreshRateRange
1983 if (!(other instanceof RefreshRateRange)) { in equals()
1987 RefreshRateRange refreshRateRange = (RefreshRateRange) other; in equals()
2004 public void copyFrom(RefreshRateRange other) { in copyFrom()
2025 public static final @NonNull Creator<RefreshRateRange> CREATOR =
2026 new Creator<RefreshRateRange>() {
2028 public RefreshRateRange createFromParcel(Parcel in) {
2029 return new RefreshRateRange(in.readFloat(), in.readFloat());
[all …]
DDisplayInfo.java361 public SurfaceControl.RefreshRateRange layoutLimitedRefreshRate;
373 public SparseArray<SurfaceControl.RefreshRateRange> thermalRefreshRateThrottling =
593 layoutLimitedRefreshRate = source.readTypedObject(SurfaceControl.RefreshRateRange.CREATOR); in readFromParcel()
596 SurfaceControl.RefreshRateRange.class); in readFromParcel()
/frameworks/base/services/core/xsd/display-device-config/schema/
Dcurrent.txt247 …method @Nullable public final com.android.server.display.config.RefreshRateRange getRefreshRate_al…
255 …public final void setRefreshRate_all(@Nullable com.android.server.display.config.RefreshRateRange);
378 public class RefreshRateRange {
379 ctor public RefreshRateRange();
395 …method @NonNull public final com.android.server.display.config.RefreshRateRange getRefreshRateRang…
397 …public final void setRefreshRateRange(@NonNull com.android.server.display.config.RefreshRateRange);
404 method public final com.android.server.display.config.RefreshRateRange getRefreshRateRange();
406 … method public final void setRefreshRateRange(com.android.server.display.config.RefreshRateRange);
431 … method @Nullable public final com.android.server.display.config.RefreshRateRange getRefreshRate();
436 …hod public final void setRefreshRate(@Nullable com.android.server.display.config.RefreshRateRange);
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDeviceConfig.java74 import com.android.server.display.config.RefreshRateRange;
788 private final Map<String, SurfaceControl.RefreshRateRange> mRefreshRateZoneProfiles =
839 private final Map<String, SparseArray<SurfaceControl.RefreshRateRange>>
1367 public SparseArray<SurfaceControl.RefreshRateRange> getThermalRefreshRateThrottlingData( in getThermalRefreshRateThrottlingData()
1478 public SurfaceControl.RefreshRateRange getRefreshRange(@Nullable String id) { in getRefreshRange()
1487 Map<String, SurfaceControl.RefreshRateRange> getRefreshRangeProfiles() { in getRefreshRangeProfiles()
1516 public SparseArray<SurfaceControl.RefreshRateRange> getLowBlockingZoneThermalMap() { in getLowBlockingZoneThermalMap()
1545 public SparseArray<SurfaceControl.RefreshRateRange> getHighBlockingZoneThermalMap() { in getHighBlockingZoneThermalMap()
2044 SparseArray<SurfaceControl.RefreshRateRange> refreshRates = new SparseArray<>(); in loadThermalRefreshRateThrottlingMap()
2060 refreshRates.put(thermalStatusInt, new SurfaceControl.RefreshRateRange( in loadThermalRefreshRateThrottlingMap()
[all …]
DLogicalDisplay.java193 private SurfaceControl.RefreshRateRange mLayoutLimitedRefreshRate;
204 private SparseArray<SurfaceControl.RefreshRateRange> mThermalRefreshRateThrottling =
383 @Nullable SurfaceControl.RefreshRateRange layoutLimitedRefreshRate) { in updateLayoutLimitedRefreshRateLocked()
395 @Nullable SparseArray<SurfaceControl.RefreshRateRange> refreshRanges) { in updateThermalRefreshRateThrottling()
DDisplayManagerService.java149 import android.view.SurfaceControl.RefreshRateRange;
4917 public RefreshRateRange getRefreshRateForDisplayAndSensor(int displayId, String sensorName, in getRefreshRateForDisplayAndSensor()
4946 return new RefreshRateRange(sensorData.minRefreshRate, in getRefreshRateForDisplayAndSensor()
/frameworks/base/services/core/java/com/android/server/display/config/
DSensorData.java211 RefreshRateRange rr = sensorDetails.getRefreshRate(); in loadSensorData()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp1406 gui::DisplayModeSpecs::RefreshRateRanges::RefreshRateRange range; in nativeSetDesiredDisplayModeSpecs()
1458 [env](const gui::DisplayModeSpecs::RefreshRateRanges::RefreshRateRange& range) { in nativeGetDesiredDisplayModeSpecs()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp8780 FpsRange translate(const gui::DisplayModeSpecs::RefreshRateRanges::RefreshRateRange& aidlRange) { in translate()
8788 gui::DisplayModeSpecs::RefreshRateRanges::RefreshRateRange translate(const FpsRange& range) { in translate()
8789 gui::DisplayModeSpecs::RefreshRateRanges::RefreshRateRange aidlRange; in translate()

12