/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/services/core/java/com/android/server/location/ |
D | LocationShellCommand.java | 147 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()
|
D | LocationManagerService.java | 774 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/ |
D | DeviceUtils.java | 34 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAuto()
|
/frameworks/base/services/core/java/com/android/server/location/settings/ |
D | LocationSettings.java | 19 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/ |
D | CriticalNotificationExtractor.java | 60 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE, 0); in supportsCriticalNotifications()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | MtpNotificationManager.java | 134 return !packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) && in shouldShowNotification()
|
D | UsbDeviceManager.java | 1232 PackageManager.FEATURE_AUTOMOTIVE) in updateUsbNotification()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | IdleController.java | 110 PackageManager.FEATURE_AUTOMOTIVE); in initIdleStateTracking()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/ |
D | LocationProviderManagerTest.java | 22 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/ |
D | WindowManagerServiceTests.java | 82 PackageManager.FEATURE_AUTOMOTIVE); in isAutomotive()
|
D | DisplayRotationTests.java | 707 when(mockPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) in configureDisplayRotation()
|
/frameworks/base/core/java/android/app/ |
D | KeyguardManager.java | 704 return mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in checkInitialLockMethodUsage()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 821 return packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAutomotive()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayRotation.java | 340 PackageManager.FEATURE_AUTOMOTIVE); in configure()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerTest.java | 1137 return mPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAutomotive()
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustManagerService.java | 250 mIsAutomotive = packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in SettingsObserver()
|
/frameworks/base/services/core/java/com/android/server/ |
D | UiModeManagerService.java | 422 mCar = pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in onStart()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 3371 PackageManager.FEATURE_AUTOMOTIVE); in isAutomotive()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 26 import static android.content.pm.PackageManager.FEATURE_AUTOMOTIVE; 1617 mHasFeatureAuto = mPackageManager.hasSystemFeature(FEATURE_AUTOMOTIVE); in init()
|
/frameworks/base/services/java/com/android/server/ |
D | SystemServer.java | 2715 if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in startOtherServices()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 3028 return mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAutomotive()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageManager.java | 3300 public static final String FEATURE_AUTOMOTIVE = "android.hardware.type.automotive"; field in PackageManager
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 3063 .hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) {
|