Home
last modified time | relevance | path

Searched refs:mActiveServices (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/testables/src/android/testing/
DTestableContext.java66 private ArrayMap<ServiceConnection, ComponentName> mActiveServices; field in TestableContext
198 if (mActiveServices == null) mActiveServices = new ArrayMap<>(); in checkMocks()
199 mActiveServices.put(conn, component); in checkMocks()
209 if (mActiveServices != null && mActiveServices.containsKey(conn)) { in unbindService()
210 conn.onServiceDisconnected(mActiveServices.get(conn)); in unbindService()
211 mActiveServices.remove(conn); in unbindService()
218 return mActiveServices != null && mActiveServices.containsValue(component); in isBound()
/frameworks/base/services/print/java/com/android/server/print/
DUserState.java109 private final ArrayMap<ComponentName, RemotePrintService> mActiveServices = field in UserState
182 service = mActiveServices.get(printServiceName); in onPrintJobQueued()
199 service = mActiveServices.get(printService); in onAllPrintJobsForServiceHandled()
329 RemotePrintService service = mActiveServices.get(printerId.getServiceName()); in getCustomPrinterIcon()
354 printService = mActiveServices.get(printServiceName); in cancelPrintJob()
388 installedService.setIsEnabled(mActiveServices.containsKey(componentName)); in getPrintServices()
512 if (mActiveServices.isEmpty()) { in validatePrinters()
528 if (mActiveServices.isEmpty()) { in startPrinterStateTracking()
544 if (mActiveServices.isEmpty()) { in stopPrinterStateTracking()
715 if (mActiveServices.isEmpty()) { in onPrintersAdded()
[all …]
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java135 final List<JobServiceContext> mActiveServices = new ArrayList<>(); field in JobSchedulerService
842 for (int i=0; i<mActiveServices.size(); i++) { in onDeviceIdleStateChanged()
843 JobServiceContext jsc = mActiveServices.get(i); in onDeviceIdleStateChanged()
870 for (int i=0; i<mActiveServices.size(); i++) { in reportActiveLocked()
871 final JobServiceContext jsc = mActiveServices.get(i); in reportActiveLocked()
965 mActiveServices.add( in onBootPhase()
1028 for (int i=0; i<mActiveServices.size(); i++) { in stopJobOnServiceContextLocked()
1029 JobServiceContext jsc = mActiveServices.get(i); in stopJobOnServiceContextLocked()
1045 for (int i=0; i<mActiveServices.size(); i++) { in isCurrentlyActiveLocked()
1046 JobServiceContext serviceContext = mActiveServices.get(i); in isCurrentlyActiveLocked()
[all …]