Searched refs:queryLocalInterface (Results 1 – 25 of 40) sorted by relevance
12
160 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()
95 if (iBinder.queryLocalInterface(ICtsSdkProviderApi.DESCRIPTOR) != null) { in getMediateeInterface()104 if (iBinder.queryLocalInterface(ICtsSdkProviderApi.DESCRIPTOR) != null) { in getMediateeInterface()
105 when(notificationBinder.queryLocalInterface("android.app.INotificationManager")).thenReturn( in setUp()107 when(packageManagerBinder.queryLocalInterface( in setUp()
48 when(mBinder.queryLocalInterface(anyString())).thenReturn(mService); in setUp()
62 when(mBinder.queryLocalInterface(anyString())).thenReturn(mService); in setUp()
69 doReturn(mSubService).when(mSubService).queryLocalInterface(anyString()); in setUp()
92 doReturn(mSmsService).when(mSmsService).queryLocalInterface(anyString()); in setUp()
78 doReturn(mConnector).`when`(mConnectorBinder).queryLocalInterface( in setUp()
161 public IInterface queryLocalInterface(String descriptor) { in queryLocalInterface() method in InCallServiceFixture.FakeInCallService
128 doReturn(mCallRedirectionService).when(mBinder).queryLocalInterface(anyString()); in setUp()329 when(mockBinder.queryLocalInterface(anyString())).thenReturn(mockCallRedirectionService); in testStripPostDialDigits()
160 when(mockBinder.queryLocalInterface(anyString())).thenReturn(mICallDiagnosticService); in testAddSimCallCausesBind()
876 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()
73 doReturn(mMockImsMedia).when(mMockImsMedia).queryLocalInterface(any(String.class)); in setUp()
76 when(mBinder.queryLocalInterface(anyString())).thenReturn(mService); in setUp()
80 when(mBinder.queryLocalInterface(anyString())).thenReturn(mService); in setUp()
89 when(mBinder.queryLocalInterface(anyString())).thenReturn(mService); in setUp()
77 when(mBinderMock.queryLocalInterface(anyString())).thenReturn(mServiceMock); in setUp()
95 doReturn(netd).`when`(this).queryLocalInterface(any()) in <lambda>()
79 when(mISubBinder.queryLocalInterface(anyString())).thenReturn(mISub); in setUp()
248 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()
110 when(mBinder.queryLocalInterface(anyString())).thenReturn(mService); in setup()
76 when(mBinder.queryLocalInterface(anyString())).thenReturn(mRemoteAccessHal); in setUpNormalHalService()
159 when(mMockServiceBinder.queryLocalInterface(anyString())).thenReturn(mCarWatchdogService); in setUp()
122 when(mMockBinder.queryLocalInterface(any())).thenReturn(mFakeCarTelemetryInternal); in setUp()
390 assertThat(someBinder.queryLocalInterface("anyString")).isEqualTo(someService); in testMockQueryService()