/frameworks/base/core/tests/coretests/src/android/app/usage/ |
D | UsageStatsTest.java | 143 left.mActivities.put(1, Event.ACTIVITY_RESUMED); in testParcelable() 144 left.mActivities.put(2, Event.ACTIVITY_RESUMED); in testParcelable() 163 assertEquals(left.mActivities.get(1), Event.ACTIVITY_RESUMED); in testActivity() 171 assertEquals(left.mActivities.get(1), ACTIVITY_PAUSED); in testActivity() 178 assertTrue(left.mActivities.indexOfKey(1) < 0); in testActivity() 185 assertTrue(left.mActivities.indexOfKey(1) < 0); in testActivity() 198 assertEquals(left.mActivities.get(1), Event.ACTIVITY_RESUMED); 204 assertEquals(left.mActivities.get(1), Event.ACTIVITY_RESUMED); 217 assertEquals(left.mActivities.get(1), ACTIVITY_PAUSED); 222 assertEquals(left.mActivities.get(1), Event.ACTIVITY_RESUMED); [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowProcessController.java | 176 private final ArrayList<ActivityRecord> mActivities = new ArrayList<>(); field in WindowProcessController 604 if (mActivities.contains(r)) { in addActivityIfNeeded() 607 mActivities.add(r); in addActivityIfNeeded() 636 mActivities.remove(r); in removeActivity() 637 mHasActivities = !mActivities.isEmpty(); in removeActivity() 643 mActivities.clear(); in clearActivities() 669 if (mActivities.isEmpty()) { in getTopActivityDisplayArea() 673 final int lastIndex = mActivities.size() - 1; in getTopActivityDisplayArea() 674 ActivityRecord topRecord = mActivities.get(lastIndex); in getTopActivityDisplayArea() 678 ActivityRecord nextRecord = mActivities.get(index); in getTopActivityDisplayArea() [all …]
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageStats.java | 149 public SparseIntArray mActivities = new SparseIntArray(); field in UsageStats 190 mActivities = stats.mActivities; in UsageStats() 350 mergeEventMap(mActivities, right.mActivities); in add() 392 final int size = mActivities.size(); in hasForegroundActivity() 394 if (mActivities.valueAt(i) == ACTIVITY_RESUMED) { in hasForegroundActivity() 406 final int size = mActivities.size(); in hasVisibleActivity() 408 final int type = mActivities.valueAt(i); in hasVisibleActivity() 477 final int index = mActivities.indexOfKey(instanceId); in updateActivity() 479 final int lastEvent = mActivities.valueAt(index); in updateActivity() 504 mActivities.put(instanceId, eventType); in updateActivity() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | ActivityChooserModel.java | 245 private final List<ActivityResolveInfo> mActivities = new ArrayList<ActivityResolveInfo>(); field in ActivityChooserModel 417 return mActivities.size(); in getActivityCount() 433 return mActivities.get(index).resolveInfo; in getActivity() 447 List<ActivityResolveInfo> activities = mActivities; in getActivityIndex() 486 ActivityResolveInfo chosenActivity = mActivities.get(index); in chooseActivity() 537 if (!mActivities.isEmpty()) { in getDefaultActivity() 538 return mActivities.get(0).resolveInfo; in getDefaultActivity() 558 ActivityResolveInfo newDefaultActivity = mActivities.get(index); in setDefaultActivity() 559 ActivityResolveInfo oldDefaultActivity = mActivities.get(0); in setDefaultActivity() 701 && !mActivities.isEmpty() && !mHistoricalRecords.isEmpty()) { in sortActivitiesIfNeeded() [all …]
|
/frameworks/base/core/java/android/app/ |
D | LocalActivityManager.java | 93 private final Map<String, LocalActivityRecord> mActivities field in LocalActivityManager 322 LocalActivityRecord r = mActivities.get(id); in startActivity() 352 mActivities.put(id, r); in startActivity() 441 LocalActivityRecord r = mActivities.get(id); in destroyActivity() 446 mActivities.remove(id); in destroyActivity() 488 LocalActivityRecord r = mActivities.get(id); in getActivity() 511 LocalActivityRecord r = mActivities.get(id); in dispatchCreate() 517 mActivities.put(id, r); in dispatchCreate() 690 mActivities.clear(); in dispatchDestroy()
|
D | Application.java | 601 final int activityCount = activityThread.mActivities.size(); in getAutofillClient() 604 activityThread.mActivities.valueAt(i); in getAutofillClient()
|
D | ActivityThread.java | 336 final ArrayMap<IBinder, ActivityClientRecord> mActivities = new ArrayMap<>(); field in ActivityThread 3263 final ActivityClientRecord activityRecord = mActivities.get(token); in getActivity() 3284 return mActivities.get(token); in getActivityClient() 3475 if (mActivities.get(token) == null) { in handleFixedRotationAdjustments() 3629 mActivities.put(r.token, r); in performLaunchActivity() 3872 ActivityClientRecord r = mActivities.get(cmd.activityToken); in handleRequestAssistContextExtras() 3933 final ActivityClientRecord r = mActivities.get(activityToken); in handleRequestDirectActions() 3978 final ActivityClientRecord r = mActivities.get(activityToken); in handlePerformDirectAction() 3994 ActivityClientRecord r = mActivities.get(token); in handleTranslucentConversionComplete() 4001 ActivityClientRecord r = mActivities.get(token); in onNewActivityOptions() [all …]
|
/frameworks/base/core/java/android/nfc/ |
D | NfcActivityManager.java | 53 final List<NfcActivityState> mActivities; // Activities that have NFC state field in NfcActivityManager 164 for (NfcActivityState state : mActivities) { in findActivityState() 177 mActivities.add(state); in getActivityState() 183 for (NfcActivityState state : mActivities) { in findResumedActivityState() 195 mActivities.remove(activityState); in destroyActivityState() 201 mActivities = new LinkedList<NfcActivityState>(); in NfcActivityManager()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ComponentResolver.java | 175 private final ActivityIntentResolver mActivities; field in ComponentResolver 218 mActivities = new ActivityIntentResolver(); in ComponentResolver() 241 mActivities = new ActivityIntentResolver(orig.mActivities); in ComponentResolver() 269 return mActivities.mActivities.get(component); in getActivity() 285 return mReceivers.mActivities.get(component); in getReceiver() 300 ParsedMainComponent component = mActivities.mActivities.get(componentName); in componentExists() 304 component = mReceivers.mActivities.get(componentName); in componentExists() 320 return mActivities.queryIntent(intent, resolvedType, flags, userId); in queryActivities() 328 return mActivities.queryIntentForPackage( in queryActivities() 513 return mActivities.mActivities.get(component) != null; in isActivityDefined() [all …]
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | QuotaController.java | 2275 private final SparseArray<UsageEvents.Event> mActivities = new SparseArray<>(); 2301 if (mActivities.size() == 0) { 2304 mActivities.put(event.mInstanceId, event); 2310 mActivities.removeReturnOld(event.mInstanceId); 2311 if (existingEvent != null && mActivities.size() == 0) { 2332 return mActivities.size() > 0; 2351 for (int i = 0; i < mActivities.size(); i++) { 2352 UsageEvents.Event event = mActivities.valueAt(i); 2366 mActivities.size());
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UserUsageStatsService.java | 643 if (pkgStats.mActivities.size() > 0 in rolloverStats() 645 if (pkgStats.mActivities.size() > 0) { in rolloverStats() 647 pkgStats.mActivities); in rolloverStats()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 37622 Landroid/nfc/NfcActivityManager;->mActivities:Ljava/util/List; 69437 Landroid/widget/ActivityChooserModel;->mActivities:Ljava/util/List;
|