/cts/tests/framework/base/windowmanager/testsdk28/src/android/server/wm/ |
D | AspectRatioSdk28Tests.java | 19 import static android.content.pm.PackageManager.FEATURE_WATCH; 59 .hasSystemFeature(FEATURE_WATCH); in testMaxAspectRatioPreQActivity()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/ |
D | HostAtomTests.java | 339 if (!hasFeature(FEATURE_WATCH, false)) return; in testRemainingBatteryCapacity() 365 if (!hasFeature(FEATURE_WATCH, false)) return; in testFullBatteryCapacity() 390 if (!hasFeature(FEATURE_WATCH, false)) return; in testBatteryVoltage() 415 if (!hasFeature(FEATURE_WATCH, false)) return; in testBatteryLevel() 441 if (!hasFeature(FEATURE_WATCH, false)) return; in testBatteryCycleCount() 498 if (!hasFeature(FEATURE_WATCH, false)) return; in testWifiActivityInfo() 630 if (!hasFeature(FEATURE_WATCH, false)) return; in testConnectivityStateChange()
|
D | ProcStateAtomTests.java | 44 private static final String FEATURE_WATCH = "android.hardware.type.watch"; field in ProcStateAtomTests 185 if (!hasFeature(FEATURE_WATCH, false)) return; in testTopSleeping()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | UserRestrictions.java | 256 return !pm.hasSystemFeature(PackageManager.FEATURE_WATCH); in isRestrictionValid() 263 return !pm.hasSystemFeature(PackageManager.FEATURE_WATCH); in isRestrictionValid() 270 return !pm.hasSystemFeature(PackageManager.FEATURE_WATCH); in isRestrictionValid() 272 return !pm.hasSystemFeature(PackageManager.FEATURE_WATCH); in isRestrictionValid()
|
D | ManagedUserPositiveTestActivity.java | 197 return !getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH); in isStatusBarEnabled()
|
/cts/tools/cts-preconditions/src/com/android/preconditions/cts/ |
D | PreconditionsTest.java | 40 || pm.hasSystemFeature(PackageManager.FEATURE_WATCH) in testScreenUnlocked()
|
/cts/tests/app/src/android/app/cts/ |
D | NotificationManagerTest.java | 37 import static android.content.pm.PackageManager.FEATURE_WATCH; 995 if (mActivityManager.isLowRamDevice() && !mPackageManager.hasSystemFeature(FEATURE_WATCH)) { in testSuspendPackage_withoutShellPermission() 1027 if (mActivityManager.isLowRamDevice() && !mPackageManager.hasSystemFeature(FEATURE_WATCH)) { in testSuspendPackage() 1073 if (mActivityManager.isLowRamDevice() && !mPackageManager.hasSystemFeature(FEATURE_WATCH)) { in testSuspendedPackageSendsNotification() 1119 if ((mActivityManager.isLowRamDevice() && !mPackageManager.hasSystemFeature(FEATURE_WATCH)) in testCanBubble_ranking() 1170 if (mActivityManager.isLowRamDevice() && !mPackageManager.hasSystemFeature(FEATURE_WATCH)) { in testShowBadging_ranking() 1226 if (mActivityManager.isLowRamDevice() && !mPackageManager.hasSystemFeature(FEATURE_WATCH)) { in testGetSuppressedVisualEffectsOff_ranking() 1256 if (mActivityManager.isLowRamDevice() && !mPackageManager.hasSystemFeature(FEATURE_WATCH)) { in testGetSuppressedVisualEffects_ranking() 1311 if (mActivityManager.isLowRamDevice() && !mPackageManager.hasSystemFeature(FEATURE_WATCH)) { in testKeyChannelGroupOverrideImportanceExplanation_ranking() 2148 if (mActivityManager.isLowRamDevice() && !mPackageManager.hasSystemFeature(FEATURE_WATCH)) { in testShouldHideSilentStatusIcons() [all …]
|
D | ActivityKeyboardShortcutsTest.java | 98 return !mActivity.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH) && in keyboardShortcutsSupported()
|
D | SystemFeaturesTest.java | 334 if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_WATCH)) { in testNfcFeatures() 581 !mPackageManager.hasSystemFeature(PackageManager.FEATURE_WATCH) && in testUsbAccessory()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/tapjacking/ |
D | OverlayingActivity.java | 43 if (getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)) { in onCreate()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | BatteryConstraintTest.java | 48 private String FEATURE_WATCH = "android.hardware.type.watch"; field in BatteryConstraintTest 298 if(getInstrumentation().getContext().getPackageManager().hasSystemFeature(FEATURE_WATCH) && in testBatteryNotLowConstraintFails_withoutPower()
|
/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/ |
D | LegacyNotificationManager20Test.java | 19 import static android.content.pm.PackageManager.FEATURE_WATCH; 95 if (mActivityManager.isLowRamDevice() && !mPackageManager.hasSystemFeature(FEATURE_WATCH)) { in testNotificationListener_cancelNotifications()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | AvailableIntentsTest.java | 370 if (!packageManager.hasSystemFeature(PackageManager.FEATURE_WATCH)) { in testUsageAccessSettings() 391 if (packageManager.hasSystemFeature(PackageManager.FEATURE_WATCH)) { in testLocationScanningSettings() 472 && !pm.hasSystemFeature(pm.FEATURE_WATCH) in isHandheld()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | LongPressBackTest.java | 59 if (mActivity.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)) { in testAppIsNotDismissed()
|
D | SearchEventTest.java | 79 if (mActivity.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)) { in testBasics()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | BarTestUtils.java | 69 assumeFalse("No bars on watches and TVs", pm.hasSystemFeature(PackageManager.FEATURE_WATCH) in assumeHasColoredBars()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | BatteryUtils.java | 132 return !pm.hasSystemFeature(PackageManager.FEATURE_WATCH); in isBatterySaverSupported()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BatteryUtils.java | 142 return !(pm.hasSystemFeature(PackageManager.FEATURE_WATCH) || in isBatterySaverSupported()
|
/cts/tests/tests/theme/src/android/theme/cts/ |
D | DeviceDefaultTest.java | 128 if (activity.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)) { in assertGetActionBar()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | PassFailButtons.java | 126 if (getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)) { in onResume() 136 if (getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)) { in onPause()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | PermissionGroupChange.java | 96 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)) { in scrollToBottomIfWatch()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecPlayerTestBase.java | 80 return mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH); in isWatchDevice()
|
D | MediaMetadataRetrieverTest.java | 427 && mPackageManager.hasSystemFeature(PackageManager.FEATURE_WATCH)) { in testGetFrameAt() 455 && mPackageManager.hasSystemFeature(PackageManager.FEATURE_WATCH)) { in testGetFrameAtEditList() 497 && mPackageManager.hasSystemFeature(PackageManager.FEATURE_WATCH)) { in testGetScaledFrameAtTime()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | LowRamDeviceTest.java | 98 Boolean watch = mPackageManager.hasSystemFeature(PackageManager.FEATURE_WATCH); in testMinimumMemory()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | DnsTest.java | 95 if (getContext().getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH) in testDnsWorks()
|