Home
last modified time | relevance | path

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

/system/core/libpackagelistparser/include/packagelistparser/
Dpackagelistparser.h70 bool packagelist_parse(bool (*callback)(pkg_info* info, void* user_data), void* user_data);
78 bool packagelist_parse_file(const char* path, bool (*callback)(pkg_info* info, void* user_data),
79 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.cpp93 bool packagelist_parse_file(const char* path, bool (*callback)(pkg_info*, void*), void* user_data) { in packagelist_parse_file() argument
114 if (!callback(info.release(), user_data)) break; in packagelist_parse_file()
120 bool packagelist_parse(bool (*callback)(pkg_info*, void*), void* user_data) { in packagelist_parse() argument
121 return packagelist_parse_file("/data/system/packages.list", callback, user_data); in packagelist_parse()
/system/update_engine/liburing_cpp/src/
DIoUring.cpp133 cqes.push_back(IoUringCQE(cqe->res, cqe->flags, cqe->user_data)); in PopCQE()
145 const auto cqe = IoUringCQE(ptr->res, ptr->flags, ptr->user_data); in PopCQE()
156 return {IoUringCQE(ptr->res, ptr->flags, ptr->user_data)}; in PeekCQE()
/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/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(const void* user_data) { in Read() argument
78 const x86_user_regs* user = reinterpret_cast<const x86_user_regs*>(user_data); in Read()
/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/memory/lmkd/
Dlmkd.cpp1533 sqe->user_data = i; in handle_io_uring_procs_prio()
1560 if (cqe->user_data < 0 || static_cast<int>(cqe->user_data) > procs_count) { in handle_io_uring_procs_prio()
1561 ALOGE("Invalid LMK_PROCS_PRIO CQE read data: %llu", cqe->user_data); in handle_io_uring_procs_prio()
1565 const int procs_idx = cqe->user_data; in handle_io_uring_procs_prio()
1607 sqe->user_data = i; in handle_io_uring_procs_prio()
1634 if (cqe->user_data < 0 || static_cast<int>(cqe->user_data) > procs_count) { in handle_io_uring_procs_prio()
1635 ALOGE("Invalid LMK_PROCS_PRIO CQE read data: %llu", cqe->user_data); in handle_io_uring_procs_prio()
1639 const int procs_idx = cqe->user_data; in handle_io_uring_procs_prio()