Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DPhoneSwitcher.java1245 List<Integer> newActivePhones = new ArrayList<>(); in onEvaluate() local
1252 newActivePhones.add(i); in onEvaluate()
1257 newActivePhones.add(mPhoneIdInVoiceCall); in onEvaluate()
1260 if (newActivePhones.size() < mMaxDataAttachModemCount) { in onEvaluate()
1264 if (newActivePhones.contains(phoneIdForRequest)) continue; in onEvaluate()
1265 newActivePhones.add(phoneIdForRequest); in onEvaluate()
1266 if (newActivePhones.size() >= mMaxDataAttachModemCount) break; in onEvaluate()
1270 if (newActivePhones.size() < mMaxDataAttachModemCount in onEvaluate()
1271 && !newActivePhones.contains(mPreferredDataPhoneId) in onEvaluate()
1273 newActivePhones.add(mPreferredDataPhoneId); in onEvaluate()
[all …]