Searched refs:pkg_info (Results 1 – 6 of 6) sorted by relevance
/system/core/libpackagelistparser/include/packagelistparser/ |
D | packagelistparser.h | 32 typedef struct pkg_info { struct 59 } pkg_info; typedef 67 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), 79 void packagelist_free(pkg_info* info);
|
/system/core/libpackagelistparser/ |
D | packagelistparser_test.cpp | 39 std::vector<pkg_info*> packages; in TEST() 42 [](pkg_info* info, void* user_data) -> bool { in TEST() 43 reinterpret_cast<std::vector<pkg_info*>*>(user_data)->push_back(info); in TEST() 100 std::vector<pkg_info*> packages; in TEST() 103 [](pkg_info* info, void* user_data) -> bool { in TEST() 104 std::vector<pkg_info*>* p = reinterpret_cast<std::vector<pkg_info*>*>(user_data); in TEST() 120 std::vector<pkg_info*> packages; in TEST() 122 [](pkg_info* info, void* user_data) -> bool { in TEST() 123 reinterpret_cast<std::vector<pkg_info*>*>(user_data)->push_back(info); in TEST()
|
D | packagelistparser.cpp | 31 static bool parse_gids(const char* path, size_t line_number, const char* gids, pkg_info* info) { in parse_gids() 65 static bool parse_line(const char* path, size_t line_number, const char* line, pkg_info* info) { in parse_line() 101 bool packagelist_parse_file(const char* path, bool (*callback)(pkg_info*, void*), void* user_data) { in packagelist_parse_file() argument 113 std::unique_ptr<pkg_info, decltype(&packagelist_free)> info( in packagelist_parse_file() 114 static_cast<pkg_info*>(calloc(1, sizeof(pkg_info))), &packagelist_free); in packagelist_parse_file() 128 bool packagelist_parse(bool (*callback)(pkg_info*, void*), void* user_data) { in packagelist_parse() argument 132 void packagelist_free(pkg_info* info) { in packagelist_free()
|
/system/extras/simpleperf/simpleperf_app_runner/ |
D | simpleperf_app_runner.cpp | 63 pkg_info* info; 66 static bool PackageListParseCallback(pkg_info* info, void* userdata) { in PackageListParseCallback() 76 pkg_info* ReadPackageInfo(const char* pkgname) { in ReadPackageInfo() 188 pkg_info* info = ReadPackageInfo(pkgname); in main() 214 pkg_info* info = ReadPackageInfo(pkgname); in main()
|
/system/core/run-as/ |
D | run-as.cpp | 63 static bool packagelist_parse_callback(pkg_info* this_package, void* userdata) { in packagelist_parse_callback() 64 pkg_info* p = reinterpret_cast<pkg_info*>(userdata); in packagelist_parse_callback() 196 pkg_info info; in main()
|
/system/logging/logd/ |
D | PkgIds.cpp | 51 static bool PackageParseCallback(pkg_info* info, void* userdata) { in PackageParseCallback() 161 [](pkg_info* info, void* callback_parameter) { in uidToName()
|