Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/network/
DVpnPreferenceController.java140 VpnConfig vpn = vpnManager.getVpnConfig(uid); in updateSummary() local
141 if ((vpn != null) && vpn.legacy) { in updateSummary()
147 vpn = null; in updateSummary()
150 if (vpn == null) { in updateSummary()
153 summary = getNameForVpnConfig(vpn, UserHandle.of(uid)); in updateSummary()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DFullScoreTest.kt57 vpn: Boolean = false, in <lambda>()
68 if (vpn) addTransportType(NetworkCapabilities.TRANSPORT_VPN) in <lambda>()
95 .withPolicies(vpn = true, acceptUnvalidated = true).toString() in <lambda>()
124 assertTrue(ns.withPolicies(vpn = true).hasPolicy(POLICY_IS_VPN)) in <lambda>()
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnSettings.java158 inflater.inflate(R.menu.vpn, menu); in onCreateOptionsMenu()
341 for (LegacyVpnInfo vpn : connectedLegacyVpns.values()) { in run()
342 final VpnProfile stubProfile = new VpnProfile(vpn.key); in run()
344 p.setState(vpn.state); in run()
345 p.setAlwaysOn(lockdownVpnKey != null && lockdownVpnKey.equals(vpn.key)); in run()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DFullScore.java205 final boolean vpn = caps.hasTransport(TRANSPORT_VPN); in makeProspectiveScore()
224 mayValidate, everValidated, vpn, everUserSelected, in makeProspectiveScore()
DPermissionMonitor.java711 for (Map.Entry<String, Set<UidRange>> vpn : mVpnInterfaceUidRanges.entrySet()) { in updateVpnUid()
712 if (UidRange.containsUid(vpn.getValue(), uid)) { in updateVpnUid()
715 updateVpnUidsInterfaceRules(vpn.getKey(), changedUids, add); in updateVpnUid()
1277 for (Map.Entry<String, Set<UidRange>> vpn : mVpnInterfaceUidRanges.entrySet()) { in dump()
1278 pw.println("Interface: " + vpn.getKey()); in dump()
1279 pw.println("UIDs: " + vpn.getValue().toString()); in dump()
/packages/modules/Virtualization/apex/
Dvmnic.rc17 group vpn
/packages/apps/TvSystemUI/src/com/android/systemui/tv/vpn/
DVpnStatusObserver.kt19 package com.android.systemui.tv.vpn in <lambda>()
/packages/apps/TvSystemUI/src/com/android/systemui/tv/dagger/
DTVSystemUICoreStartableModule.kt35 import com.android.systemui.tv.vpn.VpnStatusObserver
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/classifier/
Dprecomputed_test_app_list.csv351 com.avast.android.vpn
441 com.free.turbo.unlimited.touch.vpn
444 com.proxymaster.vpn
496 vpn.video.downloader 10185,10053,10174
577 free.vpn.unblock.proxy.freenetvpn
682 free.vpn.unblock.proxy.vpn.master.pro
992 com.supermaster.vpn
1371 free.vpn.unblock.proxy.turbovpn
1617 com.fast.free.unblock.secure.vpn
1928 free.vpn.unblock.proxy.securevpn
[all …]
/packages/modules/AdServices/adservices/apk/assets/classifier/
Dprecomputed_app_list.csv351 com.avast.android.vpn
441 com.free.turbo.unlimited.touch.vpn
444 com.proxymaster.vpn
496 vpn.video.downloader 10185,10053,10174
577 free.vpn.unblock.proxy.freenetvpn
682 free.vpn.unblock.proxy.vpn.master.pro
992 com.supermaster.vpn
1371 free.vpn.unblock.proxy.turbovpn
1617 com.fast.free.unblock.secure.vpn
1928 free.vpn.unblock.proxy.securevpn
[all …]
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp7700 ScopedVirtualNetwork vpn = CreateScopedVirtualNetwork(ipVersion, false, "Vpn"); in TEST_F() local
7704 ASSERT_RESULT_OK(vpn.init()); in TEST_F()
7713 auto vpnDnsSv = setupDns(ipVersion, &vpn, host_name, ipv4_addr, ipv6_addr); in TEST_F()
7718 const unsigned vpnNetId = vpn.netId(); in TEST_F()
7752 {&vpn, appDefaultNetId, *appDefaultNwDnsSv}, in TEST_F()
7765 ASSERT_RESULT_OK(vpn.addUser(TEST_UID)); in TEST_F()
7766 expectDnsWorksForUid(host_name, vpn.netId(), TEST_UID, expectedDnsReply); in TEST_F()
7770 ASSERT_TRUE(vpn.clearDnsConfiguration()); in TEST_F()
7771 expectDnsWorksForUid(host_name, vpn.netId(), TEST_UID, expectedDnsReply); in TEST_F()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java6992 final NetworkAgentInfo vpn = getVpnForUid(uid);
6993 if (vpn != null && !vpn.networkAgentConfig.allowBypass
6994 && uid != vpn.networkCapabilities.getOwnerUid()) {
11947 private int getVpnType(@Nullable NetworkAgentInfo vpn) {
11948 if (vpn == null) return VpnManager.TYPE_VPN_NONE;
11949 final TransportInfo ti = vpn.networkCapabilities.getTransportInfo();
11986 final NetworkAgentInfo vpn = getVpnForUid(uid);
11987 if (vpn == null || getVpnType(vpn) != VpnManager.TYPE_VPN_SERVICE
11988 || vpn.networkCapabilities.getOwnerUid() != mDeps.getCallingUid()) {