Home
last modified time | relevance | path

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

1234

/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/alarm/
DAlarmStatsTests.java37 private static final String FEATURE_AUTOMOTIVE = "android.hardware.type.automotive"; field in AlarmStatsTests
67 if (DeviceUtils.hasFeature(getDevice(), FEATURE_AUTOMOTIVE)) return; in testWakeupAlarm()
85 if (DeviceUtils.hasFeature(getDevice(), FEATURE_AUTOMOTIVE)) return; in testAlarmScheduled()
127 if (DeviceUtils.hasFeature(getDevice(), FEATURE_AUTOMOTIVE)) return; in testAlarmBatchDelivered()
146 if (DeviceUtils.hasFeature(getDevice(), FEATURE_AUTOMOTIVE)) return; in testPendingAlarmInfo()
/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()
175 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) in addTestsToAdapter()
DTurnOffWorkActivity.java123 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in setupTests()
147 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in setupTests()
DByodFlowTestActivity.java285 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in setupTests()
526 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in setupTests()
562 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in setupTests()
571 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in setupTests()
DDeviceOwnerNegativeTestActivity.java102 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) in addTestsToAdapter()
/cts/tests/tests/permission/src/android/permission/cts/
DConnectivityManagerPermissionTest.java81 PackageManager.FEATURE_AUTOMOTIVE)); in testSetOemNetworkPreference()
106 PackageManager.FEATURE_AUTOMOTIVE)); in testSetOemNetworkPreferenceHasAutomotiveFeature()
DUndefinedGroupPermissionTest.kt134 ?.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) == true) { in findAllowButton()
162 ?.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) == true) { in testOtherGroupPermissionsNotGranted()
/cts/hostsidetests/graphics/gpuprofiling/src/android/graphics/gpuprofiling/cts/
DCtsFrameTracerDataSourceTest.java45 private static final String FEATURE_AUTOMOTIVE = "android.hardware.type.automotive"; field in CtsFrameTracerDataSourceTest
60 bypassTestForFeatures(FEATURE_AUTOMOTIVE, FEATURE_EMBEDDED, FEATURE_LEANBACK_ONLY, in setUp()
/cts/hostsidetests/car/src/android/car/cts/
DGarageModeAtomTests.java44 private static final String FEATURE_AUTOMOTIVE = "android.hardware.type.automotive"; field in GarageModeAtomTests
78 if (!DeviceUtils.hasFeature(getDevice(), FEATURE_AUTOMOTIVE)) { in testGarageModeOnOff()
/cts/hostsidetests/accounts/src/android/host/accounts/
DBaseMultiUserTest.java45 private static final String FEATURE_AUTOMOTIVE = "feature:android.hardware.type.automotive"; field in BaseMultiUserTest
154 return getDevice().hasFeature(FEATURE_AUTOMOTIVE); in isAutomotiveDevice()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DDirectBootHostTest.java62 private static final String FEATURE_AUTOMOTIVE = "feature:android.hardware.type.automotive"; field in DirectBootHostTest
215 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/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DP2pClientTestSuite.java68 if (!context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in initialize()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DBaseMultiUserTest.java57 private static final String FEATURE_AUTOMOTIVE = "feature:android.hardware.type.automotive"; field in BaseMultiUserTest
140 assumeTrue("Device does not have " + FEATURE_AUTOMOTIVE, in assumeIsAutomotive()
141 getDevice().hasFeature(FEATURE_AUTOMOTIVE)); in assumeIsAutomotive()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DHostAtomTests.java76 private static final String FEATURE_AUTOMOTIVE = "android.hardware.type.automotive"; field in HostAtomTests
156 if (DeviceUtils.hasFeature(getDevice(), FEATURE_AUTOMOTIVE)) return; in testChargingStateChangedAtom()
206 if (DeviceUtils.hasFeature(getDevice(), FEATURE_AUTOMOTIVE)) return; in testPluggedStateChangedAtom()
257 if (DeviceUtils.hasFeature(getDevice(), FEATURE_AUTOMOTIVE)) return; in testBatteryLevelChangedAtom()
338 if (DeviceUtils.hasFeature(getDevice(), FEATURE_AUTOMOTIVE)) return; in testBatterySaverModeStateChangedAtom()
373 if (DeviceUtils.hasFeature(getDevice(), FEATURE_AUTOMOTIVE)) return; in testRemainingBatteryCapacity()
395 if (DeviceUtils.hasFeature(getDevice(), FEATURE_AUTOMOTIVE)) return; in testFullBatteryCapacity()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/speech/tts/
DTtsTestActivity.java51 return getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAutomotive()
/cts/tests/tests/car/src/android/car/cts/
DExceptionsTest.java42 PackageManager.FEATURE_AUTOMOTIVE);
/cts/tests/tests/hardware/src/android/hardware/cts/
DSecurityModelFeatureTest.java77 assumeTrue(mPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)); in testAuto()
/cts/tests/sensor/src/android/hardware/cts/
DSensorAdditionalInfoTest.java67 PackageManager.FEATURE_AUTOMOTIVE)) { in testSensorAdditionalInfo()
119 hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in runSensorAdditionalInfoTest()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DBaseDeviceOwnerTest.java89 PackageManager.FEATURE_AUTOMOTIVE); in setUp()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBatteryUtils.java157 pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)); in isBatterySaverSupported()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DBarTestUtils.java88 pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)); in assumeHasColoredBars()
/cts/tests/mediapc/src/android/mediapc/cts/
DPerformanceClassTest.java52 && !pm.hasSystemFeature(pm.FEATURE_AUTOMOTIVE); in isHandheld()
/cts/tests/tests/os/src/android/os/cts/
DCompanionDeviceManagerTest.kt20 import android.content.pm.PackageManager.FEATURE_AUTOMOTIVE in <lambda>()
107 assumeFalse(context.packageManager.hasSystemFeature(FEATURE_AUTOMOTIVE)) in <lambda>()
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
DManualPackageInstallTest.java54 mIsAutomotive = mPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in setUp()

1234