Home
last modified time | relevance | path

Searched refs:pkgname (Results 1 – 3 of 3) sorted by relevance

/system/extras/simpleperf/simpleperf_app_runner/
Dsimpleperf_app_runner.cpp63 pkg_info* ReadPackageInfo(const char* pkgname) { in ReadPackageInfo() argument
70 arg.name = pkgname; in ReadPackageInfo()
195 char* pkgname = argv[1]; in main() local
204 pkg_info* info = ReadPackageInfo(pkgname); in main()
206 error(1, 0, "failed to find package %s", pkgname); in main()
209 error(1, 0, "package isn't an application: %s", pkgname); in main()
212 error(1, 0, "package isn't profileable from shell: %s", pkgname); in main()
226 if (selinux_android_setcontext(uid, 0, info->seinfo, pkgname) < 0) { in main()
244 new_argv[3] = pkgname; in main()
/system/core/run-as/
Drun-as.cpp182 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/
Dhidl_interface.go1003 for _, pkgname := range doubleLoadablePackageNames {
1004 if strings.HasPrefix(name, pkgname) {
1018 for _, pkgname := range coreDependencyPackageNames {
1019 if strings.HasPrefix(name, pkgname) {
1031 for _, pkgname := range fuzzerPackageNameBlacklist {
1032 if strings.HasPrefix(name, pkgname) {
1048 for _, pkgname := range coreVtsSpecs {
1049 if strings.HasPrefix(name, pkgname) {