Searched defs:activities (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/tools/bit/
H A Daapt.h29 vector<string> activities; member in struct:Apk
H A Daapt.cpp35 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/core/java/android/content/pm/
H A DPackageInfo.java112 public ActivityInfo[] activities; field in class:PackageInfo
314 dest.writeTypedArray(activities, parcelableFlags | Parcelable.PARCELABLE_ELIDE_DUPLICATES);
365 activities = source.createTypedArray(ActivityInfo.CREATOR);
389 propagateApplicationInfo(applicationInfo, activities);
H A DLauncherApps.java69 * Class for retrieving a list of launchable activities for the current user and any associated
440 * Retrieves a list of launchable activities that match {@link Intent#ACTION_MAIN} and
446 * @return List of launchable activities. Can be an empty list but will not be null.
524 * Retrieves a list of config activities for creating {@link ShortcutInfo}.
529 * @return List of config activities. Can be an empty list but will not be null.
547 @Nullable ParceledListSlice<ResolveInfo> activities, UserHandle user) {
548 if (activities == null) {
552 for (ResolveInfo ri : activities.getList()) {
546 convertToActivityList( @ullable ParceledListSlice<ResolveInfo> activities, UserHandle user) argument
H A DPackageParser.java675 final int N = p.activities.size();
680 final Activity a = p.activities.get(i);
685 pi.activities = ArrayUtils.trimToSize(res, num);
2613 for (Activity a : pkg.activities) {
3657 owner.activities.add(a);
3693 owner.activities.add(a);
3845 if (pkg == null || pkg.activities == null) return false;
3846 final ArrayList<Activity> activities = pkg.activities;
3847 final int countActivities = activities
5712 public final ArrayList<Activity> activities = new ArrayList<Activity>(0); field in class:PackageParser.Package
[all...]
/frameworks/base/core/java/android/widget/
H A DActivityChooserModel.java54 * 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/android/support/v7/widget/
H A DActivityChooserModel.java48 * 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 DNfcAdapter.java70 * contain the MIME type in its type field. This allows activities to register
76 * {@link #ACTION_TECH_DISCOVERED}. If any activities respond to this intent neither
86 * Intent to start an activity when a tag is discovered and activities are registered for the
134 * {@link #ACTION_TAG_DISCOVERED}. If any activities respond to {@link #ACTION_NDEF_DISCOVERED}
135 * this intent will not be started. If any activities respond to this intent
144 * <p>This intent will not be started when a tag is discovered if any activities respond to
993 * messages completely (for all activities), you can include a
1002 * <p>The API allows for multiple activities to be specified at a time,
1032 * @param activities optional additional activities, howeve
1037 setNdefPushMessage(NdefMessage message, Activity activity, Activity ... activities) argument
1150 setNdefPushMessageCallback(CreateNdefMessageCallback callback, Activity activity, Activity ... activities) argument
1230 setOnNdefPushCompleteCallback(OnNdefPushCompleteCallback callback, Activity activity, Activity ... activities) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DProcessRecord.java107 boolean hasClientActivities; // Are there any client services with activities?
110 boolean foregroundActivities; // Running any activities that are foreground?
111 boolean repForegroundActivities; // Last reported foreground activities.
162 // all activities running in the process
163 final ArrayList<ActivityRecord> activities = new ArrayList<>(); field in class:ProcessRecord
385 if (activities.size() > 0) {
387 for (int i=0; i<activities.size(); i++) {
388 pw.print(prefix); pw.print(" - "); pw.println(activities.get(i));
508 * This method returns true if any of the activities within the process record are interesting
512 final int size = activities
[all...]
H A DTaskRecord.java213 boolean hasBeenVisible; // Set if any activities in the task have been visible to the user.
220 int numFullscreen; // Number of fullscreen activities.
222 int mResizeMode; // The resize mode of this task and its activities.
224 private boolean mSupportsPictureInPicture; // Whether or not this task and its activities
253 /** List of all activities in the task arranged in history order */
387 int _effectiveUid, String _lastDescription, ArrayList<ActivityRecord> activities,
422 mActivities = activities;
1186 // All activities of this task are finishing. As we ought to have a frontOfTask
1243 // Otherwise make all added activities match this one.
1307 // activities ar
383 TaskRecord(ActivityManagerService service, int _taskId, Intent _intent, Intent _affinityIntent, String _affinity, String _rootAffinity, ComponentName _realActivity, ComponentName _origActivity, boolean _rootWasReset, boolean _autoRemoveRecents, boolean _askedCompatMode, int _taskType, int _userId, int _effectiveUid, String _lastDescription, ArrayList<ActivityRecord> activities, long _firstActiveTime, long _lastActiveTime, long lastTimeMoved, boolean neverRelinquishIdentity, TaskDescription _lastTaskDescription, TaskThumbnailInfo lastThumbnailInfo, int taskAffiliation, int prevTaskId, int nextTaskId, int taskAffiliationColor, int callingUid, String callingPackage, int resizeMode, boolean supportsPictureInPicture, boolean privileged, boolean _realActivitySuspended, boolean userSetupComplete, int minWidth, int minHeight) argument
[all...]

Completed in 2064 milliseconds