/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/ |
D | SandboxedSdkUnitTest.java | 65 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/ |
D | BroadcastRestrictionsTestApp.java | 153 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/ |
D | ContentProviderRestrictionsTestApp.java | 83 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/ |
D | MdnsMultinetworkSocketClientTest.java | 123 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/ |
D | SdkSandboxMediationTestApp.java | 82 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/ |
D | UnderlyingNetworkInfoTest.kt | 42 assertEquals(TEST_IFACE, testInfo.getInterface()) in testParcelUnparcel() 48 assertEquals(String(), emptyInfo.getInterface()) in testParcelUnparcel()
|
D | RouteInfoTest.java | 105 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/ |
D | UnderlyingNetworkInfo.java | 74 public String getInterface() { in getInterface() method in UnderlyingNetworkInfo 127 && Objects.equals(mIface, that.getInterface()) in equals()
|
/packages/services/Mtp/tests/src/com/android/mtp/ |
D | TestUtil.java | 99 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/ |
D | WifiP2pServiceImpl.java | 1149 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/ |
D | CtsTetheringUtils.java | 154 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/ |
D | TetheringModuleTest.java | 90 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/ |
D | CustomizedSdkContextTest.java | 180 assertNotNull(callback.getSandboxedSdk().getInterface()); in loadSdk() 181 mSdk = ICtsSdkProviderApi.Stub.asInterface(callback.getSandboxedSdk().getInterface()); in loadSdk()
|
D | SdkSandboxManagerTest.java | 125 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/ |
D | EthernetTetheringTestBase.java | 287 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/ |
D | SdkSandboxMetricsTestApp.java | 90 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/ |
D | MediaManagerFactory.h | 36 static BaseManager* getInterface(int mediatype);
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/jni/ |
D | MediaManagerFactory.cpp | 22 BaseManager* MediaManagerFactory::getInterface(int mediatype) in getInterface() function in MediaManagerFactory
|
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxClient/src/com/android/sdksandboxclient/ |
D | MainActivity.java | 225 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/ |
D | WifiP2pGroup.java | 318 public String getInterface() { in getInterface() method in WifiP2pGroup 370 mInterface = source.getInterface(); in WifiP2pGroup()
|
/packages/services/Car/cpp/computepipe/router/include/ |
D | PipeHandle.h | 46 std::shared_ptr<T> getInterface() { in getInterface() function
|
/packages/modules/ImsMedia/test/imsmediahal/src/com/android/telephony/testimsmediahal/ |
D | JNIConnector.java | 75 mNativeObject = mJNIServiceInstance.getInterface(ImsMediaSession.SESSION_TYPE_AUDIO); in connectJni()
|
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxClient_SharedUid/src/com/android/sdksandboxclient_shareduid/ |
D | MainActivity.java | 187 IBinder binder = mSandboxedSdk.getInterface(); in registerCreateFileButton() 258 IBinder binder = mSandboxedSdk.getInterface(); in registerSyncKeysButton()
|
/packages/services/Car/cpp/computepipe/router/1.0/ |
D | PipeQuery.cpp | 53 auto pipeRunner = pipeHandle->getInterface(); in getPipeRunner()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | RouteInfo.java | 396 public String getInterface() { in getInterface() method in RouteInfo 554 Objects.equals(mInterface, target.getInterface()) && in equals()
|