Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/server/am/
DProtoExtractors.java46 config.uiMode = proto.uiMode; in extract()
/cts/tests/framework/base/activitymanager/util/src/android/server/am/
DProtoExtractors.java46 config.uiMode = proto.uiMode; in extract()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DDrawActivity.java68 int uiMode = getResources().getConfiguration().uiMode; in onCreate() local
69 mOnTv = (uiMode & Configuration.UI_MODE_TYPE_MASK) == Configuration.UI_MODE_TYPE_TELEVISION; in onCreate()
/cts/tests/tests/app/src/android/app/cts/
DApplyOverrideConfigurationTest.java98 return (context.getResources().getConfiguration().uiMode in isVrHeadset()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DAbstractTestListActivity.java67 if ((getResources().getConfiguration().uiMode & Configuration.UI_MODE_TYPE_MASK) in onCreate()
/cts/tests/ui/src/android/ui/cts/
DWatchPercentageScreenDimenTest.java41 return mConfig.isScreenRound() && (mConfig.uiMode & Configuration.UI_MODE_TYPE_WATCH) in isRoundWatch()
/cts/tests/tests/systemintents/src/android/systemintents/cts/
DTestSystemIntents.java102 if ((config.uiMode & Configuration.UI_MODE_TYPE_WATCH) != 0) { in testSystemIntents()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DSuspendPackageTest.java102 return (getInstrumentation().getContext().getResources().getConfiguration().uiMode in isWatch()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTestBase.java83 return (config.uiMode & Configuration.UI_MODE_TYPE_MASK) in isRunningInVr()
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/
DUtils.java53 return (getContext().getResources().getConfiguration().uiMode in isWatch()
/cts/tests/framework/base/activitymanager/src/android/server/am/
DActivityManagerGetConfigTests.java283 config.uiMode, resConfig.configuration.uiMode); in checkResourceConfig()
/cts/tests/tests/content/CtsSyncAccountAccessOtherCertTests/src/com/android/cts/content/
DCtsSyncAccountAccessOtherCertTestCases.java180 return ((context.getResources().getConfiguration().uiMode & in isRunningInVR()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAlertWindowsImportanceTests.java253 if ((context.getResources().getConfiguration().uiMode & Configuration.UI_MODE_TYPE_MASK) in isRunningInVR()
/cts/tests/tests/security/src/android/security/cts/
DMotionEventTest.java211 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/widget/src/android/widget/cts/
DNumberPickerTest.java315 return (mActivity.getResources().getConfiguration().uiMode in isWatch()
DTimePickerTest.java360 return (mActivity.getResources().getConfiguration().uiMode in isWatch()
DAbsListViewTest.java150 return (mContext.getResources().getConfiguration().uiMode in isWatch()
DTextViewTest.java7721 return (mActivity.getResources().getConfiguration().uiMode in isWatch()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndTest.java346 if ((getActivity().getResources().getConfiguration().uiMode in testTypeNotificationStateChangedAccessibilityEvent()
/cts/tests/app/src/android/app/cts/
DActivityManagerProcessStateTest.java1075 int mode = mContext.getResources().getConfiguration().uiMode in supportsCantSaveState()