Home
last modified time | relevance | path

Searched refs:FORWARD_SELECTED (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Connectivity/framework/src/android/net/
DMulticastRoutingConfig.java54 public static final int FORWARD_SELECTED = 1; field in MulticastRoutingConfig
65 FORWARD_SELECTED,
171 case FORWARD_SELECTED: return "SELECTED"; in forwardingModeToString()
198 if (FORWARD_NONE != mode && FORWARD_SELECTED != mode) { in Builder()
255 if (FORWARD_SELECTED != mForwardingMode) { in addListeningAddress()
273 if (FORWARD_SELECTED != mForwardingMode) { in clearListeningAddress()
293 case FORWARD_SELECTED: return "FORWARD_SELECTED"; in modeToString()
327 if (mForwardingMode == FORWARD_SELECTED && !mListeningAddresses.isEmpty()) { in toString()
/packages/modules/Connectivity/tests/unit/java/android/net/
DMulticastRoutingConfigTest.kt31 import android.net.MulticastRoutingConfig.FORWARD_SELECTED
43 private fun configSelected() = Builder(FORWARD_SELECTED).build() in configNone()
45 Builder(FORWARD_SELECTED).addListeningAddress(address1) in configNone()
48 Builder(FORWARD_SELECTED).addListeningAddress(address2) in configNone()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DMulticastRoutingCoordinatorServiceTest.kt196 MulticastRoutingConfig.FORWARD_SELECTED) in applyMulticastForwardSelected()
275 assertEquals(MulticastRoutingConfig.FORWARD_SELECTED, in testMulticastRouting_applyForwardSelected_joinsGroup()
284 MulticastRoutingConfig.FORWARD_SELECTED).build() in testMulticastRouting_addListeningAddressInForwardSelected_joinsGroup()
289 MulticastRoutingConfig.FORWARD_SELECTED) in testMulticastRouting_addListeningAddressInForwardSelected_joinsGroup()
304 MulticastRoutingConfig.FORWARD_SELECTED) in testMulticastRouting_removeListeningAddressInForwardSelected_leavesGroup()
316 MulticastRoutingConfig.FORWARD_SELECTED) in testMulticastRouting_removeListeningAddressInForwardSelected_leavesGroup()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DMulticastRoutingCoordinatorService.java20 import static android.net.MulticastRoutingConfig.FORWARD_SELECTED;
205 (oldMode == FORWARD_SELECTED) in applyMulticastRoutingConfig()
209 (newMode == FORWARD_SELECTED) in applyMulticastRoutingConfig()
502 || (config.getValue().getForwardingMode() == FORWARD_SELECTED in computeMfcValue()
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DThreadNetworkControllerService.java19 import static android.net.MulticastRoutingConfig.FORWARD_SELECTED;
1327 new MulticastRoutingConfig.Builder(FORWARD_SELECTED);
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSLocalAgentTests.kt97 MulticastRoutingConfig.Builder(MulticastRoutingConfig.FORWARD_SELECTED) in keepScore()