/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | CarModeInCallServiceTest.java | 63 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)) { in setUp() 98 PackageManager.FEATURE_WATCH) && !TestUtils.hasAutomotiveFeature()) { in tearDown() 132 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH) in testSetCarMode() 146 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH) in testRequestAutomotiveProjection() 162 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH) in testRequestAutomotiveProjectionExclusive() 184 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH) in testStartCallInCarMode() 209 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH) in testStartCallInAutomotiveProjection() 234 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH) in failingTestStartCallInCarModeAndAutomotiveProjection() 278 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH) in testStartCallInCarModeTwoServices() 312 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH) in testStartCallingInCarModeAndProjectionTwoServices() [all …]
|
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/annotations/ |
D | RequireNotWatch.java | 20 import static com.android.bedstead.nene.packages.CommonPackages.FEATURE_WATCH; 29 @RequireDoesNotHaveFeature(FEATURE_WATCH)
|
D | RequireHandheldDevice.java | 25 import static com.android.bedstead.nene.packages.CommonPackages.FEATURE_WATCH; 35 @RequireDoesNotHaveFeature(FEATURE_WATCH)
|
/cts/tests/storageaccess/src/android/storageaccess/cts/tests/ |
D | TestBase.kt | 22 import android.content.pm.PackageManager.FEATURE_WATCH 48 assumeFalse(hasSystemFeature(FEATURE_WATCH)) in setUp_TestBase()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/features/ |
D | FeatureUtil.java | 164 return pm.hasSystemFeature(PackageManager.FEATURE_WATCH); in isWatch() 180 return pm.hasSystemFeature(PackageManager.FEATURE_WATCH) in isWatchOrAutomotive() 189 return pm.hasSystemFeature(PackageManager.FEATURE_WATCH) in isWatchOrAutomotiveOrTv()
|
/cts/hostsidetests/graphics/gpuprofiling/src/android/graphics/gpuprofiling/cts/ |
D | CtsFrameTracerDataSourceTest.java | 48 private static final String FEATURE_WATCH = "android.hardware.type.watch"; field in CtsFrameTracerDataSourceTest 61 FEATURE_WATCH, FEATURE_TELEVISION); in setUp()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/batterycycle/ |
D | BatteryCycleStatsTests.java | 37 private static final String FEATURE_WATCH = "android.hardware.type.watch"; field in BatteryCycleStatsTests 64 if (DeviceUtils.hasFeature(getDevice(), FEATURE_WATCH)) return; in testBatteryCycleCount()
|
/cts/tests/tests/settings/src/android/settings/cts/ |
D | SettingsTestUtils.java | 35 .hasSystemFeature(PackageManager.FEATURE_WATCH); in isWatch()
|
D | TetherProvisioningCarrierDialogActivityTest.java | 63 .getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH); in isWatch()
|
/cts/hostsidetests/appcompat/compatchanges/src/com/android/cts/appcompat/ |
D | CompatChangesValidConfigTest.java | 43 private static final String FEATURE_WATCH = "android.hardware.type.watch"; field in CompatChangesValidConfigTest 179 if (getDevice().hasFeature(FEATURE_WATCH)) { in getExpectedCompatConfig()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | UserRestrictions.java | 289 return (!pm.hasSystemFeature(PackageManager.FEATURE_WATCH) in isRestrictionValid() 293 && !pm.hasSystemFeature(PackageManager.FEATURE_WATCH)); in isRestrictionValid() 327 return !pm.hasSystemFeature(PackageManager.FEATURE_WATCH); in isRestrictionValid() 336 return !pm.hasSystemFeature(PackageManager.FEATURE_WATCH) in isRestrictionValid() 343 return !pm.hasSystemFeature(PackageManager.FEATURE_WATCH); in isRestrictionValid() 345 return !pm.hasSystemFeature(PackageManager.FEATURE_WATCH); in isRestrictionValid()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | MediaProjectionTests.java | 91 assumeFalse(mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)); in testMediaProjectionPermissionDialogCancel() 103 assumeFalse(mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)); in testMediaProjectionShowAppSelector()
|
/cts/tools/cts-preconditions/src/com/android/preconditions/cts/ |
D | PreconditionsTest.java | 40 || pm.hasSystemFeature(PackageManager.FEATURE_WATCH) in testScreenUnlocked()
|
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | DeviceTestUtils.java | 56 && !pm.hasSystemFeature(PackageManager.FEATURE_WATCH) in checkUISupported()
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | NintendoSwitchProTest.java | 72 return pm.hasSystemFeature(PackageManager.FEATURE_WATCH); in isWatch()
|
/cts/tests/tests/notificationlegacy/notificationlegacy30/src/android/app/notification/legacy30/cts/ |
D | StatusBarManagerApi30Test.java | 41 return mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH); in isWatch()
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | AssistStructureTest.java | 81 || mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH); in isUnsupportedDevice()
|
/cts/tests/credentials/src/android/credentials/cts/testcore/ |
D | CtsCredentialManagerUtils.java | 39 return pm.hasSystemFeature(PackageManager.FEATURE_WATCH); in isWatch()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/ |
D | HostAtomTests.java | 71 private static final String FEATURE_WATCH = "android.hardware.type.watch"; field in HostAtomTests 346 if (DeviceUtils.hasFeature(getDevice(), FEATURE_WATCH)) return; in testBatterySaverModeStateChangedAtom() 380 if (DeviceUtils.hasFeature(getDevice(), FEATURE_WATCH)) return; in testRemainingBatteryCapacity() 402 if (DeviceUtils.hasFeature(getDevice(), FEATURE_WATCH)) return; in testFullBatteryCapacity() 422 if (DeviceUtils.hasFeature(getDevice(), FEATURE_WATCH)) return; in testBatteryVoltage() 442 if (DeviceUtils.hasFeature(getDevice(), FEATURE_WATCH)) return; in testBatteryLevel() 494 if (DeviceUtils.hasFeature(getDevice(), FEATURE_WATCH)) return; in testWifiActivityInfo() 595 if (DeviceUtils.hasFeature(getDevice(), FEATURE_WATCH)) return; in testConnectivityStateChange()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/perfetto/ |
D | PerfettoTests.java | 120 if (DeviceUtils.hasFeature(getDevice(), DeviceUtils.FEATURE_WATCH)) return; in testPerfettoUploadedIncidentdAtoms() 142 if (DeviceUtils.hasFeature(getDevice(), DeviceUtils.FEATURE_WATCH)) return; in testSkipReportAtoms() 162 if (DeviceUtils.hasFeature(getDevice(), DeviceUtils.FEATURE_WATCH)) return; in testReportAtoms() 185 if (DeviceUtils.hasFeature(getDevice(), DeviceUtils.FEATURE_WATCH)) return; in testPerfettoTriggerAtoms()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | BatteryConstraintTest.java | 38 private String FEATURE_WATCH = "android.hardware.type.watch"; field in BatteryConstraintTest 253 if (getInstrumentation().getContext().getPackageManager().hasSystemFeature(FEATURE_WATCH) in testBatteryNotLowConstraintFails_withoutPower()
|
/cts/tests/app/src/android/app/cts/ |
D | ManageFsiTest.java | 59 pm.hasSystemFeature(PackageManager.FEATURE_WATCH)); in testManageAppUseFsiIntent_ResolvesToActivity()
|
D | ActivityKeyboardShortcutsTest.java | 97 return !mActivity.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH) in keyboardShortcutsSupported()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | SecurityModelFeatureTest.java | 70 assumeTrue(mPackageManager.hasSystemFeature(PackageManager.FEATURE_WATCH)); in testWatch()
|
/cts/tests/tests/media/projection/sdk33/src/android/media/projection/ |
D | MediaProjectionSDK33Test.java | 149 assumeFalse(mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)); in testCreateVirtualDisplay_reusedResultData_reshowsPermissionDialog() 216 assumeFalse(mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)); in testCreateVirtualDisplay_reusedMediaProjection_reshowPermissionDialog() 308 PackageManager.FEATURE_WATCH); in navigatePermissionDialogToStartButton()
|