/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockDisplayMode.h | 24 DisplayModeId modeId, Fps displayRefreshRate, int32_t group = 0, 27 return DisplayMode::Builder(hal::HWConfigId(ftl::to_underlying(modeId))) 28 .setId(modeId) 36 DisplayModeId modeId, Fps refreshRate, int32_t group = 0, 39 return createDisplayModeBuilder(modeId, refreshRate, group, resolution, displayId).build(); 42 inline DisplayModePtr createDisplayMode(PhysicalDisplayId displayId, DisplayModeId modeId, in createDisplayMode() argument 44 return createDisplayMode(modeId, refreshRate, {}, {}, displayId); in createDisplayMode() 48 DisplayModeId modeId, Fps displayRefreshRate, std::optional<hal::VrrConfig> vrrConfig, 51 return createDisplayModeBuilder(modeId, displayRefreshRate, group, resolution, displayId)
|
/frameworks/native/services/surfaceflinger/Display/ |
D | DisplayModeController.cpp | 211 void DisplayModeController::finalizeModeChange(PhysicalDisplayId displayId, DisplayModeId modeId, in finalizeModeChange() argument 214 setActiveModeLocked(displayId, modeId, vsyncRate, renderFps); in finalizeModeChange() 220 void DisplayModeController::setActiveMode(PhysicalDisplayId displayId, DisplayModeId modeId, in setActiveMode() argument 223 setActiveModeLocked(displayId, modeId, vsyncRate, renderFps); in setActiveMode() 226 void DisplayModeController::setActiveModeLocked(PhysicalDisplayId displayId, DisplayModeId modeId, in setActiveModeLocked() argument 233 displayPtr->selectorPtr->setActiveMode(modeId, renderFps); in setActiveModeLocked()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/ |
D | VoteSummaryTest.kt | 91 assertThat(result.map { it.modeId }).containsExactlyElementsIn(testCase.expectedModeIds) in filters modes for summary supportedRefreshRates() 153 assertThat(result.map { it.modeId }).containsExactlyElementsIn(testCase.expectedModeIds) in filters modes for summary supportedModes() 194 private fun createMode(modeId: Int, refreshRate: Float, vsyncRate: Float): Display.Mode { in createMode() 195 return Display.Mode(modeId, 600, 800, refreshRate, vsyncRate, false, in createMode()
|
D | AppRequestObserverTest.kt | 74 testCase.modeId, in test app request votes() 94 val modeId: Int, constant in com.android.server.display.mode.AppRequestObserverTest.AppRequestTestCase
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDeviceInfo.java | 287 public int modeId; field in DisplayDeviceInfo 507 if (modeId != other.modeId) { in diff() 555 modeId = other.modeId; in copyFrom() 598 sb.append(", modeId ").append(modeId); in toString()
|
D | LocalDisplayAdapter.java | 623 int modeId) { in getModeById() argument 625 if (mode.id == modeId) { in getModeById() 629 Slog.e(TAG, "Can't find display mode with id " + modeId); in getModeById() 674 mInfo.modeId = mActiveModeId; in getDisplayDeviceInfoLocked() 1312 private Display.Mode findMode(int modeId) { in findMode() argument 1315 if (supportedMode.getModeId() == modeId) { in findMode() 1464 void onModeChanged(long timestampNanos, long physicalDisplayId, int modeId, 1492 public void onModeChanged(long timestampNanos, long physicalDisplayId, int modeId, 1494 mListener.onModeChanged(timestampNanos, physicalDisplayId, modeId, renderPeriod); 1533 public void onModeChanged(long timestampNanos, long physicalDisplayId, int modeId, [all …]
|
D | LogicalDisplay.java | 507 mBaseDisplayInfo.modeId = deviceInfo.modeId; in updateLocked()
|
/frameworks/base/core/java/android/view/ |
D | DisplayEventReceiver.java | 285 public void onModeChanged(long timestampNanos, long physicalDisplayId, int modeId, in onModeChanged() argument 375 private void dispatchModeChanged(long timestampNanos, long physicalDisplayId, int modeId, in dispatchModeChanged() argument 377 onModeChanged(timestampNanos, physicalDisplayId, modeId, renderPeriod); in dispatchModeChanged()
|
D | DisplayInfo.java | 187 public int modeId; field in DisplayInfo 433 && modeId == other.modeId in equals() 493 modeId = other.modeId; in copyFrom() 548 modeId = source.readInt(); in readFromParcel() 620 dest.writeInt(modeId); in writeToParcel() 686 return findMode(modeId); in getMode() 863 sb.append(modeId); in toString()
|
D | Display.java | 2244 public Mode(int modeId, int width, int height, float refreshRate) { in Mode() argument 2245 this(modeId, width, height, refreshRate, refreshRate, new float[0], new int[0]); in Mode() 2251 public Mode(int modeId, int width, int height, float refreshRate, in Mode() argument 2254 this(modeId, width, height, refreshRate, refreshRate, alternativeRefreshRates, in Mode() 2261 public Mode(int modeId, int width, int height, float refreshRate, float vsyncRate, in Mode() argument 2263 this(modeId, width, height, refreshRate, vsyncRate, false, alternativeRefreshRates, in Mode() 2270 public Mode(int modeId, int width, int height, float refreshRate, float vsyncRate, in Mode() argument 2273 mModeId = modeId; in Mode()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SurfaceFlinger_DisplayModeSwitching.cpp | 31 #define EXPECT_SET_ACTIVE_CONFIG(displayId, modeId) \ argument 35 ftl::to_underlying(modeId)), \ 317 MATCHER_P2(ModeSwitchingTo, flinger, modeId, "") { 326 if (dmc.getDesiredMode(displayId)->mode.modePtr->getId() != modeId) { 327 *result_listener << "Unexpected desired mode " << ftl::to_underlying(modeId); 341 MATCHER_P2(ModeSettledTo, dmc, modeId, "") { 352 if (dmc->getActiveMode(displayId).modePtr->getId() != modeId) { 353 *result_listener << "Settled to unexpected active mode " << ftl::to_underlying(modeId);
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | DisplayDeviceInfoTest.java | 126 newDdi.modeId = 9; in testDiff_modeId() 136 ddi.modeId = 2; in createInfo()
|
D | LocalDisplayAdapterTest.java | 516 Display.Mode activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_DisplayModesAreUpdated() 540 activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_DisplayModesAreUpdated() 565 Display.Mode activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_ActiveModeIsUpdated() 582 activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_ActiveModeIsUpdated() 604 Display.Mode activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_RenderFrameRateIsUpdated() 623 activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_RenderFrameRateIsUpdated() 1299 private Display.Mode getModeById(DisplayDeviceInfo displayDeviceInfo, int modeId) { in getModeById() argument 1301 .filter(mode -> mode.getModeId() == modeId) in getModeById()
|
/frameworks/native/libs/gui/include/gui/ |
D | DisplayEventDispatcher.h | 59 virtual void dispatchModeChanged(nsecs_t timestamp, PhysicalDisplayId displayId, int32_t modeId,
|
D | DisplayEventReceiver.h | 95 int32_t modeId; member
|
D | Choreographer.h | 123 void dispatchModeChanged(nsecs_t timestamp, PhysicalDisplayId displayId, int32_t modeId,
|
/frameworks/base/core/tests/mockingcoretests/src/android/view/ |
D | DisplayTest.java | 137 mDisplayInfo.modeId = 0; in testGetReportedHdrTypes_returns_mode_specific_hdr_types() 140 mDisplayInfo.modeId = 1; in testGetReportedHdrTypes_returns_mode_specific_hdr_types() 162 mDisplayInfo.modeId = 0; in testGetHdrCapabilities_getSupportedHdrTypes_returns_mode_specific_hdr_types() 165 mDisplayInfo.modeId = 1; in testGetHdrCapabilities_getSupportedHdrTypes_returns_mode_specific_hdr_types()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | DisplayInfoTest.java | 96 info.modeId = mode.getModeId(); in setSupportedMode()
|
/frameworks/native/libs/gui/tests/ |
D | DisplayEventStructLayout_test.cpp | 64 CHECK_OFFSET(DisplayEventReceiver::Event::ModeChange, modeId, 0); in TEST()
|
/frameworks/base/core/jni/ |
D | android_view_DisplayEventReceiver.cpp | 95 void dispatchModeChanged(nsecs_t timestamp, PhysicalDisplayId displayId, int32_t modeId, 255 int32_t modeId, nsecs_t renderPeriod) { in dispatchModeChanged() argument 262 timestamp, displayId.value, modeId, renderPeriod); in dispatchModeChanged()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | Keyboard.java | 545 public Keyboard(Context context, @XmlRes int xmlLayoutResId, int modeId, int width, in Keyboard() argument 556 mKeyboardMode = modeId; in Keyboard() 567 public Keyboard(Context context, @XmlRes int xmlLayoutResId, int modeId) { in Keyboard() argument 579 mKeyboardMode = modeId; in Keyboard()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DeferredDisplayUpdater.java | 398 || first.modeId != second.modeId in calculateDisplayInfoDiff()
|
/frameworks/native/libs/gui/ |
D | DisplayEventDispatcher.cpp | 197 ev.modeChange.modeId, ev.modeChange.vsyncPeriod); in processPendingEvents()
|
/frameworks/base/services/core/java/com/android/server/display/mode/ |
D | DisplayModeDirector.java | 1266 public void setAppRequest(int displayId, int modeId, float requestedRefreshRate, in setAppRequest() argument 1270 requestedMode = findModeLocked(displayId, modeId, requestedRefreshRate); in setAppRequest() 1285 private Display.Mode findModeLocked(int displayId, int modeId, float requestedRefreshRate) { in findModeLocked() argument 1287 if (modeId != 0) { in findModeLocked() 1288 mode = findAppModeByIdLocked(displayId, modeId); in findModeLocked() 1348 private Display.Mode findAppModeByIdLocked(int displayId, int modeId) { in findAppModeByIdLocked() argument 1354 if (mode.getModeId() == modeId) { in findAppModeByIdLocked()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateSelector.cpp | 1086 .and_then([this](DisplayModeId modeId) in onKernelTimerChanged() 1087 REQUIRES(mLock) { return mDisplayModes.get(modeId); }) in onKernelTimerChanged() 1246 void RefreshRateSelector::setActiveMode(DisplayModeId modeId, Fps renderFrameRate) { in setActiveMode() argument 1253 const auto activeModeOpt = mDisplayModes.get(modeId); in setActiveMode()
|