Home
last modified time | relevance | path

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

12

/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DWapPushTest.java479 IWapPushManager getInterface() { in getInterface() method in WapPushTest
494 IWapPushManager iwapman = getInterface(); in utAddPackage()
535 IWapPushManager iwapman = getInterface(); in testAddPackage1()
561 IWapPushManager iwapman = getInterface(); in testAddPackage0()
578 IWapPushManager iwapman = getInterface(); in testAddPackage2()
614 IWapPushManager iwapman = getInterface(); in utUpdatePackage()
645 IWapPushManager iwapman = getInterface(); in testUpdatePackage1()
681 IWapPushManager iwapman = getInterface(); in testUpdatePackage1()
710 IWapPushManager iwapman = getInterface(); in testUpdatePackage2()
743 IWapPushManager iwapman = getInterface(); in utDeletePackage()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DIPv6TetheringCoordinator.java199 (v4default.getInterface() != null) && in canTetherIPv6()
200 v4default.getInterface().equals(v6default.getInterface()); in canTetherIPv6()
/frameworks/base/core/tests/coretests/src/android/net/
DRouteInfoTest.java53 assertNull(r.getInterface()); in testConstructor()
58 assertEquals("wlan0", r.getInterface()); in testConstructor()
64 assertEquals("lo", r.getInterface()); in testConstructor()
69 assertNull(r.getInterface()); in testConstructor()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DTestUtil.java99 connection.claimInterface(device.getInterface(i), true); in findMtpDevice()
100 connection.releaseInterface(device.getInterface(i)); in findMtpDevice()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java854 mWifiNative.p2pGroupRemove(mGroup.getInterface()); in processMessage()
1447 mWifiNative.p2pGroupRemove(mGroup.getInterface()); in processMessage()
1763 mWifiNative.setP2pGroupIdle(mGroup.getInterface(), GROUP_IDLE_TIME_S); in processMessage()
1765 startDhcpServer(mGroup.getInterface()); in processMessage()
1767 mWifiNative.setP2pGroupIdle(mGroup.getInterface(), GROUP_IDLE_TIME_S); in processMessage()
1768 startIpManager(mGroup.getInterface()); in processMessage()
1968 mWifiNative.setP2pGroupIdle(mGroup.getInterface(), 0); in processMessage()
1992 mWifiNative.p2pGroupRemove(mGroup.getInterface()); in processMessage()
2012 mWifiNative.setP2pPowerSave(mGroup.getInterface(), false); in processMessage()
2016 mWifiNative.setP2pPowerSave(mGroup.getInterface(), true); in processMessage()
[all …]
/frameworks/base/core/java/android/hardware/usb/
DUsbDevice.java217 mInterfaces[offset++] = configuration.getInterface(j); in getInterfaceList()
243 public UsbInterface getInterface(int index) { in getInterface() method in UsbDevice
DUsbConfiguration.java128 public UsbInterface getInterface(int index) { in getInterface() method in UsbConfiguration
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pGroup.java250 public String getInterface() { in getInterface() method in WifiP2pGroup
290 mInterface = source.getInterface(); in WifiP2pGroup()
/frameworks/base/core/java/com/android/server/net/
DNetlinkTracker.java147 if (mInterfaceName.equals(route.getInterface())) { in routeUpdated()
161 if (mInterfaceName.equals(route.getInterface())) { in routeRemoved()
/frameworks/base/core/java/android/net/
DRouteInfo.java300 public String getInterface() { in getInterface() method in RouteInfo
434 Objects.equals(mInterface, target.getInterface()) && in equals()
DLinkProperties.java467 String routeIface = route.getInterface(); in addRoute()
493 Objects.equals(mIfaceName, route.getInterface()) && in removeRoute()
811 return hasIPv4AddressOnInterface(bestRoute.getInterface()); in isReachable()
/frameworks/native/services/sensorservice/
DSensorList.h56 sp<SensorInterface> getInterface(int handle) const;
DSensorList.cpp58 sp<SensorInterface> SensorList::getInterface(int handle) const { in getInterface() function in android::SensorServiceUtil::SensorList
DSensorService.cpp396 sp<SensorInterface> s = mSensors.getInterface(i.first); in dump()
571 sp<SensorInterface> si = mSensors.getInterface(handle); in threadLoop()
1004 return mSensors.getInterface(handle); in getSensorInterfaceFromHandle()
/frameworks/base/services/usb/java/com/android/server/usb/
DMtpNotificationManager.java133 final UsbInterface usbInterface = device.getInterface(i); in isMtpDevice()
DUsbAlsaManager.java363 UsbInterface ntrface = usbDevice.getInterface(ntrfaceIndex); in usbDeviceAdded()
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
DImsVideoCallProvider.java163 public final IImsVideoCallProvider getInterface() { in getInterface() method in ImsVideoCallProvider
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java1000 iface = NetworkInterface.getByName(info.getInterface()); in getInterfaceAddress()
1003 + info.getInterface(), ex); in getInterfaceAddress()
1016 + info.getInterface() + " because it had no IPv4 addresses."); in getInterfaceAddress()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DMtpClient.java138 UsbInterface intf = device.getInterface(i); in isCamera()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpManager.java298 final UsbInterface usbInterface = device.getInterface(i); in isMtpDevice()
/frameworks/base/telecomm/java/android/telecom/
DConnectionServiceAdapter.java329 videoProvider == null ? null : videoProvider.getInterface()); in setVideoProvider()
DConnectionService.java785 null : connection.getVideoProvider().getInterface(), in createConnection()
1140 null : conference.getVideoProvider().getInterface(), in addConference()
1185 null : connection.getVideoProvider().getInterface(), in addExistingConnection()
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DSinkActivity.java181 UsbInterface iface = device.getInterface(0); in connect()
/frameworks/base/media/java/android/media/tv/
DTvInputManager.java1574 mService.releaseTvInputHardware(deviceId, hardware.getInterface(), mUserId);
2487 private ITvInputHardware getInterface() {
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java1451 iface = ipv4Default.getInterface(); in chooseUpstreamType()
1452 Log.i(TAG, "Found interface " + ipv4Default.getInterface()); in chooseUpstreamType()

12