Home
last modified time | relevance | path

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

12

/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/bt/bta/sdp/
Dbta_sdp_api.cc92 tBTA_SDP_STATUS BTA_SdpCreateRecordByUser(void* user_data) { in BTA_SdpCreateRecordByUser() argument
93 do_in_main_thread(FROM_HERE, base::Bind(bta_sdp_create_record, user_data)); in BTA_SdpCreateRecordByUser()
109 tBTA_SDP_STATUS BTA_SdpRemoveRecordByUser(void* user_data) { in BTA_SdpRemoveRecordByUser() argument
110 do_in_main_thread(FROM_HERE, base::Bind(bta_sdp_remove_record, user_data)); in BTA_SdpRemoveRecordByUser()
Dbta_sdp_int.h54 extern void bta_sdp_create_record(void* user_data);
55 extern void bta_sdp_remove_record(void* user_data);
Dbta_sdp_act.cc370 static void bta_sdp_search_cback(tSDP_RESULT result, void* user_data) { in bta_sdp_search_cback() argument
379 Uuid& uuid = *(reinterpret_cast<Uuid*>(user_data)); in bta_sdp_search_cback()
438 osi_free(user_data); // We no longer need the user data to track the search in bta_sdp_search_cback()
531 void bta_sdp_create_record(void* user_data) { in bta_sdp_create_record() argument
533 bta_sdp_cb.p_dm_cback(BTA_SDP_CREATE_RECORD_USER_EVT, NULL, user_data); in bta_sdp_create_record()
545 void bta_sdp_remove_record(void* user_data) { in bta_sdp_remove_record() argument
547 bta_sdp_cb.p_dm_cback(BTA_SDP_REMOVE_RECORD_USER_EVT, NULL, user_data); in bta_sdp_remove_record()
/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.h75 void* user_data);
126 extern tBTA_SDP_STATUS BTA_SdpCreateRecordByUser(void* user_data);
140 extern tBTA_SDP_STATUS BTA_SdpRemoveRecordByUser(void* user_data);
/system/bt/test/mock/
Dmock_bta_sdp_api.cc38 tBTA_SDP_STATUS BTA_SdpCreateRecordByUser(void* user_data) { in BTA_SdpCreateRecordByUser() argument
46 tBTA_SDP_STATUS BTA_SdpRemoveRecordByUser(void* user_data) { in BTA_SdpRemoveRecordByUser() argument
Dmock_stack_sdp.cc53 void* user_data) { in SDP_ServiceSearchAttributeRequest2() argument
/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()
/system/bt/test/headless/sdp/
Dsdp.cc33 void* user_data) { in bta_jv_start_discovery_callback() argument
34 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/stack/sdp/
Dsdp_main.cc268 p_ccb->user_data); in sdp_disconnect_ind()
381 (*p_ccb->p_cb2)(reason, p_ccb->user_data); in sdp_disconnect()
407 (*p_ccb->p_cb2)(SDP_CONN_FAILED, p_ccb->user_data); in sdp_conn_timer_timeout()
Dsdpint.h146 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/unwinding/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.h104 typedef void(tSDP_DISC_CMPL_CB2)(tSDP_RESULT result, void* user_data);
269 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/bt/stack/test/fuzzers/sdp/
DsdpFuzzFunctions.h96 std::vector<uint8_t> user_data = fdp->ConsumeBytes<uint8_t>(
103 user_data.data());
DsdpFuzzHelpers.h271 void sdp_disc_cmpl_cb2(tSDP_STATUS result, void* user_data) {} in sdp_disc_cmpl_cb2() argument
/system/bt/bta/test/
Dbta_dip_test.cc45 void* user_data) { in sdp_dm_cback() argument
/system/update_engine/cros/
Domaha_request_action.cc204 void ParserHandlerStart(void* user_data, in ParserHandlerStart() argument
207 OmahaParserData* data = reinterpret_cast<OmahaParserData*>(user_data); in ParserHandlerStart()
297 void ParserHandlerEnd(void* user_data, const XML_Char* element) { in ParserHandlerEnd() argument
298 OmahaParserData* data = reinterpret_cast<OmahaParserData*>(user_data); in ParserHandlerEnd()
320 void ParserHandlerEntityDecl(void* user_data, in ParserHandlerEntityDecl() argument
329 OmahaParserData* data = reinterpret_cast<OmahaParserData*>(user_data); in ParserHandlerEntityDecl()
/system/bt/bta/jv/
Dbta_jv_act.cc722 static void bta_jv_start_discovery_cback(tSDP_RESULT result, void* user_data) { in bta_jv_start_discovery_cback() argument
724 uint32_t* p_rfcomm_slot_id = static_cast<uint32_t*>(user_data); in bta_jv_start_discovery_cback()
1467 uint32_t user_data = p_pcb->rfcomm_slot_id; in bta_jv_port_event_sr_cback() local
1470 p_cb->p_cback(BTA_JV_RFCOMM_DATA_IND_EVT, &evt_data, user_data); in bta_jv_port_event_sr_cback()
1478 p_cb->p_cback(BTA_JV_RFCOMM_CONG_EVT, &evt_data, user_data); in bta_jv_port_event_sr_cback()

12