Home
last modified time | relevance | path

Searched refs:FEATURE_WATCH (Results 1 – 25 of 133) sorted by relevance

123456

/cts/tests/tests/telecom/src/android/telecom/cts/
DCarModeInCallServiceTest.java63 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/
DRequireNotWatch.java20 import static com.android.bedstead.nene.packages.CommonPackages.FEATURE_WATCH;
29 @RequireDoesNotHaveFeature(FEATURE_WATCH)
DRequireHandheldDevice.java25 import static com.android.bedstead.nene.packages.CommonPackages.FEATURE_WATCH;
35 @RequireDoesNotHaveFeature(FEATURE_WATCH)
/cts/tests/storageaccess/src/android/storageaccess/cts/tests/
DTestBase.kt22 import android.content.pm.PackageManager.FEATURE_WATCH
48 assumeFalse(hasSystemFeature(FEATURE_WATCH)) in setUp_TestBase()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/features/
DFeatureUtil.java164 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/
DCtsFrameTracerDataSourceTest.java48 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/
DBatteryCycleStatsTests.java37 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/
DSettingsTestUtils.java35 .hasSystemFeature(PackageManager.FEATURE_WATCH); in isWatch()
DTetherProvisioningCarrierDialogActivityTest.java63 .getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH); in isWatch()
/cts/hostsidetests/appcompat/compatchanges/src/com/android/cts/appcompat/
DCompatChangesValidConfigTest.java43 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/
DUserRestrictions.java289 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/
DMediaProjectionTests.java91 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/
DPreconditionsTest.java40 || pm.hasSystemFeature(PackageManager.FEATURE_WATCH) in testScreenUnlocked()
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DDeviceTestUtils.java56 && !pm.hasSystemFeature(PackageManager.FEATURE_WATCH) in checkUISupported()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DNintendoSwitchProTest.java72 return pm.hasSystemFeature(PackageManager.FEATURE_WATCH); in isWatch()
/cts/tests/tests/notificationlegacy/notificationlegacy30/src/android/app/notification/legacy30/cts/
DStatusBarManagerApi30Test.java41 return mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH); in isWatch()
/cts/tests/tests/assist/src/android/assist/cts/
DAssistStructureTest.java81 || mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH); in isUnsupportedDevice()
/cts/tests/credentials/src/android/credentials/cts/testcore/
DCtsCredentialManagerUtils.java39 return pm.hasSystemFeature(PackageManager.FEATURE_WATCH); in isWatch()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DHostAtomTests.java71 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/
DPerfettoTests.java120 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/
DBatteryConstraintTest.java38 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/
DManageFsiTest.java59 pm.hasSystemFeature(PackageManager.FEATURE_WATCH)); in testManageAppUseFsiIntent_ResolvesToActivity()
DActivityKeyboardShortcutsTest.java97 return !mActivity.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH) in keyboardShortcutsSupported()
/cts/tests/tests/hardware/src/android/hardware/cts/
DSecurityModelFeatureTest.java70 assumeTrue(mPackageManager.hasSystemFeature(PackageManager.FEATURE_WATCH)); in testWatch()
/cts/tests/tests/media/projection/sdk33/src/android/media/projection/
DMediaProjectionSDK33Test.java149 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()

123456