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

1 2 3 4

  /frameworks/native/cmds/installd/
commands.h 33 int create_app_data(const char *uuid, const char *pkgname, userid_t userid, int flags,
35 int restorecon_app_data(const char* uuid, const char* pkgName, userid_t userid, int flags,
37 int migrate_app_data(const char *uuid, const char *pkgname, userid_t userid, int flags);
38 int clear_app_data(const char *uuid, const char *pkgname, userid_t userid, int flags,
40 int destroy_app_data(const char *uuid, const char *pkgname, userid_t userid, int flags,
46 int get_app_size(const char *uuid, const char *pkgname, int userid, int flags, ino_t ce_data_inode,
49 int get_app_data_inode(const char *uuid, const char *pkgname, int userid, int flags, ino_t *inode);
57 bool merge_profiles(uid_t uid, const char *pkgname);
59 bool dump_profile(uid_t uid, const char *pkgname, const char *dex_files);
63 const char *pkgName,
    [all...]
commands.cpp 103 const char* pkgname, const char* seinfo) {
108 if (selinux_android_setfilecon(path.c_str(), pkgname, seinfo, uid) < 0) {
116 uid_t uid, const char* pkgname, const char* seinfo) {
117 return prepare_app_dir(StringPrintf("%s/%s", parent.c_str(), name), target_mode, uid, pkgname,
121 int create_app_data(const char *uuid, const char *pkgname, userid_t userid, int flags,
126 auto path = create_data_user_ce_package_path(uuid, userid, pkgname);
127 if (prepare_app_dir(path, target_mode, uid, pkgname, seinfo) ||
128 prepare_app_dir(path, "cache", 0771, uid, pkgname, seinfo) ||
129 prepare_app_dir(path, "code_cache", 0771, uid, pkgname, seinfo)) {
141 auto path = create_data_user_de_package_path(uuid, userid, pkgname);
    [all...]
utils.h 69 const char *pkgname,
102 const char* pkgname,
106 int is_valid_package_name(const char* pkgname);
  /frameworks/base/services/core/java/com/android/server/pm/
Installer.java 85 public void createAppData(String uuid, String pkgname, int userid, int flags, int appid,
87 mInstaller.execute("create_app_data", uuid, pkgname, userid, flags, appid, seinfo,
91 public void restoreconAppData(String uuid, String pkgname, int userid, int flags, int appid,
93 mInstaller.execute("restorecon_app_data", uuid, pkgname, userid, flags, appid,
97 public void migrateAppData(String uuid, String pkgname, int userid, int flags)
99 mInstaller.execute("migrate_app_data", uuid, pkgname, userid, flags);
102 public void clearAppData(String uuid, String pkgname, int userid, int flags, long ceDataInode)
104 mInstaller.execute("clear_app_data", uuid, pkgname, userid, flags, ceDataInode);
107 public void destroyAppData(String uuid, String pkgname, int userid, int flags, long ceDataInode)
109 mInstaller.execute("destroy_app_data", uuid, pkgname, userid, flags, ceDataInode)
    [all...]
  /system/core/run-as/
run-as.c 112 const char* pkgname; local
142 pkgname = argv[1];
153 if (get_package_info(pkgname, userId, &info) < 0) {
154 panic("Package '%s' is unknown\n", pkgname);
167 panic("Package '%s' is not an application\n", pkgname);
172 panic("Package '%s' is not debuggable\n", pkgname);
177 panic("Package '%s' has corrupt installation\n", pkgname);
194 if (selinux_android_setcontext(uid, 0, info.seinfo, pkgname) < 0) {
  /external/e2fsprogs/contrib/
build-rpm 12 pkgname=`grep Name: e2fsprogs.spec | awk '{print $2;}'`
14 builddir=${pkgname}-${pkgvers}
  /frameworks/base/core/java/com/android/server/
SystemConfig.java 401 String pkgname = parser.getAttributeValue(null, "package"); local
402 if (pkgname == null) {
406 mAllowInPowerSaveExceptIdle.add(pkgname);
412 String pkgname = parser.getAttributeValue(null, "package"); local
413 if (pkgname == null) {
417 mAllowInPowerSave.add(pkgname);
423 String pkgname = parser.getAttributeValue(null, "package"); local
424 if (pkgname == null) {
428 mAllowInDataUsageSave.add(pkgname);
434 String pkgname = parser.getAttributeValue(null, "package") local
443 String pkgname = parser.getAttributeValue(null, "package"); local
452 String pkgname = parser.getAttributeValue(null, "package"); local
461 String pkgname = parser.getAttributeValue(null, "package"); local
492 String pkgname = parser.getAttributeValue(null, "package"); local
    [all...]
  /external/libselinux/include/selinux/
android.h 34 const char *pkgname,
  /prebuilts/go/darwin-x86/src/cmd/go/
vcs_test.go 44 "hub.jazz.net/git/user1/pkgname",
47 repo: "https://hub.jazz.net/git/user1/pkgname",
51 "hub.jazz.net/git/user1/pkgname/submodule/submodule/submodule",
54 repo: "https://hub.jazz.net/git/user1/pkgname",
70 "hub.jazz.net/someotherprefix/user1/pkgname",
75 "hub.jazz.net/git/User 1/pkgname",
84 "hub.jazz.net/git/user.1/pkgname",
96 "hub.jazz.net/git/USER/pkgname",
  /prebuilts/go/linux-x86/src/cmd/go/
vcs_test.go 44 "hub.jazz.net/git/user1/pkgname",
47 repo: "https://hub.jazz.net/git/user1/pkgname",
51 "hub.jazz.net/git/user1/pkgname/submodule/submodule/submodule",
54 repo: "https://hub.jazz.net/git/user1/pkgname",
70 "hub.jazz.net/someotherprefix/user1/pkgname",
75 "hub.jazz.net/git/User 1/pkgname",
84 "hub.jazz.net/git/user.1/pkgname",
96 "hub.jazz.net/git/USER/pkgname",
  /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...]
  /frameworks/native/cmds/installd/tests/
installd_utils_test.cpp 318 char pkgname[pkgnameSize + 1]; local
319 memset(pkgname, 'a', pkgnameSize);
320 pkgname[pkgnameSize] = '\0';
322 EXPECT_EQ(0, create_pkg_path(path, pkgname, "", 0))
328 EXPECT_STREQ(pkgname, path + offset)
337 char pkgname[pkgnameSize + 1]; local
338 memset(pkgname, 'a', pkgnameSize);
339 pkgname[pkgnameSize] = '\0';
341 EXPECT_EQ(-1, create_pkg_path(path, pkgname, "", 0))
  /external/libselinux/src/
android.c 664 const char *pkgname,
740 if(!pkgname)
744 if (strncasecmp(pkgname, cur->name.str, cur->name.len-1))
747 if (strcasecmp(pkgname, cur->name.str))
821 __FUNCTION__, uid, seinfo, pkgname);
835 const char *pkgname,
856 rc = seapp_context_lookup(SEAPP_TYPE, uid, 0, seinfo, pkgname, NULL, ctx);
908 const char *pkgname)
926 rc = seapp_context_lookup(SEAPP_DOMAIN, uid, isSystemServer, seinfo, pkgname, NULL, ctx);
1019 static unsigned int pkghash(const char *pkgname)
1114 char *pkgname = NULL, *end = NULL; local
    [all...]
  /libcore/ojluni/src/main/java/java/net/
URLClassLoader.java 380 private Package getAndVerifyPackage(String pkgname,
382 Package pkg = getPackage(pkgname);
389 "sealing violation: package " + pkgname + " is sealed");
394 if ((man != null) && isSealed(pkgname, man)) {
396 "sealing violation: can't seal package " + pkgname +
414 String pkgname = name.substring(0, i);
417 if (getAndVerifyPackage(pkgname, man, url) == null) {
420 definePackage(pkgname, man, url);
422 definePackage(pkgname, null, null, null, null, null, null, null);
427 if (getAndVerifyPackage(pkgname, man, url) == null)
    [all...]
  /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'))
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/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'))
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/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'))
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/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'))
test_pkg.py 49 self.pkgname = None
58 if self.pkgname:
60 if self.pkgname in name.split('.')]
87 self.pkgname = descr[0][0]

Completed in 2403 milliseconds

1 2 3 4