Home
last modified time | relevance | path

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

/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/sdkprovider/
DSdkSandboxControllerUnitTest.java131 final ISdkToServiceCallback serviceCallback = Mockito.mock(ISdkToServiceCallback.class); in testGetAppOwnedSdkSandboxInterfaces() local
137 Mockito.when(serviceCallback.getAppOwnedSdkSandboxInterfaces(Mockito.anyString())) in testGetAppOwnedSdkSandboxInterfaces()
140 .thenReturn(serviceCallback); in testGetAppOwnedSdkSandboxInterfaces()
152 ISdkToServiceCallback serviceCallback = Mockito.mock(ISdkToServiceCallback.class); in testGetSandboxedSdks() local
156 serviceCallback.getSandboxedSdks( in testGetSandboxedSdks()
160 .thenReturn(serviceCallback); in testGetSandboxedSdks()
186 ISdkToServiceCallback serviceCallback = Mockito.mock(ISdkToServiceCallback.class); in testLoadSdk() local
188 .thenReturn(serviceCallback); in testLoadSdk()
191 Mockito.verify(serviceCallback, Mockito.times(1)) in testLoadSdk()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/media/
DCarAudioManagerUnitTest.java683 ICarVolumeEventCallback serviceCallback = getCarVolumeEventCallbackImpl( in unregisterCarVolumeGroupEventCallback_withPartOfCallbacks() local
690 verify(mServiceMock, never()).unregisterCarVolumeEventCallback(serviceCallback); in unregisterCarVolumeGroupEventCallback_withPartOfCallbacks()
696 ICarVolumeEventCallback serviceCallback = getCarVolumeEventCallbackImpl( in unregisterCarVolumeGroupEventCallback_withAllCallbacks() local
701 verify(mServiceMock, never()).unregisterCarVolumeEventCallback(serviceCallback); in unregisterCarVolumeGroupEventCallback_withAllCallbacks()
705 verify(mServiceMock).unregisterCarVolumeEventCallback(serviceCallback); in unregisterCarVolumeGroupEventCallback_withAllCallbacks()
722 ICarVolumeEventCallback serviceCallback = getCarVolumeEventCallbackImpl( in unregisterCarVolumeGroupEventCallback_withServiceRemoteException() local
725 serviceCallback); in unregisterCarVolumeGroupEventCallback_withServiceRemoteException()
738 ICarVolumeEventCallback serviceCallback = getCarVolumeEventCallbackImpl( in onVolumeGroupEvent_forICarVolumeEventCallback() local
743 serviceCallback.onVolumeGroupEvent(groupEvents); in onVolumeGroupEvent_forICarVolumeEventCallback()
756 ICarVolumeEventCallback serviceCallback = getCarVolumeEventCallbackImpl( in onMasterMuteChanged_forICarVolumeEventCallback() local
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hotword/
DHotwordServiceViewHolder.java40 HotwordServiceViewChangeCallback serviceCallback) { in HotwordServiceViewHolder() argument
43 mServiceChangeCallback = Objects.requireNonNull(serviceCallback, in HotwordServiceViewHolder()
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/adservices/ondevicepersonalization/
DOnDevicePersonalizationConfigManagerTest.java80 IOnDevicePersonalizationConfigServiceCallback serviceCallback = in testSetPersonalizationStatus()
82 serviceCallback.onSuccess(); in testSetPersonalizationStatus()
/packages/modules/Media/apex/framework/java/android/media/
DMediaSession2.java247 final ForegroundServiceEventCallback serviceCallback; in setPlaybackActive() local
253 serviceCallback = mForegroundServiceEventCallback; in setPlaybackActive()
255 if (serviceCallback != null) { in setPlaybackActive()
256 serviceCallback.onPlaybackActiveChanged(this, playbackActive); in setPlaybackActive()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/sdksandbox/
DSdkSandboxTest.java189 ISdkToServiceCallback serviceCallback = Mockito.mock(ISdkToServiceCallback.class); in setup() local
191 .thenReturn(serviceCallback); in setup()