Home
last modified time | relevance | path

Searched refs:user_data (Results 1 – 25 of 25) sorted by relevance

/system/bt/bta/sdp/
Dbta_sdp_api.cc118 tBTA_SDP_STATUS BTA_SdpCreateRecordByUser(void* user_data) { in BTA_SdpCreateRecordByUser() argument
125 p_msg->user_data = user_data; in BTA_SdpCreateRecordByUser()
144 tBTA_SDP_STATUS BTA_SdpRemoveRecordByUser(void* user_data) { in BTA_SdpRemoveRecordByUser() argument
151 p_msg->user_data = user_data; in BTA_SdpRemoveRecordByUser()
Dbta_sdp_int.h68 void* user_data; member
Dbta_sdp_act.cc333 static void bta_sdp_search_cback(uint16_t result, void* user_data) { in bta_sdp_search_cback() argument
342 Uuid& uuid = *(reinterpret_cast<Uuid*>(user_data)); in bta_sdp_search_cback()
398 osi_free(user_data); // We no longer need the user data to track the search in bta_sdp_search_cback()
500 p_data->record.user_data); in bta_sdp_create_record()
516 p_data->record.user_data); in bta_sdp_remove_record()
/system/core/libpackagelistparser/include/packagelistparser/
Dpackagelistparser.h67 bool packagelist_parse(bool (*callback)(pkg_info* info, void* user_data), void* user_data);
75 bool packagelist_parse_file(const char* path, bool (*callback)(pkg_info* info, void* user_data),
76 void* user_data);
/system/core/libpackagelistparser/
Dpackagelistparser_test.cpp42 [](pkg_info* info, void* user_data) -> bool { in TEST() argument
43 reinterpret_cast<std::vector<pkg_info*>*>(user_data)->push_back(info); in TEST()
103 [](pkg_info* info, void* user_data) -> bool { in TEST() argument
104 std::vector<pkg_info*>* p = reinterpret_cast<std::vector<pkg_info*>*>(user_data); in TEST()
122 [](pkg_info* info, void* user_data) -> bool { in TEST() argument
123 reinterpret_cast<std::vector<pkg_info*>*>(user_data)->push_back(info); in TEST()
Dpackagelistparser.cpp101 bool packagelist_parse_file(const char* path, bool (*callback)(pkg_info*, void*), void* user_data) { in packagelist_parse_file() argument
122 if (!callback(info.release(), user_data)) break; in packagelist_parse_file()
128 bool packagelist_parse(bool (*callback)(pkg_info*, void*), void* user_data) { in packagelist_parse() argument
129 return packagelist_parse_file("/data/system/packages.list", callback, user_data); in packagelist_parse()
/system/bt/bta/include/
Dbta_sdp_api.h72 void* user_data);
123 extern tBTA_SDP_STATUS BTA_SdpCreateRecordByUser(void* user_data);
137 extern tBTA_SDP_STATUS BTA_SdpRemoveRecordByUser(void* user_data);
Dbta_mce_api.h78 void* user_data);
/system/bt/btif/src/
Dbtif_sdp.cc93 void* user_data) { in sdp_dm_cback() argument
106 on_create_record_event(PTR_TO_INT(user_data)); in sdp_dm_cback()
110 on_remove_record_event(PTR_TO_INT(user_data)); in sdp_dm_cback()
Dbtif_mce.cc96 void* user_data) { in mce_dm_cback() argument
/system/bt/test/headless/sdp/
Dsdp.cc32 static void bta_jv_start_discovery_callback(uint16_t result, void* user_data) { in bta_jv_start_discovery_callback() argument
33 auto promise = static_cast<std::promise<uint16_t>*>(user_data); in bta_jv_start_discovery_callback()
/system/core/fs_mgr/libfs_avb/
Davb_ops.h54 return reinterpret_cast<FsManagerAvbOps*>(ops->user_data); in GetInstanceFromAvbOps()
Davb_ops.cpp137 avb_ops_.user_data = this; in FsManagerAvbOps()
/system/bt/bta/mce/
Dbta_mce_act.cc60 static void bta_mce_search_cback(uint16_t result, void* user_data) { in bta_mce_search_cback() argument
118 bta_mce_cb.p_dm_cback(BTA_MCE_MAS_DISCOVERY_COMP_EVT, &bta_mce, user_data); in bta_mce_search_cback()
/system/bt/stack/sdp/
Dsdp_main.cc256 (*p_ccb->p_cb2)(err, p_ccb->user_data); in sdp_connect_cfm()
438 p_ccb->user_data); in sdp_disconnect_ind()
593 (*p_ccb->p_cb2)(reason, p_ccb->user_data); in sdp_disconnect()
626 (*p_ccb->p_cb2)(p_ccb->disconnect_reason, p_ccb->user_data); in sdp_disconnect_cfm()
653 (*p_ccb->p_cb2)(SDP_CONN_FAILED, p_ccb->user_data); in sdp_conn_timer_timeout()
Dsdpint.h148 void* user_data; /* piggy back user data */ member
Dsdp_api.cc192 void* user_data) { in SDP_ServiceSearchAttributeRequest2() argument
205 p_ccb->user_data = user_data; in SDP_ServiceSearchAttributeRequest2()
/system/extras/libfec/
Davb_utils.cpp72 void *user_data) { in parse_avb_image() argument
75 auto desp = static_cast<const AvbDescriptor **>(user_data); in parse_avb_image()
/system/core/libunwindstack/
DRegsX86.cpp77 Regs* RegsX86::Read(void* user_data) { in Read() argument
78 x86_user_regs* user = reinterpret_cast<x86_user_regs*>(user_data); in Read()
/system/bt/stack/include/
Dsdp_api.h69 typedef void(tSDP_DISC_CMPL_CB2)(uint16_t result, void* user_data);
234 void* user_data);
/system/update_engine/payload_generator/
Dpayload_generation_config_android.cc34 bool AvbDescriptorCallback(const AvbDescriptor* descriptor, void* user_data) { in AvbDescriptorCallback() argument
35 PartitionConfig* part = static_cast<PartitionConfig*>(user_data); in AvbDescriptorCallback()
/system/update_engine/
Domaha_request_action.cc162 void ParserHandlerStart(void* user_data, in ParserHandlerStart() argument
165 OmahaParserData* data = reinterpret_cast<OmahaParserData*>(user_data); in ParserHandlerStart()
232 void ParserHandlerEnd(void* user_data, const XML_Char* element) { in ParserHandlerEnd() argument
233 OmahaParserData* data = reinterpret_cast<OmahaParserData*>(user_data); in ParserHandlerEnd()
255 void ParserHandlerEntityDecl(void* user_data, in ParserHandlerEntityDecl() argument
264 OmahaParserData* data = reinterpret_cast<OmahaParserData*>(user_data); in ParserHandlerEntityDecl()
/system/core/adb/client/
Dusb_libusb.cpp488 transfer_info* info = static_cast<transfer_info*>(transfer->user_data); in transfer_callback()
539 transfer->user_data = info; in perform_usb_transfer()
/system/bt/bta/gatt/
Dbta_gattc_cache.cc222 void bta_gattc_sdp_callback(uint16_t sdp_status, void* user_data) { in bta_gattc_sdp_callback() argument
223 tBTA_GATTC_CB_DATA* cb_data = (tBTA_GATTC_CB_DATA*)user_data; in bta_gattc_sdp_callback()
/system/bt/bta/jv/
Dbta_jv_act.cc741 static void bta_jv_start_discovery_cback(uint16_t result, void* user_data) { in bta_jv_start_discovery_cback() argument
743 uint32_t* p_rfcomm_slot_id = static_cast<uint32_t*>(user_data); in bta_jv_start_discovery_cback()
1538 uint32_t user_data = p_pcb->rfcomm_slot_id; in bta_jv_port_event_sr_cback() local
1541 p_cb->p_cback(BTA_JV_RFCOMM_DATA_IND_EVT, &evt_data, user_data); in bta_jv_port_event_sr_cback()
1549 p_cb->p_cback(BTA_JV_RFCOMM_CONG_EVT, &evt_data, user_data); in bta_jv_port_event_sr_cback()