Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java116 List<StateController> mControllers; field in JobSchedulerService
281 for (int i=0; i<mControllers.size(); i++) { in updateIdleMode()
282 mControllers.get(i).deviceIdleModeChanged(enabled); in updateIdleMode()
316 mControllers = new ArrayList<StateController>(); in JobSchedulerService()
317 mControllers.add(ConnectivityController.get(this)); in JobSchedulerService()
318 mControllers.add(TimeController.get(this)); in JobSchedulerService()
319 mControllers.add(IdleController.get(this)); in JobSchedulerService()
320 mControllers.add(BatteryController.get(this)); in JobSchedulerService()
321 mControllers.add(AppIdleController.get(this)); in JobSchedulerService()
362 for (int controller=0; controller<mControllers.size(); controller++) { in onBootPhase()
[all …]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteProviderService.java486 private final SparseArray<MediaRouteProvider.RouteController> mControllers = field in MediaRouteProviderService.ClientRecord
505 int count = mControllers.size(); in dispose()
507 mControllers.valueAt(i).onRelease(); in dispose()
509 mControllers.clear(); in dispose()
521 if (mControllers.indexOfKey(controllerId) < 0) { in createRouteController()
525 mControllers.put(controllerId, controller); in createRouteController()
533 MediaRouteProvider.RouteController controller = mControllers.get(controllerId); in releaseRouteController()
535 mControllers.remove(controllerId); in releaseRouteController()
543 return mControllers.get(controllerId); in getRouteController()
DRegisteredMediaRouteProvider.java51 private final ArrayList<Controller> mControllers = new ArrayList<Controller>(); field in RegisteredMediaRouteProvider
75 mControllers.add(controller); in onCreateRouteController()
146 if (!mControllers.isEmpty()) { in shouldBind()
270 mControllers.remove(controller); in onControllerReleased()
276 int count = mControllers.size(); in attachControllersToConnection()
278 mControllers.get(i).attachConnection(mActiveConnection); in attachControllersToConnection()
283 int count = mControllers.size(); in detachControllersFromConnection()
285 mControllers.get(i).detachConnection(); in detachControllersFromConnection()