Home
last modified time | relevance | path

Searched refs:getInterface (Results 1 – 25 of 47) sorted by relevance

12

/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java944 if (TextUtils.isEmpty(mGroup.getInterface())) return; in P2pStateMachine()
949 if (interfaces.contains(mGroup.getInterface())) { in P2pStateMachine()
1296 mWifiNative.p2pGroupRemove(mGroup.getInterface()); in processMessage()
2236 mWifiNative.p2pGroupRemove(mGroup.getInterface()); in processMessage()
2628 mWifiNative.setP2pGroupIdle(mGroup.getInterface(), in processMessage()
2641 mWifiNative.p2pGroupRemove(mGroup.getInterface()); in processMessage()
2646 mWifiNative.setP2pGroupIdle(mGroup.getInterface(), GROUP_IDLE_TIME_S); in processMessage()
2647 startIpClient(mGroup.getInterface(), getHandler()); in processMessage()
2667 Log.d(TAG, "tether " + mGroup.getInterface() + " ready"); in processMessage()
2858 Inet4Address addr = getInterfaceAddress(mGroup.getInterface()); in enter()
[all …]
/packages/modules/Connectivity/tests/common/java/android/net/
DUnderlyingNetworkInfoTest.kt40 assertEquals(TEST_IFACE, testInfo.getInterface()) in testParcelUnparcel()
46 assertEquals(String(), emptyInfo.getInterface()) in testParcelUnparcel()
DRouteInfoTest.java103 assertNull(r.getInterface()); in testConstructor()
108 assertEquals("wlan0", r.getInterface()); in testConstructor()
114 assertEquals("lo", r.getInterface()); in testConstructor()
119 assertNull(r.getInterface()); in testConstructor()
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsTetheringUtils.java147 if (isRegexMatch(regexArray, iface.getInterface()) && type == iface.getType()) { in getFirstMatchingTetheringInterface()
246 assertEquals(ifName.getInterface(), mErrorIface); in onError()
267 assertTrue("iface " + tether.getInterface() in assertHasAllTetheringInterfaces()
269 ifaces.contains(tether.getInterface())); in assertHasAllTetheringInterfaces()
/packages/services/Mtp/tests/src/com/android/mtp/
DTestUtil.java99 connection.claimInterface(device.getInterface(i), true); in findMtpDevice()
100 connection.releaseInterface(device.getInterface(i)); in findMtpDevice()
/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java178 final String iface = mTetheredInterfaceRequester.getInterface(); in testVirtualEthernetAlreadyExists()
211 final String iface = mTetheredInterfaceRequester.getInterface(); in testStaticIpv4()
302 final String iface = mTetheredInterfaceRequester.getInterface(); in testLocalOnlyTethering()
337 final String iface = mTetheredInterfaceRequester.getInterface(); in testPhysicalEthernet()
617 public String getInterface() throws Exception { in getInterface() method in EthernetTetheringTest.TetheredInterfaceRequester
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pGroup.java275 public String getInterface() { in getInterface() method in WifiP2pGroup
327 mInterface = source.getInterface(); in WifiP2pGroup()
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/
DTetheringManager.java1087 onError(iface.getInterface(), error);
1120 ifaces.add(tether.getInterface());
1129 ifaces[i] = tetherIfaces[i].getInterface();
1360 if (iface.equals(errored.getInterface())) return mTetherStatesParcel.lastErrorList[i];
DTetheringInterface.java54 public String getInterface() { in getInterface() method in TetheringInterface
/packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/
DSpeedMeasurementController.java168 UsbInterface iface = mDevice.getInterface(0); in ReaderThread()
224 UsbInterface iface = mDevice.getInterface(0); in BaseWriterThread()
/packages/modules/Connectivity/framework/src/android/net/
DRouteInfo.java386 public String getInterface() { in getInterface() method in RouteInfo
547 Objects.equals(mInterface, target.getInterface()) && in equals()
DLinkProperties.java700 String routeIface = route.getInterface(); in addRoute()
735 return Objects.equals(mIfaceName, route.getInterface()) && mRoutes.remove(route); in removeRoute()
1316 return hasIpv4AddressOnInterface(bestRoute.getInterface()); in isReachable()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackImplTest.java363 assertEquals(group.getInterface(), fakeName); in testOnGroupStarted_success()
594 assertEquals(mGroupIface, groupCaptor.getValue().getInterface()); in testOnGroupRemovedForGroupOwner()
607 assertEquals(mGroupIface, groupCaptor.getValue().getInterface()); in testOnGroupRemovedForGroupClient()
/packages/services/Car/cpp/computepipe/router/include/
DPipeHandle.h46 std::shared_ptr<T> getInterface() { in getInterface() function
/packages/modules/NetworkStack/src/android/net/ip/
DIpClientLinkObserver.java217 if (mInterfaceName.equals(route.getInterface())) { in onRouteUpdated()
233 if (mInterfaceName.equals(route.getInterface())) { in onRouteRemoved()
/packages/services/Car/cpp/computepipe/router/1.0/
DPipeQuery.cpp53 auto pipeRunner = pipeHandle->getInterface(); in getPipeRunner()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringInterfaceUtils.java92 return (ri != null) ? ri.getInterface() : null; in getInterfaceForDestination()
/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/
DRouteUtils.java95 final String ifName = route.getInterface(); in modifyRoute()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/p2p/
DWifiP2pGroupTest.java61 assertEquals(INTERFACE, group.getInterface()); in testSetterGetter()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpCoverArtService.java66 mNativeInterface = AvrcpNativeInterface.getInterface(); in AvrcpCoverArtService()
DAvrcpNativeInterface.java46 static AvrcpNativeInterface getInterface() { in getInterface() method in AvrcpNativeInterface
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpClient.java149 UsbInterface intf = device.getInterface(i); in isCamera()
/packages/modules/Connectivity/Tethering/tests/mts/src/android/tethering/mts/
DTetheringModuleTest.java111 final String wifiTetheringIface = tetheredIface.getInterface(); in addressConflictTest()
/packages/services/BuiltInPrintService/src/com/android/bips/p2p/
DP2pConnectionProcedure.java153 mNetwork = group.getInterface(); in onReceive()
/packages/modules/NeuralNetworks/runtime/
DManager.h75 virtual SharedPreparedModel getInterface() const = 0;

12