Home
last modified time | relevance | path

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

12

/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DDeviceUtils.java28 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH); in isWear()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DFullBackupJobTest.java97 .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/
DSystemDataTransferProcessor.java24 import static android.content.pm.PackageManager.FEATURE_WATCH;
277 FEATURE_WATCH)) { in onReceivePermissionRestore()
/frameworks/base/services/backup/java/com/android/server/backup/
DFullBackupJob.java62 if (!ctx.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)) { in schedule()
/frameworks/base/packages/SettingsLib/CollapsingToolbarBaseActivity/src/com/android/settingslib/collapsingtoolbar/
DCollapsingToolbarBaseActivity.java166 return packageManager.hasSystemFeature(PackageManager.FEATURE_WATCH); in isWatch()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardSliceViewControllerTest.java130 return pm.hasSystemFeature(PackageManager.FEATURE_WATCH); in isWatch()
/frameworks/base/core/java/com/android/internal/policy/
DWearGestureInterceptionDetector.java62 if (!pm.hasSystemFeature(PackageManager.FEATURE_WATCH)) { in isEnabled()
/frameworks/base/services/tests/VpnTests/java/android/net/
DVpnManagerTest.java71 PackageManager.FEATURE_WATCH)); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierServiceStateTrackerTest.java87 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/
DFlagManager.kt199 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH) in <lambda>()
/frameworks/base/services/companion/java/com/android/server/companion/association/
DAssociationRequestsProcessor.java25 import static android.content.pm.PackageManager.FEATURE_WATCH;
182 if (mContext.getPackageManager().hasSystemFeature(FEATURE_WATCH)) { in processNewAssociationRequest()
/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()
DWallpaperInfo.java148 pm.hasSystemFeature(PackageManager.FEATURE_WATCH); in WallpaperInfo()
DActivityTaskManager.java249 PackageManager.FEATURE_WATCH); in supportsMultiWindow()
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
DNotificationTest.java101 assumeFalse(pm.hasSystemFeature(PackageManager.FEATURE_WATCH)); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/
DAppClipsTrampolineActivityTest.java125 mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)); in setUp()
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/
DDynamicCodeLoggerIntegrationTests.java103 assumeFalse(sContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)); in setup()
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutChooserActivityTest.java137 pm.hasSystemFeature(PackageManager.FEATURE_WATCH)); in setUp()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserManagerServiceTest.java21 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/
DCarrierServiceStateTracker.java163 PackageManager.FEATURE_WATCH)) { in CarrierServiceStateTracker()
/frameworks/base/services/core/java/com/android/server/
DGestureLauncherService.java248 mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH); in onBootPhase()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssLocationProvider.java20 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/
DDefaultPermissionGrantPolicy.java866 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/
DBroadcastHelper.java767 && !packageManager.hasSystemFeature(PackageManager.FEATURE_WATCH); in isPrivacySafetyLabelChangeNotificationsEnabled()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandler.java320 mIsWatch = context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH); in FullScreenMagnificationGestureHandler()

12