Searched refs:FEATURE_WATCH (Results 1 – 17 of 17) sorted by relevance
30 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH); in isWear()
344 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_WATCH)) { in onCreate()362 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_WATCH)) { in onCreate()
290 PackageManager.FEATURE_WATCH); in supportsMultiWindow()
127 PackageManager.FEATURE_WATCH); in TaskSnapshotController()
41 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 …]
668 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH, 0)) { in grantDefaultSystemHandlerPermissions()773 mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH, 0); in grantDefaultPermissionsToDefaultSystemDialerApp()
278 mWatch = pm.hasSystemFeature(PackageManager.FEATURE_WATCH); in onStart()
1306 PackageManager.FEATURE_WATCH); in showZenUpgradeNotification()
7337 || mPackageManagerClient.hasSystemFeature(PackageManager.FEATURE_WATCH);
910 PackageManager.FEATURE_WATCH); in startOtherServices()
2619 public static final String FEATURE_WATCH = "android.hardware.type.watch"; field in PackageManager
33 import static android.content.pm.PackageManager.FEATURE_WATCH;4768 : (mCallback != null && mCallback.hasFeature(FEATURE_WATCH))
29 import static android.content.pm.PackageManager.FEATURE_WATCH;1752 mHasFeatureWatch = mContext.getPackageManager().hasSystemFeature(FEATURE_WATCH); in init()
835 PackageManager.FEATURE_WATCH); in migrateOldData()
391 getContext().getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)) { in requestFeature()
2231 .hasSystemFeature(PackageManager.FEATURE_WATCH); in DevicePolicyManagerService()
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...