Home
last modified time | relevance | path

Searched refs:tethered (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java480 TetheredDevice tethered = tester.createTetheredDevice(TEST_MAC, true /* hasIpv6 */); in runPing6Test() local
482 ByteBuffer request = Ipv6Utils.buildEchoRequestPacket(tethered.macAddr, in runPing6Test()
483 tethered.routerMacAddr, tethered.ipv6Addr, remoteIp6Addr); in runPing6Test()
491 ByteBuffer reply = Ipv6Utils.buildEchoReplyPacket(remoteIp6Addr, tethered.ipv6Addr); in runPing6Test()
504 final TetheredDevice tethered = tester.createTetheredDevice(TEST_MAC, true /* hasIpv6 */); in testTetherUdpV6() local
505 sendUploadPacketUdp(tethered.macAddr, tethered.routerMacAddr, in testTetherUdpV6()
506 tethered.ipv6Addr, REMOTE_IP6_ADDR, tester, false /* is4To6 */); in testTetherUdpV6()
507 sendDownloadPacketUdp(REMOTE_IP6_ADDR, tethered.ipv6Addr, tester, false /* is6To4 */); in testTetherUdpV6()
525 final TetheredDevice tethered = tester.createTetheredDevice(TEST_MAC, false /* hasIpv6 */); in runUdp4Test() local
533 probeV4TetheringConnectivity(tester, tethered, false /* is4To6 */); in runUdp4Test()
[all …]
/packages/apps/Settings/src/com/android/settings/network/tether/
DTetherSettings.java435 String[] tethered = mTm.getTetheredIfaces(); in updateBluetoothAndEthernetState() local
436 updateBluetoothAndEthernetState(tethered); in updateBluetoothAndEthernetState()
439 private void updateBluetoothAndEthernetState(String[] tethered) { in updateBluetoothAndEthernetState() argument
442 updateEthernetState(available, tethered); in updateBluetoothAndEthernetState()
446 String[] tethered = mTm.getTetheredIfaces(); in updateUsbState() local
447 updateUsbState(tethered); in updateUsbState()
451 void updateUsbState(String[] tethered) { in updateUsbState() argument
453 for (String s : tethered) { in updateUsbState()
532 void updateEthernetState(String[] available, String[] tethered) { in updateEthernetState() argument
540 for (String s : tethered) { in updateEthernetState()
[all …]
/packages/modules/Connectivity/Tethering/tests/mts/src/android/tethering/mts/
DMtsEthernetTetheringTest.java195 final TetheredDevice tethered = tester.createTetheredDevice(TEST_MAC, false /* hasIpv6 */); in runUdp4Test() local
203 probeV4TetheringConnectivity(tester, tethered, false /* is4To6 */); in runUdp4Test()
205 final MacAddress srcMac = tethered.macAddr; in runUdp4Test()
206 final MacAddress dstMac = tethered.routerMacAddr; in runUdp4Test()
209 final InetAddress clientIp = tethered.ipv4Addr; in runUdp4Test()
238 assertTrue(Arrays.equals(tethered.ipv4Addr.getAddress(), upstream4Key.src4)); in runUdp4Test()
/packages/apps/Settings/src/com/android/settings/network/
DTetherEnabler.java221 void updateState(@Nullable String[] tethered) { in updateState() argument
222 int state = getTetheringState(tethered); in updateState()
246 int getTetheringState(@Nullable String[] tethered) { in getTetheringState() argument
248 if (tethered == null) { in getTetheringState()
249 tethered = mTetheringManager.getTetheredIfaces(); in getTetheringState()
267 for (String s : tethered) { in getTetheringState()
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DTetheringTester.java178 TetheredDevice tethered = new TetheredDevice(macAddr, hasIpv6); in createTetheredDevice() local
179 mTetheredDevices.put(macAddr, tethered); in createTetheredDevice()
181 return tethered; in createTetheredDevice()
280 TetheredDevice tethered = mTetheredDevices.valueAt(i); in maybeReplyArp() local
281 if (!arpPacket.targetIp.equals(tethered.ipv4Addr)) continue; in maybeReplyArp()
285 tethered.macAddr.toByteArray() /* srcMac */, in maybeReplyArp()
288 tethered.ipv4Addr.getAddress() /* sender IP */, in maybeReplyArp()
293 fail("Failed to reply ARP for " + tethered.ipv4Addr); in maybeReplyArp()
401 TetheredDevice tethered = mTetheredDevices.valueAt(i); in maybeReplyNa() local
402 if (!nsHdr.target.equals(tethered.ipv6Addr)) continue; in maybeReplyNa()
[all …]
DEthernetTetheringTestBase.java814 protected byte[] probeV4TetheringConnectivity(TetheringTester tester, TetheredDevice tethered, in probeV4TetheringConnectivity() argument
816 final ByteBuffer probePacket = buildUdpPacket(tethered.macAddr, in probeV4TetheringConnectivity()
817 tethered.routerMacAddr, tethered.ipv4Addr /* srcIp */, in probeV4TetheringConnectivity()
929 protected Inet6Address getClatIpv6Address(TetheringTester tester, TetheredDevice tethered) in getClatIpv6Address() argument
934 byte[] expectedPacket = probeV4TetheringConnectivity(tester, tethered, true /* is4To6 */); in getClatIpv6Address()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/tether/
DTetherSettingsTest.java300 String [] tethered = {"rndis0"}; in updateState_usbTetheringIsEnabled_checksUsbTethering() local
306 mTetherSettings.mUsbRegexs = tethered; in updateState_usbTetheringIsEnabled_checksUsbTethering()
308 mTetherSettings.updateUsbState(tethered); in updateState_usbTetheringIsEnabled_checksUsbTethering()
316 String [] tethered = {"rndis0"}; in updateState_usbTetheringIsDisabled_unchecksUsbTethering() local
322 mTetherSettings.mUsbRegexs = tethered; in updateState_usbTetheringIsDisabled_unchecksUsbTethering()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/metrics/
Dstats.proto34 // The amount of data received from tethered clients.
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java1085 final ArrayList<TetheringInterface> tethered = new ArrayList<>(); in sendTetherStateChangedBroadcast() local
1113 tethered.add(tetheringIface); in sendTetherStateChangedBroadcast()
1117 mTetherStatesParcel = buildTetherStatesParcel(available, localOnly, tethered, errored, in sendTetherStateChangedBroadcast()
1121 mContext.sendStickyBroadcastAsUser(buildStateChangeIntent(available, localOnly, tethered, in sendTetherStateChangedBroadcast()
1128 "tether", TextUtils.join(",", tethered), in sendTetherStateChangedBroadcast()
1138 final ArrayList<TetheringInterface> tethered, in buildTetherStatesParcel() argument
1144 parcel.tetheredList = tethered.toArray(new TetheringInterface[0]); in buildTetherStatesParcel()
1157 final ArrayList<TetheringInterface> tethered, in buildStateChangeIntent() argument
1164 bcast.putStringArrayListExtra(EXTRA_ACTIVE_TETHER, toIfaces(tethered)); in buildStateChangeIntent()
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto369 // SoftAP event list tracking sessions and client counts in tethered mode
2935 // Group event list tracking sessions and client counts in tethered mode.
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz