/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/alarm/ |
D | AlarmStatsTests.java | 37 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/ |
D | LockTaskUiTestActivity.java | 129 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()
|
D | TurnOffWorkActivity.java | 123 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in setupTests() 147 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in setupTests()
|
D | ByodFlowTestActivity.java | 285 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()
|
D | DeviceOwnerNegativeTestActivity.java | 102 if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) in addTestsToAdapter()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | ConnectivityManagerPermissionTest.java | 81 PackageManager.FEATURE_AUTOMOTIVE)); in testSetOemNetworkPreference() 106 PackageManager.FEATURE_AUTOMOTIVE)); in testSetOemNetworkPreferenceHasAutomotiveFeature()
|
D | UndefinedGroupPermissionTest.kt | 134 ?.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) == true) { in findAllowButton() 162 ?.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) == true) { in testOtherGroupPermissionsNotGranted()
|
/cts/hostsidetests/graphics/gpuprofiling/src/android/graphics/gpuprofiling/cts/ |
D | CtsFrameTracerDataSourceTest.java | 45 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/ |
D | GarageModeAtomTests.java | 44 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/ |
D | BaseMultiUserTest.java | 45 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/ |
D | DirectBootHostTest.java | 62 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/ |
D | PreconditionsTest.java | 41 || pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in testScreenUnlocked()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
D | P2pClientTestSuite.java | 68 if (!context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in initialize()
|
/cts/hostsidetests/multiuser/src/android/host/multiuser/ |
D | BaseMultiUserTest.java | 57 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/ |
D | HostAtomTests.java | 76 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/ |
D | TtsTestActivity.java | 51 return getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAutomotive()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | ExceptionsTest.java | 42 PackageManager.FEATURE_AUTOMOTIVE);
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | SecurityModelFeatureTest.java | 77 assumeTrue(mPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)); in testAuto()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorAdditionalInfoTest.java | 67 PackageManager.FEATURE_AUTOMOTIVE)) { in testSensorAdditionalInfo() 119 hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in runSensorAdditionalInfoTest()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | BaseDeviceOwnerTest.java | 89 PackageManager.FEATURE_AUTOMOTIVE); in setUp()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BatteryUtils.java | 157 pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)); in isBatterySaverSupported()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | BarTestUtils.java | 88 pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)); in assumeHasColoredBars()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | PerformanceClassTest.java | 52 && !pm.hasSystemFeature(pm.FEATURE_AUTOMOTIVE); in isHandheld()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | CompanionDeviceManagerTest.kt | 20 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/ |
D | ManualPackageInstallTest.java | 54 mIsAutomotive = mPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in setUp()
|