/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | DeviceUtils.java | 28 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH); in isWear()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/ |
D | FullBackupJobTest.java | 97 .setSystemFeature(PackageManager.FEATURE_WATCH, false); in testSchedule_notWatch_requiresDeviceIdle() 106 shadowOf(mContext.getPackageManager()).setSystemFeature(PackageManager.FEATURE_WATCH, true); in testSchedule_isWatch_doesNotRequireDeviceIdle()
|
/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/ |
D | SystemDataTransferProcessor.java | 24 import static android.content.pm.PackageManager.FEATURE_WATCH; 277 FEATURE_WATCH)) { in onReceivePermissionRestore()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | FullBackupJob.java | 62 if (!ctx.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)) { in schedule()
|
/frameworks/base/packages/SettingsLib/CollapsingToolbarBaseActivity/src/com/android/settingslib/collapsingtoolbar/ |
D | CollapsingToolbarBaseActivity.java | 166 return packageManager.hasSystemFeature(PackageManager.FEATURE_WATCH); in isWatch()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardSliceViewControllerTest.java | 130 return pm.hasSystemFeature(PackageManager.FEATURE_WATCH); in isWatch()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | WearGestureInterceptionDetector.java | 62 if (!pm.hasSystemFeature(PackageManager.FEATURE_WATCH)) { in isEnabled()
|
/frameworks/base/services/tests/VpnTests/java/android/net/ |
D | VpnManagerTest.java | 71 PackageManager.FEATURE_WATCH)); in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierServiceStateTrackerTest.java | 87 doReturn(false).when(mPackageManager).hasSystemFeature(PackageManager.FEATURE_WATCH); in setUp() 315 doReturn(true).when(mPackageManager).hasSystemFeature(PackageManager.FEATURE_WATCH); in testNotificationMapWhenDeviceIsWatch()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/flags/ |
D | FlagManager.kt | 199 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH) in <lambda>()
|
/frameworks/base/services/companion/java/com/android/server/companion/association/ |
D | AssociationRequestsProcessor.java | 25 import static android.content.pm.PackageManager.FEATURE_WATCH; 182 if (mContext.getPackageManager().hasSystemFeature(FEATURE_WATCH)) { in processNewAssociationRequest()
|
/frameworks/base/core/java/android/app/ |
D | LauncherActivity.java | 348 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_WATCH)) { in onCreate() 366 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_WATCH)) { in onCreate()
|
D | WallpaperInfo.java | 148 pm.hasSystemFeature(PackageManager.FEATURE_WATCH); in WallpaperInfo()
|
D | ActivityTaskManager.java | 249 PackageManager.FEATURE_WATCH); in supportsMultiWindow()
|
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/ |
D | NotificationTest.java | 101 assumeFalse(pm.hasSystemFeature(PackageManager.FEATURE_WATCH)); in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/ |
D | AppClipsTrampolineActivityTest.java | 125 mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)); in setUp()
|
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/ |
D | DynamicCodeLoggerIntegrationTests.java | 103 assumeFalse(sContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)); in setup()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/ |
D | AccessibilityShortcutChooserActivityTest.java | 137 pm.hasSystemFeature(PackageManager.FEATURE_WATCH)); in setUp()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | UserManagerServiceTest.java | 21 import static android.content.pm.PackageManager.FEATURE_WATCH; 844 doReturn(true).when(mMockPms).hasSystemFeature(eq(FEATURE_WATCH), anyInt()); in testCreatePrivateProfileOnWatch_shouldNotAllowCreation()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierServiceStateTracker.java | 163 PackageManager.FEATURE_WATCH)) { in CarrierServiceStateTracker()
|
/frameworks/base/services/core/java/com/android/server/ |
D | GestureLauncherService.java | 248 mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH); in onBootPhase()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssLocationProvider.java | 20 import static android.content.pm.PackageManager.FEATURE_WATCH; 801 if (pm != null && pm.hasSystemFeature(FEATURE_WATCH) in handleDownloadPsdsData()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | DefaultPermissionGrantPolicy.java | 866 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH, 0)) { in grantDefaultSystemHandlerPermissions() 986 mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH, 0); in grantDefaultPermissionsToDefaultSystemDialerApp()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | BroadcastHelper.java | 767 && !packageManager.hasSystemFeature(PackageManager.FEATURE_WATCH); in isPrivacySafetyLabelChangeNotificationsEnabled()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | FullScreenMagnificationGestureHandler.java | 320 mIsWatch = context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH); in FullScreenMagnificationGestureHandler()
|