Home
last modified time | relevance | path

Searched refs:internalCallback (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tests/CarLibUnitTest/src/android/car/remoteaccess/
DCarRemoteAccessManagerUnitTest.java142 ICarRemoteAccessCallback internalCallback = setClientAndGetCallback(remoteTaskClient); in testSetRmoteTaskClient_remoteException() local
143 internalCallback.onRemoteTaskRequested("clientId_testing", "taskId_testing", in testSetRmoteTaskClient_remoteException()
152 ICarRemoteAccessCallback internalCallback = setClientAndGetCallback(remoteTaskClient); in testClearRemoteTaskClient() local
155 internalCallback.onRemoteTaskRequested("clientId_testing", "taskId_testing", in testClearRemoteTaskClient()
166 ICarRemoteAccessCallback internalCallback = setClientAndGetCallback(remoteTaskClient); in testClearRemoteTaskClient_remoteException() local
169 internalCallback.onRemoteTaskRequested("clientId_testing", "taskId_testing", in testClearRemoteTaskClient_remoteException()
178 ICarRemoteAccessCallback internalCallback = setClientAndGetCallback(remoteTaskClient); in testClientRegistration() local
184 internalCallback.onClientRegistrationUpdated( in testClientRegistration()
197 ICarRemoteAccessCallback internalCallback = setClientAndGetCallback(remoteTaskClient); in testServerlessClientRegistration() local
203 internalCallback.onServerlessClientRegistered(clientId); in testServerlessClientRegistration()
[all …]
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DFakeTvInputManager.java98 public void registerCallback(TvInputManager.TvInputCallback internalCallback, Handler handler) { in registerCallback() argument
99 mCallbacks.put(internalCallback, handler); in registerCallback()
103 public void unregisterCallback(TvInputManager.TvInputCallback internalCallback) { in unregisterCallback() argument
104 mCallbacks.remove(internalCallback); in unregisterCallback()
/packages/modules/OnDevicePersonalization/framework/java/android/federatedcompute/
DResultHandlingService.java79 ResultHandlingCallback(IFederatedComputeCallback internalCallback) { in ResultHandlingCallback() argument
80 this.mInternalCallback = internalCallback; in ResultHandlingCallback()
/packages/apps/TV/src/com/android/tv/util/
DTvInputManagerHelper.java74 void registerCallback(TvInputCallback internalCallback, Handler handler); in registerCallback() argument
76 void unregisterCallback(TvInputCallback internalCallback); in unregisterCallback() argument
101 public void registerCallback(TvInputCallback internalCallback, Handler handler) { in registerCallback() argument
102 delegate.registerCallback(internalCallback, handler); in registerCallback()
106 public void unregisterCallback(TvInputCallback internalCallback) { in unregisterCallback() argument
107 delegate.unregisterCallback(internalCallback); in unregisterCallback()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java871 ArgumentCaptor<ILocalOnlyHotspotCallback> internalCallback = in testOnStartedIsCalledWithReservation() local
873 when(mWifiService.startLocalOnlyHotspot(internalCallback.capture(), anyString(), in testOnStartedIsCalledWithReservation()
881 internalCallback.getValue().onHotspotStarted(softApConfig); in testOnStartedIsCalledWithReservation()
903 ArgumentCaptor<ILocalOnlyHotspotCallback> internalCallback = in testOnStartedIsCalledWithReservationAndSaeSoftApConfig() local
905 when(mWifiService.startLocalOnlyHotspot(internalCallback.capture(), anyString(), in testOnStartedIsCalledWithReservationAndSaeSoftApConfig()
913 internalCallback.getValue().onHotspotStarted(softApConfig); in testOnStartedIsCalledWithReservationAndSaeSoftApConfig()
930 ArgumentCaptor<ILocalOnlyHotspotCallback> internalCallback = in testOnStartedIsCalledWithNullConfig() local
932 when(mWifiService.startLocalOnlyHotspot(internalCallback.capture(), anyString(), in testOnStartedIsCalledWithNullConfig()
940 internalCallback.getValue().onHotspotStarted(null); in testOnStartedIsCalledWithNullConfig()
955 ArgumentCaptor<ILocalOnlyHotspotCallback> internalCallback = in testOnStoppedIsCalled() local
[all …]