Searched refs:VcnConfig (Results 1 – 11 of 11) sorted by relevance
62 public static VcnConfig buildTestConfig( in buildTestConfig()64 VcnConfig.Builder builder = new VcnConfig.Builder(context); in buildTestConfig()78 public static VcnConfig buildTestConfig(@NonNull Context context) { in buildTestConfig()90 new VcnConfig.Builder(null); in testBuilderConstructorRequiresContext()99 new VcnConfig.Builder(mContext).build(); in testBuilderRequiresGatewayConnectionConfig()109 new VcnConfig.Builder(mContext) in testBuilderRequiresUniqueGatewayConnectionNames()119 final VcnConfig config = buildTestConfig(mContext); in testBuilderAndGettersDefaultValues()131 final VcnConfig config = buildTestConfig(mContext, RESTRICTED_TRANSPORTS); in testBuilderAndGettersConfigRestrictedTransports()141 final VcnConfig config = buildTestConfig(mContext); in testPersistableBundle()143 assertEquals(config, new VcnConfig(config.toPersistableBundle())); in testPersistableBundle()[all …]
60 public final class VcnConfig implements Parcelable { class61 @NonNull private static final String TAG = VcnConfig.class.getSimpleName();96 private VcnConfig( in VcnConfig() method in VcnConfig116 public VcnConfig(@NonNull PersistableBundle in) { in VcnConfig() method in VcnConfig238 if (!(other instanceof VcnConfig)) { in equals()242 final VcnConfig rhs = (VcnConfig) other; in equals()262 public static final Parcelable.Creator<VcnConfig> CREATOR =263 new Parcelable.Creator<VcnConfig>() {265 public VcnConfig createFromParcel(Parcel in) {266 …return new VcnConfig((PersistableBundle) in.readParcelable(null, android.os.PersistableBundle.clas…[all …]
23 import android.net.vcn.VcnConfig;33 void setVcnConfig(in ParcelUuid subscriptionGroup, in VcnConfig config, in String opPkgName); in setVcnConfig()
20 parcelable VcnConfig;
255 public void setVcnConfig(@NonNull ParcelUuid subscriptionGroup, @NonNull VcnConfig config) in setVcnConfig()
55 import android.net.vcn.VcnConfig;205 private final Map<ParcelUuid, VcnConfig> mConfigs = new ArrayMap<>();275 final Map<ParcelUuid, VcnConfig> configs = in VcnManagementService()279 VcnConfig::new); in VcnManagementService()282 for (Entry<ParcelUuid, VcnConfig> entry : configs.entrySet()) { in VcnManagementService()365 @NonNull VcnConfig config, in newVcn()414 VcnConfig vcnConfig) { in getRestrictedTransports()506 private void enforceManageTestNetworksForTestMode(@NonNull VcnConfig vcnConfig) { in enforceManageTestNetworksForTestMode()548 for (Entry<ParcelUuid, VcnConfig> entry : mConfigs.entrySet()) { in onReceive()586 for (Entry<ParcelUuid, VcnConfig> entry : mConfigs.entrySet()) { in onNewSnapshot()[all …]
38 import android.net.vcn.VcnConfig;181 @NonNull private VcnConfig mConfig;199 @NonNull VcnConfig config, in Vcn()209 @NonNull VcnConfig config, in Vcn()240 public void updateConfig(@NonNull VcnConfig config) { in updateConfig()300 handleConfigUpdated((VcnConfig) msg.obj); in handleMessage()325 private void handleConfigUpdated(@NonNull VcnConfig config) { in handleConfigUpdated()
49 import android.net.vcn.VcnConfig;103 private VcnConfig mConfig;136 final VcnConfig.Builder configBuilder = new VcnConfig.Builder(mContext); in setUp()416 final VcnConfig updatedConfig = in testUpdateConfigReevaluatesGatewayConnections()417 new VcnConfig.Builder(mContext).addGatewayConnectionConfig(activeConfig).build(); in testUpdateConfigReevaluatesGatewayConnections()
76 import android.net.vcn.VcnConfig;136 private static final VcnConfig TEST_VCN_CONFIG;137 private static final VcnConfig TEST_VCN_CONFIG_PKG_2;164 private static final Map<ParcelUuid, VcnConfig> TEST_VCN_CONFIG_MAP =269 VcnConfig::toPersistableBundle); in VcnManagementServiceTest()810 final VcnConfig vcnConfig = in testSetVcnConfigTestModeRequiresPermission()811 new VcnConfig.Builder(mMockContext) in testSetVcnConfigTestModeRequiresPermission()1143 final VcnConfig vcnConfig = in testGetRestrictedTransportsFromCarrierConfigAndVcnConfig()1454 final VcnConfig vcnConfig = in testVcnConfigChangeUpdatesPolicyListener()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
29427 public final class VcnConfig implements android.os.Parcelable {29432 …field @NonNull public static final android.os.Parcelable.Creator<android.net.vcn.VcnConfig> CREATO…29435 public static final class VcnConfig.Builder {29436 ctor public VcnConfig.Builder(@NonNull android.content.Context);29437 …method @NonNull public android.net.vcn.VcnConfig.Builder addGatewayConnectionConfig(@NonNull andro…29438 method @NonNull public android.net.vcn.VcnConfig build();29439 …method @NonNull public android.net.vcn.VcnConfig.Builder setRestrictedUnderlyingNetworkTransports(…29472 …d setVcnConfig(@NonNull android.os.ParcelUuid, @NonNull android.net.vcn.VcnConfig) throws java.io.…