Searched refs:vpnNetwork (Results 1 – 2 of 2) sorted by relevance
1017 final Network vpnNetwork = mCM.getActiveNetwork(); in testDefault() local1018 myUidCallback.expectAvailableThenValidatedCallbacks(vpnNetwork, TIMEOUT_MS); in testDefault()1019 assertEquals(vpnNetwork, mCM.getActiveNetwork()); in testDefault()1020 assertNotEqual(defaultNetwork, vpnNetwork); in testDefault()1021 maybeExpectVpnTransportInfo(vpnNetwork); in testDefault()1022 assertEquals(TYPE_VPN, mCM.getNetworkInfo(vpnNetwork).getType()); in testDefault()1026 final NetworkCapabilities nc = mCM.getNetworkCapabilities(vpnNetwork); in testDefault()1591 final Network vpnNetwork = mCM.getActiveNetwork(); in testVpnMeterednessWithNonNullUnderlyingNetwork() local1592 assertNotEqual(underlyingNetwork, vpnNetwork); in testVpnMeterednessWithNonNullUnderlyingNetwork()1594 final NetworkCapabilities nc = mCM.getNetworkCapabilities(vpnNetwork); in testVpnMeterednessWithNonNullUnderlyingNetwork()[all …]
553 final Network vpnNetwork = cb.expect(CallbackEntry.AVAILABLE).getNetwork(); in checkStartStopVpnProfileBuildsNetworks() local563 cb.expectCaps(vpnNetwork, TIMEOUT_MS, c -> c.hasTransport(TRANSPORT_VPN) in checkStartStopVpnProfileBuildsNetworks()567 cb.expect(CallbackEntry.LINK_PROPERTIES_CHANGED, vpnNetwork); in checkStartStopVpnProfileBuildsNetworks()568 cb.expect(CallbackEntry.BLOCKED_STATUS, vpnNetwork); in checkStartStopVpnProfileBuildsNetworks()589 lost -> vpnNetwork.equals(lost.getNetwork())); in checkStartStopVpnProfileBuildsNetworks()