Searched refs:FEATURE_WATCH (Results 1 – 19 of 19) sorted by relevance
30 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH); in isWear()
348 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_WATCH)) { in onCreate()366 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_WATCH)) { in onCreate()
290 PackageManager.FEATURE_WATCH); in supportsMultiWindow()
127 PackageManager.FEATURE_WATCH); in TaskSnapshotController()
42 import static android.content.pm.PackageManager.FEATURE_WATCH;357 when(mPackageManagerClient.hasSystemFeature(FEATURE_WATCH)).thenReturn(false); in setUp()2459 when(mPackageManagerClient.hasSystemFeature(FEATURE_WATCH)).thenReturn(true); in testSetListenerAccess_doesNothingOnLowRam_exceptWatch()2475 when(mPackageManagerClient.hasSystemFeature(FEATURE_WATCH)).thenReturn(true); in testSetAssistantAccess_doesNothingOnLowRam_exceptWatch()2496 when(mPackageManagerClient.hasSystemFeature(FEATURE_WATCH)).thenReturn(true); in testSetDndAccess_doesNothingOnLowRam_exceptWatch()3718 when(mPackageManagerClient.hasSystemFeature(FEATURE_WATCH)).thenReturn(false); in testCanUseManagedServicesLowRamNoWatchNullPkg()3729 when(mPackageManagerClient.hasSystemFeature(FEATURE_WATCH)).thenReturn(false); in testCanUseManagedServicesLowRamNoWatchValidPkg()3740 when(mPackageManagerClient.hasSystemFeature(FEATURE_WATCH)).thenReturn(false); in testCanUseManagedServicesLowRamNoWatchNoValidPkg()3751 when(mPackageManagerClient.hasSystemFeature(FEATURE_WATCH)).thenReturn(true); in testCanUseManagedServicesLowRamWatchNoValidPkg()3762 when(mPackageManagerClient.hasSystemFeature(FEATURE_WATCH)).thenReturn(false); in testCanUseManagedServicesNoLowRamNoWatchValidPkg()[all …]
673 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH, 0)) { in grantDefaultSystemHandlerPermissions()778 mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH, 0); in grantDefaultPermissionsToDefaultSystemDialerApp()
348 mWatch = pm.hasSystemFeature(PackageManager.FEATURE_WATCH); in onStart()
1305 PackageManager.FEATURE_WATCH); in showZenUpgradeNotification()
7587 || mPackageManagerClient.hasSystemFeature(PackageManager.FEATURE_WATCH);
943 PackageManager.FEATURE_WATCH); in startOtherServices()
2660 public static final String FEATURE_WATCH = "android.hardware.type.watch"; field in PackageManager
33 import static android.content.pm.PackageManager.FEATURE_WATCH;4826 : (mCallback != null && mCallback.hasFeature(FEATURE_WATCH))
30 import static android.content.pm.PackageManager.FEATURE_WATCH;1755 mHasFeatureWatch = mContext.getPackageManager().hasSystemFeature(FEATURE_WATCH); in init()
859 PackageManager.FEATURE_WATCH); in migrateOldData()
391 getContext().getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)) { in requestFeature()
2239 .hasSystemFeature(PackageManager.FEATURE_WATCH); in DevicePolicyManagerService()
8839 field public static final java.lang.String FEATURE_WATCH = "android.hardware.type.watch";
11785 field public static final String FEATURE_WATCH = "android.hardware.type.watch";