Searched refs:ServiceRecord (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActiveServices.java | 172 final ArrayList<ServiceRecord> mPendingServices = new ArrayList<>(); 177 final ArrayList<ServiceRecord> mRestartingServices = new ArrayList<>(); 182 final ArrayList<ServiceRecord> mDestroyingServices = new ArrayList<>(); 185 private ArrayList<ServiceRecord> mTmpCollectionResults = null; 230 final ArrayList<ServiceRecord> toStop = new ArrayList<>(N); in stopAllForegroundServicesLocked() 232 final ServiceRecord r = smap.mServicesByInstanceName.valueAt(i); in stopAllForegroundServicesLocked() 248 final ServiceRecord r = toStop.get(i); in stopAllForegroundServicesLocked() 281 final ArrayMap<ComponentName, ServiceRecord> mServicesByInstanceName = new ArrayMap<>(); 282 final ArrayMap<Intent.FilterComparison, ServiceRecord> mServicesByIntent = new ArrayMap<>(); 284 final ArrayList<ServiceRecord> mDelayedStartList = new ArrayList<>(); [all …]
|
D | AppBindRecord.java | 28 final ServiceRecord service; // The running service. 52 AppBindRecord(ServiceRecord _service, IntentBindRecord _intent, in AppBindRecord()
|
D | IntentBindRecord.java | 33 final ServiceRecord service; 75 IntentBindRecord(ServiceRecord _service, Intent.FilterComparison _intent) { in IntentBindRecord()
|
D | ServiceRecord.java | 58 final class ServiceRecord extends Binder implements ComponentName.WithComponentName { class 150 final ServiceRecord sr; 163 StartItem(ServiceRecord _sr, boolean _taskRemoved, int _id, Intent _intent, in StartItem() 489 ServiceRecord(ActivityManagerService ams, in ServiceRecord() method in ServiceRecord 693 .removeAllowBackgroundActivityStartsToken(ServiceRecord.this); in whitelistBgActivityStartsOnServiceStart() 819 final ServiceRecord record = this; in postNotification()
|
D | ProcessRecord.java | 182 ServiceRecord connectionService; // Service that applied current connectionGroup/Importance 266 private final ArraySet<ServiceRecord> mServices = new ArraySet<>(); 268 final ArraySet<ServiceRecord> executingServices = new ArraySet<>(); 748 boolean startService(ServiceRecord record) { in startService() 765 boolean stopService(ServiceRecord record) { in stopService() 792 ServiceRecord getRunningServiceAt(int index) { in getRunningServiceAt() 831 ServiceRecord r = mServices.valueAt(i); in isInterestingToUserLocked() 1372 void addBoundClientUidsOfNewService(ServiceRecord sr) { in addBoundClientUidsOfNewService()
|
D | AppErrors.java | 708 ServiceRecord sr = app.getRunningServiceAt(i);
|
D | OomAdjuster.java | 1462 ServiceRecord s = app.getRunningServiceAt(is); in computeOomAdjLocked()
|
D | ActivityManagerService.java | 1775 mServices.serviceForegroundTimeout((ServiceRecord)msg.obj); in handleMessage() 15204 if (!(token instanceof ServiceRecord)) { in publishService() 15207 mServices.publishServiceLocked((ServiceRecord)token, intent, service); in publishService() 15218 mServices.unbindFinishedLocked((ServiceRecord)token, intent, doRebind); in unbindFinished() 15224 if (!(token instanceof ServiceRecord)) { in serviceDoneExecuting() 15228 mServices.serviceDoneExecutingLocked((ServiceRecord)token, type, startId, res); in serviceDoneExecuting()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | MockingOomAdjusterTests.java | 301 app.executingServices.add(mock(ServiceRecord.class)); in testUpdateOomAdj_DoOne_ExecutingService() 540 ServiceRecord s = mock(ServiceRecord.class); in testUpdateOomAdj_DoOne_ServiceB() 584 ServiceRecord s = mock(ServiceRecord.class); in testUpdateOomAdj_DoOne_Service_Started() 602 ServiceRecord s = bindService(app, client, null, Context.BIND_WAIVE_PRIORITY, in testUpdateOomAdj_DoOne_Service_Started_WaivePriority() 637 ServiceRecord s = bindService(app, client, null, Context.BIND_WAIVE_PRIORITY in testUpdateOomAdj_DoOne_Service_Started_WaivePriority_AdjustWithActivity() 724 client.executingServices.add(mock(ServiceRecord.class)); in testUpdateOomAdj_DoOne_Service_Bound_ImportantFg() 1408 ServiceRecord s = bindService(app, app2, null, 0, mock(IBinder.class)); in testUpdateOomAdj_DoAll_BoundFgService_Cycle_Branch_2() 1454 ServiceRecord s = bindService(app, app2, null, 0, mock(IBinder.class)); in testUpdateOomAdj_DoAll_BoundFgService_Cycle_Branch_3() 1500 ServiceRecord s = bindService(app, app2, null, 0, mock(IBinder.class)); in testUpdateOomAdj_DoAll_BoundFgService_Cycle_Branch_4() 1593 ServiceRecord s = bindService(app, app2, null, 0, mock(IBinder.class)); in testUpdateOomAdj_DoAll_ServiceB() [all …]
|
/frameworks/base/services/ |
D | art-profile | 5670 …Lcom/android/server/am/-$$Lambda$ServiceRecord$LibDrdWU9t_vgStZ6swd0FNzHXc;-><init>(Lcom/android/s… 5671 PLcom/android/server/am/-$$Lambda$ServiceRecord$LibDrdWU9t_vgStZ6swd0FNzHXc;->run()V 5740 …er/am/ActiveServices$ServiceDumper;->dumpServiceLocalLocked(Lcom/android/server/am/ServiceRecord;)V 5743 …-><init>(Lcom/android/server/am/ActiveServices;Lcom/android/server/am/ServiceRecord;Ljava/lang/Str… 5745 …tiveServices$ServiceMap;->ensureNotStartingBackgroundLocked(Lcom/android/server/am/ServiceRecord;)V 5751 …roid/server/am/ActiveServices$ServiceRestarter;->setService(Lcom/android/server/am/ServiceRecord;)V 5759 …server/am/ActiveServices;->bringDownServiceIfNeededLocked(Lcom/android/server/am/ServiceRecord;ZZ)V 5760 …m/android/server/am/ActiveServices;->bringDownServiceLocked(Lcom/android/server/am/ServiceRecord;)V 5761 …erver/am/ActiveServices;->bringUpServiceLocked(Lcom/android/server/am/ServiceRecord;IZZZ)Ljava/lan… 5762 …am/ActiveServices;->bumpServiceExecutingLocked(Lcom/android/server/am/ServiceRecord;ZLjava/lang/St… [all …]
|
D | art-profile-boot | 568 Lcom/android/server/am/ServiceRecord;->getConnections()Landroid/util/ArrayMap;
|