Searched refs:serviceCallback (Results 1 – 6 of 6) sorted by relevance
131 final ISdkToServiceCallback serviceCallback = Mockito.mock(ISdkToServiceCallback.class); in testGetAppOwnedSdkSandboxInterfaces() local137 Mockito.when(serviceCallback.getAppOwnedSdkSandboxInterfaces(Mockito.anyString())) in testGetAppOwnedSdkSandboxInterfaces()140 .thenReturn(serviceCallback); in testGetAppOwnedSdkSandboxInterfaces()152 ISdkToServiceCallback serviceCallback = Mockito.mock(ISdkToServiceCallback.class); in testGetSandboxedSdks() local156 serviceCallback.getSandboxedSdks( in testGetSandboxedSdks()160 .thenReturn(serviceCallback); in testGetSandboxedSdks()186 ISdkToServiceCallback serviceCallback = Mockito.mock(ISdkToServiceCallback.class); in testLoadSdk() local188 .thenReturn(serviceCallback); in testLoadSdk()191 Mockito.verify(serviceCallback, Mockito.times(1)) in testLoadSdk()
683 ICarVolumeEventCallback serviceCallback = getCarVolumeEventCallbackImpl( in unregisterCarVolumeGroupEventCallback_withPartOfCallbacks() local690 verify(mServiceMock, never()).unregisterCarVolumeEventCallback(serviceCallback); in unregisterCarVolumeGroupEventCallback_withPartOfCallbacks()696 ICarVolumeEventCallback serviceCallback = getCarVolumeEventCallbackImpl( in unregisterCarVolumeGroupEventCallback_withAllCallbacks() local701 verify(mServiceMock, never()).unregisterCarVolumeEventCallback(serviceCallback); in unregisterCarVolumeGroupEventCallback_withAllCallbacks()705 verify(mServiceMock).unregisterCarVolumeEventCallback(serviceCallback); in unregisterCarVolumeGroupEventCallback_withAllCallbacks()722 ICarVolumeEventCallback serviceCallback = getCarVolumeEventCallbackImpl( in unregisterCarVolumeGroupEventCallback_withServiceRemoteException() local725 serviceCallback); in unregisterCarVolumeGroupEventCallback_withServiceRemoteException()738 ICarVolumeEventCallback serviceCallback = getCarVolumeEventCallbackImpl( in onVolumeGroupEvent_forICarVolumeEventCallback() local743 serviceCallback.onVolumeGroupEvent(groupEvents); in onVolumeGroupEvent_forICarVolumeEventCallback()756 ICarVolumeEventCallback serviceCallback = getCarVolumeEventCallbackImpl( in onMasterMuteChanged_forICarVolumeEventCallback() local[all …]
40 HotwordServiceViewChangeCallback serviceCallback) { in HotwordServiceViewHolder() argument43 mServiceChangeCallback = Objects.requireNonNull(serviceCallback, in HotwordServiceViewHolder()
80 IOnDevicePersonalizationConfigServiceCallback serviceCallback = in testSetPersonalizationStatus()82 serviceCallback.onSuccess(); in testSetPersonalizationStatus()
247 final ForegroundServiceEventCallback serviceCallback; in setPlaybackActive() local253 serviceCallback = mForegroundServiceEventCallback; in setPlaybackActive()255 if (serviceCallback != null) { in setPlaybackActive()256 serviceCallback.onPlaybackActiveChanged(this, playbackActive); in setPlaybackActive()
189 ISdkToServiceCallback serviceCallback = Mockito.mock(ISdkToServiceCallback.class); in setup() local191 .thenReturn(serviceCallback); in setup()