Home
last modified time | relevance | path

Searched refs:executeFromBinder (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Bluetooth/framework/java/android/bluetooth/le/
DDistanceMeasurementSession.java21 import static android.bluetooth.BluetoothUtils.executeFromBinder;
120 executeFromBinder(mExecutor, () -> mCallback.onStarted(this)); in onStarted()
125 executeFromBinder(mExecutor, () -> mCallback.onStartFail(reason)); in onStartFail()
130 executeFromBinder(mExecutor, () -> mCallback.onStopped(this, reason)); in onStopped()
135 executeFromBinder(mExecutor, () -> mCallback.onResult(device, result)); in onResult()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothLeCallControl.java22 import static android.bluetooth.BluetoothUtils.executeFromBinder;
172 executeFromBinder(mExecutor, () -> mCallback.onAcceptCall(requestId, uuid.getUuid())); in onAcceptCall()
177 executeFromBinder( in onTerminateCall()
183 executeFromBinder(mExecutor, () -> mCallback.onHoldCall(requestId, uuid.getUuid())); in onHoldCall()
188 executeFromBinder(mExecutor, () -> mCallback.onUnholdCall(requestId, uuid.getUuid())); in onUnholdCall()
193 executeFromBinder( in onPlaceCall()
204 executeFromBinder(mExecutor, () -> mCallback.onJoinCalls(requestId, uuids)); in onJoinCalls()
DBluetoothHidDevice.java23 import static android.bluetooth.BluetoothUtils.executeFromBinder;
376 executeFromBinder( in onAppStatusChanged()
383 executeFromBinder(mExecutor, () -> mCallback.onConnectionStateChanged(device, state)); in onConnectionStateChanged()
389 executeFromBinder(mExecutor, () -> mCallback.onGetReport(device, type, id, bufferSize)); in onGetReport()
395 executeFromBinder(mExecutor, () -> mCallback.onSetReport(device, type, id, data)); in onSetReport()
401 executeFromBinder(mExecutor, () -> mCallback.onSetProtocol(device, protocol)); in onSetProtocol()
407 executeFromBinder(mExecutor, () -> mCallback.onInterruptData(device, reportId, data)); in onInterruptData()
413 executeFromBinder(mExecutor, () -> mCallback.onVirtualCableUnplug(device)); in onVirtualCableUnplug()
DCallbackWrapper.java21 import static android.bluetooth.BluetoothUtils.executeFromBinder;
83 executeFromBinder(executor, () -> consumer.accept(callback))); in forEach()
DBluetoothPan.java26 import static android.bluetooth.BluetoothUtils.executeFromBinder;
562 executeFromBinder(executor, () -> callback.onAvailable(iface)); in requestTetheredInterface()
568 executeFromBinder(executor, () -> callback.onUnavailable()); in requestTetheredInterface()
DBluetoothCsipSetCoordinator.java25 import static android.bluetooth.BluetoothUtils.executeFromBinder;
114 executeFromBinder( in onGroupLockSet()
DBluetoothVolumeControl.java26 import static android.bluetooth.BluetoothUtils.executeFromBinder;
186 executeFromBinder(executor, () -> consumer.accept(callback))); in forEach()
DBluetoothAdapter.java32 import static android.bluetooth.BluetoothUtils.executeFromBinder;
916 executeFromBinder(mExecutor, () -> mListener.onServiceConnected(mProfile, proxy)); in connect()
924 executeFromBinder(mExecutor, () -> mListener.onServiceDisconnected(mProfile)); in disconnect()
954 executeFromBinder(
1035 executeFromBinder( in onBluetoothActivityEnergyInfoAvailable()
1039 executeFromBinder( in onBluetoothActivityEnergyInfoAvailable()
1058 executeFromBinder( in onError()
3819 executeFromBinder(mExecutor, () -> mCallback.onOobData(transport, oobData)); in onOobData()
3823 executeFromBinder(mExecutor, () -> mCallback.onError(errorCode)); in onError()
5635 executeFromBinder(mExecutor, () -> consumer.accept(callback)); in execute()
DBluetoothUtils.java340 public static void executeFromBinder(@NonNull Executor executor, @NonNull Runnable callback) { in executeFromBinder() method in BluetoothUtils