Home
last modified time | relevance | path

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

123

/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DMmTelInterfaceAdapter.java50 return getInterface().startSession(incomingCallIntent, listener); in startSession()
54 getInterface().endSession(sessionId); in endSession()
58 return getInterface().isConnected(callSessionType, callType); in isConnected()
62 return getInterface().isOpened(); in isOpened()
66 return getInterface().getFeatureStatus(); in getFeatureState()
70 getInterface().addRegistrationListener(listener); in addRegistrationListener()
75 getInterface().removeRegistrationListener(listener); in removeRegistrationListener()
80 return getInterface().createCallProfile(sessionId, callSessionType, callType); in createCallProfile()
85 return getInterface().createCallSession(sessionId, profile); in createCallSession()
90 return getInterface().getPendingCallSession(sessionId, callId); in getPendingCallSession()
[all …]
DImsServiceControllerCompat.java174 private MmTelInterfaceAdapter getInterface(int slotId, IImsFeatureStatusCallback c) in getInterface() method in ImsServiceControllerCompat
186 MmTelInterfaceAdapter interfaceAdapter = getInterface(slotId, c); in createMMTelCompat()
/frameworks/base/lowpan/java/android/net/lowpan/
DLowpanManager.java126 public LowpanInterface getInterface(@NonNull ILowpanInterface ifaceService) { in getInterface() method in LowpanManager
182 public LowpanInterface getInterface(@NonNull String name) { in getInterface() method in LowpanManager
197 ILowpanInterface ifaceService = mService.getInterface(name); in getInterface()
200 iface = getInterface(ifaceService); in getInterface()
216 public LowpanInterface getInterface() { in getInterface() method in LowpanManager
219 return getInterface(ifaceList[0]); in getInterface()
263 LowpanInterface iface = getInterface(ifaceService); in registerCallback()
DILowpanManager.aidl27 ILowpanInterface getInterface(@utf8InCpp String name); in getInterface() method
/frameworks/base/lowpan/tests/src/android/net/lowpan/
DLowpanManagerTest.java73 assertTrue(mLowpanManager.getInterface() == null); in testGetEmptyInterfaceList()
79 when(mLowpanService.getInterface("wpan0")).thenReturn(mLowpanInterfaceService); in testGetInterfaceList()
84 LowpanInterface iface = mLowpanManager.getInterface(); in testGetInterfaceList()
126 when(mLowpanService.getInterface("wpan0")).thenReturn(mLowpanInterfaceService); in testRegisterCallback()
127 assertEquals(mLowpanManager.getInterface(), mLowpanInterface); in testRegisterCallback()
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_interface_utils.h152 static inline std::shared_ptr<ICInterface> getInterface(AIBinder* binder);
226 return ICInterfaceData::getInterface(binder); in asInterface()
248 std::shared_ptr<ICInterface> ICInterface::ICInterfaceData::getInterface(AIBinder* binder) { in getInterface() function
269 std::shared_ptr<ICInterface> interface = getInterface(binder); in onDump()
277 std::shared_ptr<ICInterface> interface = getInterface(binder); in handleShellCommand()
/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/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/base/tests/net/common/java/android/net/
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()
/frameworks/base/core/java/com/android/server/net/
DNetlinkTracker.java149 if (mInterfaceName.equals(route.getInterface())) { in routeUpdated()
163 if (mInterfaceName.equals(route.getInterface())) { in routeRemoved()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pGroup.java260 public String getInterface() { in getInterface() method in WifiP2pGroup
313 mInterface = source.getInterface(); in WifiP2pGroup()
/frameworks/base/packages/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java164 final String iface = mTetheredInterfaceRequester.getInterface(); in testVirtualEthernetAlreadyExists()
197 final String iface = mTetheredInterfaceRequester.getInterface(); in testStaticIpv4()
247 final String iface = mTetheredInterfaceRequester.getInterface(); in testPhysicalEthernet()
477 public String getInterface() throws Exception { in getInterface() method in EthernetTetheringTest.TetheredInterfaceRequester
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1154 mWifiNative.p2pGroupRemove(mGroup.getInterface()); in processMessage()
1998 mWifiNative.p2pGroupRemove(mGroup.getInterface()); in processMessage()
2379 mWifiNative.setP2pGroupIdle(mGroup.getInterface(), in processMessage()
2382 startDhcpServer(mGroup.getInterface()); in processMessage()
2384 mWifiNative.setP2pGroupIdle(mGroup.getInterface(), GROUP_IDLE_TIME_S); in processMessage()
2385 startIpClient(mGroup.getInterface(), getHandler()); in processMessage()
2612 mWifiNative.setP2pGroupIdle(mGroup.getInterface(), 0); in processMessage()
2641 mWifiNative.p2pGroupRemove(mGroup.getInterface()); in processMessage()
2664 mWifiNative.setP2pPowerSave(mGroup.getInterface(), false); in processMessage()
2672 mWifiNative.setP2pPowerSave(mGroup.getInterface(), true); in processMessage()
[all …]
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringInterfaceUtils.java92 return (ri != null) ? ri.getInterface() : null; in getInterfaceForDestination()
/frameworks/base/core/java/android/hardware/usb/
DUsbDevice.java241 mInterfaces[offset++] = configuration.getInterface(j); in getInterfaceList()
267 public @NonNull UsbInterface getInterface(int index) { in getInterface() method in UsbDevice
DUsbConfiguration.java143 public @NonNull UsbInterface getInterface(int index) { in getInterface() method in UsbConfiguration
/frameworks/base/wifi/tests/src/android/net/wifi/p2p/
DWifiP2pGroupTest.java61 assertEquals(INTERFACE, group.getInterface()); in testSetterGetter()
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
DUsbUtil.java49 UsbInterface usbInterface = device.getInterface(i); in possiblyAndroid()
/frameworks/native/services/sensorservice/
DSensorList.h56 sp<SensorInterface> getInterface(int handle) const;
/frameworks/base/core/java/android/net/
DRouteInfo.java389 public String getInterface() { in getInterface() method in RouteInfo
551 Objects.equals(mInterface, target.getInterface()) && in equals()
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
DComponent.h99 virtual Return<sp<IComponentInterface>> getInterface() override;
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackTest.java359 assertEquals(group.getInterface(), fakeName); in testOnGroupStarted_success()
591 assertEquals(mGroupIface, groupCaptor.getValue().getInterface()); in testOnGroupRemovedForGroupOwner()
604 assertEquals(mGroupIface, groupCaptor.getValue().getInterface()); in testOnGroupRemovedForGroupClient()
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestHost/src/com/android/hardware/usb/aoaphosttest/
DUsbAoapHostTestActivity.java111 UsbInterface iface = mDevice.getInterface(0); in ReaderThread()
/frameworks/base/services/usb/java/com/android/server/usb/
DMtpNotificationManager.java138 final UsbInterface usbInterface = device.getInterface(i); in isMtpDevice()
/frameworks/base/telephony/java/android/telephony/ims/compat/feature/
DMMTelFeature.java138 return implBase != null ? implBase.getInterface() : null;

123