Home
last modified time | relevance | path

Searched refs:FEATURE_WATCH (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DDeviceUtils.java30 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH); in isWear()
/frameworks/base/core/java/android/app/
DLauncherActivity.java344 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_WATCH)) { in onCreate()
362 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_WATCH)) { in onCreate()
DActivityTaskManager.java290 PackageManager.FEATURE_WATCH); in supportsMultiWindow()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotController.java127 PackageManager.FEATURE_WATCH); in TaskSnapshotController()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java41 import static android.content.pm.PackageManager.FEATURE_WATCH;
355 when(mPackageManagerClient.hasSystemFeature(FEATURE_WATCH)).thenReturn(false); in setUp()
2381 when(mPackageManagerClient.hasSystemFeature(FEATURE_WATCH)).thenReturn(true); in testSetListenerAccess_doesNothingOnLowRam_exceptWatch()
2397 when(mPackageManagerClient.hasSystemFeature(FEATURE_WATCH)).thenReturn(true); in testSetAssistantAccess_doesNothingOnLowRam_exceptWatch()
2418 when(mPackageManagerClient.hasSystemFeature(FEATURE_WATCH)).thenReturn(true); in testSetDndAccess_doesNothingOnLowRam_exceptWatch()
3636 when(mPackageManagerClient.hasSystemFeature(FEATURE_WATCH)).thenReturn(false); in testCanUseManagedServicesLowRamNoWatchNullPkg()
3647 when(mPackageManagerClient.hasSystemFeature(FEATURE_WATCH)).thenReturn(false); in testCanUseManagedServicesLowRamNoWatchValidPkg()
3658 when(mPackageManagerClient.hasSystemFeature(FEATURE_WATCH)).thenReturn(false); in testCanUseManagedServicesLowRamNoWatchNoValidPkg()
3669 when(mPackageManagerClient.hasSystemFeature(FEATURE_WATCH)).thenReturn(true); in testCanUseManagedServicesLowRamWatchNoValidPkg()
3680 when(mPackageManagerClient.hasSystemFeature(FEATURE_WATCH)).thenReturn(false); in testCanUseManagedServicesNoLowRamNoWatchValidPkg()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java668 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH, 0)) { in grantDefaultSystemHandlerPermissions()
773 mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH, 0); in grantDefaultPermissionsToDefaultSystemDialerApp()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java278 mWatch = pm.hasSystemFeature(PackageManager.FEATURE_WATCH); in onStart()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java1306 PackageManager.FEATURE_WATCH); in showZenUpgradeNotification()
DNotificationManagerService.java7337 || mPackageManagerClient.hasSystemFeature(PackageManager.FEATURE_WATCH);
/frameworks/base/services/java/com/android/server/
DSystemServer.java910 PackageManager.FEATURE_WATCH); in startOtherServices()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java2619 public static final String FEATURE_WATCH = "android.hardware.type.watch"; field in PackageManager
DPackageParser.java33 import static android.content.pm.PackageManager.FEATURE_WATCH;
4768 : (mCallback != null && mCallback.hasFeature(FEATURE_WATCH))
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java29 import static android.content.pm.PackageManager.FEATURE_WATCH;
1752 mHasFeatureWatch = mContext.getPackageManager().hasSystemFeature(FEATURE_WATCH); in init()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java835 PackageManager.FEATURE_WATCH); in migrateOldData()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java391 getContext().getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)) { in requestFeature()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2231 .hasSystemFeature(PackageManager.FEATURE_WATCH); in DevicePolicyManagerService()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...