Home
last modified time | relevance | path

Searched refs:queryLocalInterface (Results 1 – 25 of 40) sorted by relevance

12

/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/federatedcompute/
DFederatedComputeManagerTest.java160 when(mMockIBinder.queryLocalInterface(any())).thenReturn(iFederatedComputeService); in setUp()
177 when(mMockIBinder.queryLocalInterface(any())).thenReturn(mMockIService); in testScheduleFederatedCompute()
188 when(mMockIBinder.queryLocalInterface(any())).thenReturn(mMockIService); in testScheduleFederatedCompute()
207 when(mMockIBinder.queryLocalInterface(any())).thenReturn(mMockIService); in testScheduleFederatedCompute()
243 when(mMockIBinder.queryLocalInterface(any())).thenReturn(mMockIService); in testScheduleFederatedCompute()
260 when(mMockIBinder.queryLocalInterface(any())).thenReturn(mMockIService); in testScheduleFederatedCompute()
283 when(mMockIBinder.queryLocalInterface(any())).thenReturn(mMockIService); in testScheduleFederatedCompute()
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/providers/MediationProvider/src/com/android/sdksandbox/cts/provider/mediationtest/
DMediationTestSdkApiImpl.java95 if (iBinder.queryLocalInterface(ICtsSdkProviderApi.DESCRIPTOR) != null) { in getMediateeInterface()
104 if (iBinder.queryLocalInterface(ICtsSdkProviderApi.DESCRIPTOR) != null) { in getMediateeInterface()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DResetAppPrefFragmentTest.java105 when(notificationBinder.queryLocalInterface("android.app.INotificationManager")).thenReturn( in setUp()
107 when(packageManagerBinder.queryLocalInterface( in setUp()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/wifi/
DCarWifiManagerUnitTest.java48 when(mBinder.queryLocalInterface(anyString())).thenReturn(mService); in setUp()
/packages/services/Car/tests/carservice_unit_test/src/android/car/os/
DCarPerformanceManagerUnitTest.java62 when(mBinder.queryLocalInterface(anyString())).thenReturn(mService); in setUp()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastTest.java69 doReturn(mSubService).when(mSubService).queryLocalInterface(anyString()); in setUp()
DCellBroadcastBootupConfigTest.java92 doReturn(mSmsService).when(mSmsService).queryLocalInterface(anyString()); in setUp()
/packages/modules/NetworkStack/tests/unit/src/android/net/networkstack/
DModuleNetworkStackClientTest.kt78 doReturn(mConnector).`when`(mConnectorBinder).queryLocalInterface( in setUp()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallServiceFixture.java161 public IInterface queryLocalInterface(String descriptor) { in queryLocalInterface() method in InCallServiceFixture.FakeInCallService
DCallRedirectionProcessorTest.java128 doReturn(mCallRedirectionService).when(mBinder).queryLocalInterface(anyString()); in setUp()
329 when(mockBinder.queryLocalInterface(anyString())).thenReturn(mockCallRedirectionService); in testStripPostDialDigits()
DCallDiagnosticServiceControllerTest.java160 when(mockBinder.queryLocalInterface(anyString())).thenReturn(mICallDiagnosticService); in testAddSimCallCausesBind()
DInCallControllerTests.java876 when(mockBinder.queryLocalInterface(anyString())).thenReturn(mockInCallService); in testBindToService_DefaultDialer_FallBackToSystem()
933 when(mockBinder.queryLocalInterface(anyString())).thenReturn(mockInCallService); in testBindToService_NullBinding_FallBackToSystem()
1288 when(mockBinder.queryLocalInterface(anyString())).thenReturn(mockInCallService); in testUnbindDueToCallDisconnect()
1480 when(mockInCallServiceStub.queryLocalInterface(anyString())).thenReturn(mockInCallService); in testSanitizeContactName()
1624 when(mockBinder.queryLocalInterface(anyString())).thenReturn(mockInCallService); in testBindingFuture()
1640 when(mockBinder.queryLocalInterface(anyString())).thenReturn(mockInCallService); in testBindingFuture()
1731 when(mockBinder.queryLocalInterface(anyString())).thenReturn(mockInCallService); in testBindToService_SelfManagedNoCarModeUI()
/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/
DImsMediaManagerTest.java73 doReturn(mMockImsMedia).when(mMockImsMedia).queryLocalInterface(any(String.class)); in setUp()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarRemoteDeviceManagerUnitTest.java76 when(mBinder.queryLocalInterface(anyString())).thenReturn(mService); in setUp()
DCarProjectionManagerUnitTest.java80 when(mBinder.queryLocalInterface(anyString())).thenReturn(mService); in setUp()
DCarOccupantConnectionManagerUnitTest.java89 when(mBinder.queryLocalInterface(anyString())).thenReturn(mService); in setUp()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/media/
DCarMediaManagerUnitTest.java77 when(mBinderMock.queryLocalInterface(anyString())).thenReturn(mServiceMock); in setUp()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/
DNetworkStackServiceTest.kt95 doReturn(netd).`when`(this).queryLocalInterface(any()) in <lambda>()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetPhoneStateTest.java79 when(mISubBinder.queryLocalInterface(anyString())).thenReturn(mISub); in setUp()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/occupantconnection/
DCarOccupantConnectionServiceTest.java248 when(binder.queryLocalInterface(anyString())).thenReturn(receiverService); in testRegisterReceiverThenConnectReceiverService()
292 when(binder.queryLocalInterface(anyString())).thenReturn(receiverService); in testRegisterReceiverWithReceiverServiceConnected()
491 when(binder.queryLocalInterface(anyString())).thenReturn(receiverService); in testRequestConnectionWithoutReceiverServiceBoundBefore()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/cluster/
DClusterHomeManagerUnitTest.java110 when(mBinder.queryLocalInterface(anyString())).thenReturn(mService); in setup()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/hal/
DRemoteAccessHalWrapperUnitTest.java76 when(mBinder.queryLocalInterface(anyString())).thenReturn(mRemoteAccessHal); in setUpNormalHalService()
/packages/services/Car/tests/carservice_test/src/com/android/car/watchdog/
DCarWatchdogServiceTest.java159 when(mMockServiceBinder.queryLocalInterface(anyString())).thenReturn(mCarWatchdogService); in setUp()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/
DCarTelemetrydPublisherTest.java122 when(mMockBinder.queryLocalInterface(any())).thenReturn(mFakeCarTelemetryInternal); in setUp()
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
DAndroidMockitoHelperTest.java390 assertThat(someBinder.queryLocalInterface("anyString")).isEqualTo(someService); in testMockQueryService()

12