Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/bta/vc/
Dvc_test.cc414 tBTA_GATTC_OPEN event_data = { in GetConnectedEvent() local
423 gatt_callback(BTA_GATTC_OPEN_EVT, (tBTA_GATTC*)&event_data); in GetConnectedEvent()
427 tBTA_GATTC_CLOSE event_data = { in GetDisconnectedEvent() local
435 gatt_callback(BTA_GATTC_CLOSE_EVT, (tBTA_GATTC*)&event_data); in GetDisconnectedEvent()
439 tBTA_GATTC_SEARCH_CMPL event_data = { in GetSearchCompleteEvent() local
444 gatt_callback(BTA_GATTC_SEARCH_CMPL_EVT, (tBTA_GATTC*)&event_data); in GetSearchCompleteEvent()
865 tBTA_GATTC_NOTIFY event_data = { in GetNotificationEvent() local
873 std::copy(value.begin(), value.end(), event_data.value); in GetNotificationEvent()
874 gatt_callback(BTA_GATTC_NOTIF_EVT, (tBTA_GATTC*)&event_data); in GetNotificationEvent()
1039 tBTA_GATTC_NOTIFY event_data = { in GetNotificationEvent() local
[all …]
/packages/modules/Bluetooth/system/bta/csis/
Dcsis_client_test.cc464 tBTA_GATTC_ENC_CMPL_CB event_data = { in InjectEncryptionEvent() local
469 gatt_callback(BTA_GATTC_ENC_CMPL_CB_EVT, (tBTA_GATTC*)&event_data); in InjectEncryptionEvent()
473 tBTA_GATTC_OPEN event_data = { in InjectConnectedEvent() local
482 gatt_callback(BTA_GATTC_OPEN_EVT, (tBTA_GATTC*)&event_data); in InjectConnectedEvent()
488 tBTA_GATTC_CLOSE event_data = { in InjectDisconnectedEvent() local
496 gatt_callback(BTA_GATTC_CLOSE_EVT, (tBTA_GATTC*)&event_data); in InjectDisconnectedEvent()
500 tBTA_GATTC_SEARCH_CMPL event_data = { in GetSearchCompleteEvent() local
505 gatt_callback(BTA_GATTC_SEARCH_CMPL_EVT, (tBTA_GATTC*)&event_data); in GetSearchCompleteEvent()
527 tBTA_GATTC_CLOSE event_data = { in GetDisconnectedEvent() local
535 gatt_callback(BTA_GATTC_CLOSE_EVT, (tBTA_GATTC*)&event_data); in GetDisconnectedEvent()
[all …]
/packages/modules/Bluetooth/system/vendor_libs/linux/interface/
Dh4_protocol_unittest.cc49 static char event_data[100] = "The edges of a surface are lines."; variable
266 ExpectInboundEvent(event_data, &event_promise); in TEST_F()
267 WriteInboundEvent(event_data); in TEST_F()
416 WriteAndExpectInboundEvent(event_data); in WriteAndExpectManyInboundAclDataPackets()
434 WriteAndExpectInboundEvent(event_data); in TEST_F()
/packages/modules/Bluetooth/system/bta/ag/
Dbta_ag_main.cc513 tBTA_AG_DATA event_data = {}; in bta_ag_api_result() local
514 event_data.api_result.result = result; in bta_ag_api_result()
515 event_data.api_result.data = result_data; in bta_ag_api_result()
523 event_data); in bta_ag_api_result()
538 event_data); in bta_ag_api_result()
/packages/modules/Bluetooth/system/gd/rust/topshim/facade/src/
Dadapter_service.rs175 let (key, event_data) = bluetooth_property_to_event_data(property); in fetch_events()
179 rsp.params.insert(key, event_data); in fetch_events()
196 let (key, event_data) = bluetooth_property_to_event_data(property); in fetch_events()
200 rsp.params.insert(key, event_data); in fetch_events()
/packages/modules/Bluetooth/system/bta/le_audio/
Dle_audio_client_test.cc384 tBTA_GATTC_OPEN event_data = { in InjectConnectedEvent() local
401 [](tBTA_GATTC_CBACK* gatt_callback, tBTA_GATTC_OPEN event_data) { in InjectConnectedEvent() argument
402 gatt_callback(BTA_GATTC_OPEN_EVT, (tBTA_GATTC*)&event_data); in InjectConnectedEvent()
404 base::Unretained(this->gatt_callback), event_data)); in InjectConnectedEvent()
413 tBTA_GATTC_CLOSE event_data = { in InjectDisconnectedEvent() local
425 [](tBTA_GATTC_CBACK* gatt_callback, tBTA_GATTC_CLOSE event_data) { in InjectDisconnectedEvent() argument
426 gatt_callback(BTA_GATTC_CLOSE_EVT, (tBTA_GATTC*)&event_data); in InjectDisconnectedEvent()
428 base::Unretained(this->gatt_callback), event_data)); in InjectDisconnectedEvent()
433 tBTA_GATTC_SEARCH_CMPL event_data = { in InjectSearchCompleteEvent() local
441 tBTA_GATTC_SEARCH_CMPL event_data) { in InjectSearchCompleteEvent() argument
[all …]
/packages/modules/Bluetooth/system/bta/has/
Dhas_client_test.cc824 tBTA_GATTC_OPEN event_data = { in InjectConnectedEvent() local
834 gatt_callback(BTA_GATTC_OPEN_EVT, (tBTA_GATTC*)&event_data); in InjectConnectedEvent()
843 tBTA_GATTC_CLOSE event_data = { in InjectDisconnectedEvent() local
852 gatt_callback(BTA_GATTC_CLOSE_EVT, (tBTA_GATTC*)&event_data); in InjectDisconnectedEvent()
856 tBTA_GATTC_SEARCH_CMPL event_data = { in InjectSearchCompleteEvent() local
861 gatt_callback(BTA_GATTC_SEARCH_CMPL_EVT, (tBTA_GATTC*)&event_data); in InjectSearchCompleteEvent()
867 tBTA_GATTC_NOTIFY event_data = { in InjectNotificationEvent() local
876 std::copy(value.begin(), value.end(), event_data.value); in InjectNotificationEvent()
877 gatt_callback(BTA_GATTC_NOTIF_EVT, (tBTA_GATTC*)&event_data); in InjectNotificationEvent()
881 tBTA_GATTC_ENC_CMPL_CB event_data = { in InjectEncryptionEvent() local
[all …]