/frameworks/native/cmds/installd/ |
dexopt.h | 36 bool clear_primary_reference_profile(const std::string& pkgname); 38 bool clear_primary_current_profile(const std::string& pkgname, userid_t user); 40 bool clear_primary_current_profiles(const std::string& pkgname); 50 bool analyze_primary_profiles(uid_t uid, const std::string& pkgname); 52 bool dump_profiles(int32_t uid, const std::string& pkgname, const char* code_paths); 57 const std::string& pkgname, int uid, const std::vector<std::string>& isas, 61 int dexopt(const char *apk_path, uid_t uid, const char *pkgName, const char *instruction_set,
|
utils.h | 50 const char *pkgname, 98 const char* pkgname, 125 bool validate_secondary_dex_path(const std::string& pkgname, const std::string& dex_path,
|
dexopt.cpp | 122 static bool clear_current_profile(const std::string& pkgname, userid_t user, 124 return clear_profile(create_current_profile_path(user, pkgname, is_secondary_dex)); 128 bool clear_primary_reference_profile(const std::string& pkgname) { 129 return clear_reference_profile(pkgname, /*is_secondary_dex*/false); 133 bool clear_primary_current_profiles(const std::string& pkgname) { 138 success &= clear_current_profile(pkgname, user, /*is_secondary_dex*/false); 144 bool clear_primary_current_profile(const std::string& pkgname, userid_t user) { 145 return clear_current_profile(pkgname, user, /*is_secondary_dex*/false); 757 bool analyze_primary_profiles(uid_t uid, const std::string& pkgname) { 758 return analyze_profiles(uid, pkgname, /*is_secondary_dex*/false) [all...] |
InstalldNativeService.cpp | 348 const char* pkgname = packageName.c_str(); local 363 auto path = create_data_user_ce_package_path(uuid_, userId, pkgname); 394 auto path = create_data_user_de_package_path(uuid_, userId, pkgname); 416 create_primary_current_profile_package_dir_path(userId, pkgname); 421 const std::string profile_file = create_current_profile_path(userId, pkgname, 428 create_primary_reference_profile_package_dir_path(pkgname); 449 const char* pkgname = packageName.c_str(); local 456 auto ce_path = create_data_user_ce_package_path(uuid_, userId, pkgname); 457 auto de_path = create_data_user_de_package_path(uuid_, userId, pkgname); 509 const char* pkgname = packageName.c_str() local 589 const char* pkgname = packageName.c_str(); local 1410 const char* pkgname = packageNames[i].c_str(); local 1782 const char* pkgname = packageName.c_str(); local 1814 const char* pkgname = packageName ? packageName->c_str() : "*"; local 1876 const char* pkgname = packageName.c_str(); local [all...] |
/external/objenesis/tck/src/main/java/org/objenesis/tck/search/ |
ClassEnumerator.java | 32 private static void processDirectory(File directory, String pkgname, SortedSet<String> classes) { 42 String className = pkgname + '.' + fileName.substring(0, fileName.length() - 6); 49 processDirectory(subdir, pkgname + '.' + fileName, classes); 54 private static void processJarfile(URL resource, String pkgname, SortedSet<String> classes) { 55 String relPath = pkgname.replace('.', '/'); 110 String pkgname = pkg.getName(); local 111 String relPath = pkgname.replace('.', '/'); 124 processJarfile(resource, pkgname, classes); 126 processDirectory(new File(resource.getPath()), pkgname, classes);
|
/prebuilts/go/darwin-x86/src/cmd/vet/ |
composite.go | 72 pkgname := f.pkg.path 73 if strings.HasPrefix(typeName, pkgname+".") { 78 if strings.HasSuffix(pkgname, "_test") { 79 pkgname = pkgname[:len(pkgname)-len("_test")] 81 return strings.HasPrefix(typeName, pkgname+".")
|
/prebuilts/go/linux-x86/src/cmd/vet/ |
composite.go | 72 pkgname := f.pkg.path 73 if strings.HasPrefix(typeName, pkgname+".") { 78 if strings.HasSuffix(pkgname, "_test") { 79 pkgname = pkgname[:len(pkgname)-len("_test")] 81 return strings.HasPrefix(typeName, pkgname+".")
|
/external/e2fsprogs/contrib/ |
build-rpm | 12 pkgname=`grep Name: e2fsprogs.spec | awk '{print $2;}'` 14 builddir=${pkgname}-${pkgvers}
|
/system/core/run-as/ |
run-as.cpp | 142 char* pkgname = argv[1]; local 158 info.name = pkgname; 163 error(1, 0, "unknown package: %s", pkgname); 177 error(1, 0, "package not an application: %s", pkgname); 182 error(1, 0, "package not debuggable: %s", pkgname); 187 error(1, 0, "package has corrupt installation: %s", pkgname); 199 if (selinux_android_setcontext(uid, 0, info.seinfo, pkgname) < 0) {
|
/frameworks/base/core/java/com/android/server/ |
SystemConfig.java | 434 String pkgname = parser.getAttributeValue(null, "package"); local 435 if (pkgname == null) { 439 mAllowInPowerSaveExceptIdle.add(pkgname); 445 String pkgname = parser.getAttributeValue(null, "package"); local 446 if (pkgname == null) { 450 mAllowInPowerSave.add(pkgname); 456 String pkgname = parser.getAttributeValue(null, "package"); local 457 if (pkgname == null) { 461 mAllowInDataUsageSave.add(pkgname); 467 String pkgname = parser.getAttributeValue(null, "package") local 489 String pkgname = parser.getAttributeValue(null, "package"); local 498 String pkgname = parser.getAttributeValue(null, "package"); local 507 String pkgname = parser.getAttributeValue(null, "package"); local 516 String pkgname = parser.getAttributeValue(null, "package"); local 547 String pkgname = parser.getAttributeValue(null, "package"); local [all...] |
/external/selinux/libselinux/include/selinux/ |
android.h | 38 const char *pkgname,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
ihooks.py | 418 pkgname = globals.get('__package__')
419 if pkgname is not None:
420 if not pkgname and level > 0:
429 pkgname = modname
438 pkgname = modname.rpartition('.')[0]
439 globals['__package__'] = pkgname
441 dot = len(pkgname)
444 dot = pkgname.rindex('.', 0, dot)
448 pkgname = pkgname[:dot] [all...] |
/libcore/ojluni/src/main/java/java/net/ |
URLClassLoader.java | 390 private Package getAndVerifyPackage(String pkgname, 392 Package pkg = getPackage(pkgname); 399 "sealing violation: package " + pkgname + " is sealed"); 404 if ((man != null) && isSealed(pkgname, man)) { 406 "sealing violation: can't seal package " + pkgname + 416 private void definePackageInternal(String pkgname, Manifest man, URL url) 418 if (getAndVerifyPackage(pkgname, man, url) == null) { 421 definePackage(pkgname, man, url); 423 definePackage(pkgname, null, null, null, null, null, null, null); 428 if (getAndVerifyPackage(pkgname, man, url) == null) 447 String pkgname = name.substring(0, i); local [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
ihooks.py | 418 pkgname = globals.get('__package__') 419 if pkgname is not None: 420 if not pkgname and level > 0: 429 pkgname = modname 438 pkgname = modname.rpartition('.')[0] 439 globals['__package__'] = pkgname 441 dot = len(pkgname) 444 dot = pkgname.rindex('.', 0, dot) 448 pkgname = pkgname[:dot [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
ihooks.py | 418 pkgname = globals.get('__package__') 419 if pkgname is not None: 420 if not pkgname and level > 0: 429 pkgname = modname 438 pkgname = modname.rpartition('.')[0] 439 globals['__package__'] = pkgname 441 dot = len(pkgname) 444 dot = pkgname.rindex('.', 0, dot) 448 pkgname = pkgname[:dot [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
ihooks.py | 418 pkgname = globals.get('__package__') 419 if pkgname is not None: 420 if not pkgname and level > 0: 429 pkgname = modname 438 pkgname = modname.rpartition('.')[0] 439 globals['__package__'] = pkgname 441 dot = len(pkgname) 444 dot = pkgname.rindex('.', 0, dot) 448 pkgname = pkgname[:dot [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
ihooks.py | 418 pkgname = globals.get('__package__') 419 if pkgname is not None: 420 if not pkgname and level > 0: 429 pkgname = modname 438 pkgname = modname.rpartition('.')[0] 439 globals['__package__'] = pkgname 441 dot = len(pkgname) 444 dot = pkgname.rindex('.', 0, dot) 448 pkgname = pkgname[:dot [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_repr.py | 218 self.pkgname = os.path.join(longname)
221 shutil.rmtree(self.pkgname, ignore_errors=True)
222 os.mkdir(self.pkgname)
223 touch(os.path.join(self.pkgname, '__init__'+os.extsep+'py'))
233 for dirpath, dirnames, filenames in os.walk(self.pkgname):
236 actions.append(self.pkgname)
248 touch(os.path.join(self.subpkgname, self.pkgname + os.extsep + 'py'))
|
test_pkg.py | 49 self.pkgname = None
58 if self.pkgname:
60 if self.pkgname in name.split('.')]
87 self.pkgname = descr[0][0]
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_repr.py | 218 self.pkgname = os.path.join(longname) 221 shutil.rmtree(self.pkgname, ignore_errors=True) 222 os.mkdir(self.pkgname) 223 touch(os.path.join(self.pkgname, '__init__'+os.extsep+'py')) 233 for dirpath, dirnames, filenames in os.walk(self.pkgname): 236 actions.append(self.pkgname) 248 touch(os.path.join(self.subpkgname, self.pkgname + os.extsep + 'py'))
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_repr.py | 218 self.pkgname = os.path.join(longname) 221 shutil.rmtree(self.pkgname, ignore_errors=True) 222 os.mkdir(self.pkgname) 223 touch(os.path.join(self.pkgname, '__init__'+os.extsep+'py')) 233 for dirpath, dirnames, filenames in os.walk(self.pkgname): 236 actions.append(self.pkgname) 248 touch(os.path.join(self.subpkgname, self.pkgname + os.extsep + 'py'))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_repr.py | 218 self.pkgname = os.path.join(longname) 221 shutil.rmtree(self.pkgname, ignore_errors=True) 222 os.mkdir(self.pkgname) 223 touch(os.path.join(self.pkgname, '__init__'+os.extsep+'py')) 233 for dirpath, dirnames, filenames in os.walk(self.pkgname): 236 actions.append(self.pkgname) 248 touch(os.path.join(self.subpkgname, self.pkgname + os.extsep + 'py'))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_repr.py | 218 self.pkgname = os.path.join(longname) 221 shutil.rmtree(self.pkgname, ignore_errors=True) 222 os.mkdir(self.pkgname) 223 touch(os.path.join(self.pkgname, '__init__'+os.extsep+'py')) 233 for dirpath, dirnames, filenames in os.walk(self.pkgname): 236 actions.append(self.pkgname) 248 touch(os.path.join(self.subpkgname, self.pkgname + os.extsep + 'py'))
|
/external/selinux/libselinux/src/android/ |
android.c | 727 const char *pkgname, 757 __FUNCTION__, uid, seinfo, pkgname); 822 if(!pkgname) 826 if (strncasecmp(pkgname, cur->name.str, cur->name.len-1)) 829 if (strcasecmp(pkgname, cur->name.str)) 906 __FUNCTION__, uid, seinfo, pkgname); 920 const char *pkgname, 941 rc = seapp_context_lookup(SEAPP_TYPE, uid, 0, seinfo, pkgname, NULL, ctx); 993 const char *pkgname) 1011 rc = seapp_context_lookup(SEAPP_DOMAIN, uid, isSystemServer, seinfo, pkgname, NULL, ctx) 1228 char *pkgname = NULL, *end = NULL; local [all...] |
/frameworks/native/cmds/installd/tests/ |
installd_utils_test.cpp | 327 char pkgname[pkgnameSize + 1]; local 328 memset(pkgname, 'a', pkgnameSize); 329 pkgname[1] = '.'; 330 pkgname[pkgnameSize] = '\0'; 332 EXPECT_EQ(0, create_pkg_path(path, pkgname, "", 0)) 338 EXPECT_STREQ(pkgname, path + offset)
|