Lines Matching defs:callback

283         public void registerClient(ParcelUuid uuid, IBluetoothGattCallback callback) {
286 service.registerClient(uuid.getUuid(), callback);
433 public void registerServer(ParcelUuid uuid, IBluetoothGattServerCallback callback) {
436 service.registerServer(uuid.getUuid(), callback);
585 app.callback.onFoundOrLost(true, result);
589 app.callback.onScanResult(result);
602 app.callback.onScanResult(address, rssi, adv_data);
636 app.callback.onClientRegistered(status, clientIf);
648 app.callback.onClientConnectionState(status, clientIf,
662 app.callback.onClientConnectionState(status, clientIf, false, address);
684 app.callback.onGetService(address, srvcType, srvcInstId,
708 app.callback.onGetCharacteristic(address, srvcType,
741 app.callback.onGetDescriptor(address, srvcType,
773 app.callback.onGetIncludedService(address,
812 app.callback.onNotify(address, srvcType,
833 app.callback.onCharacteristicRead(address, status, srvcType,
855 app.callback.onCharacteristicWrite(address, status, srvcType,
875 app.callback.onExecuteWrite(address, status);
895 app.callback.onDescriptorRead(address, status, srvcType,
917 app.callback.onDescriptorWrite(address, status, srvcType,
931 app.callback.onReadRemoteRssi(address, rssi, status);
991 app.callback.onBatchScanResults(new ArrayList<ScanResult>(results));
1006 app.callback.onBatchScanResults(new ArrayList<ScanResult>(allResults));
1015 app.callback.onBatchScanResults(results);
1124 if (app == null || app.callback == null) {
1125 Log.e(TAG, "app or callback is null");
1142 app.callback.onFoundOrLost(false, result);
1152 // callback from AdvertiseManager for advertise status dispatch.
1156 if (app == null || app.callback == null) {
1157 Log.e(TAG, "Advertise app or callback is null");
1160 app.callback.onMultiAdvertiseCallback(status, isStart, settings);
1171 app.callback.onConfigureMTU(address, mtu, status);
1215 app.callback.onMultiAdvertiseCallback(AdvertiseCallback.ADVERTISE_SUCCESS,
1218 app.callback.onMultiAdvertiseCallback(
1234 app.callback.onCharacteristicWrite(callbackInfo.address,
1319 void registerClient(UUID uuid, IBluetoothGattCallback callback) {
1323 mClientMap.add(uuid, callback);
1591 app.callback.onServerRegistered(status, serverIf);
1678 app.callback.onServerConnectionState((byte)0, serverIf, connected, address);
1703 app.callback.onCharacteristicReadRequest(address, transId, offset, isLong,
1714 app.callback.onDescriptorReadRequest(address, transId, offset, isLong,
1753 app.callback.onCharacteristicWriteRequest(address, transId,
1765 app.callback.onDescriptorWriteRequest(address, transId,
1788 app.callback.onExecuteWrite(address, transId, execWrite == 1);
1805 app.callback.onNotificationSent(address, status);
1824 app.callback.onNotificationSent(callbackInfo.address, callbackInfo.status);
1832 void registerServer(UUID uuid, IBluetoothGattServerCallback callback) {
1836 mServerMap.add(uuid, callback);
2030 app.callback.onSearchComplete(mClientMap.addressByConnId(connId), status);
2100 app.callback.onServiceAdded(status, serviceEntry.serviceType,
2103 app.callback.onServiceAdded(status, 0, 0, null);