Lines Matching refs:chains
560 List<List<OtherDeviceTask>> chains = mOtherDeviceTasksMap.get(packageName);
561 if (chains == null) {
562 chains = new ArrayList<>();
563 mOtherDeviceTasksMap.put(packageName, chains);
565 chains.add(chain);
600 List<List<OtherDeviceTask>> chains = mOtherDeviceTasksMap.valueAt(i);
601 for (int j = chains.size() - 1; j >= 0 ; j--) {
603 List<OtherDeviceTask> chain = chains.get(j);
625 chains.remove(j);
628 if (chains.isEmpty()) {
677 List<List<OtherDeviceTask>> chains = mOtherDeviceTasksMap.get(packageName);
678 if (chains == null) {
682 for (int i = chains.size() - 1; i >= 0; i--) {
683 List<OtherDeviceTask> chain = chains.get(i);
753 chains.remove(i);
754 if (chains.isEmpty()) {