Home
last modified time | relevance | path

Searched refs:newMode (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/display/src/android/display/cts/
DDisplayTest.java710 final Optional<Display.Mode> newMode = Arrays.stream(mDefaultDisplay.getSupportedModes())
713 assumeTrue("Modes with different sizes are not available", newMode.isPresent());
721 testSwitchToModeId(launchActivity(mDisplayTestActivity), newMode.get());
752 DisplayModeState newMode = new DisplayModeState(mDefaultDisplay);
753 if (mLastMode.equals(newMode)) {
759 Log.i(TAG, "Switched mode from=" + mLastMode + " to=" + newMode);
762 if (targetMode.getPhysicalHeight() == newMode.mHeight
763 && targetMode.getPhysicalWidth() == newMode.mWidth
764 && Math.abs(targetMode.getRefreshRate() - newMode.mRefreshRate)
772 mLastMode = newMode;
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsMmTelManagerTest.java448 int newMode = (oldMode + 1) % 3; in testVoWiFiModeSetting() local
450 (m) -> m.setVoWiFiModeSetting(newMode)); in testVoWiFiModeSetting()
455 assertEquals(newMode, newModeResult); in testVoWiFiModeSetting()
484 int newMode = (oldMode + 1) % 3; in testVoWiFiRoamingModeSetting() local
486 (m) -> m.setVoWiFiRoamingModeSetting(newMode)); in testVoWiFiRoamingModeSetting()
492 + "setVoWiFiRoamingModeSetting", newMode, newModeResult); in testVoWiFiRoamingModeSetting()
/cts/tests/tests/car/src/android/car/cts/
DCarPowerManagerTest.java359 int newMode = mode; in updateDisplayPowerModeSetting() local
361 newMode = DISPLAY_POWER_MODE_ALWAYS_ON; in updateDisplayPowerModeSetting()
366 value.append(displayPort).append(":").append(newMode); in updateDisplayPowerModeSetting()
/cts/tests/tests/widget/src/android/widget/cts/
DDialerFilterTest.java443 protected void onModeChange(final int oldMode, final int newMode) { in onModeChange() argument
444 super.onModeChange(oldMode, newMode); in onModeChange()
446 mNewMode = newMode; in onModeChange()