Home
last modified time | relevance | path

Searched refs:FEATURE_AUTOMOTIVE (Results 1 – 25 of 42) sorted by relevance

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DLockTaskUiTestActivity.java129 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in addTestsToAdapter()
143 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in addTestsToAdapter()
151 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in addTestsToAdapter()
159 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in addTestsToAdapter()
167 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in addTestsToAdapter()
DTurnOffWorkActivity.java128 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in setupTests()
152 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in setupTests()
DByodFlowTestActivity.java286 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in setupTests()
520 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in setupTests()
555 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in setupTests()
564 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in setupTests()
DDeviceOwnerNegativeTestActivity.java102 if(!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in addTestsToAdapter()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DBaseMultiUserTest.java40 private static final String FEATURE_AUTOMOTIVE = "feature:android.hardware.type.automotive"; field in BaseMultiUserTest
145 return getDevice().hasFeature(FEATURE_AUTOMOTIVE); in isAutomotiveDevice()
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
DHostAtomTests.java109 if (!hasFeature(FEATURE_AUTOMOTIVE, false)) return; in testChargingStateChangedAtom()
162 if (!hasFeature(FEATURE_AUTOMOTIVE, false)) return; in testPluggedStateChangedAtom()
215 if (!hasFeature(FEATURE_AUTOMOTIVE, false)) return; in testBatteryLevelChangedAtom()
302 if (!hasFeature(FEATURE_AUTOMOTIVE, false)) return; in testBatterySaverModeStateChangedAtom()
340 if (!hasFeature(FEATURE_AUTOMOTIVE, false)) return; in testRemainingBatteryCapacity()
366 if (!hasFeature(FEATURE_AUTOMOTIVE, false)) return; in testFullBatteryCapacity()
DGarageModeAtomTests.java39 if (!hasFeature(FEATURE_AUTOMOTIVE, true)) { in testGarageModeOnOff()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DDirectBootHostTest.java58 private static final String FEATURE_AUTOMOTIVE = "feature:android.hardware.type.automotive"; field in DirectBootHostTest
220 return getDevice().hasFeature(FEATURE_AUTOMOTIVE); in isAutomotiveDevice()
/cts/tools/cts-preconditions/src/com/android/preconditions/cts/
DPreconditionsTest.java41 || pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in testScreenUnlocked()
/cts/tests/sensor/src/android/hardware/cts/
DSensorAdditionalInfoTest.java68 PackageManager.FEATURE_AUTOMOTIVE)) { in testSensorAdditionalInfo()
120 hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in runSensorAdditionalInfoTest()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DBarTestUtils.java74 pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)); in assumeHasColoredBars()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DDeviceStatesTest.java157 PackageManager.FEATURE_AUTOMOTIVE); in isDockStateSupported()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBatteryUtils.java143 pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)); in isBatterySaverSupported()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DEnsureBarContrastTest.java19 import static android.content.pm.PackageManager.FEATURE_AUTOMOTIVE;
129 FEATURE_AUTOMOTIVE)); in runTestDontEnsureContrast()
/cts/tests/tests/permission/src/android/permission/cts/
DPermissionGroupChange.java63 .hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in setContextAndUiDevice()
/cts/hostsidetests/statsd/src/android/cts/statsd/validation/
DValidationTests.java63 private static final String FEATURE_AUTOMOTIVE = "android.hardware.type.automotive"; field in ValidationTests
82 if (!hasFeature(FEATURE_AUTOMOTIVE, false)) return; in testPartialWakelock()
147 if (!hasFeature(FEATURE_AUTOMOTIVE, false)) return;
/cts/tests/tests/provider/src/android/provider/cts/
DWifiSliceTest.java141 return pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isCar()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DMeanVerification.java75 PackageManager.FEATURE_AUTOMOTIVE)) { in getDefault()
/cts/tests/app/src/android/app/cts/
DSystemFeaturesTest.java579 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) && in testUsbAccessory()
615 if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) || in testAudioOutputFeature()
DUiModeManagerTest.java195 PackageManager.FEATURE_AUTOMOTIVE); in isAutomotive()
/cts/tests/tests/security/src/android/security/cts/
DNanoAppBundleTest.java374 return pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isCar()
/cts/tests/tests/media/src/android/media/cts/
DAudioFocusTest.java218 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in hasAutomotiveFeature()
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
DStorageTest.java331 return pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isCar()
/cts/tests/tests/content/src/android/content/cts/
DAvailableIntentsTest.java474 && !pm.hasSystemFeature(pm.FEATURE_AUTOMOTIVE); in isHandheld()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/features/
DFeatureSummaryActivity.java236 new Feature(PackageManager.FEATURE_AUTOMOTIVE, false),

12