Searched refs:toStop (Results 1 – 2 of 2) sorted by relevance
176 int toStop; in abortAllActiveModels() local182 toStop = iterator.next(); in abortAllActiveModels()183 mActiveModels.remove(toStop); in abortAllActiveModels()186 mDelegate.stopRecognition(toStop); in abortAllActiveModels()188 LoadedModel model = mLoadedModels.get(toStop); in abortAllActiveModels()190 mCallbackThread.push(() -> notifyAbort(toStop, model)); in abortAllActiveModels()
591 final ArrayList<ServiceRecord> toStop = new ArrayList<>(N); in stopAllForegroundServicesLocked() local602 toStop.add(r); in stopAllForegroundServicesLocked()608 final int numToStop = toStop.size(); in stopAllForegroundServicesLocked()614 final ServiceRecord r = toStop.get(i); in stopAllForegroundServicesLocked()