Home
last modified time | relevance | path

Searched refs:requestedRefreshRate (Results 1 – 19 of 19) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_CreateDisplayTest.cpp32 float requestedRefreshRate, in createDisplayWithRequestedRefreshRate() argument
40 sp<IBinder> displayToken = mFlinger.createVirtualDisplay(name, false, requestedRefreshRate); in createDisplayWithRequestedRefreshRate()
49 EXPECT_EQ(display.requestedRefreshRate, Fps::fromValue(requestedRefreshRate)); in createDisplayWithRequestedRefreshRate()
57 mFlinger.createVirtualDisplayDevice(displayToken, *vid, requestedRefreshRate); in createDisplayWithRequestedRefreshRate()
63 if (requestedRefreshRate < pacesetterDisplayRefreshRate) { in createDisplayWithRequestedRefreshRate()
64 EXPECT_GE(device->getAdjustedRefreshRate(), Fps::fromValue(requestedRefreshRate)); in createDisplayWithRequestedRefreshRate()
DTestableSurfaceFlinger.h426 float requestedRefreshRate = 0.0f) {
429 return mFlinger->createVirtualDisplay(displayName, isSecure, kTestId, requestedRefreshRate);
433 const std::string& uniqueId, float requestedRefreshRate = 0.0f) {
435 requestedRefreshRate);
596 float requestedRefreshRate) { in createVirtualDisplayDevice() argument
607 creationArgs.requestedRefreshRate = Fps::fromValue(requestedRefreshRate); in createVirtualDisplayDevice()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayControl.java32 String uniqueId, float requestedRefreshRate); in nativeCreateVirtualDisplay() argument
69 String uniqueId, float requestedRefreshRate) { in createVirtualDisplay() argument
72 return nativeCreateVirtualDisplay(name, secure, uniqueId, requestedRefreshRate); in createVirtualDisplay()
DVirtualDisplayAdapter.java96 float requestedRefreshRate) { in VirtualDisplayAdapter()
98 requestedRefreshRate); in VirtualDisplayAdapter()
670 float requestedRefreshRate); in createDisplay() argument
DDisplayManagerService.java2743 float requestedRefreshRate, int requestedModeId, float requestedMinRefreshRate, in setDisplayPropertiesInternal() argument
2765 requestedRefreshRate, requestedMinRefreshRate, requestedMaxRefreshRate); in setDisplayPropertiesInternal()
4848 float requestedRefreshRate, int requestedMode, float requestedMinRefreshRate, in setDisplayProperties() argument
4851 setDisplayPropertiesInternal(displayId, hasContent, requestedRefreshRate, in setDisplayProperties()
/frameworks/base/core/java/android/hardware/display/
DVirtualDisplayConfig.java73 float requestedRefreshRate, in VirtualDisplayConfig() argument
85 mRequestedRefreshRate = requestedRefreshRate; in VirtualDisplayConfig()
437 @FloatRange(from = 0.0f) float requestedRefreshRate) { in setRequestedRefreshRate()
438 if (requestedRefreshRate < 0.0f) { in setRequestedRefreshRate()
442 mRequestedRefreshRate = requestedRefreshRate; in setRequestedRefreshRate()
DDisplayManagerInternal.java245 float requestedRefreshRate, int requestedModeId, float requestedMinRefreshRate, in setDisplayProperties() argument
/frameworks/base/services/core/java/com/android/server/display/mode/
DVoteSummary.java342 for (Float requestedRefreshRate : requestedRefreshRates) { in isValid()
343 if (requestedRefreshRate < minRenderFrameRate in isValid()
344 || requestedRefreshRate > maxRenderFrameRate) { in isValid()
348 + ", requestedRefreshRate=" + requestedRefreshRate in isValid()
DDisplayModeDirector.java1266 public void setAppRequest(int displayId, int modeId, float requestedRefreshRate, in setAppRequest() argument
1270 requestedMode = findModeLocked(displayId, modeId, requestedRefreshRate); in setAppRequest()
1275 Vote baseModeRefreshRateVote = getBaseModeVote(requestedMode, requestedRefreshRate); in setAppRequest()
1285 private Display.Mode findModeLocked(int displayId, int modeId, float requestedRefreshRate) { in findModeLocked() argument
1289 } else if (requestedRefreshRate != 0 && !mIgnorePreferredRefreshRate) { // modeId == 0 in findModeLocked()
1292 mode = findDefaultModeByRefreshRateLocked(displayId, requestedRefreshRate); in findModeLocked()
1295 + requestedRefreshRate + " on Display: " + displayId); in findModeLocked()
1321 private Vote getBaseModeVote(@Nullable Display.Mode mode, float requestedRefreshRate) { in getBaseModeVote() argument
1329 } else if (requestedRefreshRate != 0f && mIgnorePreferredRefreshRate) { in getBaseModeVote()
1330 vote = Vote.forRequestedRefreshRate(requestedRefreshRate); in getBaseModeVote()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DVoteSummaryTest.kt157 fun `summary invalid if has requestedRefreshRate less than minRenederRate`() { in summary invalid if has requestedRefreshRate less than minRenederRate()
169 fun `summary invalid if has requestedRefreshRate more than maxRenderFrameRate`() { in summary invalid if has requestedRefreshRate more than maxRenderFrameRate()
/frameworks/base/services/core/jni/
Dcom_android_server_display_DisplayControl.cpp28 jfloat requestedRefreshRate) { in nativeCreateVirtualDisplay() argument
34 requestedRefreshRate)); in nativeCreateVirtualDisplay()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.h289 Fps requestedRefreshRate; member
321 Fps requestedRefreshRate; member
DDisplayDevice.cpp70 mRequestedRefreshRate(args.requestedRefreshRate),
DSurfaceFlinger.h552 float requestedRefreshRate = 0.0f);
1583 const std::string& uniqueId, float requestedRefreshRate,
DSurfaceFlinger.cpp580 float requestedRefreshRate) { in createVirtualDisplay() argument
615 state.requestedRefreshRate = Fps::fromValue(requestedRefreshRate); in createVirtualDisplay()
3766 creationArgs.requestedRefreshRate = state.requestedRefreshRate; in setupNewDisplayDeviceInternal()
9703 float requestedRefreshRate, in createVirtualDisplay() argument
9710 mFlinger->createVirtualDisplay(displayName, isSecure, uniqueId, requestedRefreshRate); in createVirtualDisplay()
/frameworks/native/libs/gui/aidl/android/gui/
DISurfaceComposer.aidl109 @utf8InCpp String uniqueId, float requestedRefreshRate); in createVirtualDisplay() argument
/frameworks/native/libs/gui/include/gui/
DSurfaceComposerClient.h381 float requestedRefreshRate = 0);
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp1285 float requestedRefreshRate) { in createVirtualDisplay() argument
1290 requestedRefreshRate, in createVirtualDisplay()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayManagerServiceTest.java286 float requestedRefreshRate) { in getVirtualDisplayAdapter()