Home
last modified time | relevance | path

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

1234

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DResetPasswordWithTokenTest.java29 import static android.content.pm.PackageManager.FEATURE_AUTOMOTIVE;
162 @RequireDoesNotHaveFeature(FEATURE_AUTOMOTIVE)
190 @RequireDoesNotHaveFeature(FEATURE_AUTOMOTIVE)
237 @RequireDoesNotHaveFeature(FEATURE_AUTOMOTIVE)
267 @RequireDoesNotHaveFeature(FEATURE_AUTOMOTIVE)
297 @RequireDoesNotHaveFeature(FEATURE_AUTOMOTIVE)
329 @RequireDoesNotHaveFeature(FEATURE_AUTOMOTIVE)
347 @RequireDoesNotHaveFeature(FEATURE_AUTOMOTIVE)
369 @RequireDoesNotHaveFeature(FEATURE_AUTOMOTIVE)
390 @RequireDoesNotHaveFeature(FEATURE_AUTOMOTIVE)
[all …]
DNoAdminLeakingTest.java19 import static android.content.pm.PackageManager.FEATURE_AUTOMOTIVE;
56 @RequireDoesNotHaveFeature(FEATURE_AUTOMOTIVE)
/cts/apps/CtsVerifier/src/com/android/cts/verifier/features/
DFeatureUtil.java103 || pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isWatchOrAutomotive()
111 return pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAutomotive()
/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()
/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/tests/tests/permission/src/android/permission/cts/
DConnectivityManagerPermissionTest.java81 PackageManager.FEATURE_AUTOMOTIVE)); in testSetOemNetworkPreference()
106 PackageManager.FEATURE_AUTOMOTIVE)); in testSetOemNetworkPreferenceHasAutomotiveFeature()
/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/appsecurity/src/android/appsecurity/cts/
DNormalizeScreenStateRule.java40 private static final String FEATURE_AUTOMOTIVE = "android.hardware.type.automotive"; field in NormalizeScreenStateRule
95 if (getDevice().hasFeature(FEATURE_AUTOMOTIVE)) { in apply()
DDirectBootHostTest.java64 private static final String FEATURE_AUTOMOTIVE = "feature:android.hardware.type.automotive"; field in DirectBootHostTest
219 return getDevice().hasFeature(FEATURE_AUTOMOTIVE); in isAutomotiveDevice()
/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/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DP2pClientTestSuite.java68 if (!context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in initialize()
/cts/tools/cts-preconditions/src/com/android/preconditions/cts/
DPreconditionsTest.java41 || pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in testScreenUnlocked()
/cts/tests/tests/permission3/src/android/permission3/cts/
DPermissionHistoryTest.kt22 import android.content.pm.PackageManager.FEATURE_AUTOMOTIVE
55 assumeFalse(packageManager.hasSystemFeature(FEATURE_AUTOMOTIVE)) in assumeNotTv()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/speech/tts/
DTtsTestActivity.java51 return getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAutomotive()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DBaseMultiUserTest.java57 private static final String FEATURE_AUTOMOTIVE = "feature:android.hardware.type.automotive"; field in BaseMultiUserTest
144 assumeTrue("Device does not have " + FEATURE_AUTOMOTIVE, in assumeIsAutomotive()
145 getDevice().hasFeature(FEATURE_AUTOMOTIVE)); in assumeIsAutomotive()
/cts/tests/tests/car/src/android/car/cts/
DExceptionsTest.java42 PackageManager.FEATURE_AUTOMOTIVE);
/cts/tests/filesystem/src/android/filesystem/cts/
DCarTestUtil.java52 .hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in CarTestUtil()
/cts/tests/tests/hardware/src/android/hardware/cts/
DSecurityModelFeatureTest.java77 assumeTrue(mPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)); in testAuto()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DHostAtomTests.java76 private static final String FEATURE_AUTOMOTIVE = "android.hardware.type.automotive"; field in HostAtomTests
157 if (DeviceUtils.hasFeature(getDevice(), FEATURE_AUTOMOTIVE)) return; in testChargingStateChangedAtom()
207 if (DeviceUtils.hasFeature(getDevice(), FEATURE_AUTOMOTIVE)) return; in testPluggedStateChangedAtom()
263 if (DeviceUtils.hasFeature(getDevice(), FEATURE_AUTOMOTIVE)) return; in testBatteryLevelChangedAtom()
345 if (DeviceUtils.hasFeature(getDevice(), FEATURE_AUTOMOTIVE)) return; in testBatterySaverModeStateChangedAtom()
380 if (DeviceUtils.hasFeature(getDevice(), FEATURE_AUTOMOTIVE)) return; in testRemainingBatteryCapacity()
402 if (DeviceUtils.hasFeature(getDevice(), FEATURE_AUTOMOTIVE)) return; in testFullBatteryCapacity()
/cts/tests/sensor/src/android/hardware/cts/
DSensorAdditionalInfoTest.java67 PackageManager.FEATURE_AUTOMOTIVE)) { in testSensorAdditionalInfo()
119 hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in runSensorAdditionalInfoTest()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DBarTestUtils.java88 pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)); in assumeHasColoredBars()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DBaseDeviceOwnerTest.java93 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()

1234