/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/ |
D | BaseUsePermissionTest.kt | 228 !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 …]
|
D | PermissionSplitTest.kt | 90 if (isWatch) { in testLocationPermissionSplit() 112 if (isWatch) { in testBodySensorPermissionSplit()
|
D | NotificationPermissionTest.kt | 204 if (isAutomotive || isWatch) { in notificationPromptShownForSubsequentStartsIfTaskStartWasLauncher() 242 if (!isWatch) { in notificationPromptNotShownForSubsequentStartsIfSubsequentIsDifferentPkg() 403 if (!isWatch) { in launchApp()
|
D | PermissionUsageInfoTest.kt | 34 assumeFalse(isWatch) in assumeHandheld()
|
D | MediaPermissionUpgradeTest.kt | 42 waitForWindowTransition = !isWatch in testAfterUpgradeToTiramisuThenNoGrantDialogShownForMediaPerms()
|
D | PermissionReviewTapjackingTest.kt | 77 if (isWatch) { in testOverlaysAreHidden()
|
D | PermissionGroupTest.kt | 83 waitForWindowTransition = !isWatch in testRuntimeGroupGrantExpansion()
|
D | PermissionTest23.kt | 341 isTv || isAutomotive || isWatch in testAskButtonSetsFlags() 379 if (isTv || isWatch) { in denyPermissionRequestWithPrejudice()
|
D | SafetyProtectionTest.kt | 49 assumeFalse(isWatch) in setup()
|
D | LocationAccuracyTest.kt | 49 assumeFalse(isWatch) in setup()
|
D | CameraMicIndicatorsPermissionTest.kt | 111 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>()
|
D | LocationProviderInterceptDialogTest.kt | 56 assumeFalse(isWatch) in setup()
|
D | SensorBlockedBannerTest.kt | 72 Assume.assumeFalse(isWatch) in setup()
|
D | PermissionTest29.kt | 180 } else if (isWatch) { in openSettingsThenDoNothingThenLeave()
|
D | PermissionRationalePermissionGrantDialogTest.kt | 61 Assume.assumeFalse(isWatch) in setup()
|
D | AppPermissionTest.kt | 63 Assume.assumeFalse(isWatch) in setup()
|
/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/hosttestutils/ |
D | DeviceSupportHostUtils.java | 40 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/ |
D | CellBroadcastSettings.java | 190 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 …]
|
D | CellBroadcastAlertService.java | 727 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/ |
D | AccessCameraOrMicActivity.kt | 70 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/ |
D | UndefinedGroupPermissionTest.kt | 170 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/ |
D | PermissionUtils.kt | 34 fun isWatch(context: Context): Boolean = in isAutomotive() method
|
/packages/modules/Bluetooth/framework/tests/util/src/android/bluetooth/cts/ |
D | TestUtils.java | 86 if (isAutomotive(context) || isWatch(context) || isTv(context)) { in isProfileEnabled()
|
/packages/modules/Bluetooth/framework/tests/util/src/android/bluetooth/test_utils/ |
D | TestUtils.java | 181 public static boolean isWatch(Context context) { in isWatch() method in TestUtils
|
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/ |
D | BluetoothRouteManager.java | 818 public boolean isWatch(BluetoothDevice device) { in isWatch() method in BluetoothRouteManager 871 if (mFeatureFlags.ignoreAutoRouteToWatchDevice() && isWatch(device)) { in computeAddressToConnectTo() 994 if (mFeatureFlags.ignoreAutoRouteToWatchDevice() && isWatch(device)) {
|