Home
last modified time | relevance | path

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

12

/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverTest.java153 (getContext().getResources().getConfiguration().uiMode in testAutomotiveProjectionExceptions()
164 (getContext().getResources().getConfiguration().uiMode in testAutomotiveProjectionExceptions()
180 (getContext().getResources().getConfiguration().uiMode in testAutomotiveProjectionExceptions()
210 (getContext().getResources().getConfiguration().uiMode in testGlobalSettings()
233 (getContext().getResources().getConfiguration().uiMode in testDeviceConfig()
257 (getContext().getResources().getConfiguration().uiMode in testGlobalSettingsOverridesDeviceConfig()
265 (getContext().getResources().getConfiguration().uiMode in testGlobalSettingsOverridesDeviceConfig()
275 (getContext().getResources().getConfiguration().uiMode in testGlobalSettingsOverridesDeviceConfig()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DProtoExtractors.java46 config.uiMode = proto.uiMode; in extract()
DBarTestUtils.java111 return (config.uiMode & Configuration.UI_MODE_TYPE_MASK) in isRunningInVr()
/cts/tests/tests/nativehardware/src/android/hardware/nativehardware/cts/
DHardwareBufferVrTest.java29 boolean mIsVrHeadset = (getContext().getResources().getConfiguration().uiMode in testLayeredBuffersForVr()
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/
DDrawActivity.kt92 if (resources.configuration.uiMode != mode) { in hashCode()
94 newConfig.uiMode = mode in hashCode()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DDrawActivity.kt92 if (resources.configuration.uiMode != mode) { in hashCode()
94 newConfig.uiMode = mode in hashCode()
/cts/tests/tests/app/src/android/app/cts/
DApplyOverrideConfigurationTest.java99 return (context.getResources().getConfiguration().uiMode in isVrHeadset()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DFeatureUtil.java102 int maskedUiMode = (getConfiguration().uiMode & Configuration.UI_MODE_TYPE_MASK); in isVrHeadset()
/cts/tests/tests/theme/src/android/theme/cts/
DWatchPercentageScreenDimenTest.java43 return mConfig.isScreenRound() && (mConfig.uiMode & Configuration.UI_MODE_TYPE_WATCH) in isRoundWatch()
/cts/tests/tests/systemintents/src/android/systemintents/cts/
DTestSystemIntents.java114 if ((config.uiMode & Configuration.UI_MODE_TYPE_WATCH) != 0) { in testSystemIntents()
/cts/tests/sensor/src/android/hardware/cts/
DSensorSupportTest.java57 mIsVrHeadset = (getContext().getResources().getConfiguration().uiMode in setUp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DAbstractTestListActivity.java84 if ((getResources().getConfiguration().uiMode & Configuration.UI_MODE_TYPE_MASK) in onCreate()
/cts/tests/app/src/android/app/cts/
DUiModeManagerTest.java615 int uiMode = getContext().getResources().getConfiguration().uiMode; in assertVisibleNightModeInConfiguration() local
616 int flags = uiMode & Configuration.UI_MODE_NIGHT_MASK; in assertVisibleNightModeInConfiguration()
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/
DUtils.java54 return (getContext().getResources().getConfiguration().uiMode in isWatch()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DHandleSplashScreenExitActivity.java103 final int configNightMode = newConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK; in onConfigurationChanged()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DActivityManagerGetConfigTests.java279 config.uiMode, resConfig.configuration.uiMode); in checkResourceConfig()
DAlertWindowsImportanceTests.java258 if ((context.getResources().getConfiguration().uiMode & Configuration.UI_MODE_TYPE_MASK) in isRunningInVR()
/cts/tests/tests/content/CtsSyncAccountAccessOtherCertTests/src/com/android/cts/content/
DCtsSyncAccountAccessOtherCertTestCases.java205 return ((context.getResources().getConfiguration().uiMode & in isRunningInVR()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DSuspendPackageTest.java158 return (getInstrumentation().getContext().getResources().getConfiguration().uiMode in isWatch()
/cts/tests/tests/content/src/android/content/res/cts/
DResourcesTest.java362 dayConfiguration.uiMode = dayConfiguration.uiMode in testGetDrawable_ColorStateListConfigurations()
366 nightConfiguration.uiMode = nightConfiguration.uiMode in testGetDrawable_ColorStateListConfigurations()
DConfigurationTest.java284 config.uiMode = 1; in testDiff()
380 assertEquals(Configuration.UI_MODE_TYPE_UNDEFINED, config.uiMode); in testSetToDefaults()
408 assertEquals(Configuration.UI_MODE_TYPE_UNDEFINED, config.uiMode); in testUnset()
/cts/tests/tests/security/src/android/security/cts/
DMotionEventTest.java230 return (context.getResources().getConfiguration().uiMode & in isRunningInVR()
/cts/tests/tests/opengl/src/android/opengl/cts/
DOpenGlEsVersionTest.java191 final boolean isVrHeadset = (mActivity.getResources().getConfiguration().uiMode in testRequiredExtensionsForVrHighPerformance()
/cts/tests/tests/telecom/src/android/telecom/cts/
DBaseTelecomTestWithMockServices.java1973 public void assertUiMode(final int uiMode) { in assertUiMode() argument
1978 return uiMode; in assertUiMode()
1987 "Expected ui mode " + uiMode in assertUiMode()
/cts/tests/tests/widget/src/android/widget/cts/
DNumberPickerTest.java334 return (mActivity.getResources().getConfiguration().uiMode in isWatch()

12