Home
last modified time | relevance | path

Searched refs:mServiceCallback (Results 1 – 6 of 6) sorted by relevance

/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/sdkprovider/
DSdkSandboxActivityRegistryTest.java65 private ISdkToServiceCallback mServiceCallback; field in SdkSandboxActivityRegistryTest
72 mServiceCallback = Mockito.mock(ISdkToServiceCallback.class); in setUp()
74 .thenReturn(mServiceCallback); in setUp()
109 Mockito.verify(mServiceCallback) in testRegisterSdkSandboxActivityHandler_NewHandler_CallsStatsd()
148 Mockito.verify(mServiceCallback) in testUnregisterSdkSandboxActivityHandler_ExistingHandler_CallsStatsd()
207 Mockito.verify(mServiceCallback) in testNotifyOnActivityCreation_CallsStatsd()
213 Mockito.verify(mServiceCallback) in testNotifyOnActivityCreation_CallsStatsd()
236 Mockito.verify(mServiceCallback, Mockito.times(2)) in testNotifyOnActivityCreation_MultipleTimes_CallsStatsd()
261 Mockito.verify(mServiceCallback, Mockito.times(1)) in testNotifyOnActivityCreation_MultipleTimes_CallsStatsdForTotalLatencyOnce()
294 Mockito.verify(mServiceCallback) in testNotifyOnActivityCreation_ExtraParamsMissing_CallsStatsd()
[all …]
DSdkSandboxControllerUnitTest.java74 private ISdkToServiceCallback mServiceCallback; field in SdkSandboxControllerUnitTest
96 mServiceCallback = Mockito.mock(ISdkToServiceCallback.class); in setup()
98 .thenReturn(mServiceCallback); in setup()
174 Mockito.verify(mServiceCallback) in testGetSandboxedSdks_serviceCallbackCalled()
210 Mockito.verify(mServiceCallback) in testLoadSdk_callSuccessful_logLatenciesCalled()
223 Mockito.verify(mServiceCallback, Mockito.times(1)) in testLoadSdk_callSuccessful_logLatenciesCalled()
239 Mockito.verify(mServiceCallback) in testLoadSdk_callFails_logLatenciesCalled()
253 Mockito.verify(mServiceCallback, Mockito.times(1)) in testLoadSdk_callFails_logLatenciesCalled()
321 Mockito.verify(mServiceCallback) in testRegisterSdkSandboxActivityHandler_CallsStatsd()
364 Mockito.verify(mServiceCallback) in testUnregisterSdkSandboxActivityHandler_CallsStatsd()
DSdkSandboxControllerResultCodeLoggingUnitTest.java93 private ISdkToServiceCallback mServiceCallback; field in SdkSandboxControllerResultCodeLoggingUnitTest
120 mServiceCallback = Mockito.mock(ISdkToServiceCallback.class); in setup()
122 .thenReturn(mServiceCallback); in setup()
145 Mockito.verify(mServiceCallback) in testLoadSdk_callFailsWithException_logSandboxApiLatencyCalledWithResultCode()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/sandboxactivity/
DSdkSandboxActivityAuthorityTest.java70 private ISdkToServiceCallback mServiceCallback; field in SdkSandboxActivityAuthorityTest
79 mServiceCallback = Mockito.mock(ISdkToServiceCallback.class); in setUp()
81 .thenReturn(mServiceCallback); in setUp()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/sdksandbox/
DSandboxedActivityTest.java54 private ISdkToServiceCallback mServiceCallback; field in SandboxedActivityTest
75 mServiceCallback = Mockito.mock(ISdkToServiceCallback.class); in setUp()
77 .thenReturn(mServiceCallback); in setUp()
/packages/services/Car/car-lib/src/android/car/input/
DCarInputManager.java244 private final ICarInputCallback mServiceCallback = new ICarInputCallbackImpl(this); field in CarInputManager
350 return mService.requestInputEventCapture(mServiceCallback, targetDisplayType, in requestInputEventCapture()
373 mService.releaseInputEventCapture(mServiceCallback, targetDisplayType); in releaseInputEventCapture()