/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/plugins/plugintoggle/ |
D | PluginManager.kt | 44 if (!packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) || in isPluginEnabled() 58 if (!context.packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in getPluginPackageName()
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | EthernetManagerPermissionTest.java | 93 PackageManager.FEATURE_AUTOMOTIVE)); in testEnableInterface() 108 PackageManager.FEATURE_AUTOMOTIVE)); in testDisableInterface()
|
D | ConnectivityManagerPermissionTest.java | 81 PackageManager.FEATURE_AUTOMOTIVE)); in testSetOemNetworkPreference() 106 PackageManager.FEATURE_AUTOMOTIVE)); in testSetOemNetworkPreferenceHasAutomotiveFeature()
|
/packages/modules/AdServices/adservices/tests/test-util/side-less/com/android/adservices/common/ |
D | AbstractDeviceSupportHelper.java | 30 private static final String FEATURE_AUTOMOTIVE = "android.hardware.type.automotive"; field in AbstractDeviceSupportHelper 164 && !hasPackageManagerFeature(FEATURE_AUTOMOTIVE) in isPhone()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/privacy/ |
D | AppDataSharingUpdatesPreferenceControllerTest.java | 19 import static android.content.pm.PackageManager.FEATURE_AUTOMOTIVE; 59 Arrays.asList(FEATURE_AUTOMOTIVE, FEATURE_LEANBACK, FEATURE_WATCH);
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/util/ |
D | HostSideTestUtil.java | 42 private static final String FEATURE_AUTOMOTIVE = "android.hardware.type.automotive"; field in HostSideTestUtil 129 && !DeviceUtils.hasFeature(device, FEATURE_AUTOMOTIVE); in isHardwareSupported()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/ |
D | DeviceUtils.java | 32 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAuto()
|
/packages/modules/OnDevicePersonalization/common/java/com/android/odp/module/common/ |
D | DeviceUtils.java | 33 && !pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) in isOdpSupported()
|
/packages/modules/OnDevicePersonalization/tests/testutils/src/com/android/ondevicepersonalization/testing/utils/ |
D | DeviceSupportHelper.java | 35 && !pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) in isDeviceSupported()
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/behavior/v31/ |
D | AutomotiveRoleBehavior.java | 36 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAvailableAsUser()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/eligibility/ |
D | AutomotiveEligibilityChecker.java | 20 boolean isAutomotive = packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isEligible()
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/behavior/ |
D | HomeRoleBehavior.java | 145 if (context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in grantAsUser() 168 if (context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in revokeAsUser()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ui/ |
D | HealthConnectBaseTest.kt | 56 !pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) in isHardwareSupported()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/ |
D | HealthServicesInitializer.java | 60 && !pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)); in isHardwareSupported()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/behavior/ |
D | AssistantRoleUiBehavior.java | 41 context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in getManageIntentAsUser()
|
/packages/apps/Settings/src/com/android/settings/privacy/ |
D | AppDataSharingUpdatesPreferenceController.java | 63 && !packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) in isPrivacySafetyLabelChangeNotificationsEnabled()
|
/packages/modules/Permission/tests/cts/permissionmultidevice/TestUtils/src/android/permissionmultidevice/cts/ |
D | PermissionUtils.kt | 29 context.packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) in isAutomotive()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ui/ |
D | UiBaseTest.java | 85 && !pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isHardwareSupported()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/ |
D | TermsActivityTest.java | 129 if (pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in expanderTest() 195 if (!pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in expanderTest_automotive()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | SmsChangesProvider.java | 115 return getContext().getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAutoFeatureSet()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/ |
D | HealthConnectUiTestHelper.kt | 83 !pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) in isHardwareSupported()
|
/packages/modules/Permission/tests/cts/permissionmultiuser/src/android/permissionmultiuser/cts/ |
D | AppDataSharingUpdatesTest.kt | 37 import android.content.pm.PackageManager.FEATURE_AUTOMOTIVE in <lambda>() 87 @RequireDoesNotHaveFeature(FEATURE_AUTOMOTIVE) in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | HibernationSwitchPreferenceController.java | 84 packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) in setPackage()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/ |
D | DeviceInfoUtils.kt | 100 !pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) in isHealthConnectAvailable()
|
/packages/modules/StatsD/tests/src/android/cts/statsd/validation/ |
D | ValidationTests.java | 106 private static final String FEATURE_AUTOMOTIVE = "android.hardware.type.automotive"; field in ValidationTests 110 if (!DeviceUtils.hasFeature(getDevice(), FEATURE_AUTOMOTIVE)) return; in testPartialWakelock() 157 if (!DeviceUtils.hasFeature(getDevice(), FEATURE_AUTOMOTIVE)) return; in testPartialWakelockDuration()
|