Home
last modified time | relevance | path

Searched refs:binderCallback (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarOccupantConnectionManagerUnitTest.java123 IConnectionRequestCallback[] binderCallback = new IConnectionRequestCallback[1]; in testRequestConnectionWithEstablishedConnection_throwsException() local
126 binderCallback[0] = (IConnectionRequestCallback) args[2]; in testRequestConnectionWithEstablishedConnection_throwsException()
132 binderCallback[0].onConnected(mReceiverZone); in testRequestConnectionWithEstablishedConnection_throwsException()
143 IConnectionRequestCallback[] binderCallback = new IConnectionRequestCallback[1]; in testRequestConnectionWithRejectedConnection() local
146 binderCallback[0] = (IConnectionRequestCallback) args[2]; in testRequestConnectionWithRejectedConnection()
152 binderCallback[0].onFailed(mReceiverZone, CONNECTION_ERROR_USER_REJECTED); in testRequestConnectionWithRejectedConnection()
178 IConnectionRequestCallback[] binderCallback = new IConnectionRequestCallback[1]; in testRequestConnectionCallbackInvoked() local
185 binderCallback[0] = (IConnectionRequestCallback) args[2]; in testRequestConnectionCallbackInvoked()
197 binderCallback[0].onConnected(mReceiverZone); in testRequestConnectionCallbackInvoked()
273 IPayloadCallback[] binderCallback = new IPayloadCallback[1]; in testRegisterReceiverCallbackInvoked() local
[all …]
DCarRemoteDeviceManagerUnitTest.java113 IStateCallback[] binderCallback = new IStateCallback[1]; in testRegisterStateCallbackWithOccupantZoneStateChange() local
121 binderCallback[0] = (IStateCallback) args[1]; in testRegisterStateCallbackWithOccupantZoneStateChange()
135 binderCallback[0].onOccupantZoneStateChanged(mReceiverZone, occupantZoneStates); in testRegisterStateCallbackWithOccupantZoneStateChange()
140 IStateCallback[] binderCallback = new IStateCallback[1]; in testRegisterStateCallbackWithAppStateChange() local
145 binderCallback[0] = (IStateCallback) args[1]; in testRegisterStateCallbackWithAppStateChange()
159 binderCallback[0].onAppStateChanged(mReceiverZone, appStates); in testRegisterStateCallbackWithAppStateChange()
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DMediaCognitionService.java192 ICognitionProcessMediaCallbackInternal binderCallback) {
193 onProcessMedia(requests, null, new ProcessMediaCallbackImpl(binderCallback));
197 public void getProcessingVersions(ICognitionGetVersionsCallbackInternal binderCallback) {
198 onGetProcessingVersions(new GetProcessingVersionsCallbackImpl(binderCallback));
/packages/services/Car/car-lib/src/android/car/media/
DCarMediaManager.java123 ICarMediaSourceListener binderCallback = new ICarMediaSourceListener.Stub() { in addMediaSourceListener() local
139 mCallbackMap.put(callback, binderCallback); in addMediaSourceListener()
141 mService.registerMediaSourceListener(binderCallback, mode, in addMediaSourceListener()
159 ICarMediaSourceListener binderCallback = mCallbackMap.remove(callback); in removeMediaSourceListener() local
160 mService.unregisterMediaSourceListener(binderCallback, mode, in removeMediaSourceListener()
/packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/
DGetProcessingVersionsCallbackImpl.java39 public GetProcessingVersionsCallbackImpl(ICognitionGetVersionsCallbackInternal binderCallback) { in GetProcessingVersionsCallbackImpl() argument
40 mBinderCallback = binderCallback; in GetProcessingVersionsCallbackImpl()
DProcessMediaCallbackImpl.java47 public ProcessMediaCallbackImpl(ICognitionProcessMediaCallbackInternal binderCallback) { in ProcessMediaCallbackImpl() argument
48 mBinderCallback = binderCallback; in ProcessMediaCallbackImpl()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiManager.java3288 INetworkRequestMatchCallback.Stub binderCallback = in registerNetworkRequestMatchCallback() local
3291 binderCallback); in registerNetworkRequestMatchCallback() local
3292 mService.registerNetworkRequestMatchCallback(binderCallback); in registerNetworkRequestMatchCallback()
5743 ISoftApCallback.Stub binderCallback = new SoftApCallbackProxy(executor, callback, in startTetheredHotspot() local
5746 mService.startTetheredHotspotRequest(request, binderCallback, in startTetheredHotspot()
6017 ISoftApCallback.Stub binderCallback = new SoftApCallbackProxy(executor, callback, in registerLocalOnlyHotspotSoftApCallback() local
6020 binderCallback); in registerLocalOnlyHotspotSoftApCallback() local
6024 mService.registerLocalOnlyHotspotSoftApCallback(binderCallback, extras); in registerLocalOnlyHotspotSoftApCallback()
6990 ISoftApCallback.Stub binderCallback = new SoftApCallbackProxy(executor, callback, in registerSoftApCallback() local
6992 sSoftApCallbackMap.put(System.identityHashCode(callback), binderCallback); in registerSoftApCallback() local
[all …]