/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationShellCommand.java | 155 if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in handleIsAdasGnssLocationEnabled() 177 if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in handleSetAdasGnssLocationEnabled() 201 if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in handleSetAutomotiveGnssSuspended() 211 if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in handleIsAutomotiveGnssSuspended() 381 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in onHelp()
|
D | LocationManagerService.java | 955 if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in validateLocationRequest() 1066 if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in validateLastLocationRequest() 1393 if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in setAutomotiveGnssSuspended() 1410 if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in isAutomotiveGnssSuspended()
|
/frameworks/base/services/core/java/com/android/server/location/settings/ |
D | LocationSettings.java | 19 import static android.content.pm.PackageManager.FEATURE_AUTOMOTIVE; 120 if (mContext.getPackageManager().hasSystemFeature(FEATURE_AUTOMOTIVE)) { in dump() 197 && !mContext.getPackageManager().hasSystemFeature(FEATURE_AUTOMOTIVE)) { in filterSettings()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/settings/ |
D | LocationSettingsTest.java | 19 import static android.content.pm.PackageManager.FEATURE_AUTOMOTIVE; 70 doReturn(true).when(mPackageManager).hasSystemFeature(FEATURE_AUTOMOTIVE); in setUp() 158 doReturn(false).when(mPackageManager).hasSystemFeature(FEATURE_AUTOMOTIVE); in testNonAutomotive()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | CriticalNotificationExtractorTest.java | 56 when(mPackageManagerClient.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE, 0)) in testExtractCritically_nonsupporting() 74 when(mPackageManagerClient.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE, 0)) in testExtractCritically()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | DeviceUtils.java | 32 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAuto()
|
/frameworks/base/tests/TrustTests/src/android/trust/test/ |
D | GrantAndRevokeTrustTest.kt | 99 assumeFalse(packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) in grantCannotActivelyUnlockDevice() 126 assumeFalse(packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) in grantCouldCauseWrongDeviceLockedStateDueToBug()
|
/frameworks/base/core/java/android/app/ |
D | KeyguardManager.java | 1063 @RequiresFeature(PackageManager.FEATURE_AUTOMOTIVE) 1098 @RequiresFeature(PackageManager.FEATURE_AUTOMOTIVE) 1110 @RequiresFeature(PackageManager.FEATURE_AUTOMOTIVE) 1122 @RequiresFeature(PackageManager.FEATURE_AUTOMOTIVE) 1138 @RequiresFeature(PackageManager.FEATURE_AUTOMOTIVE) 1176 @RequiresFeature(PackageManager.FEATURE_AUTOMOTIVE)
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | CriticalNotificationExtractor.java | 60 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE, 0); in supportsCriticalNotifications()
|
/frameworks/base/location/java/android/location/ |
D | LastLocationRequest.java | 229 @RequiresFeature(PackageManager.FEATURE_AUTOMOTIVE)
|
/frameworks/opt/car/services/builtInServices/tests/src/com/android/server/inputmethod/ |
D | ImeSmokeTest.java | 82 .hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)); in setUpClass()
|
/frameworks/opt/car/services/updatableServices/src/com/android/server/wm/ |
D | CarDisplayCompatScaleProviderUpdatableImpl.java | 20 import static android.content.pm.PackageManager.FEATURE_AUTOMOTIVE; 497 if (FEATURE_AUTOMOTIVE.equals(feature.name)) { in requiresDisplayCompatNotCachedLocked() 501 packageName, FEATURE_AUTOMOTIVE, required); in requiresDisplayCompatNotCachedLocked()
|
/frameworks/base/services/java/com/android/server/ |
D | HsumBootUserInitializer.java | 142 .hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE, /* version= */0)); in systemRunning()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | MtpNotificationManager.java | 134 return !packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) && in shouldShowNotification()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | IdleController.java | 134 PackageManager.FEATURE_AUTOMOTIVE); in initIdleStateTracker()
|
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/ |
D | NotificationTest.java | 97 assumeFalse(pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/ |
D | SensorUseStartedActivity.kt | 218 return getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) in <lambda>()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | WeakEscrowTokenTests.java | 181 when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)).thenReturn(true); in mockAutoHardware()
|
/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/ |
D | CarDisplayCompatScaleProviderUpdatableTest.java | 23 import static android.content.pm.PackageManager.FEATURE_AUTOMOTIVE; 208 features[0].name = FEATURE_AUTOMOTIVE; in hasFeatureAutomotive_requiredTrue_returnsFalse() 221 features[0].name = FEATURE_AUTOMOTIVE; in hasFeatureAutomotive_requiredFalse_returnsFalse()
|
/frameworks/base/services/core/java/com/android/server/adaptiveauth/ |
D | AdaptiveAuthService.java | 203 if (getContext().getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in reportAuthAttempt()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/ |
D | AccessCheckingService.kt | 120 if (PackageManager.FEATURE_AUTOMOTIVE in availableFeatures) { in <lambda>()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/adaptiveauth/ |
D | AdaptiveAuthServiceTest.java | 115 !mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)); in setUp()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/ |
D | LocationProviderManagerTest.java | 25 import static android.content.pm.PackageManager.FEATURE_AUTOMOTIVE; 1253 doReturn(true).when(mPackageManager).hasSystemFeature(FEATURE_AUTOMOTIVE); in testProviderRequest_AdasGnssBypass() 1286 doReturn(true).when(mPackageManager).hasSystemFeature(FEATURE_AUTOMOTIVE); in testProviderRequest_AdasGnssBypass_ProviderDisabled() 1317 doReturn(true).when(mPackageManager).hasSystemFeature(FEATURE_AUTOMOTIVE); in testProviderRequest_AdasGnssBypass_ProviderDisabled_AdasDisabled()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | BatteryControllerTest.java | 98 PackageManager.FEATURE_AUTOMOTIVE)).thenReturn(false); in setUp()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | UserManagerServiceTest.java | 18 import static android.content.pm.PackageManager.FEATURE_AUTOMOTIVE; 808 doReturn(true).when(mMockPms).hasSystemFeature(eq(FEATURE_AUTOMOTIVE), anyInt()); in testCreatePrivateProfileOnAutoDevices_shouldNotAllowCreation()
|