/frameworks/base/tools/bit/ |
H A D | aapt.h | 29 vector<string> activities; member in struct:Apk
|
H A D | aapt.cpp | 35 const size_t N = activities.size(); 37 if (activities[i] == fullClassName) { 257 vector<Element*> activities; local 258 root->FindElements("", "activity", &activities, true); 259 for (size_t i=0; i<activities.size(); i++) { 260 string name = activities[i]->GetAttr(ANDROID_NS, "name"); 264 apk->activities.push_back(full_class_name(apk->package, name));
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
H A D | TaskRecordTests.java | 188 ArrayList<ActivityRecord> activities, long lastTimeMoved, 183 create(ActivityManagerService service, int taskId, Intent intent, Intent affinityIntent, String affinity, String rootAffinity, ComponentName realActivity, ComponentName origActivity, boolean rootWasReset, boolean autoRemoveRecents, boolean askedCompatMode, int userId, int effectiveUid, String lastDescription, ArrayList<ActivityRecord> activities, long lastTimeMoved, boolean neverRelinquishIdentity, ActivityManager.TaskDescription lastTaskDescription, int taskAffiliation, int prevTaskId, int nextTaskId, int taskAffiliationColor, int callingUid, String callingPackage, int resizeMode, boolean supportsPictureInPicture, boolean realActivitySuspended, boolean userSetupComplete, int minWidth, int minHeight) argument
|
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageInfo.java | 156 public ActivityInfo[] activities; field in class:PackageInfo 441 dest.writeTypedArray(activities, parcelableFlags | Parcelable.PARCELABLE_ELIDE_DUPLICATES); 503 activities = source.createTypedArray(ActivityInfo.CREATOR); 535 propagateApplicationInfo(applicationInfo, activities);
|
H A D | LauncherApps.java | 69 * Class for retrieving a list of launchable activities for the current user and any associated 495 * Retrieves a list of launchable activities that match {@link Intent#ACTION_MAIN} and 501 * @return List of launchable activities. Can be an empty list but will not be null. 581 * Retrieves a list of config activities for creating {@link ShortcutInfo}. 586 * @return List of config activities. Can be an empty list but will not be null. 604 @Nullable ParceledListSlice<ResolveInfo> activities, UserHandle user) { 605 if (activities == null) { 609 for (ResolveInfo ri : activities.getList()) { 603 convertToActivityList( @ullable ParceledListSlice<ResolveInfo> activities, UserHandle user) argument
|
H A D | PackageParser.java | 708 final int N = p.activities.size(); 713 final Activity a = p.activities.get(i); 718 pi.activities = ArrayUtils.trimToSize(res, num); 2521 for (Activity a : pkg.activities) { 3639 owner.activities.add(a); 3679 owner.activities.add(a); 3813 Collections.sort(owner.activities, (a1, a2) -> Integer.compare(a2.order, a1.order)); 3840 if (pkg == null || pkg.activities == null) return false; 3841 final ArrayList<Activity> activities = pkg.activities; 6242 public final ArrayList<Activity> activities = new ArrayList<Activity>(0); field in class:PackageParser.Package [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ActivityChooserModel.java | 54 * activities that can handle the given intent and order found activities 57 * choice history the file can be omitted, thus the activities will be ordered 65 * activities and they may be inconsistent with the functionality of some of the clients. 114 * Defines a sorter that is responsible for sorting the activities 120 * Sorts the <code>activities</code> in descending order of relevance 124 * @param activities Activities to be sorted. 129 public void sort(Intent intent, List<ActivityResolveInfo> activities, argument 240 * List of activities that can handle the current intent. 270 * The sorter for ordering activities base 945 sort(Intent intent, List<ActivityResolveInfo> activities, List<HistoricalRecord> historicalRecords) argument [all...] |
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | ActivityChooserModel.java | 48 * activities that can handle the given intent and order found activities 51 * choice history the file can be omitted, thus the activities will be ordered 59 * activities and they may be inconsistent with the functionality of some of the clients. 106 * Defines a sorter that is responsible for sorting the activities 112 * Sorts the <code>activities</code> in descending order of relevance 116 * @param activities Activities to be sorted. 121 public void sort(Intent intent, List<ActivityResolveInfo> activities, argument 232 * List of activities that can handle the current intent. 257 * The sorter for ordering activities base 925 sort(Intent intent, List<ActivityResolveInfo> activities, List<HistoricalRecord> historicalRecords) argument [all...] |
/frameworks/base/core/java/android/nfc/ |
H A D | NfcAdapter.java | 69 * contain the MIME type in its type field. This allows activities to register 75 * {@link #ACTION_TECH_DISCOVERED}. If any activities respond to this intent neither 85 * Intent to start an activity when a tag is discovered and activities are registered for the 133 * {@link #ACTION_TAG_DISCOVERED}. If any activities respond to {@link #ACTION_NDEF_DISCOVERED} 134 * this intent will not be started. If any activities respond to this intent 143 * <p>This intent will not be started when a tag is discovered if any activities respond to 1039 * messages completely (for all activities), you can include a 1048 * <p>The API allows for multiple activities to be specified at a time, 1078 * @param activities optional additional activities, howeve 1083 setNdefPushMessage(NdefMessage message, Activity activity, Activity ... activities) argument 1196 setNdefPushMessageCallback(CreateNdefMessageCallback callback, Activity activity, Activity ... activities) argument 1276 setOnNdefPushCompleteCallback(OnNdefPushCompleteCallback callback, Activity activity, Activity ... activities) argument [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ProcessRecord.java | 113 boolean hasClientActivities; // Are there any client services with activities? 116 boolean foregroundActivities; // Running any activities that are foreground? 117 boolean repForegroundActivities; // Last reported foreground activities. 176 // all activities running in the process 177 final ArrayList<ActivityRecord> activities = new ArrayList<>(); field in class:ProcessRecord 178 // any tasks this process had run root activities in 434 if (activities.size() > 0) { 436 for (int i=0; i<activities.size(); i++) { 437 pw.print(prefix); pw.print(" - "); pw.println(activities.get(i)); 571 * This method returns true if any of the activities withi [all...] |
H A D | TaskRecord.java | 224 boolean hasBeenVisible; // Set if any activities in the task have been visible to the user. 231 int numFullscreen; // Number of fullscreen activities. 233 int mResizeMode; // The resize mode of this task and its activities. 235 private boolean mSupportsPictureInPicture; // Whether or not this task and its activities 257 /** List of all activities in the task arranged in history order */ 381 int _effectiveUid, String _lastDescription, ArrayList<ActivityRecord> activities, 407 mActivities = activities; 1110 * Return the number of running activities, and the number of non-finishing/initializing 1111 * activities in the provided {@param reportOut} respectively. 1123 // Increment the total number of non-finishing activities 377 TaskRecord(ActivityManagerService service, int _taskId, Intent _intent, Intent _affinityIntent, String _affinity, String _rootAffinity, ComponentName _realActivity, ComponentName _origActivity, boolean _rootWasReset, boolean _autoRemoveRecents, boolean _askedCompatMode, int _userId, int _effectiveUid, String _lastDescription, ArrayList<ActivityRecord> activities, long lastTimeMoved, boolean neverRelinquishIdentity, TaskDescription _lastTaskDescription, int taskAffiliation, int prevTaskId, int nextTaskId, int taskAffiliationColor, int callingUid, String callingPackage, int resizeMode, boolean supportsPictureInPicture, boolean _realActivitySuspended, boolean userSetupComplete, int minWidth, int minHeight) argument 2246 create(ActivityManagerService service, int taskId, Intent intent, Intent affinityIntent, String affinity, String rootAffinity, ComponentName realActivity, ComponentName origActivity, boolean rootWasReset, boolean autoRemoveRecents, boolean askedCompatMode, int userId, int effectiveUid, String lastDescription, ArrayList<ActivityRecord> activities, long lastTimeMoved, boolean neverRelinquishIdentity, TaskDescription lastTaskDescription, int taskAffiliation, int prevTaskId, int nextTaskId, int taskAffiliationColor, int callingUid, String callingPackage, int resizeMode, boolean supportsPictureInPicture, boolean realActivitySuspended, boolean userSetupComplete, int minWidth, int minHeight) argument [all...] |