Home
last modified time | relevance | path

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

12

/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()
DNotificationManagerServiceTest.java861 when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE, 0)) in testEnqueuedRestrictedNotifications_asSystem()
885 when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE, 0)) in testEnqueuedRestrictedNotifications_notAutomotive()
909 when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE, 0)) in testEnqueuedRestrictedNotifications_badUser()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DDeviceUtils.java34 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAuto()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowManagerServiceTests.java57 PackageManager.FEATURE_AUTOMOTIVE); in isAutomotive()
DDisplayRotationTests.java631 when(mockPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) in configureDisplayRotation()
/frameworks/base/services/core/java/com/android/server/notification/
DCriticalNotificationExtractor.java60 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE, 0); in supportsCriticalNotifications()
DNotificationManagerService.java1788 mPackageManagerClient.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE, 0); in init()
7393 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE, 0)) {
/frameworks/base/services/core/java/com/android/server/job/controllers/
DIdleController.java87 PackageManager.FEATURE_AUTOMOTIVE); in initIdleStateTracking()
/frameworks/base/services/usb/java/com/android/server/usb/
DMtpNotificationManager.java132 return !packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) && in shouldShowNotification()
DUsbDeviceManager.java1105 PackageManager.FEATURE_AUTOMOTIVE) in updateUsbNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/
DAAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java121 if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in getClassNamesFromClassPath()
/frameworks/base/core/java/android/inputmethodservice/
DSoftInputWindow.java351 return getContext().getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAutomotive()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java235 PackageManager.FEATURE_AUTOMOTIVE); in configure()
DDisplayContent.java4467 PackageManager.FEATURE_AUTOMOTIVE); in getOrientation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java762 return packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAutomotive()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java347 mCar = pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in onStart()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java244 mIsAutomotive = packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in SettingsObserver()
/frameworks/base/services/java/com/android/server/
DSystemServer.java2119 if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in startOtherServices()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java2638 public static final String FEATURE_AUTOMOTIVE = "android.hardware.type.automotive"; field in PackageManager
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java26 import static android.content.pm.PackageManager.FEATURE_AUTOMOTIVE;
1757 mHasFeatureAuto = mContext.getPackageManager().hasSystemFeature(FEATURE_AUTOMOTIVE); in init()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java2403 .hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java3264 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in hasAutomotiveFeature()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java3026 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) { in disableEscrowTokenOnNonManagedDevicesIfNeeded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java3069 && mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in isAutomotive()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java1744 when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)).thenReturn(true); in testStartLocalOnlyHotspotAt5Ghz()

12