Home
last modified time | relevance | path

Searched refs:VcnManager (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/tests/vcn/java/android/net/vcn/
DVcnManagerTest.java19 import static android.net.vcn.VcnManager.VCN_STATUS_CODE_ACTIVE;
38 import android.net.vcn.VcnManager.VcnStatusCallback;
39 import android.net.vcn.VcnManager.VcnStatusCallbackBinder;
40 import android.net.vcn.VcnManager.VcnUnderlyingNetworkPolicyListener;
61 private VcnManager mVcnManager;
70 mVcnManager = new VcnManager(mContext, mMockVcnManagementService); in setUp()
81 assertTrue(VcnManager.getAllPolicyListeners().containsKey(mMockPolicyListener)); in testAddVcnUnderlyingNetworkPolicyListener()
94 assertFalse(VcnManager.getAllPolicyListeners().containsKey(mMockPolicyListener)); in testRemoveVcnUnderlyingNetworkPolicyListener()
104 assertFalse(VcnManager.getAllPolicyListeners().containsKey(mMockPolicyListener)); in testRemoveVcnUnderlyingNetworkPolicyListenerUnknownListener()
209 VcnManager.VCN_ERROR_CODE_NETWORK_ERROR, in testVcnStatusCallbackBinder()
[all …]
/frameworks/base/tests/vcn/java/com/android/server/
DVcnManagementServiceTest.java24 import static android.net.vcn.VcnManager.VCN_STATUS_CODE_ACTIVE;
25 import static android.net.vcn.VcnManager.VCN_STATUS_CODE_SAFE_MODE;
74 import android.net.vcn.VcnManager;
736 verify(mMockStatusCallback).onVcnStatusChanged(VcnManager.VCN_STATUS_CODE_NOT_CONFIGURED); in testSetVcnConfigNotifiesStatusCallback()
741 verify(mMockStatusCallback).onVcnStatusChanged(VcnManager.VCN_STATUS_CODE_ACTIVE); in testSetVcnConfigNotifiesStatusCallback()
799 verify(mMockStatusCallback).onVcnStatusChanged(VcnManager.VCN_STATUS_CODE_ACTIVE); in testClearVcnConfigNotifiesStatusCallback()
803 verify(mMockStatusCallback).onVcnStatusChanged(VcnManager.VCN_STATUS_CODE_NOT_CONFIGURED); in testClearVcnConfigNotifiesStatusCallback()
1216 verify(mMockStatusCallback).onVcnStatusChanged(VcnManager.VCN_STATUS_CODE_SAFE_MODE); in testVcnStatusCallbackOnSafeModeStatusChangedWithCarrierPrivileges()
1226 .onVcnStatusChanged(VcnManager.VCN_STATUS_CODE_SAFE_MODE); in testVcnStatusCallbackOnSafeModeStatusChangedWithoutCarrierPrivileges()
1243 verify(mMockStatusCallback).onVcnStatusChanged(VcnManager.VCN_STATUS_CODE_NOT_CONFIGURED); in testRegisterVcnStatusCallback()
[all …]
/frameworks/base/core/java/android/net/vcn/
DVcnManager.java74 public class VcnManager { class
75 @NonNull private static final String TAG = VcnManager.class.getSimpleName();
122 public VcnManager(@NonNull Context ctx, @NonNull IVcnManagementService service) { in VcnManager() method in VcnManager
/frameworks/base/services/core/java/com/android/server/vcn/
DVcn.java23 import static android.net.vcn.VcnManager.VCN_STATUS_CODE_ACTIVE;
24 import static android.net.vcn.VcnManager.VCN_STATUS_CODE_INACTIVE;
25 import static android.net.vcn.VcnManager.VCN_STATUS_CODE_SAFE_MODE;
40 import android.net.vcn.VcnManager.VcnErrorCode;
DUnderlyingNetworkTracker.java34 import android.net.vcn.VcnManager;
550 VcnManager.VCN_NETWORK_SELECTION_WIFI_ENTRY_RSSI_THRESHOLD_KEY, in getWifiEntryRssiThreshold()
560 VcnManager.VCN_NETWORK_SELECTION_WIFI_EXIT_RSSI_THRESHOLD_KEY, in getWifiExitRssiThreshold()
DVcnGatewayConnection.java29 import static android.net.vcn.VcnManager.VCN_ERROR_CODE_CONFIG_ERROR;
30 import static android.net.vcn.VcnManager.VCN_ERROR_CODE_INTERNAL_ERROR;
31 import static android.net.vcn.VcnManager.VCN_ERROR_CODE_NETWORK_ERROR;
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnGatewayConnectionConnectedStateTest.java28 import static android.net.vcn.VcnManager.VCN_ERROR_CODE_CONFIG_ERROR;
29 import static android.net.vcn.VcnManager.VCN_ERROR_CODE_INTERNAL_ERROR;
30 import static android.net.vcn.VcnManager.VCN_ERROR_CODE_NETWORK_ERROR;
64 import android.net.vcn.VcnManager.VcnErrorCode;
DVcnTest.java26 import static android.net.vcn.VcnManager.VCN_STATUS_CODE_ACTIVE;
27 import static android.net.vcn.VcnManager.VCN_STATUS_CODE_SAFE_MODE;
/frameworks/base/services/core/java/com/android/server/
DVcnManagementService.java23 import static android.net.vcn.VcnManager.VCN_STATUS_CODE_ACTIVE;
24 import static android.net.vcn.VcnManager.VCN_STATUS_CODE_INACTIVE;
25 import static android.net.vcn.VcnManager.VCN_STATUS_CODE_NOT_CONFIGURED;
26 import static android.net.vcn.VcnManager.VCN_STATUS_CODE_SAFE_MODE;
51 import android.net.vcn.VcnManager.VcnErrorCode;
52 import android.net.vcn.VcnManager.VcnStatusCode;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java63 import android.net.vcn.VcnManager;
322 } else if (serviceClass == VcnManager.class) { in getSystemServiceName()
678 private final VcnManager mVcnManager = mock(VcnManager.class);
DTelephonyTest.java47 import android.net.vcn.VcnManager;
348 protected VcnManager mVcnManager;
492 mVcnManager = mContext.getSystemService(VcnManager.class); in setUp()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java146 import android.net.vcn.VcnManager;
414 registerService(Context.VCN_MANAGEMENT_SERVICE, VcnManager.class, in registerService()
415 new CachedServiceFetcher<VcnManager>() { in registerService()
417 public VcnManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService()
420 return new VcnManager(ctx, service); in registerService()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java42 import android.net.vcn.VcnManager;
43 import android.net.vcn.VcnManager.VcnNetworkPolicyChangeListener;
303 private VcnManager mVcnManager;
773 mVcnManager = mPhone.getContext().getSystemService(VcnManager.class); in DataConnection()
/frameworks/base/core/api/
Dsystem-current.txt7735 public class VcnManager {
7736 …tener(@NonNull java.util.concurrent.Executor, @NonNull android.net.vcn.VcnManager.VcnNetworkPolicy…
7738 …lic void removeVcnNetworkPolicyChangeListener(@NonNull android.net.vcn.VcnManager.VcnNetworkPolicy…
7741 public static interface VcnManager.VcnNetworkPolicyChangeListener {
Dcurrent.txt27158 public class VcnManager {
27161 …Uuid, @NonNull java.util.concurrent.Executor, @NonNull android.net.vcn.VcnManager.VcnStatusCallbac…
27163 …method public void unregisterVcnStatusCallback(@NonNull android.net.vcn.VcnManager.VcnStatusCallba…
27173 public abstract static class VcnManager.VcnStatusCallback {
27174 ctor public VcnManager.VcnStatusCallback();
/frameworks/base/boot/
Dboot-image-profile.txt28532 Landroid/net/vcn/VcnManager$VcnNetworkPolicyChangeListener;
28533 Landroid/net/vcn/VcnManager$VcnUnderlyingNetworkPolicyListener;
28534 Landroid/net/vcn/VcnManager;
/frameworks/base/services/
Dart-profile3585 …droid/net/vcn/VcnManager$VcnUnderlyingNetworkPolicyListenerBinder;]Landroid/os/IBinder;Landroid/os…
3596VcnManager$VcnUnderlyingNetworkPolicyListenerBinder;]Landroid/net/vcn/IVcnUnderlyingNetworkPolicyL…
3604VcnManager$VcnUnderlyingNetworkPolicyListenerBinder;]Landroid/net/vcn/IVcnUnderlyingNetworkPolicyL…
/frameworks/base/config/
Dboot-image-profile.txt38169 Landroid/net/vcn/VcnManager$VcnNetworkPolicyChangeListener;
38170 Landroid/net/vcn/VcnManager$VcnUnderlyingNetworkPolicyListener;
38171 Landroid/net/vcn/VcnManager;