/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/ |
D | BatterySaverTest.java | 207 (getContext().getResources().getConfiguration().uiMode in testAutomotiveProjectionExceptions() 218 (getContext().getResources().getConfiguration().uiMode in testAutomotiveProjectionExceptions() 234 (getContext().getResources().getConfiguration().uiMode in testAutomotiveProjectionExceptions() 268 (getContext().getResources().getConfiguration().uiMode in testGlobalSettings() 295 (getContext().getResources().getConfiguration().uiMode in testDeviceConfig() 323 (getContext().getResources().getConfiguration().uiMode in testGlobalSettingsOverridesDeviceConfig() 331 (getContext().getResources().getConfiguration().uiMode in testGlobalSettingsOverridesDeviceConfig() 341 (getContext().getResources().getConfiguration().uiMode in testGlobalSettingsOverridesDeviceConfig()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/display/ |
D | Display.kt | 53 val uiMode = TestApis.context().androidContextAsUser( in display() constant 56 return when (uiMode) { in display() 59 else -> throw Exception("Unsupported display theme value $uiMode") in display()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ProtoExtractors.java | 46 config.uiMode = proto.uiMode; in extract()
|
D | BarTestUtils.java | 99 return (config.uiMode & Configuration.UI_MODE_TYPE_MASK) in isRunningInVr()
|
/cts/tests/app/src/android/app/cts/ |
D | UiModeManagerTest.java | 321 int uiMode = getContext().getResources().getConfiguration().uiMode & in testSetNightModeActivatedForCustomMode_modeAuto_activateAtBedtime_shouldNotActivateNightMode() local 327 assertVisibleNightModeInConfiguration(uiMode); in testSetNightModeActivatedForCustomMode_modeAuto_activateAtBedtime_shouldNotActivateNightMode() 333 int uiMode = getContext().getResources().getConfiguration().uiMode & in testSetNightModeActivatedForCustomMode_customTypeSchedule_activateAtBedtime_shouldNotActivateNightMode() local 339 assertVisibleNightModeInConfiguration(uiMode); in testSetNightModeActivatedForCustomMode_customTypeSchedule_activateAtBedtime_shouldNotActivateNightMode() 966 int uiMode = getContext().getResources().getConfiguration().uiMode; in assertVisibleNightModeInConfiguration() local 967 int flags = uiMode & Configuration.UI_MODE_NIGHT_MASK; in assertVisibleNightModeInConfiguration()
|
/cts/tests/tests/nativehardware/src/android/hardware/nativehardware/cts/ |
D | HardwareBufferVrTest.java | 29 boolean mIsVrHeadset = (getContext().getResources().getConfiguration().uiMode in testLayeredBuffersForVr()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
D | DrawActivity.kt | 98 if (resources.configuration.uiMode != mode) { in hashCode() 100 newConfig.uiMode = mode in hashCode()
|
/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/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/tests/tests/content/lib/accountaccess/src/com.android.cts.content/ |
D | Utils.java | 54 return (getContext().getResources().getConfiguration().uiMode in isWatch()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | AbstractTestListActivity.java | 94 if ((getResources().getConfiguration().uiMode & Configuration.UI_MODE_TYPE_MASK) in onCreate()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ConfigurationTest.java | 252 cfg1.uiMode = Configuration.UI_MODE_TYPE_WATCH in testGenerateDiff() 254 cfg2.uiMode = Configuration.UI_MODE_TYPE_NORMAL in testGenerateDiff() 387 config.uiMode = 1; in testDiff() 503 assertEquals(Configuration.UI_MODE_TYPE_UNDEFINED, config.uiMode); in testSetToDefaults() 533 assertEquals(Configuration.UI_MODE_TYPE_UNDEFINED, config.uiMode); in testUnset()
|
D | ResourcesTest.java | 530 dayConfiguration.uiMode = dayConfiguration.uiMode in testGetDrawable_ColorStateListConfigurations() 534 nightConfiguration.uiMode = nightConfiguration.uiMode in testGetDrawable_ColorStateListConfigurations()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/ |
D | ActivityManagerGetConfigTests.java | 279 config.uiMode, resConfig.configuration.uiMode); in checkResourceConfig()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | HandleSplashScreenExitActivity.java | 125 final int configNightMode = newConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK; in onConfigurationChanged()
|
/cts/tests/tests/content/src/android/content/res/cts/config/ |
D | OverrideConfigTest.kt | 61 (context.resources.configuration.uiMode and Configuration.UI_MODE_TYPE_MASK in setUpRotation()
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | SuspendPackageTest.java | 161 return (getInstrumentation().getContext().getResources().getConfiguration().uiMode in isWatch()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | AlertWindowsImportanceTests.java | 259 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 | 238 return ((context.getResources().getConfiguration().uiMode & in isRunningInVR()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | MotionEventTest.java | 226 return (context.getResources().getConfiguration().uiMode & in isRunningInVR()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | OpenGlEsVersionTest.java | 187 final boolean isVrHeadset = (mActivity.getResources().getConfiguration().uiMode in testRequiredExtensionsForVrHighPerformance()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | BaseTelecomTestWithMockServices.java | 2266 public void assertUiMode(final int uiMode) { 2271 return uiMode; 2280 "Expected ui mode " + uiMode
|