Home
last modified time | relevance | path

Searched refs:VcnConfig (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/net/vcn/
DVcnConfig.java46 public final class VcnConfig implements Parcelable { class
47 @NonNull private static final String TAG = VcnConfig.class.getSimpleName();
58 private VcnConfig( in VcnConfig() method in VcnConfig
76 public VcnConfig(@NonNull PersistableBundle in) { in VcnConfig() method in VcnConfig
149 if (!(other instanceof VcnConfig)) { in equals()
153 final VcnConfig rhs = (VcnConfig) other; in equals()
172 public static final Parcelable.Creator<VcnConfig> CREATOR =
173 new Parcelable.Creator<VcnConfig>() {
175 public VcnConfig createFromParcel(Parcel in) {
176 return new VcnConfig((PersistableBundle) in.readParcelable(null));
[all …]
DIVcnManagementService.aidl23 import android.net.vcn.VcnConfig;
33 void setVcnConfig(in ParcelUuid subscriptionGroup, in VcnConfig config, in String opPkgName); in setVcnConfig()
DVcnConfig.aidl20 parcelable VcnConfig;
DVcnManager.java156 public void setVcnConfig(@NonNull ParcelUuid subscriptionGroup, @NonNull VcnConfig config) in setVcnConfig()
/frameworks/base/tests/vcn/java/android/net/vcn/
DVcnConfigTest.java48 public static VcnConfig buildTestConfig(@NonNull Context context) { in buildTestConfig()
49 VcnConfig.Builder builder = new VcnConfig.Builder(context); in buildTestConfig()
66 new VcnConfig.Builder(null); in testBuilderConstructorRequiresContext()
75 new VcnConfig.Builder(mContext).build(); in testBuilderRequiresGatewayConnectionConfig()
85 new VcnConfig.Builder(mContext) in testBuilderRequiresUniqueGatewayConnectionNames()
95 final VcnConfig config = buildTestConfig(mContext); in testBuilderAndGetters()
103 final VcnConfig config = buildTestConfig(mContext); in testPersistableBundle()
105 assertEquals(config, new VcnConfig(config.toPersistableBundle())); in testPersistableBundle()
110 final VcnConfig config = buildTestConfig(mContext); in testParceling()
116 assertEquals(config, VcnConfig.CREATOR.createFromParcel(parcel)); in testParceling()
/frameworks/base/services/core/java/com/android/server/
DVcnManagementService.java50 import android.net.vcn.VcnConfig;
187 private final Map<ParcelUuid, VcnConfig> mConfigs = new ArrayMap<>();
266 final Map<ParcelUuid, VcnConfig> configs = in VcnManagementService()
270 VcnConfig::new); in VcnManagementService()
273 for (Entry<ParcelUuid, VcnConfig> entry : configs.entrySet()) { in VcnManagementService()
356 @NonNull VcnConfig config, in newVcn()
431 private void enforceManageTestNetworksForTestMode(@NonNull VcnConfig vcnConfig) { in enforceManageTestNetworksForTestMode()
464 for (Entry<ParcelUuid, VcnConfig> entry : mConfigs.entrySet()) { in onNewSnapshot()
484 final VcnConfig config = mConfigs.get(subGrp); in onNewSnapshot()
586 private void startVcnLocked(@NonNull ParcelUuid subscriptionGroup, @NonNull VcnConfig config) { in startVcnLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/vcn/
DVcn.java38 import android.net.vcn.VcnConfig;
173 @NonNull private VcnConfig mConfig;
191 @NonNull VcnConfig config, in Vcn()
201 @NonNull VcnConfig config, in Vcn()
229 public void updateConfig(@NonNull VcnConfig config) { in updateConfig()
289 handleConfigUpdated((VcnConfig) msg.obj); in handleMessage()
314 private void handleConfigUpdated(@NonNull VcnConfig config) { in handleConfigUpdated()
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnTest.java49 import android.net.vcn.VcnConfig;
102 private VcnConfig mConfig;
135 final VcnConfig.Builder configBuilder = new VcnConfig.Builder(mContext); in setUp()
390 final VcnConfig updatedConfig = in testUpdateConfigReevaluatesGatewayConnections()
391 new VcnConfig.Builder(mContext).addGatewayConnectionConfig(activeConfig).build(); in testUpdateConfigReevaluatesGatewayConnections()
/frameworks/base/tests/vcn/java/com/android/server/
DVcnManagementServiceTest.java71 import android.net.vcn.VcnConfig;
122 private static final VcnConfig TEST_VCN_CONFIG;
132 private static final Map<ParcelUuid, VcnConfig> TEST_VCN_CONFIG_MAP =
228 VcnConfig::toPersistableBundle); in VcnManagementServiceTest()
716 final VcnConfig vcnConfig = in testSetVcnConfigTestModeRequiresPermission()
717 new VcnConfig.Builder(mMockContext) in testSetVcnConfigTestModeRequiresPermission()
/frameworks/base/core/api/
Dcurrent.txt27129 public final class VcnConfig implements android.os.Parcelable {
27133 …field @NonNull public static final android.os.Parcelable.Creator<android.net.vcn.VcnConfig> CREATO…
27136 public static final class VcnConfig.Builder {
27137 ctor public VcnConfig.Builder(@NonNull android.content.Context);
27138 …method @NonNull public android.net.vcn.VcnConfig.Builder addGatewayConnectionConfig(@NonNull andro…
27139 method @NonNull public android.net.vcn.VcnConfig build();
27162 …d setVcnConfig(@NonNull android.os.ParcelUuid, @NonNull android.net.vcn.VcnConfig) throws java.io.…
/frameworks/base/services/
Dart-profile3532 …init>(Lcom/android/server/VcnManagementService;Landroid/os/ParcelUuid;Landroid/net/vcn/VcnConfig;)V
3552 …m/android/server/vcn/VcnContext;Landroid/os/ParcelUuid;Landroid/net/vcn/VcnConfig;Lcom/android/ser…
3575 …android/util/MapCollections$MapIterator;]Landroid/net/vcn/VcnConfig;Landroid/net/vcn/VcnConfig;]Lj…
3590 …id/server/VcnManagementService;->enforceManageTestNetworksForTestMode(Landroid/net/vcn/VcnConfig;)V
3605 …e;->lambda$setVcnConfig$4$VcnManagementService(Landroid/os/ParcelUuid;Landroid/net/vcn/VcnConfig;)V
3612 …anagementService;->setVcnConfig(Landroid/os/ParcelUuid;Landroid/net/vcn/VcnConfig;Ljava/lang/Strin…
3613 …/VcnManagementService;->startOrUpdateVcnLocked(Landroid/os/ParcelUuid;Landroid/net/vcn/VcnConfig;)V
3614 …d/server/VcnManagementService;->startVcnLocked(Landroid/os/ParcelUuid;Landroid/net/vcn/VcnConfig;)V
42250 …m/android/server/vcn/VcnContext;Landroid/os/ParcelUuid;Landroid/net/vcn/VcnConfig;Lcom/android/ser…
42251 …m/android/server/vcn/VcnContext;Landroid/os/ParcelUuid;Landroid/net/vcn/VcnConfig;Lcom/android/ser…
[all …]