/frameworks/base/services/core/java/com/android/server/search/ |
H A D | Searchables.java | 46 * This class maintains the information about all searchable activities. 64 // Contains all installed activities that handle the global search 82 * @param context Context to use for looking up activities etc. 93 * The activities fall into three cases, based on meta-data found in 128 // References must point directly to searchable activities. 185 * activities that are searchable, by iterating the entire set of 188 * Also clears the hash of all activities -> searches which will 283 // of activities that can handle the GLOBAL_SEARCH intent. 285 List<ResolveInfo> activities = 287 if (activities ! [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityStack.java | 80 * State and management of a single stack of activities. 156 * running) activities. It contains #TaskRecord objects. 166 * List of running activities, sorted by recent usage. 205 * identify when multiple activities are started at once so that the user 385 final ArrayList<ActivityRecord> activities = task.mActivities; 386 for (int activityNdx = activities.size() - 1; activityNdx >= 0; --activityNdx) { 387 ActivityRecord r = activities.get(activityNdx); 411 ArrayList<ActivityRecord> activities = task.mActivities; 412 for (int i = activities.size() - 1; i >= 0; --i) { 413 final ActivityRecord r = activities [all...] |
H A D | ProcessRecord.java | 102 boolean hasClientActivities; // Are there any client services with activities? 105 boolean foregroundActivities; // Running any activities that are foreground? 106 boolean repForegroundActivities; // Last reported foreground activities. 148 // all activities running in the process 149 final ArrayList<ActivityRecord> activities = new ArrayList<>(); field in class:ProcessRecord 357 if (activities.size() > 0) { 359 for (int i=0; i<activities.size(); i++) { 360 pw.print(prefix); pw.print(" - "); pw.println(activities.get(i)); 476 * This method returns true if any of the activities within the process record are interesting 480 final int size = activities [all...] |
H A D | TaskRecord.java | 121 boolean hasBeenVisible; // Set if any activities in the task have been visible to the user. 126 int numFullscreen; // Number of fullscreen activities. 154 /** List of all activities in the task arranged in history order */ 251 int _effectiveUid, String _lastDescription, ArrayList<ActivityRecord> activities, 280 mActivities = activities; 558 // All activities of this task are finishing. As we ought to have a frontOfTask 603 // Otherwise make all added activities match this one. 637 * Completely remove all activities associated with an existing 662 * Completely remove all activities associated with an existing task. 675 * activities o 247 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, int taskAffiliation, int prevTaskId, int nextTaskId, int taskAffiliationColor, int callingUid, String callingPackage, boolean resizeable, boolean privileged) argument [all...] |
H A D | ActivityStackSupervisor.java | 219 /** Task identifier that activities are currently being started in. Incremented each time a 238 /** List of activities that are waiting for a new activity to become visible before completing 248 /** List of activities that are ready to be stopped, but waiting for the next activity to 252 /** List of activities that are ready to be finished, but waiting for the previous activity to 256 /** List of activities that are in the process of going to sleep. */ 702 * Pause all activities in either all of the stacks or just the back stacks. 1012 if (mService.mHeavyWeightProcess.activities.size() > 0) { 1013 ActivityRecord hist = mService.mHeavyWeightProcess.activities.get(0); 1211 int idx = app.activities.indexOf(r); 1213 app.activities [all...] |
H A D | ActivityManagerService.java | 627 * Where in mLruProcesses that the processes hosting activities start. 1037 * activities from being started/resumed. 1042 * The process state used for processes that are running the top activities. 1073 * activities. 2732 if (app.activities.size() > 0) { 2733 // Don't want to touch dependent processes that are hosting activities. 2751 // Don't want to touch dependent processes that are hosting activities. 2791 final boolean hasActivity = app.activities.size() > 0 || app.hasClientActivities 2795 // The process has activities, so we are only allowing activity-based adjustments 2797 // processes that have activities, an [all...] |
H A D | ActiveServices.java | 662 if (modCr.binding.client.activities.size() <= 0) { 663 // This connection is from a client without activities, so adding 680 if (cr.binding.client.activities.size() > 0) {
|
/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/android/support/v7/internal/widget/ |
H A D | ActivityChooserModel.java | 49 * activities that can handle the given intent and order found activities 52 * choice history the file can be omitted, thus the activities will be ordered 60 * activities and they may be inconsistent with the functionality of some of the clients. 109 * Defines a sorter that is responsible for sorting the activities 115 * Sorts the <code>activities</code> in descending order of relevance 119 * @param activities Activities to be sorted. 124 public void sort(Intent intent, List<ActivityResolveInfo> activities, argument 235 * List of activities that can handle the current intent. 260 * The sorter for ordering activities base 923 sort(Intent intent, List<ActivityResolveInfo> activities, List<HistoricalRecord> historicalRecords) argument [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageInfo.java | 112 public ActivityInfo[] activities; field in class:PackageInfo 308 dest.writeTypedArray(activities, parcelableFlags); 357 activities = source.createTypedArray(ActivityInfo.CREATOR);
|
H A D | LauncherApps.java | 40 * Class for retrieving a list of launchable activities for the current user and any associated 136 * Retrieves a list of launchable activities that match {@link Intent#ACTION_MAIN} and 142 * @return List of launchable activities. Can be an empty list but will not be null. 145 List<ResolveInfo> activities = null; 147 activities = mService.getLauncherActivities(packageName, user); 151 if (activities == null) { 155 final int count = activities.size(); 157 ResolveInfo ri = activities.get(i);
|
H A D | PackageParser.java | 460 int N = p.activities.size(); 463 pi.activities = new ActivityInfo[N]; 467 if (p.activities.get(i).info.enabled) num++; 469 pi.activities = new ActivityInfo[num]; 472 final Activity activity = p.activities.get(i); 475 pi.activities[j++] = generateActivityInfo(p.activities.get(i), flags, 2683 owner.activities.add(a); 2719 owner.activities.add(a); 2824 if (pkg == null || pkg.activities 4298 public final ArrayList<Activity> activities = new ArrayList<Activity>(0); field in class:PackageParser.Package [all...] |
/frameworks/base/core/java/android/nfc/ |
H A D | NfcAdapter.java | 66 * contain the MIME type in its type field. This allows activities to register 72 * {@link #ACTION_TECH_DISCOVERED}. If any activities respond to this intent neither 82 * Intent to start an activity when a tag is discovered and activities are registered for the 130 * {@link #ACTION_TAG_DISCOVERED}. If any activities respond to {@link #ACTION_NDEF_DISCOVERED} 131 * this intent will not be started. If any activities respond to this intent 140 * <p>This intent will not be started when a tag is discovered if any activities respond to 916 * messages completely (for all activities), you can include a 925 * <p>The API allows for multiple activities to be specified at a time, 955 * @param activities optional additional activities, howeve 959 setNdefPushMessage(NdefMessage message, Activity activity, Activity ... activities) argument 1061 setNdefPushMessageCallback(CreateNdefMessageCallback callback, Activity activity, Activity ... activities) argument 1135 setOnNdefPushCompleteCallback(OnNdefPushCompleteCallback callback, Activity activity, Activity ... activities) argument [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TaskStack.java | 121 final ArrayList<AppWindowToken> activities = mTasks.get(taskNdx).mAppTokens; 122 for (int activityNdx = activities.size() - 1; activityNdx >= 0; --activityNdx) { 123 final ArrayList<WindowState> windows = activities.get(activityNdx).allAppWindows; 268 final ArrayList<AppWindowToken> activities = mTasks.get(taskNdx).mAppTokens; 269 for (int activityNdx = activities.size() - 1; activityNdx >= 0; --activityNdx) { 270 final ArrayList<WindowState> windows = activities.get(activityNdx).allAppWindows;
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceManager.java | 39 * from activities or XML. 190 * activities. 206 * @param queryIntent The intent to match activities. 213 final List<ResolveInfo> activities = queryIntentActivities(queryIntent); 216 for (int i = activities.size() - 1; i >= 0; i--) { 217 final ActivityInfo activityInfo = activities.get(i).activityInfo;
|
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/ |
H A D | ProcessErrorsTest.java | 93 * A test that runs all Launcher-launchable activities and verifies that no ANRs or crashes 239 final List<ResolveInfo> activities = pm.queryIntentActivities(launchable, 0); 240 return activities;
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbSettingsManager.java | 964 ActivityInfo[] activities = info.activities; 965 if (activities == null) return; 966 for (int i = 0; i < activities.length; i++) { 968 if (handlePackageUpdateLocked(packageName, activities[i], 972 if (handlePackageUpdateLocked(packageName, activities[i],
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
H A D | Am.java | 828 List<ResolveInfo> activities = pm.queryIntentActivities(intent, mimeType, 0, 830 if (activities == null || activities.size() <= 0) { 831 System.err.println("Error: Intent does not match any activities: " 834 } else if (activities.size() > 1) { 835 System.err.println("Error: Intent matches multiple activities; can't stop: " 839 packageName = activities.get(0).activityInfo.packageName;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 528 // All available activities, for your resolving pleasure. 2485 for (PackageParser.Activity a : pkg.activities) { 4259 // Get the list of persistent preferred activities that handle the intent 4260 if (DEBUG_PREFERRED || debug) Slog.v(TAG, "Looking for presistent preferred activities..."); 4332 // Get the list of preferred activities that handle the intent 4333 if (DEBUG_PREFERRED || debug) Slog.v(TAG, "Looking for preferred activities..."); 4342 // We will only allow preferred activities that came 4397 // it from the preferred activities list, and skip it. 4513 enforceCrossUserPermission(Binder.getCallingUid(), userId, false, false, "query intent activities"); 4590 intent, resolvedType, flags, pkg.activities, userI [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerTests.java | 3794 assertNotNull("activities should not be null", packageInfo.activities); 3831 assertNotNull("activities should not be null", packageInfo.activities);
|