Searched refs:activityTarget (Results 1 – 2 of 2) sorted by relevance
124 for (AccessibilityTarget activityTarget : activityTargets) { in getAccessibilityFilteredTargets()126 serviceTarget -> arePackageNameAndLabelTheSame(serviceTarget, activityTarget)); in getAccessibilityFilteredTargets()137 @NonNull AccessibilityTarget activityTarget) { in arePackageNameAndLabelTheSame() argument141 ComponentName.unflattenFromString(activityTarget.getId()); in arePackageNameAndLabelTheSame()144 final boolean isSameLabel = activityTarget.getLabel().equals( in arePackageNameAndLabelTheSame()
127 if (target instanceof AccessibilityActivityTarget activityTarget) { in onTargetChecked()128 if (!activityTarget.isShortcutEnabled() in onTargetChecked()129 && sendRestrictedDialogIntentIfNeeded(activityTarget)) { in onTargetChecked()