Home
last modified time | relevance | path

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

/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgSelectorTest.java91 private EpdgSelector mEpdgSelector;
150 mEpdgSelector = spy(new EpdgSelector(mMockContext, DEFAULT_SLOT_INDEX, mfakeFeatureFlags)); in setUp()
574 EpdgSelector.PROTO_FILTER_IPV4V6, EpdgSelector.IPV4_PREFERRED, isEmergency); in getValidatedServerListWithDefaultParams()
578 @EpdgSelector.ProtoFilter int filter, in getValidatedServerListWithIpPreference()
579 @EpdgSelector.EpdgAddressOrder int order, in getValidatedServerListWithIpPreference()
592 new EpdgSelector.EpdgSelectorCallback() { in getValidatedServerListWithIpPreference()
993 EpdgSelector.PROTO_FILTER_IPV4V6, in testGetValidatedServerListIpv4Preferred()
994 EpdgSelector.IPV4_PREFERRED, in testGetValidatedServerListIpv4Preferred()
1024 EpdgSelector.PROTO_FILTER_IPV4V6, in testGetValidatedServerListIpv6Preferred()
1025 EpdgSelector.IPV6_PREFERRED, in testGetValidatedServerListIpv6Preferred()
[all …]
DEpdgTunnelManagerTest.java156 @Mock private EpdgSelector mMockEpdgSelector;
218 any(EpdgSelector.EpdgSelectorCallback.class))) in setUp()
374 eq(EpdgSelector.PROTO_FILTER_IPV4V6), in testBringUpTunnelSuccess()
2122 any(EpdgSelector.EpdgSelectorCallback.class)); in testTunnelSetupRequestParams()
2336 eq(EpdgSelector.PROTO_FILTER_IPV4V6), in testBringUpTunnelIpv4Preferred()
2337 eq(EpdgSelector.IPV4_PREFERRED), in testBringUpTunnelIpv4Preferred()
2361 eq(EpdgSelector.PROTO_FILTER_IPV4V6), in testBringUpTunnelIpv6Preferred()
2362 eq(EpdgSelector.IPV6_PREFERRED), in testBringUpTunnelIpv6Preferred()
2386 eq(EpdgSelector.PROTO_FILTER_IPV4), in testBringUpTunnelIpv4Only()
2387 eq(EpdgSelector.SYSTEM_PREFERRED), in testBringUpTunnelIpv4Only()
[all …]
/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanBroadcastReceiverTest.java37 import com.google.android.iwlan.epdg.EpdgSelector;
66 @Mock private EpdgSelector mMockEpdgSelector;
75 .mockStatic(EpdgSelector.class) in setUp()
87 .when(EpdgSelector.getSelectorInstance(eq(mMockContext), eq(TEST_SLOT_ID))) in setUp()
DIwlanDataServiceTest.java93 import com.google.android.iwlan.epdg.EpdgSelector;
147 @Mock private EpdgSelector mMockEpdgSelector;
217 .mockStatic(EpdgSelector.class) in setUp()
269 when(EpdgSelector.getSelectorInstance(eq(mMockContext), eq(DEFAULT_SLOT_INDEX))) in setUp()
1418 eq(EpdgSelector.PROTO_FILTER_IPV4V6), in testDnsPrefetching()
1419 eq(EpdgSelector.SYSTEM_PREFERRED), in testDnsPrefetching()
1427 eq(EpdgSelector.PROTO_FILTER_IPV4V6), in testDnsPrefetching()
1428 eq(EpdgSelector.SYSTEM_PREFERRED), in testDnsPrefetching()
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanBroadcastReceiver.java30 import com.google.android.iwlan.epdg.EpdgSelector;
136 EpdgSelector selector = in processCarrierSignalPcoValue()
137 EpdgSelector.getSelectorInstance(mContext, intentSlotIndex); in processCarrierSignalPcoValue()
DIwlanDataService.java73 import com.google.android.iwlan.epdg.EpdgSelector;
256 private final EpdgSelector mEpdgSelector;
683 mEpdgSelector = EpdgSelector.getSelectorInstance(mContext, slotIndex); in IwlanDataServiceProvider()
1194 EpdgSelector.PROTO_FILTER_IPV4V6, in prefetchEpdgServerList()
1195 EpdgSelector.SYSTEM_PREFERRED, in prefetchEpdgServerList()
1202 EpdgSelector.PROTO_FILTER_IPV4V6, in prefetchEpdgServerList()
1203 EpdgSelector.SYSTEM_PREFERRED, in prefetchEpdgServerList()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgTunnelManager.java287 private final EpdgSelector.EpdgSelectorCallback mSelectorCallback =
288 new EpdgSelector.EpdgSelectorCallback() {
2426 int protoFilter = EpdgSelector.PROTO_FILTER_IPV4V6; in selectEpdgAddress()
2427 int epdgAddressOrder = EpdgSelector.SYSTEM_PREFERRED; in selectEpdgAddress()
2430 epdgAddressOrder = EpdgSelector.IPV4_PREFERRED; in selectEpdgAddress()
2433 epdgAddressOrder = EpdgSelector.IPV6_PREFERRED; in selectEpdgAddress()
2436 protoFilter = EpdgSelector.PROTO_FILTER_IPV4; in selectEpdgAddress()
2439 protoFilter = EpdgSelector.PROTO_FILTER_IPV6; in selectEpdgAddress()
2447 EpdgSelector epdgSelector = getEpdgSelector(); in selectEpdgAddress()
2465 EpdgSelector getEpdgSelector() { in getEpdgSelector()
[all …]
DEpdgSelector.java84 public class EpdgSelector { class
89 private static final ConcurrentHashMap<Integer, EpdgSelector> mSelectorInstances =
160 EpdgSelector(Context context, int slotId, FeatureFlags featureFlags) { in EpdgSelector() method in EpdgSelector
207 public static EpdgSelector getSelectorInstance(Context context, int slotId) { in getSelectorInstance()
209 slotId, k -> new EpdgSelector(context, slotId, new FeatureFlagsImpl())); in getSelectorInstance()
618 .filter(EpdgSelector::isValidPlmn) in getPlmnList()