Home
last modified time | relevance | path

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

1234

/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/
DSandboxedSdkUnitTest.java65 assertThat(sandboxedSdk.getInterface()).isSameInstanceAs(binder); in testGetInterface()
98 assertThat(sandboxedSdk.getInterface()).isEqualTo(fromParcel.getInterface()); in testWriteToParcel()
112 assertThat(sandboxedSdk.getInterface()).isEqualTo(fromParcel.getInterface()); in testWriteToParcelWithSharedLibraryInfo()
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/BroadcastRestrictionsHostTest/app/src/com/android/tests/sdksandbox/
DBroadcastRestrictionsTestApp.java153 IBinder binder = sandboxedSdk.getInterface(); in testRegisterBroadcastReceiver_defaultValueRestrictionsNotApplied()
178 IBinder binder = sandboxedSdk.getInterface(); in testRegisterBroadcastReceiver_restrictionsApplied()
212 IBinder binder = sandboxedSdk.getInterface(); in testRegisterBroadcastReceiver_restrictionsNotApplied()
233 IBinder binder = sandboxedSdk.getInterface(); in testRegisterBroadcastReceiver_defaultValueRestrictionsNotApplied_preU()
256 IBinder binder = sandboxedSdk.getInterface(); in testRegisterBroadcastReceiver_restrictionsApplied_preU()
289 IBinder binder = sandboxedSdk.getInterface(); in testRegisterBroadcastReceiver_restrictionsNotApplied_preU()
309 IBinder binder = sandboxedSdk.getInterface(); in testRegisterBroadcastReceiver_intentFilterWithoutAction()
338 IBinder binder = sandboxedSdk.getInterface(); in testRegisterBroadcastReceiver_intentFilterWithoutAction_preU()
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/ContentProviderRestrictionsHostTest/app/src/com/android/tests/sdksandbox/
DContentProviderRestrictionsTestApp.java83 IBinder binder = sandboxedSdk.getInterface(); in testGetContentProvider_restrictionsApplied()
105 IBinder binder = sandboxedSdk.getInterface(); in testRegisterContentObserver_restrictionsApplied()
128 IBinder binder = sandboxedSdk.getInterface(); in testGetContentProvider_restrictionsNotApplied()
150 IBinder binder = sandboxedSdk.getInterface(); in testRegisterContentObserver_restrictionsNotApplied()
168 IBinder binder = sandboxedSdk.getInterface(); in testGetContentProvider_defaultValueRestrictionsNotApplied()
186 IBinder binder = sandboxedSdk.getInterface(); in testRegisterContentObserver_defaultValueRestrictionsNotApplied()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsMultinetworkSocketClientTest.java123 doReturn(createEmptyNetworkInterface()).when(socket).getInterface(); in testSendPacket()
165 doReturn(createEmptyNetworkInterface()).when(mSocket).getInterface(); in testReceivePacket()
213 doReturn(createEmptyNetworkInterface()).when(mSocket).getInterface(); in testSocketRemovedAfterNetworkUnrequested()
214 doReturn(createEmptyNetworkInterface()).when(socket2).getInterface(); in testSocketRemovedAfterNetworkUnrequested()
215 doReturn(createEmptyNetworkInterface()).when(socket3).getInterface(); in testSocketRemovedAfterNetworkUnrequested()
286 doReturn(createEmptyNetworkInterface()).when(mSocket).getInterface(); in testNotifyNetworkUnrequested_SocketsOnNullNetwork()
287 doReturn(createEmptyNetworkInterface()).when(otherSocket).getInterface(); in testNotifyNetworkUnrequested_SocketsOnNullNetwork()
306 doReturn(createEmptyNetworkInterface()).when(mSocket).getInterface(); in testSocketCreatedAndDestroyed_NullNetwork()
307 doReturn(createEmptyNetworkInterface()).when(otherSocket).getInterface(); in testSocketCreatedAndDestroyed_NullNetwork()
/packages/modules/AdServices/sdksandbox/tests/cts/hostside/app/src/com/android/sdksandbox/cts/app/
DSdkSandboxMediationTestApp.java82 assertThat(sandboxedSdks.get(0).getInterface().getInterfaceDescriptor()) in testGetSandboxedSdk_GetsAllSdksLoadedInTheSandbox()
100 return s.getInterface().getInterfaceDescriptor(); in testGetSandboxedSdk_MultipleSdks()
121 mSdk = IMediationTestSdkApi.Stub.asInterface(callback.getSandboxedSdk().getInterface()); in loadMediatorSdkAndPopulateInterface()
/packages/modules/Connectivity/tests/common/java/android/net/
DUnderlyingNetworkInfoTest.kt42 assertEquals(TEST_IFACE, testInfo.getInterface()) in testParcelUnparcel()
48 assertEquals(String(), emptyInfo.getInterface()) in testParcelUnparcel()
DRouteInfoTest.java105 assertNull(r.getInterface()); in testConstructor()
110 assertEquals("wlan0", r.getInterface()); in testConstructor()
116 assertEquals("lo", r.getInterface()); in testConstructor()
121 assertNull(r.getInterface()); in testConstructor()
/packages/modules/Connectivity/framework-t/src/android/net/
DUnderlyingNetworkInfo.java74 public String getInterface() { in getInterface() method in UnderlyingNetworkInfo
127 && Objects.equals(mIface, that.getInterface()) in equals()
/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/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1149 p -> p.getInterface()).collect(
2099 mWifiNative.p2pGroupRemove(mGroup.getInterface()); in processMessage()
3412 mWifiNative.p2pGroupRemove(mGroup.getInterface()); in processMessage()
3952 mWifiNative.setP2pGroupIdle(mGroup.getInterface(), in processMessage()
3965 mWifiNative.p2pGroupRemove(mGroup.getInterface()); in processMessage()
3970 mWifiNative.setP2pGroupIdle(mGroup.getInterface(), GROUP_IDLE_TIME_S); in processMessage()
3971 startIpClient(mGroup.getInterface(), getHandler(), in processMessage()
3994 if (TextUtils.isEmpty(mGroup.getInterface())) break; in processMessage()
3998 if (!interfaces.contains(mGroup.getInterface())) break; in processMessage()
4000 Log.d(TAG, "tether " + mGroup.getInterface() + " ready"); in processMessage()
[all …]
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsTetheringUtils.java154 if (isRegexMatch(regexArray, iface.getInterface()) && type == iface.getType()) { in getFirstMatchingTetheringInterface()
253 assertEquals(ifName.getInterface(), mErrorIface); in onError()
274 assertTrue("iface " + tether.getInterface() in assertHasAllTetheringInterfaces()
276 ifaces.contains(tether.getInterface())); in assertHasAllTetheringInterfaces()
/packages/modules/Connectivity/Tethering/tests/mts/src/android/tethering/mts/
DTetheringModuleTest.java90 final String wifiTetheringIface = tetheredIface.getInterface(); in addressConflictTest()
120 nif = NetworkInterface.getByName(newIface.getInterface()); in addressConflictTest()
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/
DCustomizedSdkContextTest.java180 assertNotNull(callback.getSandboxedSdk().getInterface()); in loadSdk()
181 mSdk = ICtsSdkProviderApi.Stub.asInterface(callback.getSandboxedSdk().getInterface()); in loadSdk()
DSdkSandboxManagerTest.java125 assertNotNull(callback.getSandboxedSdk().getInterface()); in testLoadSdkSuccessfully()
241 assertNotNull(sandboxedSdk.getInterface()); in testReloadingSdkDoesNotInvalidateIt()
249 assertNotNull(sandboxedSdk.getInterface()); in testReloadingSdkDoesNotInvalidateIt()
612 return ICtsSdkProviderApi.Stub.asInterface(callback.getSandboxedSdk().getInterface()); in loadSdk()
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DEthernetTetheringTestBase.java287 return requester.getInterface(AVAILABLE_TETHER_IFACE_REQUEST_TIMEOUT_MS) != null; in isInterfaceForTetheringAvailable()
310 return mTetheredInterfaceRequester.getInterface(); in getTetheredInterface()
619 public String getInterface(int timeout) throws Exception { in getInterface() method in EthernetTetheringTestBase.TetheredInterfaceRequester
623 public String getInterface() throws Exception { in getInterface() method in EthernetTetheringTestBase.TetheredInterfaceRequester
624 return getInterface(TIMEOUT_MS); in getInterface()
996 mDownstreamIface.getInterfaceName(), mTetheredInterfaceRequester.getInterface()); in initTetheringTester()
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxMetricsHostTest/app/src/com/android/tests/sdksandbox/
DSdkSandboxMetricsTestApp.java90 ICrashTestSdkApi.Stub.asInterface(callback.getSandboxedSdk().getInterface()); in testSdkCanAccessSdkSandboxExitReasons()
179 ICrashTestSdkApi.Stub.asInterface(callback.getSandboxedSdk().getInterface()); in generateSdkSandboxCrash()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/jni/include/
DMediaManagerFactory.h36 static BaseManager* getInterface(int mediatype);
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/jni/
DMediaManagerFactory.cpp22 BaseManager* MediaManagerFactory::getInterface(int mediatype) in getInterface() function in MediaManagerFactory
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxClient/src/com/android/sdksandboxclient/
DMainActivity.java225 IBinder binder = mSandboxedSdk.getInterface(); in registerCreateFileButton()
329 IBinder binder = mSandboxedSdk.getInterface(); in onSyncKeyPressed()
363 IBinder binder = mSandboxedSdk.getInterface(); in registerStartActivityButton()
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pGroup.java318 public String getInterface() { in getInterface() method in WifiP2pGroup
370 mInterface = source.getInterface(); in WifiP2pGroup()
/packages/services/Car/cpp/computepipe/router/include/
DPipeHandle.h46 std::shared_ptr<T> getInterface() { in getInterface() function
/packages/modules/ImsMedia/test/imsmediahal/src/com/android/telephony/testimsmediahal/
DJNIConnector.java75 mNativeObject = mJNIServiceInstance.getInterface(ImsMediaSession.SESSION_TYPE_AUDIO); in connectJni()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxClient_SharedUid/src/com/android/sdksandboxclient_shareduid/
DMainActivity.java187 IBinder binder = mSandboxedSdk.getInterface(); in registerCreateFileButton()
258 IBinder binder = mSandboxedSdk.getInterface(); in registerSyncKeysButton()
/packages/services/Car/cpp/computepipe/router/1.0/
DPipeQuery.cpp53 auto pipeRunner = pipeHandle->getInterface(); in getPipeRunner()
/packages/modules/Connectivity/framework/src/android/net/
DRouteInfo.java396 public String getInterface() { in getInterface() method in RouteInfo
554 Objects.equals(mInterface, target.getInterface()) && in equals()

1234