Home
last modified time | relevance | path

Searched refs:FEATURE_WATCH (Results 1 – 19 of 19) 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.java348 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_WATCH)) { in onCreate()
366 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.java42 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 …]
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java673 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH, 0)) { in grantDefaultSystemHandlerPermissions()
778 mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH, 0); in grantDefaultPermissionsToDefaultSystemDialerApp()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java348 mWatch = pm.hasSystemFeature(PackageManager.FEATURE_WATCH); in onStart()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java1305 PackageManager.FEATURE_WATCH); in showZenUpgradeNotification()
DNotificationManagerService.java7587 || mPackageManagerClient.hasSystemFeature(PackageManager.FEATURE_WATCH);
/frameworks/base/services/java/com/android/server/
DSystemServer.java943 PackageManager.FEATURE_WATCH); in startOtherServices()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java2660 public static final String FEATURE_WATCH = "android.hardware.type.watch"; field in PackageManager
DPackageParser.java33 import static android.content.pm.PackageManager.FEATURE_WATCH;
4826 : (mCallback != null && mCallback.hasFeature(FEATURE_WATCH))
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java30 import static android.content.pm.PackageManager.FEATURE_WATCH;
1755 mHasFeatureWatch = mContext.getPackageManager().hasSystemFeature(FEATURE_WATCH); in init()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java859 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.java2239 .hasSystemFeature(PackageManager.FEATURE_WATCH); in DevicePolicyManagerService()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8839 field public static final java.lang.String FEATURE_WATCH = "android.hardware.type.watch";
/frameworks/base/non-updatable-api/
Dcurrent.txt11785 field public static final String FEATURE_WATCH = "android.hardware.type.watch";
/frameworks/base/api/
Dcurrent.txt11785 field public static final String FEATURE_WATCH = "android.hardware.type.watch";