Searched refs:PreferredActivity (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PreferredIntentResolver.java | 29 extends WatchedIntentResolver<PreferredActivity, PreferredActivity> 32 protected PreferredActivity[] newArray(int size) { in newArray() 33 return new PreferredActivity[size]; in newArray() 37 protected boolean isPackageForFilter(String packageName, PreferredActivity filter) { in isPackageForFilter() 43 PreferredActivity filter) { in dumpFilter() 48 protected IntentFilter getIntentFilter(@NonNull PreferredActivity input) { in getIntentFilter() 52 public boolean shouldAddPreferredActivity(PreferredActivity pa) { in shouldAddPreferredActivity() 53 ArrayList<PreferredActivity> pal = findFilters(pa); in shouldAddPreferredActivity() 62 PreferredActivity cur = pal.get(i); in shouldAddPreferredActivity() 78 protected PreferredActivity snapshot(PreferredActivity f) { in snapshot()
|
D | PreferredActivity.java | 33 class PreferredActivity extends WatchedIntentFilter implements PreferredComponent.Callbacks { class 42 final SnapshotCache<PreferredActivity> mSnapshot; 45 return new SnapshotCache<PreferredActivity>(this, this) { in makeCache() 47 public PreferredActivity createSnapshot() { in makeCache() 48 PreferredActivity s = new PreferredActivity(mSource); in makeCache() 54 PreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, 61 PreferredActivity(WatchedIntentFilter filter, int match, ComponentName[] set, 67 private PreferredActivity(PreferredActivity f) { 73 PreferredActivity(TypedXmlPullParser parser) throws XmlPullParserException, IOException { 104 public void dumpPref(PrintWriter out, String prefix, PreferredActivity filter) { [all …]
|
D | PreferredActivityHelper.java | 210 final ArrayList<PreferredActivity> existing = pir.findFilters(filter); 215 new PreferredActivity(filter, match, set, activity, always)); 265 final ArrayList<PreferredActivity> existing = pir.findFilters(filter); 267 final PreferredActivity cur = existing.get(0); 667 final Iterator<PreferredActivity> it = pir.filterIterator(); 669 final PreferredActivity pa = it.next();
|
D | Settings.java | 1672 PreferredActivity pa = new PreferredActivity(parser); 2227 for (final PreferredActivity pa : pir.filterSet()) { 3650 @NonNull WatchedIntentFilter filter, @NonNull List<PreferredActivity> existing) { 3656 final PreferredActivity pa = existing.get(i); 3869 final List<PreferredActivity> existing = pir.findFilters(filter); 3873 PreferredActivity pa = new PreferredActivity(filter, systemMatch, set, cn, true); 3907 PreferredActivity tmpPa = new PreferredActivity(parser); 6519 ArrayList<PreferredActivity> removed = null; 6526 Iterator<PreferredActivity> it = pir.filterIterator(); 6528 PreferredActivity pa = it.next(); [all …]
|
D | ComputerEngine.java | 3308 List<PreferredActivity> prefs = pir != null in findPreferredActivityBody() 3342 final PreferredActivity pa = prefs.get(i); in findPreferredActivityBody() 3435 PreferredActivity freshPa = new PreferredActivity(pa, in findPreferredActivityBody() 3467 PreferredActivity lastChosen = new PreferredActivity( in findPreferredActivityBody()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | WatchedIntentHandlingTest.java | 98 PreferredActivity a = new PreferredActivity(i, 1, components, component, true); in testPreferredActivity() 116 PreferredActivity s1 = a.snapshot(); in testPreferredActivity() 125 PreferredActivity s2 = a.snapshot(); in testPreferredActivity() 146 PreferredActivity a1 = new PreferredActivity(i, 1, components, component, true); in testPreferredIntentResolver() 155 PreferredActivity s1 = a1.snapshot(); in testPreferredIntentResolver() 161 PreferredActivity s2 = a1.snapshot(); in testPreferredIntentResolver()
|
D | PreferredComponentTest.java | 71 final PreferredActivity pa = new PreferredActivity(new IntentFilter("TEST_ACTION"), in testPreferredComponent_sameSet_withAppInstalledByDeviceSetup() 104 final PreferredActivity pa = new PreferredActivity(new IntentFilter("TEST_ACTION"), in testPreferredComponent_notSameSet_withAppNotInstalledByDeviceSetup()
|
/frameworks/base/services/ |
D | art-wear-profile | 910 Lcom/android/server/pm/PreferredActivity$1; 911 Lcom/android/server/pm/PreferredActivity; 1509 [Lcom/android/server/pm/PreferredActivity; 19159 …om/android/server/pm/PreferredActivity$1;-><init>(Lcom/android/server/pm/PreferredActivity;Lcom/an… 19160 HSPLcom/android/server/pm/PreferredActivity$1;->createSnapshot()Lcom/android/server/pm/PreferredAct… 19161 HSPLcom/android/server/pm/PreferredActivity$1;->createSnapshot()Ljava/lang/Object; 19162 HSPLcom/android/server/pm/PreferredActivity;-><init>(Lcom/android/modules/utils/TypedXmlPullParser;… 19163 HSPLcom/android/server/pm/PreferredActivity;-><init>(Lcom/android/server/pm/PreferredActivity;)V 19164 …com/android/server/pm/PreferredActivity;-><init>(Lcom/android/server/pm/PreferredActivity;Lcom/and… 19165 HSPLcom/android/server/pm/PreferredActivity;->makeCache()Lcom/android/server/utils/SnapshotCache; [all …]
|