Home
last modified time | relevance | path

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

123

/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/plugins/plugintoggle/
DPluginManager.kt44 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/
DEthernetManagerPermissionTest.java93 PackageManager.FEATURE_AUTOMOTIVE)); in testEnableInterface()
108 PackageManager.FEATURE_AUTOMOTIVE)); in testDisableInterface()
DConnectivityManagerPermissionTest.java81 PackageManager.FEATURE_AUTOMOTIVE)); in testSetOemNetworkPreference()
106 PackageManager.FEATURE_AUTOMOTIVE)); in testSetOemNetworkPreferenceHasAutomotiveFeature()
/packages/modules/AdServices/adservices/tests/test-util/side-less/com/android/adservices/common/
DAbstractDeviceSupportHelper.java30 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/
DAppDataSharingUpdatesPreferenceControllerTest.java19 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/
DHostSideTestUtil.java42 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/
DDeviceUtils.java32 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAuto()
/packages/modules/OnDevicePersonalization/common/java/com/android/odp/module/common/
DDeviceUtils.java33 && !pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) in isOdpSupported()
/packages/modules/OnDevicePersonalization/tests/testutils/src/com/android/ondevicepersonalization/testing/utils/
DDeviceSupportHelper.java35 && !pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) in isDeviceSupported()
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/behavior/v31/
DAutomotiveRoleBehavior.java36 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAvailableAsUser()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/eligibility/
DAutomotiveEligibilityChecker.java20 boolean isAutomotive = packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isEligible()
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/behavior/
DHomeRoleBehavior.java145 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/
DHealthConnectBaseTest.kt56 !pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) in isHardwareSupported()
/packages/modules/HealthFitness/framework/java/android/health/connect/
DHealthServicesInitializer.java60 && !pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)); in isHardwareSupported()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/behavior/
DAssistantRoleUiBehavior.java41 context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in getManageIntentAsUser()
/packages/apps/Settings/src/com/android/settings/privacy/
DAppDataSharingUpdatesPreferenceController.java63 && !packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) in isPrivacySafetyLabelChangeNotificationsEnabled()
/packages/modules/Permission/tests/cts/permissionmultidevice/TestUtils/src/android/permissionmultidevice/cts/
DPermissionUtils.kt29 context.packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) in isAutomotive()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ui/
DUiBaseTest.java85 && !pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isHardwareSupported()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsActivityTest.java129 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/
DSmsChangesProvider.java115 return getContext().getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAutoFeatureSet()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/
DHealthConnectUiTestHelper.kt83 !pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) in isHardwareSupported()
/packages/modules/Permission/tests/cts/permissionmultiuser/src/android/permissionmultiuser/cts/
DAppDataSharingUpdatesTest.kt37 import android.content.pm.PackageManager.FEATURE_AUTOMOTIVE in <lambda>()
87 @RequireDoesNotHaveFeature(FEATURE_AUTOMOTIVE) in <lambda>()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DHibernationSwitchPreferenceController.java84 packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) in setPackage()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DDeviceInfoUtils.kt100 !pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) in isHealthConnectAvailable()
/packages/modules/StatsD/tests/src/android/cts/statsd/validation/
DValidationTests.java106 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()

123