Home
last modified time | relevance | path

Searched refs:MulticastRoutingConfig (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Connectivity/framework/src/android/net/
DLocalNetworkConfig.java34 private final MulticastRoutingConfig mUpstreamMulticastRoutingConfig;
37 private final MulticastRoutingConfig mDownstreamMulticastRoutingConfig;
40 @Nullable final MulticastRoutingConfig upstreamConfig, in LocalNetworkConfig()
41 @Nullable final MulticastRoutingConfig downstreamConfig) { in LocalNetworkConfig()
46 mUpstreamMulticastRoutingConfig = MulticastRoutingConfig.CONFIG_FORWARD_NONE; in LocalNetworkConfig()
51 mDownstreamMulticastRoutingConfig = MulticastRoutingConfig.CONFIG_FORWARD_NONE; in LocalNetworkConfig()
69 public MulticastRoutingConfig getUpstreamMulticastRoutingConfig() { in getUpstreamMulticastRoutingConfig()
77 public MulticastRoutingConfig getDownstreamMulticastRoutingConfig() { in getDownstreamMulticastRoutingConfig()
105 final MulticastRoutingConfig upstreamConfig = in.readParcelable(null);
106 final MulticastRoutingConfig downstreamConfig = in.readParcelable(null);
[all …]
DMulticastRoutingConfig.java45 public final class MulticastRoutingConfig implements Parcelable { class
46 private static final String TAG = MulticastRoutingConfig.class.getSimpleName();
76 public static final MulticastRoutingConfig CONFIG_FORWARD_NONE =
77 new MulticastRoutingConfig(FORWARD_NONE, MULTICAST_SCOPE_NONE, null);
87 private MulticastRoutingConfig(@MulticastForwardingMode final int mode, final int scope, in MulticastRoutingConfig() method in MulticastRoutingConfig
123 private MulticastRoutingConfig(Parcel in) { in MulticastRoutingConfig() method in MulticastRoutingConfig
156 public static final Creator<MulticastRoutingConfig> CREATOR = new Creator<>() {
158 public MulticastRoutingConfig createFromParcel(@NonNull Parcel in) {
159 return new MulticastRoutingConfig(in);
163 public MulticastRoutingConfig[] newArray(int size) {
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DMulticastRoutingCoordinatorServiceTest.kt19 import android.net.MulticastRoutingConfig
182 val configNone = MulticastRoutingConfig.CONFIG_FORWARD_NONE in applyMulticastForwardNone()
188 val configMinimumScope = MulticastRoutingConfig.Builder( in applyMulticastForwardMinimumScope()
189 MulticastRoutingConfig.FORWARD_WITH_MIN_SCOPE, minScope).build() in applyMulticastForwardMinimumScope()
195 val configSelected = MulticastRoutingConfig.Builder( in applyMulticastForwardSelected()
196 MulticastRoutingConfig.FORWARD_SELECTED) in applyMulticastForwardSelected()
219 assertEquals(MulticastRoutingConfig.CONFIG_FORWARD_NONE, in testMulticastRouting_applyForwardNone()
232 assertEquals(MulticastRoutingConfig.FORWARD_WITH_MIN_SCOPE, in testMulticastRouting_applyForwardMinimumScope()
275 assertEquals(MulticastRoutingConfig.FORWARD_SELECTED, in testMulticastRouting_applyForwardSelected_joinsGroup()
283 val configSelectedNoAddress = MulticastRoutingConfig.Builder( in testMulticastRouting_addListeningAddressInForwardSelected_joinsGroup()
[all …]
/packages/modules/Connectivity/tests/unit/java/android/net/
DMulticastRoutingConfigTest.kt29 import android.net.MulticastRoutingConfig.Builder
30 import android.net.MulticastRoutingConfig.FORWARD_NONE
31 import android.net.MulticastRoutingConfig.FORWARD_SELECTED
32 import android.net.MulticastRoutingConfig.FORWARD_WITH_MIN_SCOPE
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DMulticastRoutingCoordinatorService.java19 import static android.net.MulticastRoutingConfig.FORWARD_NONE;
20 import static android.net.MulticastRoutingConfig.FORWARD_SELECTED;
21 import static android.net.MulticastRoutingConfig.FORWARD_WITH_MIN_SCOPE;
34 import android.net.MulticastRoutingConfig;
122 public Map<String, MulticastRoutingConfig> oifConfigs =
123 new HashMap<String, MulticastRoutingConfig>();
169 final String iifName, final String oifName, final MulticastRoutingConfig newConfig) { in applyMulticastRoutingConfig()
187 final MulticastRoutingConfig oldConfig = getMulticastRoutingConfig(iifName, oifName); in applyMulticastRoutingConfig()
340 public MulticastRoutingConfig getMulticastRoutingConfig(String iifName, String oifName) { in getMulticastRoutingConfig()
342 final MulticastRoutingConfig defaultConfig = MulticastRoutingConfig.CONFIG_FORWARD_NONE; in getMulticastRoutingConfig()
[all …]
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DThreadNetworkControllerService.java18 import static android.net.MulticastRoutingConfig.CONFIG_FORWARD_NONE;
19 import static android.net.MulticastRoutingConfig.FORWARD_SELECTED;
20 import static android.net.MulticastRoutingConfig.FORWARD_WITH_MIN_SCOPE;
81 import android.net.MulticastRoutingConfig;
199 private MulticastRoutingConfig mUpstreamMulticastRoutingConfig = CONFIG_FORWARD_NONE;
200 private MulticastRoutingConfig mDownstreamMulticastRoutingConfig = CONFIG_FORWARD_NONE;
1296 MulticastRoutingConfig upstreamMulticastRoutingConfig;
1297 MulticastRoutingConfig downstreamMulticastRoutingConfig;
1304 new MulticastRoutingConfig.Builder(FORWARD_WITH_MIN_SCOPE, 4).build();
1324 private MulticastRoutingConfig buildDownstreamMulticastRoutingConfigSelected(
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSLocalAgentTests.kt23 import android.net.MulticastRoutingConfig
24 import android.net.MulticastRoutingConfig.CONFIG_FORWARD_NONE
94 MulticastRoutingConfig.Builder(MulticastRoutingConfig.FORWARD_WITH_MIN_SCOPE, 4) in keepScore()
97 MulticastRoutingConfig.Builder(MulticastRoutingConfig.FORWARD_SELECTED) in keepScore()
232 upstreamConfig: MulticastRoutingConfig, in keepScore()
233 downstreamConfig: MulticastRoutingConfig in keepScore()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java74 import static android.net.MulticastRoutingConfig.FORWARD_NONE;
200 import android.net.MulticastRoutingConfig;
9721 final MulticastRoutingConfig oldUpstreamConfig =
9722 oldConfig == null ? MulticastRoutingConfig.CONFIG_FORWARD_NONE :
9724 final MulticastRoutingConfig oldDownstreamConfig =
9725 oldConfig == null ? MulticastRoutingConfig.CONFIG_FORWARD_NONE :
9727 final MulticastRoutingConfig newUpstreamConfig =
9728 newConfig == null ? MulticastRoutingConfig.CONFIG_FORWARD_NONE :
9730 final MulticastRoutingConfig newDownstreamConfig =
9731 newConfig == null ? MulticastRoutingConfig.CONFIG_FORWARD_NONE :
[all …]