HomeSort by relevance Sort by last modified time
    Searched refs:pkgname (Results 1 - 25 of 106) sorted by null

1 2 3 4 5

  /frameworks/native/cmds/installd/
dexopt.h 35 bool clear_primary_reference_profile(const std::string& pkgname);
37 bool clear_primary_current_profile(const std::string& pkgname, userid_t user);
39 bool clear_primary_current_profiles(const std::string& pkgname);
49 bool analyze_primary_profiles(uid_t uid, const std::string& pkgname);
51 bool dump_profiles(int32_t uid, const std::string& pkgname, const char* code_paths);
60 const std::string& pkgname, int uid, const std::vector<std::string>& isas,
64 int dexopt(const char *apk_path, uid_t uid, const char *pkgName, const char *instruction_set,
utils.h 52 const char *pkgname,
100 const char* pkgname,
127 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);
761 bool analyze_primary_profiles(uid_t uid, const std::string& pkgname) {
762 return analyze_profiles(uid, pkgname, /*is_secondary_dex*/false)
    [all...]
InstalldNativeService.cpp 354 const char* pkgname = packageName.c_str(); local
369 auto path = create_data_user_ce_package_path(uuid_, userId, pkgname);
400 auto path = create_data_user_de_package_path(uuid_, userId, pkgname);
422 create_primary_current_profile_package_dir_path(userId, pkgname);
427 const std::string profile_file = create_current_profile_path(userId, pkgname,
434 create_primary_reference_profile_package_dir_path(pkgname);
455 const char* pkgname = packageName.c_str(); local
462 auto ce_path = create_data_user_ce_package_path(uuid_, userId, pkgname);
463 auto de_path = create_data_user_de_package_path(uuid_, userId, pkgname);
515 const char* pkgname = packageName.c_str() local
595 const char* pkgname = packageName.c_str(); local
1416 const char* pkgname = packageNames[i].c_str(); local
1802 const char* pkgname = packageName.c_str(); local
1844 const char* pkgname = packageName ? packageName->c_str() : "*"; local
1907 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);
200 if (selinux_android_setcontext(uid, 0, info.seinfo, pkgname) < 0) {
  /frameworks/base/core/java/com/android/server/
SystemConfig.java 439 String pkgname = parser.getAttributeValue(null, "package"); local
440 if (pkgname == null) {
444 mAllowInPowerSaveExceptIdle.add(pkgname);
450 String pkgname = parser.getAttributeValue(null, "package"); local
451 if (pkgname == null) {
455 mAllowInPowerSave.add(pkgname);
461 String pkgname = parser.getAttributeValue(null, "package"); local
462 if (pkgname == null) {
466 mAllowInDataUsageSave.add(pkgname);
472 String pkgname = parser.getAttributeValue(null, "package") local
494 String pkgname = parser.getAttributeValue(null, "package"); local
503 String pkgname = parser.getAttributeValue(null, "package"); local
512 String pkgname = parser.getAttributeValue(null, "package"); local
521 String pkgname = parser.getAttributeValue(null, "package"); local
552 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...]
  /external/python/cpython2/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...]
  /external/selinux/libselinux/src/android/
android_platform.c 791 const char *pkgname,
821 __FUNCTION__, uid, seinfo, pkgname);
886 if(!pkgname)
890 if (strncasecmp(pkgname, cur->name.str, cur->name.len-1))
893 if (strcasecmp(pkgname, cur->name.str))
970 __FUNCTION__, uid, seinfo, pkgname);
984 const char *pkgname,
1005 rc = seapp_context_lookup(SEAPP_TYPE, uid, 0, seinfo, pkgname, NULL, ctx);
1057 const char *pkgname)
1075 rc = seapp_context_lookup(SEAPP_DOMAIN, uid, isSystemServer, seinfo, pkgname, NULL, ctx)
1227 char *pkgname = NULL, *end = NULL; local
    [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'))
  /external/python/cpython2/Lib/test/
test_repr.py 225 self.pkgname = os.path.join(longname)
228 shutil.rmtree(self.pkgname, ignore_errors=True)
229 os.mkdir(self.pkgname)
230 touch(os.path.join(self.pkgname, '__init__'+os.extsep+'py'))
240 for dirpath, dirnames, filenames in os.walk(self.pkgname):
243 actions.append(self.pkgname)
255 touch(os.path.join(self.subpkgname, self.pkgname + os.extsep + 'py'))
  /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'))

Completed in 1456 milliseconds

1 2 3 4 5