/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/ |
D | BatterySaverTest.java | 153 (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/ |
D | ProtoExtractors.java | 46 config.uiMode = proto.uiMode; in extract()
|
D | BarTestUtils.java | 111 return (config.uiMode & Configuration.UI_MODE_TYPE_MASK) in isRunningInVr()
|
/cts/tests/tests/nativehardware/src/android/hardware/nativehardware/cts/ |
D | HardwareBufferVrTest.java | 29 boolean mIsVrHeadset = (getContext().getResources().getConfiguration().uiMode in testLayeredBuffersForVr()
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/ |
D | DrawActivity.kt | 92 if (resources.configuration.uiMode != mode) { in hashCode() 94 newConfig.uiMode = mode in hashCode()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
D | DrawActivity.kt | 92 if (resources.configuration.uiMode != mode) { in hashCode() 94 newConfig.uiMode = mode in hashCode()
|
/cts/tests/tests/app/src/android/app/cts/ |
D | ApplyOverrideConfigurationTest.java | 99 return (context.getResources().getConfiguration().uiMode in isVrHeadset()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | FeatureUtil.java | 102 int maskedUiMode = (getConfiguration().uiMode & Configuration.UI_MODE_TYPE_MASK); in isVrHeadset()
|
/cts/tests/tests/theme/src/android/theme/cts/ |
D | WatchPercentageScreenDimenTest.java | 43 return mConfig.isScreenRound() && (mConfig.uiMode & Configuration.UI_MODE_TYPE_WATCH) in isRoundWatch()
|
/cts/tests/tests/systemintents/src/android/systemintents/cts/ |
D | TestSystemIntents.java | 114 if ((config.uiMode & Configuration.UI_MODE_TYPE_WATCH) != 0) { in testSystemIntents()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorSupportTest.java | 57 mIsVrHeadset = (getContext().getResources().getConfiguration().uiMode in setUp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | AbstractTestListActivity.java | 84 if ((getResources().getConfiguration().uiMode & Configuration.UI_MODE_TYPE_MASK) in onCreate()
|
/cts/tests/app/src/android/app/cts/ |
D | UiModeManagerTest.java | 615 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/ |
D | Utils.java | 54 return (getContext().getResources().getConfiguration().uiMode in isWatch()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | HandleSplashScreenExitActivity.java | 103 final int configNightMode = newConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK; in onConfigurationChanged()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | ActivityManagerGetConfigTests.java | 279 config.uiMode, resConfig.configuration.uiMode); in checkResourceConfig()
|
D | AlertWindowsImportanceTests.java | 258 if ((context.getResources().getConfiguration().uiMode & Configuration.UI_MODE_TYPE_MASK) in isRunningInVR()
|
/cts/tests/tests/content/CtsSyncAccountAccessOtherCertTests/src/com/android/cts/content/ |
D | CtsSyncAccountAccessOtherCertTestCases.java | 205 return ((context.getResources().getConfiguration().uiMode & in isRunningInVR()
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | SuspendPackageTest.java | 158 return (getInstrumentation().getContext().getResources().getConfiguration().uiMode in isWatch()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ResourcesTest.java | 362 dayConfiguration.uiMode = dayConfiguration.uiMode in testGetDrawable_ColorStateListConfigurations() 366 nightConfiguration.uiMode = nightConfiguration.uiMode in testGetDrawable_ColorStateListConfigurations()
|
D | ConfigurationTest.java | 284 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/ |
D | MotionEventTest.java | 230 return (context.getResources().getConfiguration().uiMode & in isRunningInVR()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | OpenGlEsVersionTest.java | 191 final boolean isVrHeadset = (mActivity.getResources().getConfiguration().uiMode in testRequiredExtensionsForVrHighPerformance()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | BaseTelecomTestWithMockServices.java | 1973 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/ |
D | NumberPickerTest.java | 334 return (mActivity.getResources().getConfiguration().uiMode in isWatch()
|