Home
last modified time | relevance | path

Searched refs:vcnContext (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/vcn/routeselection/
DUnderlyingNetworkEvaluator.java78 @NonNull VcnContext vcnContext, in UnderlyingNetworkEvaluator()
86 mVcnContext = Objects.requireNonNull(vcnContext, "Missing vcnContext"); in UnderlyingNetworkEvaluator()
121 @NonNull VcnContext vcnContext, in UnderlyingNetworkEvaluator()
129 vcnContext, in UnderlyingNetworkEvaluator()
143 @NonNull VcnContext vcnContext, in newIpSecPacketLossDetector()
148 return new IpSecPacketLossDetector(vcnContext, network, carrierConfig, callback); in newIpSecPacketLossDetector()
196 private static boolean isIpSecPacketLossDetectorEnabled(VcnContext vcnContext) { in isIpSecPacketLossDetectorEnabled() argument
197 return vcnContext.isFlagIpSecTransformStateEnabled() in isIpSecPacketLossDetectorEnabled()
198 && vcnContext.isFlagNetworkMetricMonitorEnabled(); in isIpSecPacketLossDetectorEnabled()
202 public static Comparator<UnderlyingNetworkEvaluator> getComparator(VcnContext vcnContext) { in getComparator() argument
[all …]
DNetworkPriorityClassifier.java92 VcnContext vcnContext, in calculatePriorityClass() argument
114 vcnContext, in calculatePriorityClass()
128 || (vcnContext.isInTestMode() && caps.hasTransport(TRANSPORT_TEST))) { in calculatePriorityClass()
136 VcnContext vcnContext, in checkMatchesPriorityRule() argument
181 if (vcnContext.isInTestMode() && caps.hasTransport(TRANSPORT_TEST)) { in checkMatchesPriorityRule()
195 vcnContext, in checkMatchesPriorityRule()
252 VcnContext vcnContext, in checkMatchesCellPriorityRule() argument
272 vcnContext in checkMatchesCellPriorityRule()
DNetworkMetricMonitor.java60 @NonNull VcnContext vcnContext, in NetworkMetricMonitor()
65 if (!vcnContext.isFlagNetworkMetricMonitorEnabled()) { in NetworkMetricMonitor()
71 mVcnContext = Objects.requireNonNull(vcnContext, "Missing vcnContext"); in NetworkMetricMonitor()
DIpSecPacketLossDetector.java142 @NonNull VcnContext vcnContext, in IpSecPacketLossDetector()
148 super(vcnContext, network, carrierConfig, callback); in IpSecPacketLossDetector()
152 if (!vcnContext.isFlagIpSecTransformStateEnabled()) { in IpSecPacketLossDetector()
192 @NonNull VcnContext vcnContext, in IpSecPacketLossDetector()
197 this(vcnContext, network, carrierConfig, callback, new Dependencies()); in IpSecPacketLossDetector()
DUnderlyingNetworkController.java106 @NonNull VcnContext vcnContext, in UnderlyingNetworkController()
111 this(vcnContext, connectionConfig, subscriptionGroup, snapshot, cb, new Dependencies()); in UnderlyingNetworkController()
116 @NonNull VcnContext vcnContext, in UnderlyingNetworkController()
122 mVcnContext = Objects.requireNonNull(vcnContext, "Missing vcnContext"); in UnderlyingNetworkController()
756 @NonNull VcnContext vcnContext, in newUnderlyingNetworkEvaluator()
764 vcnContext, in newUnderlyingNetworkEvaluator()
/frameworks/base/services/core/java/com/android/server/vcn/
DVcn.java197 @NonNull VcnContext vcnContext, in Vcn()
202 this(vcnContext, subscriptionGroup, config, snapshot, vcnCallback, new Dependencies()); in Vcn()
207 @NonNull VcnContext vcnContext, in Vcn()
213 super(Objects.requireNonNull(vcnContext, "Missing vcnContext").getLooper()); in Vcn()
214 mVcnContext = vcnContext; in Vcn()
745 VcnContext vcnContext, in newVcnGatewayConnection() argument
752 vcnContext, in newVcnGatewayConnection()
761 public VcnContentResolver newVcnContentResolver(VcnContext vcnContext) { in newVcnContentResolver() argument
762 return new VcnContentResolver(vcnContext); in newVcnContentResolver()
771 public VcnContentResolver(VcnContext vcnContext) { in VcnContentResolver() argument
[all …]
DVcnGatewayConnection.java749 @NonNull VcnContext vcnContext, in VcnGatewayConnection()
756 vcnContext, in VcnGatewayConnection()
767 @NonNull VcnContext vcnContext, in VcnGatewayConnection()
774 super(TAG, Objects.requireNonNull(vcnContext, "Missing vcnContext").getLooper()); in VcnGatewayConnection()
775 mVcnContext = vcnContext; in VcnGatewayConnection()
810 new HandlerExecutor(new Handler(vcnContext.getLooper())), in VcnGatewayConnection()
1253 VcnContext vcnContext, TelephonySubscriptionSnapshot snapshot, ParcelUuid subGrp) { in getSafeModeTimeoutMs() argument
1255 vcnContext.isInTestMode() in getSafeModeTimeoutMs()
1262 if (vcnContext.isFlagSafeModeTimeoutConfigEnabled() && carrierConfig != null) { in getSafeModeTimeoutMs()
2747 VcnContext vcnContext, in newUnderlyingNetworkController() argument
[all …]
/frameworks/base/tests/vcn/java/com/android/server/vcn/routeselection/
DUnderlyingNetworkControllerTest.java226 private void resetVcnContext(VcnContext vcnContext) { in resetVcnContext() argument
227 reset(vcnContext); in resetVcnContext()
228 doNothing().when(vcnContext).ensureRunningOnLooperThread(); in resetVcnContext()
229 doReturn(true).when(vcnContext).isFlagNetworkMetricMonitorEnabled(); in resetVcnContext()
230 doReturn(true).when(vcnContext).isFlagIpSecTransformStateEnabled(); in resetVcnContext()
255 final VcnContext vcnContext = in testNetworkCallbacksRegisteredOnStartupForTestMode() local
262 resetVcnContext(vcnContext); in testNetworkCallbacksRegisteredOnStartupForTestMode()
265 vcnContext, in testNetworkCallbacksRegisteredOnStartupForTestMode()
/frameworks/base/services/core/java/com/android/server/
DVcnManagementService.java363 @NonNull VcnContext vcnContext, in newVcn()
368 return new Vcn(vcnContext, subscriptionGroup, config, snapshot, vcnCallback); in newVcn()
744 final VcnContext vcnContext = in startVcnLocked() local
748 mDeps.newVcn(vcnContext, subscriptionGroup, config, mLastSnapshot, vcnCallback); in startVcnLocked()