Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataProfileTest.java173 assertThat(dp.canSatisfy(NetworkCapabilities.NET_CAPABILITY_INTERNET)).isTrue(); in testCanSatisfy()
174 assertThat(dp.canSatisfy(new int[]{NetworkCapabilities.NET_CAPABILITY_INTERNET, in testCanSatisfy()
176 assertThat(dp.canSatisfy(new int[]{NetworkCapabilities.NET_CAPABILITY_INTERNET, in testCanSatisfy()
179 assertThat(dp.canSatisfy(NetworkCapabilities.NET_CAPABILITY_MMS)).isFalse(); in testCanSatisfy()
180 assertThat(dp.canSatisfy(new int[]{NetworkCapabilities.NET_CAPABILITY_INTERNET, in testCanSatisfy()
182 assertThat(dp.canSatisfy(new int[]{NetworkCapabilities.NET_CAPABILITY_RCS})).isFalse(); in testCanSatisfy()
DDataProfileManagerTest.java895 assertThat(dp.canSatisfy(tnr.getCapabilities())).isTrue(); in testGetDataProfileForNetworkRequest()
906 assertThat(dp.canSatisfy(tnr.getCapabilities())).isTrue(); in testGetDataProfileForNetworkRequest()
915 assertThat(dp.canSatisfy(tnr.getCapabilities())).isTrue(); in testGetDataProfileForNetworkRequest()
937 assertThat(dp.canSatisfy(tnr.getCapabilities())).isTrue(); in testGetDataProfileForNetworkRequest()
1043 assertThat(dp.canSatisfy(tnr.getCapabilities())).isTrue(); in testGetDataProfileForSatellite()
1399 assertThat(dp.canSatisfy(NetworkCapabilities.NET_CAPABILITY_INTERNET)).isTrue(); in testDedupeDataProfiles()
1681 .filter(dp -> dp.canSatisfy(NetworkCapabilities.NET_CAPABILITY_IMS)) in testNoDefaultIms()
DDataNetworkControllerTest.java1036 && dataProfile.canSatisfy(networkRequest.getCapabilities()) in setUp()
1354 if (dataProfile.canSatisfy(networkRequest.getCapabilities()) in testSetupDataNetworkWithSimilarDataProfile()
/frameworks/base/telephony/java/android/telephony/data/
DDataProfile.java372 public boolean canSatisfy(@NonNull @NetCapability int[] networkCapabilities) { in canSatisfy() method in DataProfile
375 if (!canSatisfy(netCap)) { in canSatisfy()
392 public boolean canSatisfy(@NetCapability int networkCapability) { in canSatisfy() method in DataProfile
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataProfileManager.java261 if (dataProfile.canSatisfy(NetworkCapabilities.NET_CAPABILITY_ENTERPRISE)) { in getEnterpriseDataProfile()
321 .filter(dp -> dp.canSatisfy(NetworkCapabilities.NET_CAPABILITY_IMS)) in updateDataProfiles()
337 .filter(dp -> dp.canSatisfy(NetworkCapabilities.NET_CAPABILITY_ENTERPRISE)) in updateDataProfiles()
350 .filter(dp -> dp.canSatisfy(NetworkCapabilities.NET_CAPABILITY_EIMS)) in updateDataProfiles()
620 .filter(dp -> dp.canSatisfy(DataUtils.apnTypeToNetworkCapability(apnType))) in updateInitialAttachDataProfileAtModem()
DDataNetwork.java1267 if (mDataProfile.canSatisfy(NetworkCapabilities.NET_CAPABILITY_MMS)) {
2345 } else if (mDataProfile.canSatisfy(NetworkCapabilities.NET_CAPABILITY_IMS)) {