Searched refs:pkgname (Results 1 – 3 of 3) sorted by relevance
/system/extras/simpleperf/simpleperf_app_runner/ |
D | simpleperf_app_runner.cpp | 76 pkg_info* ReadPackageInfo(const char* pkgname) { in ReadPackageInfo() argument 83 arg.name = pkgname; in ReadPackageInfo() 179 char* pkgname = argv[i++]; in main() local 188 pkg_info* info = ReadPackageInfo(pkgname); in main() 190 error(1, 0, "failed to find package %s", pkgname); in main() 214 pkg_info* info = ReadPackageInfo(pkgname); in main() 216 error(1, 0, "failed to find package %s", pkgname); in main() 219 error(1, 0, "package isn't an application: %s", pkgname); in main() 222 error(1, 0, "package is neither debuggable nor profileable from shell: %s", pkgname); in main() 233 data_dir = StringPrintf("/data/user/%d/%s", user_id, pkgname); in main() [all …]
|
/system/core/run-as/ |
D | run-as.cpp | 182 char* pkgname = argv[1]; in main() local 198 info.name = pkgname; in main() 206 if (asprintf(&info.data_dir, "/data/user/%d/%s", userId, pkgname) == -1) { in main() 212 error(1, 0, "unknown package: %s", pkgname); in main() 226 error(1, 0, "package not an application: %s", pkgname); in main() 231 error(1, 0, "package not debuggable: %s", pkgname); in main() 235 check_data_path(pkgname, info.data_dir, userAppId); in main() 249 if (selinux_android_setcontext(uid, 0, seinfo.c_str(), pkgname) < 0) { in main()
|
/system/tools/hidl/build/ |
D | hidl_interface.go | 1083 for _, pkgname := range doubleLoadablePackageNames { 1084 if strings.HasPrefix(name, pkgname) { 1098 for _, pkgname := range coreDependencyPackageNames { 1099 if strings.HasPrefix(name, pkgname) { 1131 for _, pkgname := range coreVtsSpecs { 1132 if strings.HasPrefix(name, pkgname) {
|