Home
last modified time | relevance | path

Searched refs:isWatch (Results 1 – 25 of 41) sorted by relevance

12

/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DBaseUsePermissionTest.kt228 !isWatch && in <lambda>()
416 if (isAutomotive || isWatch) { in <lambda>()
606 if (isAutomotive || isWatch) { in <lambda>()
676 waitForWindowTransition: Boolean = !isWatch, in <lambda>()
711 waitForWindowTransition: Boolean = !isWatch, in <lambda>()
777 waitForWindowTransition: Boolean = !isWatch, in <lambda>()
805 if (isAutomotive || isWatch) { in <lambda>()
813 if (isAutomotive || isWatch) { in <lambda>()
853 if (isAutomotive || isTv || isWatch) { in <lambda>()
865 if (isAutomotive || isWatch) { in <lambda>()
[all …]
DPermissionSplitTest.kt90 if (isWatch) { in testLocationPermissionSplit()
112 if (isWatch) { in testBodySensorPermissionSplit()
DNotificationPermissionTest.kt204 if (isAutomotive || isWatch) { in notificationPromptShownForSubsequentStartsIfTaskStartWasLauncher()
242 if (!isWatch) { in notificationPromptNotShownForSubsequentStartsIfSubsequentIsDifferentPkg()
403 if (!isWatch) { in launchApp()
DPermissionUsageInfoTest.kt34 assumeFalse(isWatch) in assumeHandheld()
DMediaPermissionUpgradeTest.kt42 waitForWindowTransition = !isWatch in testAfterUpgradeToTiramisuThenNoGrantDialogShownForMediaPerms()
DPermissionReviewTapjackingTest.kt77 if (isWatch) { in testOverlaysAreHidden()
DPermissionGroupTest.kt83 waitForWindowTransition = !isWatch in testRuntimeGroupGrantExpansion()
DPermissionTest23.kt341 isTv || isAutomotive || isWatch in testAskButtonSetsFlags()
379 if (isTv || isWatch) { in denyPermissionRequestWithPrejudice()
DSafetyProtectionTest.kt49 assumeFalse(isWatch) in setup()
DLocationAccuracyTest.kt49 assumeFalse(isWatch) in setup()
DCameraMicIndicatorsPermissionTest.kt111 private val isWatch = packageManager.hasSystemFeature(PackageManager.FEATURE_WATCH) in <lambda>() constant in android.permissionui.cts.CameraMicIndicatorsPermissionTest
371 if (isWatch) { in <lambda>()
436 } else if (isWatch) { in <lambda>()
DLocationProviderInterceptDialogTest.kt56 assumeFalse(isWatch) in setup()
DSensorBlockedBannerTest.kt72 Assume.assumeFalse(isWatch) in setup()
DPermissionTest29.kt180 } else if (isWatch) { in openSettingsThenDoNothingThenLeave()
DPermissionRationalePermissionGrantDialogTest.kt61 Assume.assumeFalse(isWatch) in setup()
DAppPermissionTest.kt63 Assume.assumeFalse(isWatch) in setup()
/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/hosttestutils/
DDeviceSupportHostUtils.java40 return !isWatch() in isSdkSandboxSupported()
47 private boolean isWatch() throws DeviceNotAvailableException { in isWatch() method in DeviceSupportHostUtils
48 return FeatureUtil.isWatch(mTest.getDevice()); in isWatch()
73 && !isWatch() in isGoDevice()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastSettings.java190 boolean isWatch = getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH); in onCreate()
192 boolean hideToolbar = !SdkLevel.isAtLeastS() || isWatch; in onCreate()
608 boolean isWatch = getActivity().getPackageManager().hasSystemFeature( in updatePreferenceVisibility()
618 if (isWatch && !mPresidentialCheckBox.isVisible()) { in updatePreferenceVisibility()
627 if (isWatch && !mExtremeCheckBox.isVisible()) { in updatePreferenceVisibility()
636 if (isWatch && !mSevereCheckBox.isVisible()) { in updatePreferenceVisibility()
645 if (isWatch && !mAmberCheckBox.isVisible()) { in updatePreferenceVisibility()
656 if (isWatch && !mPublicSafetyMessagesChannelCheckBox.isVisible()) { in updatePreferenceVisibility()
704 if (isWatch && !mEmergencyAlertsCheckBox.isVisible()) { in updatePreferenceVisibility()
714 if (isWatch && !mStateLocalTestCheckBox.isVisible()) { in updatePreferenceVisibility()
[all …]
DCellBroadcastAlertService.java727 boolean isWatch = getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH); in openEmergencyAlertNotification()
729 isWatch || (res.getBoolean(R.bool.show_override_dnd_settings) in openEmergencyAlertNotification()
772 if (isWatch) { in openEmergencyAlertNotification()
825 boolean isWatch = context.getPackageManager() in addToNotificationBar()
830 if (isWatch) { in addToNotificationBar()
847 if (isWatch) { in addToNotificationBar()
890 if (isWatch) { in addToNotificationBar()
951 if (isWatch) { in addToNotificationBar()
965 if (isWatch && !channelManager.isEmergencyMessage(message)) { in addToNotificationBar()
/packages/modules/Permission/tests/cts/permissionui/AppThatAccessesCameraAndMic/src/android/permissionui/cts/appthataccessescameraandmic/
DAccessCameraOrMicActivity.kt70 private var isWatch = false variable
90 isWatch = packageManager.hasSystemFeature(PackageManager.FEATURE_WATCH) in onStart()
104 if (isWatch) { in onStart()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DUndefinedGroupPermissionTest.kt170 return if (FeatureUtil.isAutomotive() || FeatureUtil.isWatch()) { in findAllowButton()
200 if (FeatureUtil.isAutomotive() || FeatureUtil.isWatch()) { in testOtherGroupPermissionsNotGranted()
/packages/modules/Permission/tests/cts/permissionmultidevice/TestUtils/src/android/permissionmultidevice/cts/
DPermissionUtils.kt34 fun isWatch(context: Context): Boolean = in isAutomotive() method
/packages/modules/Bluetooth/framework/tests/util/src/android/bluetooth/cts/
DTestUtils.java86 if (isAutomotive(context) || isWatch(context) || isTv(context)) { in isProfileEnabled()
/packages/modules/Bluetooth/framework/tests/util/src/android/bluetooth/test_utils/
DTestUtils.java181 public static boolean isWatch(Context context) { in isWatch() method in TestUtils
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothRouteManager.java818 public boolean isWatch(BluetoothDevice device) { in isWatch() method in BluetoothRouteManager
871 if (mFeatureFlags.ignoreAutoRouteToWatchDevice() && isWatch(device)) { in computeAddressToConnectTo()
994 if (mFeatureFlags.ignoreAutoRouteToWatchDevice() && isWatch(device)) {

12