Home
last modified time | relevance | path

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

12

/cts/tests/tests/keystore/src/android/server/am/
DProtoExtractors.java46 config.uiMode = proto.uiMode; in extract()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DProtoExtractors.java46 config.uiMode = proto.uiMode; in extract()
DBarTestUtils.java83 return (config.uiMode & Configuration.UI_MODE_TYPE_MASK) in isRunningInVr()
/cts/tests/app/src/android/app/cts/
DUiModeManagerTest.java269 int uiMode = getContext().getResources().getConfiguration().uiMode; in assertVisibleNightModeInConfiguration() local
270 int flags = uiMode & Configuration.UI_MODE_NIGHT_MASK; in assertVisibleNightModeInConfiguration()
/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/uirendering27/src/android/uirendering/cts/testinfrastructure/
DDrawActivity.kt92 if (resources.configuration.uiMode != mode) { in hashCode()
94 newConfig.uiMode = mode in hashCode()
/cts/tests/tests/nativehardware/src/android/hardware/nativehardware/cts/
DHardwareBufferVrTest.java29 boolean mIsVrHeadset = (getContext().getResources().getConfiguration().uiMode in testLayeredBuffersForVr()
/cts/tests/tests/app/src/android/app/cts/
DApplyOverrideConfigurationTest.java99 return (context.getResources().getConfiguration().uiMode in isVrHeadset()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DFeatureUtil.java94 int maskedUiMode = (getConfiguration().uiMode & Configuration.UI_MODE_TYPE_MASK); in isVrHeadset()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DFeatureUtil.java95 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/sensor/src/android/hardware/cts/
DSensorSupportTest.java54 mIsVrHeadset = (getContext().getResources().getConfiguration().uiMode in setUp()
/cts/tests/tests/systemintents/src/android/systemintents/cts/
DTestSystemIntents.java102 if ((config.uiMode & Configuration.UI_MODE_TYPE_WATCH) != 0) { in testSystemIntents()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DAbstractTestListActivity.java82 if ((getResources().getConfiguration().uiMode & Configuration.UI_MODE_TYPE_MASK) in onCreate()
/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/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/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DSuspendPackageTest.java118 return (getInstrumentation().getContext().getResources().getConfiguration().uiMode in isWatch()
/cts/tests/tests/content/CtsSyncAccountAccessOtherCertTests/src/com/android/cts/content/
DCtsSyncAccountAccessOtherCertTestCases.java188 return ((context.getResources().getConfiguration().uiMode & in isRunningInVR()
/cts/tests/tests/content/src/android/content/res/cts/
DConfigurationTest.java276 config.uiMode = 1; in testDiff()
357 assertEquals(Configuration.UI_MODE_TYPE_UNDEFINED, config.uiMode); in testSetToDefaults()
384 assertEquals(Configuration.UI_MODE_TYPE_UNDEFINED, config.uiMode); in testUnset()
/cts/tests/tests/security/src/android/security/cts/
DMotionEventTest.java228 return (context.getResources().getConfiguration().uiMode & in isRunningInVR()
/cts/tests/tests/telecom/src/android/telecom/cts/
DBaseTelecomTestWithMockServices.java1751 public void assertUiMode(final int uiMode) { in assertUiMode() argument
1757 return uiMode; in assertUiMode()
1766 "Expected ui mode " + uiMode in assertUiMode()
/cts/tests/tests/widget/src/android/widget/cts/
DEditTextTest.java345 return (mActivity.getResources().getConfiguration().uiMode in isWatch()
DNumberPickerTest.java329 return (mActivity.getResources().getConfiguration().uiMode in isWatch()
/cts/tests/tests/opengl/src/android/opengl/cts/
DOpenGlEsVersionTest.java191 final boolean isVrHeadset = (mActivity.getResources().getConfiguration().uiMode in testRequiredExtensionsForVrHighPerformance()

12