Home
last modified time | relevance | path

Searched refs:interfaceType (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java160 private void initStateMachine(int interfaceType) throws Exception { in initStateMachine() argument
161 initStateMachine(interfaceType, false /* usingLegacyDhcp */, DEFAULT_USING_BPF_OFFLOAD); in initStateMachine()
164 private void initStateMachine(int interfaceType, boolean usingLegacyDhcp, in initStateMachine() argument
185 if (interfaceType == TETHERING_BLUETOOTH) { in initStateMachine()
196 IFACE_NAME, mLooper.getLooper(), interfaceType, mSharedLog, mNetd, mBpfCoordinator, in initStateMachine()
209 private void initTetheredStateMachine(int interfaceType, String upstreamIface) in initTetheredStateMachine() argument
211 initTetheredStateMachine(interfaceType, upstreamIface, false, in initTetheredStateMachine()
215 private void initTetheredStateMachine(int interfaceType, String upstreamIface, in initTetheredStateMachine() argument
217 initStateMachine(interfaceType, usingLegacyDhcp, usingBpfOffload); in initTetheredStateMachine()
978 if (mIpServer.interfaceType() == TETHERING_NCM) { in assertDhcpServingParams()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java771 final int type = tetherState.ipServer.interfaceType(); in tether()
1149 if (ipServer.interfaceType() == tetheringType) { in disableWifiIpServingLockedCommon()
1208 private void tetherMatchingInterfaces(int requestedState, int interfaceType) { in tetherMatchingInterfaces() argument
1210 Log.d(TAG, "tetherMatchingInterfaces(" + requestedState + ", " + interfaceType + ")"); in tetherMatchingInterfaces()
1223 if (ifaceNameToType(iface) == interfaceType) { in tetherMatchingInterfaces()
1230 Log.e(TAG, "could not find iface of type " + interfaceType); in tetherMatchingInterfaces()
1641 if (who.interfaceType() == TETHERING_WIFI) { in handleInterfaceServingStateActive()
1667 if (who.interfaceType() == TETHERING_WIFI) { in handleInterfaceServingStateInactive()
2392 final int interfaceType = ifaceNameToType(iface);
2393 if (interfaceType == TETHERING_INVALID) {
[all …]
DPrivateAddressCoordinator.java250 pw.println(ipServer.interfaceType() + " - " + ipServer.getAddress()); in dump()
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java282 String ifaceName, Looper looper, int interfaceType, SharedLog log, in IpServer() argument
293 mInterfaceType = interfaceType; in IpServer()
336 public int interfaceType() { in interfaceType() method in IpServer