Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/settings/
DLocationSettingsTest.java19 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/
DCriticalNotificationExtractorTest.java56 when(mPackageManagerClient.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE, 0)) in testExtractCritically_nonsupporting()
74 when(mPackageManagerClient.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE, 0)) in testExtractCritically()
/frameworks/base/services/core/java/com/android/server/location/
DLocationShellCommand.java147 if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in handleIsAdasGnssLocationEnabled()
169 if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in handleSetAdasGnssLocationEnabled()
355 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in onHelp()
DLocationManagerService.java774 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) in validateLocationRequest()
825 if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in validateLocationRequest()
917 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) in validateLastLocationRequest()
937 if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in validateLastLocationRequest()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DDeviceUtils.java34 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAuto()
/frameworks/base/services/core/java/com/android/server/location/settings/
DLocationSettings.java19 import static android.content.pm.PackageManager.FEATURE_AUTOMOTIVE;
166 && !mContext.getPackageManager().hasSystemFeature(FEATURE_AUTOMOTIVE)) { in filterSettings()
/frameworks/base/services/core/java/com/android/server/notification/
DCriticalNotificationExtractor.java60 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE, 0); in supportsCriticalNotifications()
/frameworks/base/services/usb/java/com/android/server/usb/
DMtpNotificationManager.java134 return !packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) && in shouldShowNotification()
DUsbDeviceManager.java1232 PackageManager.FEATURE_AUTOMOTIVE) in updateUsbNotification()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DIdleController.java110 PackageManager.FEATURE_AUTOMOTIVE); in initIdleStateTracking()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
DLocationProviderManagerTest.java22 import static android.content.pm.PackageManager.FEATURE_AUTOMOTIVE;
1038 doReturn(true).when(mPackageManager).hasSystemFeature(FEATURE_AUTOMOTIVE); in testProviderRequest_AdasGnssBypass()
1067 doReturn(true).when(mPackageManager).hasSystemFeature(FEATURE_AUTOMOTIVE); in testProviderRequest_AdasGnssBypass_ProviderDisabled()
1097 doReturn(true).when(mPackageManager).hasSystemFeature(FEATURE_AUTOMOTIVE); in testProviderRequest_AdasGnssBypass_ProviderDisabled_AdasDisabled()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowManagerServiceTests.java82 PackageManager.FEATURE_AUTOMOTIVE); in isAutomotive()
DDisplayRotationTests.java707 when(mockPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) in configureDisplayRotation()
/frameworks/base/core/java/android/app/
DKeyguardManager.java704 return mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in checkInitialLockMethodUsage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java821 return packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAutomotive()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java340 PackageManager.FEATURE_AUTOMOTIVE); in configure()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java1137 return mPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAutomotive()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java250 mIsAutomotive = packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in SettingsObserver()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java422 mCar = pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in onStart()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java3371 PackageManager.FEATURE_AUTOMOTIVE); in isAutomotive()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java26 import static android.content.pm.PackageManager.FEATURE_AUTOMOTIVE;
1617 mHasFeatureAuto = mPackageManager.hasSystemFeature(FEATURE_AUTOMOTIVE); in init()
/frameworks/base/services/java/com/android/server/
DSystemServer.java2715 if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in startOtherServices()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java3028 return mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAutomotive()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java3300 public static final String FEATURE_AUTOMOTIVE = "android.hardware.type.automotive"; field in PackageManager
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java3063 .hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) {

12