Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataProfileManager.java805 List<DataProfile> dataProfiles = mAllDataProfiles.stream() in getApnSettingForNetworkRequest() local
811 for (DataProfile dataProfile : dataProfiles) { in getApnSettingForNetworkRequest()
815 if (dataProfiles.isEmpty()) { in getApnSettingForNetworkRequest()
821 dataProfiles = dataProfiles.stream() in getApnSettingForNetworkRequest()
839 if (dataProfiles.isEmpty()) { in getApnSettingForNetworkRequest()
851 dataProfiles = dataProfiles.stream() in getApnSettingForNetworkRequest()
857 if (dataProfiles.isEmpty()) { in getApnSettingForNetworkRequest()
864 dataProfiles = dataProfiles.stream() in getApnSettingForNetworkRequest()
868 if (dataProfiles.isEmpty()) { in getApnSettingForNetworkRequest()
875 + dataProfiles.get(0).getApnSetting()); in getApnSettingForNetworkRequest()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataProfileManagerTest.java831 private void dedupeDataProfiles(@NonNull List<DataProfile> dataProfiles) throws Exception { in dedupeDataProfiles() argument
836 method.invoke(mDataProfileManagerUT, dataProfiles); in dedupeDataProfiles()
1450 List<DataProfile> dataProfiles = new ArrayList<>(Arrays.asList(dataProfile2, dataProfile1)); in testDedupeDataProfiles2() local
1452 dedupeDataProfiles(dataProfiles); in testDedupeDataProfiles2()
1454 assertThat(dataProfiles).hasSize(1); in testDedupeDataProfiles2()
1456 DataProfile dataProfile = dataProfiles.get(0); in testDedupeDataProfiles2()
1510 List<DataProfile> dataProfiles = new ArrayList<>(Arrays.asList(dataProfile2, dataProfile1)); in testDedupeDataProfiles3() local
1515 dedupeDataProfiles(dataProfiles); in testDedupeDataProfiles3()
1517 assertThat(dataProfiles).hasSize(1); in testDedupeDataProfiles3()
1519 DataProfile dataProfile = dataProfiles.get(0); in testDedupeDataProfiles3()
[all …]