Home
last modified time | relevance | path

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

/frameworks/base/tests/testables/src/android/testing/
DTestableContext.java66 private ArrayMap<ServiceConnection, ComponentName> mActiveServices; field in TestableContext
263 if (mActiveServices == null) mActiveServices = new ArrayMap<>(); in checkMocks()
264 mActiveServices.put(conn, component); in checkMocks()
277 if (mActiveServices != null && mActiveServices.containsKey(conn)) { in unbindService()
278 conn.onServiceDisconnected(mActiveServices.get(conn)); in unbindService()
279 mActiveServices.remove(conn); in unbindService()
293 return mActiveServices != null && mActiveServices.containsValue(component); in isBound()
/frameworks/base/services/print/java/com/android/server/print/
DUserState.java119 private final ArrayMap<ComponentName, RemotePrintService> mActiveServices = field in UserState
192 service = mActiveServices.get(printServiceName); in onPrintJobQueued()
209 service = mActiveServices.get(printService); in onAllPrintJobsForServiceHandled()
330 RemotePrintService service = mActiveServices.get(printerId.getServiceName()); in getCustomPrinterIcon()
355 printService = mActiveServices.get(printServiceName); in cancelPrintJob()
389 installedService.setIsEnabled(mActiveServices.containsKey(componentName)); in getPrintServices()
513 if (mActiveServices.isEmpty()) { in validatePrinters()
529 if (mActiveServices.isEmpty()) { in startPrinterStateTracking()
545 if (mActiveServices.isEmpty()) { in stopPrinterStateTracking()
723 if (mActiveServices.isEmpty()) { in onPrintersAdded()
[all …]
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java180 final List<JobServiceContext> mActiveServices = new ArrayList<>(); field in JobSchedulerService
1238 for (int i=0; i<mActiveServices.size(); i++) { in onDeviceIdleStateChanged()
1239 JobServiceContext jsc = mActiveServices.get(i); in onDeviceIdleStateChanged()
1266 for (int i=0; i<mActiveServices.size(); i++) { in reportActiveLocked()
1267 final JobServiceContext jsc = mActiveServices.get(i); in reportActiveLocked()
1457 mActiveServices.add( in onBootPhase()
1517 for (int i=0; i<mActiveServices.size(); i++) { in stopJobOnServiceContextLocked()
1518 JobServiceContext jsc = mActiveServices.get(i); in stopJobOnServiceContextLocked()
1534 for (int i=0; i<mActiveServices.size(); i++) { in isCurrentlyActiveLocked()
1535 JobServiceContext serviceContext = mActiveServices.get(i); in isCurrentlyActiveLocked()
[all …]
DJobConcurrencyManager.java280 final List<JobServiceContext> activeServices = mService.mActiveServices; in assignJobsToContextsInternalLocked()
298 final JobServiceContext js = mService.mActiveServices.get(i); in assignJobsToContextsInternalLocked()