Home
last modified time | relevance | path

Searched defs:cb (Results 1 – 25 of 103) sorted by relevance

12345

/system/bt/btif/src/
Dbtif_hf_client.cc95 btif_hf_client_cb_t cb[HF_CLIENT_MAX_DEVICES]; member
134 #define CHECK_BTHF_CLIENT_SLC_CONNECTED(cb) \ argument
168 btif_hf_client_cb_t* cb = btif_hf_client_get_cb_by_bda(*bd_addr); in btif_in_hf_client_generic_evt() local
188 bool is_connected(const btif_hf_client_cb_t* cb) { in is_connected()
255 btif_hf_client_cb_t* cb = &btif_hf_client_cb_arr.cb[i]; in btif_hf_client_allocate_cb() local
301 btif_hf_client_cb_t* cb = btif_hf_client_allocate_cb(); in connect_int() local
340 btif_hf_client_cb_t* cb = btif_hf_client_get_cb_by_bda(*bd_addr); in disconnect() local
359 btif_hf_client_cb_t* cb = btif_hf_client_get_cb_by_bda(*bd_addr); in connect_audio() local
389 btif_hf_client_cb_t* cb = btif_hf_client_get_cb_by_bda(*bd_addr); in disconnect_audio() local
408 btif_hf_client_cb_t* cb = btif_hf_client_get_cb_by_bda(*bd_addr); in start_voice_recognition() local
[all …]
Dbtif_ble_advertiser.cc88 void RegisterAdvertiserCb(IdStatusCallback cb, uint8_t advertiser_id, in RegisterAdvertiserCb()
95 void RegisterAdvertiser(IdStatusCallback cb) override { in RegisterAdvertiser()
117 void GetOwnAddress(uint8_t advertiser_id, GetAddressCallback cb) override { in GetOwnAddress()
126 ParametersCallback cb) override { in SetParameters()
140 StatusCallback cb) override { in SetData()
149 void Enable(uint8_t advertiser_id, bool enable, StatusCallback cb, in Enable()
163 void StartAdvertising(uint8_t advertiser_id, StatusCallback cb, in StartAdvertising()
183 void StartAdvertisingSet(IdTxPowerStatusCallback cb, in StartAdvertisingSet()
212 StatusCallback cb) override { in SetPeriodicAdvertisingParameters()
228 StatusCallback cb) override { in SetPeriodicAdvertisingData()
[all …]
Dbtif_ble_scanner.cc207 void RegisterScanner(RegisterCallback cb) override { in RegisterScanner()
210 [](RegisterCallback cb) { in RegisterScanner()
241 FilterParamSetupCallback cb) override { in ScanFilterParamSetup()
257 FilterConfigCallback cb) override { in ScanFilterAdd()
270 void ScanFilterClear(int filter_index, FilterConfigCallback cb) override { in ScanFilterClear()
278 void ScanFilterEnable(bool enable, EnableCallback cb) override { in ScanFilterEnable()
288 Callback cb) override { in SetScanParameters()
298 Callback cb) override { in BatchscanConfigStorage()
309 int addr_type, int discard_rule, Callback cb) override { in BatchscanEnable()
316 void BatchscanDisable(Callback cb) override { in BatchscanDisable()
Dbtif_hearing_aid.cc41 base::Callback<void()> cb) { in jni_thread_wrapper()
43 [](const base::Location& from_here, base::Callback<void()> cb) { in jni_thread_wrapper()
/system/bt/stack/btm/
Dbtm_ble_batchscan.cc157 void storage_config_cb(Callback<void(uint8_t /* status */)> cb, uint8_t* p, in storage_config_cb()
178 void param_enable_cb(Callback<void(uint8_t /* status */)> cb, uint8_t* p, in param_enable_cb()
199 void disable_cb(base::Callback<void(uint8_t /* status */)> cb, uint8_t* p, in disable_cb()
236 hci_cmd_cb cb) { in btm_ble_read_batchscan_reports()
251 tBTM_BLE_SCAN_REP_CBACK cb, uint8_t* p, uint16_t len) { in read_reports_cb()
305 hci_cmd_cb cb) { in btm_ble_set_storage_config()
324 hci_cmd_cb cb) { in btm_ble_set_batchscan_param()
345 void btm_ble_enable_batchscan(hci_cmd_cb cb) { in btm_ble_enable_batchscan()
374 void BTM_BleSetStorageConfig(uint8_t batch_scan_full_max, in BTM_BleSetStorageConfig()
414 void BTM_BleEnableBatchScan(tBTM_BLE_BATCH_SCAN_MODE scan_mode, in BTM_BleEnableBatchScan()
[all …]
Dbtm_ble_adv_filter.cc170 void btm_flt_update_cb(uint8_t expected_ocf, tBTM_BLE_PF_CFG_CBACK cb, in btm_flt_update_cb()
299 std::vector<uint8_t> name, tBTM_BLE_PF_CFG_CBACK cb) { in BTM_LE_PF_local_name()
344 tBTM_BLE_PF_CFG_CBACK cb) { in BTM_LE_PF_manu_data()
396 tBTM_BLE_PF_CFG_CBACK cb) { in BTM_LE_PF_srvc_data_pattern()
492 tBTM_BLE_PF_CFG_CBACK cb) { in BTM_LE_PF_addr_filter()
538 tBTM_BLE_PF_CFG_CBACK cb) { in BTM_LE_PF_uuid_filter()
601 tBTM_BLE_PF_CFG_CBACK cb) { in BTM_LE_PF_set()
669 tBTM_BLE_PF_CFG_CBACK cb) { in BTM_LE_PF_clear()
741 tBTM_BLE_PF_PARAM_CB cb) { in BTM_BleAdvFilterParamSetup()
Dbtm_ble_multi_adv.cc147 IdTxPowerStatusCb cb; member
176 void GetOwnAddress(uint8_t inst_id, GetAddressCallback cb) override { in GetOwnAddress()
189 void GenerateRpa(base::Callback<void(const RawAddress&)> cb) { in GenerateRpa()
241 void RegisterAdvertiser( in RegisterAdvertiser()
257 const RawAddress& bda) { in RegisterAdvertiser()
279 void StartAdvertising(uint8_t advertiser_id, MultiAdvCb cb, in StartAdvertising()
288 MultiAdvCb cb; in StartAdvertising() member
377 void StartAdvertisingSet(IdTxPowerStatusCb cb, tBTM_BLE_ADV_PARAMS* params, in StartAdvertisingSet()
603 base::Closure cb = Bind( in EnableWithTimerCb() local
612 void Enable(uint8_t inst_id, bool enable, MultiAdvCb cb, uint16_t duration, in Enable()
[all …]
/system/hwservicemanager/
Dtest_lazy.cpp83 sp<RecordingClientCallback> cb = new RecordingClientCallback; in TEST_F() local
98 sp<RecordingClientCallback> cb = new RecordingClientCallback; in TEST_F() local
113 sp<RecordingClientCallback> cb = new RecordingClientCallback; in TEST_F() local
135 sp<RecordingClientCallback> cb = new RecordingClientCallback; in TEST_F() local
154 sp<RecordingClientCallback> cb = new RecordingClientCallback; in TEST_F() local
178 sp<RecordingClientCallback> cb = new RecordingClientCallback; in TEST_F() local
201 sp<RecordingClientCallback> cb = new RecordingClientCallback; in TEST_F() local
Dservice.cpp68 sp<HwBinderCallback> cb = new HwBinderCallback; in setupTo() local
97 sp<ClientCallbackCallback> cb = new ClientCallbackCallback(manager); in setupTo() local
/system/security/keystore/binder/android/security/keystore/
DIKeystoreService.aidl58 int addRngEntropy(IKeystoreResponseCallback cb, in byte[] data, int flags); in addRngEntropy()
59 …int generateKey(IKeystoreKeyCharacteristicsCallback cb, String alias, in KeymasterArguments argume… in generateKey()
61 …int getKeyCharacteristics (IKeystoreKeyCharacteristicsCallback cb, String alias, in KeymasterBlob … in getKeyCharacteristics()
63 …int importKey(IKeystoreKeyCharacteristicsCallback cb, String alias, in KeymasterArguments argument… in importKey()
65 … int exportKey(IKeystoreExportKeyCallback cb, String alias, int format, in KeymasterBlob clientId, in exportKey()
67 …int begin(in IKeystoreOperationResultCallback cb, IBinder appToken, String alias, int purpose, boo… in begin()
69 …int update(in IKeystoreOperationResultCallback cb, IBinder token, in KeymasterArguments params, in… in update()
70 …int finish(in IKeystoreOperationResultCallback cb, IBinder token, in KeymasterArguments params, in… in finish()
72 int abort(in IKeystoreResponseCallback cb, IBinder token); in abort()
76 …int attestKey(in IKeystoreCertificateChainCallback cb, String alias, in KeymasterArguments params); in attestKey()
[all …]
/system/bt/service/ipc/binder/
Dbluetooth_avrcp_target_binder_server.cc218 auto cb = TRY_GET_CB(); in OnGetRemoteFeatures() local
225 auto cb = TRY_GET_CB(); in OnGetPlayStatus() local
232 auto cb = TRY_GET_CB(); in OnListPlayerAppAttr() local
239 auto cb = TRY_GET_CB(); in OnListPlayerAppValues() local
246 auto cb = TRY_GET_CB(); in OnGetPlayerAppValue() local
253 auto cb = TRY_GET_CB(); in OnGetPlayerAppAttrsText() local
261 auto cb = TRY_GET_CB(); in OnGetPlayerAppValuesText() local
276 auto cb = TRY_GET_CB(); in OnSetPlayerAppValue() local
283 auto cb = TRY_GET_CB(); in OnGetElementAttrs() local
290 auto cb = TRY_GET_CB(); in OnRegisterNotification() local
[all …]
Dbluetooth_a2dp_sink_binder_server.cc156 auto cb = GetA2dpSinkCallback(); in OnConnectionState() local
168 auto cb = GetA2dpSinkCallback(); in OnAudioState() local
181 auto cb = GetA2dpSinkCallback(); in OnAudioConfig() local
197 auto cb = GetCallback(bluetooth::A2dpSink::kSingletonInstanceId); in GetA2dpSinkCallback() local
216 android::sp<IBluetoothA2dpSinkCallback> cb( in OnRegisterInstanceImpl() local
Dbluetooth_le_advertiser_binder_server.cc93 auto cb = GetLECallback(advertiser_id); in StartMultiAdvertising() local
136 auto cb = GetLECallback(advertiser_id); in StopMultiAdvertising() local
160 auto cb = GetCallback(advertiser_id); in GetLECallback() local
176 android::sp<IBluetoothLeAdvertiserCallback> cb( in OnRegisterInstanceImpl() local
Dbluetooth_low_energy_binder_server.cc126 auto cb = GetLECallback(client->GetInstanceId()); in OnConnectionState() local
143 auto cb = GetLECallback(client_id); in OnMtuChanged() local
154 auto cb = GetCallback(client_id); in GetLECallback() local
173 android::sp<IBluetoothLowEnergyCallback> cb( in OnRegisterInstanceImpl() local
Dbluetooth_gatt_client_binder_server.cc64 auto cb = GetCallback(client_id); in GetGattClientCallback() local
81 android::sp<IBluetoothGattClientCallback> cb( in OnRegisterInstanceImpl() local
Dbluetooth_a2dp_source_binder_server.cc170 auto cb = TRY_GET_CB(); in OnConnectionState() local
177 auto cb = TRY_GET_CB(); in OnAudioState() local
192 auto cb = TRY_GET_CB(); in OnAudioConfig() local
200 auto cb = GetCallback(bluetooth::A2dpSource::kSingletonInstanceId); in GetA2dpSourceCallback() local
220 android::sp<IBluetoothA2dpSourceCallback> cb( in OnRegisterInstanceImpl() local
Dbluetooth_le_scanner_binder_server.cc110 auto cb = GetLECallback(scanner->GetInstanceId()); in OnScanResult() local
121 auto cb = GetCallback(scanner_id); in GetLECallback() local
140 android::sp<IBluetoothLeScannerCallback> cb( in OnRegisterInstanceImpl() local
Dbluetooth_avrcp_control_binder_server.cc169 auto func = [rc_connect, bt_connect, &device_address](IInterface* cb) { in OnConnectionState()
182 auto func = [&device_address, &binder_attr](IInterface* cb) { in OnTrackChanged()
194 auto func = [&addr_s16, abs_vol, label](IInterface* cb) { in OnSetAbsVolumeRequest()
205 auto func = [&addr_s16, label](IInterface* cb) { in OnRegisterForAbsVolumeCallbackRequest()
228 android::sp<IBluetoothAvrcpControlCallback> cb( in OnRegisterInstanceImpl() local
Dinterface_with_instances_base.cc48 bluetooth::BluetoothInstanceFactory::RegisterCallback cb = in RegisterInstanceBase() local
94 auto cb = id_to_cb_.Get(pair.first); in ForEachCallback() local
/system/bt/bta/gatt/
Dbta_gattc_queue.cc31 GATT_READ_OP_CB cb; member
62 GATT_WRITE_OP_CB cb; member
151 GATT_READ_OP_CB cb, void* cb_data) { in ReadCharacteristic()
160 GATT_READ_OP_CB cb, void* cb_data) { in ReadDescriptor()
171 GATT_WRITE_OP_CB cb, void* cb_data) { in WriteCharacteristic()
184 GATT_WRITE_OP_CB cb, void* cb_data) { in WriteDescriptor()
/system/security/keystore-engine/
Dkeystore_backend_hidl.cpp48 auto cb = [&](IKeystore::KeystoreStatusCode status, in sign() local
78 auto cb = [&](IKeystore::KeystoreStatusCode status, in get_pubkey() local
/system/hardware/interfaces/suspend/1.0/default/
DSuspendControlService.h55 std::vector<sp<ISuspendCallback> >::iterator findCb(const wp<IBinder>& cb) { in findCb()
/system/bt/btif/avrcp/
Davrcp_service.cc139 MediaInterfaceWrapper(MediaInterface* cb) : wrapped_(cb){}; in MediaInterfaceWrapper()
147 auto cb_lambda = [](SongInfoCallback cb, SongInfo data) { in GetSongInfo()
158 auto cb_lambda = [](PlayStatusCallback cb, PlayStatus status) { in GetPlayStatus()
170 std::vector<SongInfo> song_list) { in GetNowPlayingList()
183 std::vector<MediaPlayerInfo> player_list) { in GetMediaPlayerList()
197 std::vector<ListItem> item_list) { in GetFolderItems()
211 std::string root_id, uint32_t num_items) { in SetBrowsedPlayer()
259 void DeviceConnected(const RawAddress& bdaddr, VolumeChangedCb cb) override { in DeviceConnected()
260 auto cb_lambda = [](VolumeChangedCb cb, int8_t volume) { in DeviceConnected()
/system/bt/osi/test/fuzzers/alarm/
Dfuzz_alarm.cc38 static void cb(void* data) { in cb() function
64 bool fuzz_set_alarm(alarm_t* alarm, uint64_t interval, alarm_callback_t cb, in fuzz_set_alarm()
/system/bt/hci/src/
Dbtsnoop_mem.cc25 void btsnoop_mem_set_callback(btsnoop_data_cb cb) { data_callback = cb; } in btsnoop_mem_set_callback()

12345