Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DTaskRecord.java155 final ArrayList<ActivityRecord> mActivities; field in TaskRecord
213 mActivities = new ArrayList<>(); in TaskRecord()
230 mActivities = new ArrayList<>(); in TaskRecord()
280 mActivities = activities; in TaskRecord()
510 for (int i = 0; i < mActivities.size(); i++) { in getRootActivity()
511 final ActivityRecord r = mActivities.get(i); in getRootActivity()
521 for (int i = mActivities.size() - 1; i >= 0; --i) { in getTopActivity()
522 final ActivityRecord r = mActivities.get(i); in getTopActivity()
533 for (int activityNdx = mActivities.size() - 1; activityNdx >= 0; --activityNdx) { in topRunningActivityLocked()
534 ActivityRecord r = mActivities.get(activityNdx); in topRunningActivityLocked()
[all …]
DActivityStack.java345 count += mTaskHistory.get(taskNdx).mActivities.size(); in numActivities()
385 final ArrayList<ActivityRecord> activities = task.mActivities; in topRunningNonDelayedActivityLocked()
411 ArrayList<ActivityRecord> activities = task.mActivities; in topRunningActivityLocked()
425 ArrayList<ActivityRecord> activities = mTaskHistory.get(taskNdx).mActivities; in topActivity()
465 && task.mActivities.contains(r) && mTaskHistory.contains(task)) { in isInStackLocked()
615 final ArrayList<ActivityRecord> activities = task.mActivities; in findActivityLocked()
720 final ArrayList<ActivityRecord> activities = mTaskHistory.get(taskNdx).mActivities; in awakeFromSleepingLocked()
767 final ArrayList<ActivityRecord> activities = mTaskHistory.get(taskNdx).mActivities; in goToSleep()
1099 ProcessRecord app = next.task.mActivities.get(0).app; in completeResumeLocked()
1163 ArrayList<ActivityRecord> activities = task.mActivities; in findNextTranslucentActivity()
[all …]
DActivityRecord.java1113 final int activityNdx = task.mActivities.indexOf(r); in getTaskForActivityLocked()
DActivityStackSupervisor.java1245 mService.mHomeProcess = task.mActivities.get(0).app; in realStartActivityLocked()
2825 final ArrayList<ActivityRecord> activities = task.mActivities; in getHomeActivityForUser()
3002 final ArrayList<ActivityRecord> activities = task.mActivities; in restoreRecentTaskLocked()
DActivityManagerService.java8308 for (int i = tr.mActivities.size() - 1; i >= 0; --i) {
8309 tmp = tr.mActivities.get(i);
10983 int index = r.task.mActivities.lastIndexOf(r); in convertToTranslucent()
10985 ActivityRecord under = r.task.mActivities.get(index - 1); in convertToTranslucent()
/frameworks/base/core/java/android/widget/
DActivityChooserModel.java242 private final List<ActivityResolveInfo> mActivities = new ArrayList<ActivityResolveInfo>(); field in ActivityChooserModel
411 return mActivities.size(); in getActivityCount()
426 return mActivities.get(index).resolveInfo; in getActivity()
440 List<ActivityResolveInfo> activities = mActivities; in getActivityIndex()
478 ActivityResolveInfo chosenActivity = mActivities.get(index); in chooseActivity()
528 if (!mActivities.isEmpty()) { in getDefaultActivity()
529 return mActivities.get(0).resolveInfo; in getDefaultActivity()
549 ActivityResolveInfo newDefaultActivity = mActivities.get(index); in setDefaultActivity()
550 ActivityResolveInfo oldDefaultActivity = mActivities.get(0); in setDefaultActivity()
692 && !mActivities.isEmpty() && !mHistoricalRecords.isEmpty()) { in sortActivitiesIfNeeded()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActivityChooserModel.java237 private final List<ActivityResolveInfo> mActivities = new ArrayList<ActivityResolveInfo>(); field in ActivityChooserModel
400 return mActivities.size(); in getActivityCount()
415 return mActivities.get(index).resolveInfo; in getActivity()
429 List<ActivityResolveInfo> activities = mActivities; in getActivityIndex()
467 ActivityResolveInfo chosenActivity = mActivities.get(index); in chooseActivity()
517 if (!mActivities.isEmpty()) { in getDefaultActivity()
518 return mActivities.get(0).resolveInfo; in getDefaultActivity()
538 ActivityResolveInfo newDefaultActivity = mActivities.get(index); in setDefaultActivity()
539 ActivityResolveInfo oldDefaultActivity = mActivities.get(0); in setDefaultActivity()
675 && !mActivities.isEmpty() && !mHistoricalRecords.isEmpty()) { in sortActivitiesIfNeeded()
[all …]
/frameworks/base/core/java/android/app/
DLocalActivityManager.java78 private final Map<String, LocalActivityRecord> mActivities field in LocalActivityManager
273 LocalActivityRecord r = mActivities.get(id); in startActivity()
303 mActivities.put(id, r); in startActivity()
387 LocalActivityRecord r = mActivities.get(id); in destroyActivity()
392 mActivities.remove(id); in destroyActivity()
434 LocalActivityRecord r = mActivities.get(id); in getActivity()
457 LocalActivityRecord r = mActivities.get(id); in dispatchCreate()
463 mActivities.put(id, r); in dispatchCreate()
630 mActivities.clear(); in dispatchDestroy()
DActivityThread.java183 final ArrayMap<IBinder, ActivityClientRecord> mActivities = new ArrayMap<>(); field in ActivityThread
2244 return mActivities.get(token).activity; in getActivity()
2409 mActivities.put(r.token, r); in performLaunchActivity()
2550 ActivityClientRecord r = mActivities.get(token); in performNewIntents()
2579 ActivityClientRecord r = mActivities.get(cmd.activityToken); in handleRequestAssistContextExtras()
2614 ActivityClientRecord r = mActivities.get(token); in handleTranslucentConversionComplete()
2621 ActivityClientRecord r = mActivities.get(token); in onNewActivityOptions()
2628 ActivityClientRecord r = mActivities.get(token); in handleCancelVisibleBehind()
2650 ActivityClientRecord r = mActivities.get(token); in handleOnBackgroundVisibleBehindChanged()
2666 ActivityClientRecord r = mActivities.get(token); in handleEnterAnimationComplete()
[all …]
/frameworks/base/core/java/android/nfc/
DNfcActivityManager.java52 final List<NfcActivityState> mActivities; // Activities that have NFC state field in NfcActivityManager
163 for (NfcActivityState state : mActivities) { in findActivityState()
176 mActivities.add(state); in getActivityState()
182 for (NfcActivityState state : mActivities) { in findResumedActivityState()
194 mActivities.remove(activityState); in destroyActivityState()
200 mActivities = new LinkedList<NfcActivityState>(); in NfcActivityManager()
/frameworks/base/services/core/java/com/android/server/pm/
DDefaultPermissionGrantPolicy.java676 List<ResolveInfo> handlers = mService.mActivities.queryIntent(intent, in getDefaultSystemHandlerActivityPackageLPr()
724 List<ResolveInfo> homeActivities = mService.mActivities.queryIntent(homeIntent, in getHeadlessSyncAdapterPackagesLPr()
DPackageManagerService.java529 final ActivityIntentResolver mActivities = field in PackageManagerService
2990 PackageParser.Activity a = mActivities.mActivities.get(component); in getActivityInfo()
3015 PackageParser.Activity a = mActivities.mActivities.get(component); in activitySupportsIntent()
3034 PackageParser.Activity a = mReceivers.mActivities.get(component); in getReceiverInfo()
4549 List<ResolveInfo> result = mActivities.queryIntent( in queryIntentActivities()
4589 mActivities.queryIntentForPackage( in queryIntentActivities()
4610 List<ResolveInfo> resultTargetUser = mActivities.queryIntent(intent, in getCrossProfileDomainPreferredLpr()
4929 List<ResolveInfo> resultTargetUser = mActivities.queryIntent(intent, in checkTargetCanHandle()
7348 mActivities.addActivity(a, "activity"); in scanPackageDirtyLI()
8137 mActivities.removeActivity(a, "activity"); in cleanPackageDataStructuresLILPw()
[all …]
DSettings.java2949 List<ResolveInfo> ri = service.mActivities.queryIntent(intent, in applyDefaultPreferredActivityLPw()