Home
last modified time | relevance | path

Searched refs:isWatch (Results 1 – 25 of 36) sorted by relevance

12

/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DNintendoSwitchProTest.java56 assumeFalse("Skipping test for wear devices", isWatch()); in testAllKeys()
62 assumeFalse("Skipping test for wear devices", isWatch()); in testAllMotions()
66 static boolean isWatch() { in isWatch() method in NintendoSwitchProTest
/cts/tests/tests/permission3/src/android/permission3/cts/
DBaseUsePermissionTest.kt103 protected val isWatch = packageManager.hasSystemFeature(PackageManager.FEATURE_WATCH) in <lambda>() constant in android.permission3.cts.BaseUsePermissionTest
171 if (isAutomotive || isWatch) { in <lambda>()
179 if (isAutomotive || isWatch) { in <lambda>()
310 if (isAutomotive || isTv || isWatch) { in <lambda>()
327 if (isAutomotive || isWatch || isTv) { in <lambda>()
336 if (isAutomotive || isWatch) { in <lambda>()
370 } else if (isWatch) { in <lambda>()
379 if (isWatch) { in <lambda>()
451 if (isWatch) { in <lambda>()
462 } else if (isTv || isWatch) { in <lambda>()
[all …]
DPermissionUsageInfoTest.kt34 assumeFalse(isWatch) in assumeHandheld()
/cts/tests/tests/notificationlegacy/notificationlegacy30/src/android/app/notification/legacy30/cts/
DStatusBarManagerApi30Test.java40 private boolean isWatch() { in isWatch() method in StatusBarManagerApi30Test
47 assumeFalse("Status bar service not supported", isWatch()); in setUp()
/cts/tests/tests/packageinstaller/tapjacking/src/android/packageinstaller/tapjacking/cts/
DTapjackingTest.java69 boolean isWatch = mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH); field in TapjackingTest
72 public final RequiredRule mRequiredRule = new RequiredRule(isWatch);
129 RequiredRule(boolean isWatch) { in RequiredRule() argument
130 mIsWatch = isWatch; in RequiredRule()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/features/
DFeatureUtil.java37 return !isWatch(context); in isConfigLocationSupported()
92 private static boolean isWatch(Context context) { in isWatch() method in FeatureUtil
/cts/tests/app/src/android/app/cts/
DStatusBarManagerTest.java49 private boolean isWatch() { in isWatch() method in StatusBarManagerTest
60 assumeFalse("Status bar service not supported", isWatch()); in setUp()
DActivityManagerMemoryClassTest.java163 boolean isWatch) { in getExpectedMemorySize() argument
165 if (isWatch) { in getExpectedMemorySize()
242 boolean isWatch = in assertMemoryForScreenDensity()
245 ExpectedMemorySizesClass.getExpectedMemorySize(screenSize, screenDensity, isWatch); in assertMemoryForScreenDensity()
/cts/tests/tests/content/CtsSyncAccountAccessOtherCertTests/src/com/android/cts/content/
DCtsSyncAccountAccessOtherCertTestCases.java26 import static com.android.cts.content.Utils.isWatch;
102 assumeFalse(isWatch()); in testAccountAccess_otherCertAsAuthenticatorCanNotSeeAccount()
120 if (isWatch()) { in testAccountAccess_otherCertAsAuthenticatorCanNotSeeAccount()
/cts/tests/location/location_fine/src/android/location/cts/fine/
DScanningSettingsTest.java73 if (FeatureUtil.isTV() || FeatureUtil.isAutomotive() || FeatureUtil.isWatch()) { in setUp()
90 if (FeatureUtil.isTV() || FeatureUtil.isAutomotive() || FeatureUtil.isWatch()) { in testWifiScanningSettings()
123 if (FeatureUtil.isTV() || FeatureUtil.isAutomotive() || FeatureUtil.isWatch()) { in testBleScanningSettings()
/cts/tests/tests/packageinstaller/nopermission/src/android.packageinstaller.nopermission.cts/
DNoPermissionTests.kt72 private var isWatch: Boolean = pm.hasSystemFeature(PackageManager.FEATURE_WATCH) variable
93 if (isWatch) { in apply()
/cts/tests/tests/settings/src/android/settings/cts/
DWifiSliceTest.java78 "Skipping test: Watch does not support provider android.settings.slices", isWatch()); in setUp()
175 private boolean isWatch() { in isWatch() method in WifiSliceTest
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DFeatureUtil.java92 public static boolean isWatch() { in isWatch() method in FeatureUtil
DUiAutomatorUtils.java80 final double deadZone = !(FeatureUtil.isWatch() || FeatureUtil.isTV()) in waitFindObjectOrNull()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DStorageHostTest.java191 assumeTrue(!isWatch()); in testFullDisk()
267 private boolean isWatch() { in isWatch() method in StorageHostTest
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DSuspendPackageTest.java121 if (isWatch()) { in dismissPolicyTransparencyDialog()
157 private boolean isWatch() { in isWatch() method in SuspendPackageTest
/cts/tests/tests/widget/src/android/widget/cts/
DTimePickerTest.java362 private boolean isWatch() { in isWatch() method in TimePickerTest
369 if (isWatch()) { in testKeyboardTabTraversalModeClock()
395 if (isWatch()) { in testKeyboardTabTraversalModeSpinner()
424 if (isWatch()) { in testKeyboardInputModeClockAmPm()
503 if (isWatch()) { in testKeyboardInputModeClock24H()
556 if (isWatch()) { in testKeyboardInputModeSpinnerAmPm()
674 if (isWatch()) { in testKeyboardInputModeSpinner24H()
DToastTest.java654 assumeFalse("Skipping test: Watch does not support new Toast behavior yet", isWatch()); in testMakeTextFromString()
683 assumeFalse("Skipping test: Watch does not support new Toast behavior yet", isWatch()); in testMakeTextFromResource()
738 assumeFalse("Skipping test: Watch does not support new Toast behavior yet", isWatch()); in testSetTextFromStringNonNullView()
834 assumeFalse("Skipping test: Watch does not support new Toast behavior yet", isWatch()); in testTextToastAllowed_whenInTheBackground()
889 assumeFalse("Skipping test: Watch does not support new Toast behavior yet", isWatch()); in testGetWindowParams_whenTextToast_returnsNull()
1134 private boolean isWatch() { in isWatch() method
DNumberPickerTest.java333 private boolean isWatch() { in isWatch() method in NumberPickerTest
398 if (!isWatch()) { in testInteractionWithSwipeDown()
469 if (!isWatch()) { in testInteractionWithSwipeUp()
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DLegacyNotificationManagerTest.java253 if (isWatch()) { in testResetListenerHints_singleListener()
291 if (!isWatch()) { in testResetListenerHints_multiListener()
435 private boolean isWatch() { in isWatch() method in LegacyNotificationManagerTest
/cts/tests/tests/provider/src/android/provider/cts/
DSettingsPanelTest.java89 "Skipping test: Watch does not support provider android.settings.panel", isWatch()); in setUp()
318 private boolean isWatch() { in isWatch() method in SettingsPanelTest
/cts/tests/tests/dpi/src/android/dpi/cts/
DConfigurationTest.java56 if (FeatureUtil.isWatch()) { in testScreenConfiguration()
/cts/tests/tests/content/src/android/content/cts/
DAvailableIntentsTest.java484 if (FeatureUtil.isTV() || FeatureUtil.isAutomotive() || FeatureUtil.isWatch()) { in testSettingsSearchIntent()
505 if(FeatureUtil.isWatch()){ in testPowerUsageSummarySettings()
531 if (FeatureUtil.isWatch()) { in testRequestSetAutofillServiceIntent()
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/
DUtils.java53 public static boolean isWatch() { in isWatch() method in Utils
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/
DNotificationAssistantServiceTest.java83 private boolean isWatch() { in isWatch() method in NotificationAssistantServiceTest
566 assumeFalse("Status bar service not supported", isWatch());
594 assumeFalse("Status bar service not supported", isWatch());
620 assumeFalse("Status bar service not supported", isWatch()); in testOnPanelRevealedAndHidden()

12