Home
last modified time | relevance | path

Searched refs:serviceTarget (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DAccessibilityShortcutChooserActivity.java115 if (target instanceof AccessibilityServiceTarget serviceTarget) { in onTargetChecked()
121 serviceTarget.getAccessibilityServiceInfo())) { in onTargetChecked()
155 AccessibilityServiceTarget serviceTarget, int position, in showPermissionDialogIfNeeded() argument
163 serviceTarget.getAccessibilityServiceInfo(), in showPermissionDialogIfNeeded()
165 serviceTarget.onCheckedChanged(true); in showPermissionDialogIfNeeded()
169 serviceTarget.onCheckedChanged(false); in showPermissionDialogIfNeeded()
175 serviceTarget.getComponentName().getPackageName(), null); in showPermissionDialogIfNeeded()
DAccessibilityTargetHelper.java126 serviceTarget -> arePackageNameAndLabelTheSame(serviceTarget, activityTarget)); in getAccessibilityFilteredTargets()
136 private static boolean arePackageNameAndLabelTheSame(@NonNull AccessibilityTarget serviceTarget, in arePackageNameAndLabelTheSame() argument
139 ComponentName.unflattenFromString(serviceTarget.getId()); in arePackageNameAndLabelTheSame()
145 serviceTarget.getLabel()); in arePackageNameAndLabelTheSame()
/frameworks/base/core/java/com/android/internal/app/
DChooserListAdapter.java685 final ChooserTargetInfo serviceTarget = mServiceTargets.get(i); in insertServiceTarget() local
686 if (serviceTarget == null) { in insertServiceTarget()
689 } else if (newScore > serviceTarget.getModifiedScore()) { in insertServiceTarget()