Home
last modified time | relevance | path

Searched refs:CrossProfileIntentFilter (Results 1 – 13 of 13) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DCrossProfileIntentResolver.java19 import static com.android.server.pm.CrossProfileIntentFilter.FLAG_IS_PACKAGE_FOR_FILTER;
33 extends WatchedIntentResolver<CrossProfileIntentFilter, CrossProfileIntentFilter>
36 protected CrossProfileIntentFilter[] newArray(int size) { in newArray()
37 return new CrossProfileIntentFilter[size]; in newArray()
41 protected boolean isPackageForFilter(String packageName, CrossProfileIntentFilter filter) { in isPackageForFilter()
46 protected void sortResults(List<CrossProfileIntentFilter> results) { in sortResults()
51 protected IntentFilter getIntentFilter(@NonNull CrossProfileIntentFilter input) { in getIntentFilter()
60 protected CrossProfileIntentFilter snapshot(CrossProfileIntentFilter f) { in snapshot()
H A DCrossProfileIntentFilter.java42 class CrossProfileIntentFilter extends WatchedIntentFilter { class
108 final SnapshotCache<CrossProfileIntentFilter> mSnapshot;
111 return new SnapshotCache<CrossProfileIntentFilter>(this, this) { in makeCache()
113 public CrossProfileIntentFilter createSnapshot() { in makeCache()
114 CrossProfileIntentFilter s = new CrossProfileIntentFilter(mSource); in makeCache()
120 CrossProfileIntentFilter(IntentFilter filter, String ownerPackage, int targetUserId,
125 CrossProfileIntentFilter(IntentFilter filter, String ownerPackage, int targetUserId,
135 CrossProfileIntentFilter(WatchedIntentFilter filter, String ownerPackage, int targetUserId,
146 private CrossProfileIntentFilter(CrossProfileIntentFilter f) {
237 boolean equalsIgnoreFilter(CrossProfileIntentFilter other) {
[all …]
H A DDefaultCrossProfileResolver.java80 long flags, String pkgName, List<CrossProfileIntentFilter> matchingFilters, in resolveIntent()
163 List<CrossProfileIntentFilter> matchingFilters, Intent intent, String resolvedType, in querySkipCurrentProfileIntents()
169 CrossProfileIntentFilter filter = matchingFilters.get(i); in querySkipCurrentProfileIntents()
204 List<CrossProfileIntentFilter> matchingFilters, Intent intent, String resolvedType, in queryCrossProfileIntents()
219 CrossProfileIntentFilter filter = matchingFilters.get(i); in queryCrossProfileIntents()
272 @NonNull CrossProfileIntentFilter filter, @NonNull Intent intent, in createForwardingResolveInfo()
H A DCrossProfileIntentResolverEngine.java134 List<CrossProfileIntentFilter> matchingFilters = in resolveIntentInternal()
157 SparseArray<List<CrossProfileIntentFilter>> crossProfileIntentFiltersByUser = in resolveIntentInternal()
161 CrossProfileIntentFilter crossProfileIntentFilter = matchingFilters.get(index); in resolveIntentInternal()
216 if ((CrossProfileIntentFilter in resolveIntentInternal()
308 List<CrossProfileIntentFilter> matches = in canReachToInternal()
313 CrossProfileIntentFilter crossProfileIntentFilter = matches.get(index); in canReachToInternal()
327 if ((CrossProfileIntentFilter.FLAG_ALLOW_CHAINED_RESOLUTION in canReachToInternal()
352 List<CrossProfileIntentFilter> matches = in shouldSkipCurrentProfile()
356 CrossProfileIntentFilter crossProfileIntentFilter = matches.get(matchIndex); in shouldSkipCurrentProfile()
H A DCrossProfileIntentFilterHelper.java87 ArraySet<CrossProfileIntentFilter> set = in clearCrossProfileIntentFilters()
89 for (CrossProfileIntentFilter filter : set) { in clearCrossProfileIntentFilters()
H A DCrossProfileResolver.java67 String pkgName, List<CrossProfileIntentFilter> matchingFilters, in resolveIntent()
H A DNoFilteringResolver.java97 String pkgName, List<CrossProfileIntentFilter> matchingFilters, in resolveIntent()
H A DComputer.java168 List<CrossProfileIntentFilter> getMatchingCrossProfileIntentFilters(Intent intent, in getMatchingCrossProfileIntentFilters()
H A DSettings.java1688 CrossProfileIntentFilter cpif = new CrossProfileIntentFilter(parser);
2102 for (final CrossProfileIntentFilter cpif : cpir.filterSet()) {
4442 ArraySet<CrossProfileIntentFilter> cpifs =
4443 new ArraySet<CrossProfileIntentFilter>(cpir.filterSet());
4444 for (CrossProfileIntentFilter cpif : cpifs) {
H A DUserManagerService.java2385 private @CrossProfileIntentFilter.AccessControlLevel int
2389 CrossProfileIntentFilter.ACCESS_LEVEL_ALL; in getCrossProfileIntentFilterAccessControl()
2435 if (CrossProfileIntentFilter.ACCESS_LEVEL_SYSTEM == effectiveAccessControl in isCrossProfileIntentFilterAccessible()
2445 if (CrossProfileIntentFilter.ACCESS_LEVEL_SYSTEM_ADD_ONLY == effectiveAccessControl in isCrossProfileIntentFilterAccessible()
2467 public @CrossProfileIntentFilter.AccessControlLevel int
H A DPackageManagerService.java3584 CrossProfileIntentFilter newFilter = new CrossProfileIntentFilter(intentFilter,
3589 ArrayList<CrossProfileIntentFilter> existing = resolver.findFilters(intentFilter);
4824 ArraySet<CrossProfileIntentFilter> set =
4826 for (CrossProfileIntentFilter filter : set) {
H A DComputerEngine.java1159 public final List<CrossProfileIntentFilter> getMatchingCrossProfileIntentFilters( in getMatchingCrossProfileIntentFilters()
/aosp14/frameworks/base/services/
H A Dart-profile5817 …/server/pm/CrossProfileIntentFilter$1;-><init>(Lcom/android/server/pm/CrossProfileIntentFilter;Lco…
5818 HSPLcom/android/server/pm/CrossProfileIntentFilter$1;->createSnapshot()Lcom/android/server/pm/Cross…
5819 HPLcom/android/server/pm/CrossProfileIntentFilter;-><init>(Landroid/content/IntentFilter;Ljava/lang…
5820 HSPLcom/android/server/pm/CrossProfileIntentFilter;-><init>(Lcom/android/modules/utils/TypedXmlPull…
5821 HSPLcom/android/server/pm/CrossProfileIntentFilter;-><init>(Lcom/android/server/pm/CrossProfileInte…
5823 HSPLcom/android/server/pm/CrossProfileIntentFilter;->makeCache()Lcom/android/server/utils/SnapshotC…
5824 HSPLcom/android/server/pm/CrossProfileIntentFilter;->snapshot()Lcom/android/server/pm/CrossProfileI…
5838 …olver;->snapshot(Lcom/android/server/pm/CrossProfileIntentFilter;)Lcom/android/server/pm/CrossProf…
12948 Lcom/android/server/pm/CrossProfileIntentFilter$1;
12949 Lcom/android/server/pm/CrossProfileIntentFilter;
[all …]