/external/libselinux/include/selinux/ |
android.h | 25 const char *pkgname, 29 const char *pkgname,
|
/system/core/run-as/ |
run-as.c | 110 const char* pkgname; local 125 pkgname = argv[1]; 126 if (get_package_info(pkgname, &info) < 0) { 127 panic("Package '%s' is unknown\n", pkgname); 133 panic("Package '%s' is not an application\n", pkgname); 139 panic("Package '%s' is not debuggable\n", pkgname); 145 panic("Package '%s' has corrupt installation\n", pkgname); 158 if (selinux_android_setcontext(uid, 0, info.seinfo, pkgname) < 0) {
|
/frameworks/native/cmds/installd/ |
installd.h | 132 const char* pkgname, 136 const char *pkgname, 146 const char* pkgname, 150 int is_valid_package_name(const char* pkgname); 192 int install(const char *pkgname, uid_t uid, gid_t gid, const char *seinfo); 193 int uninstall(const char *pkgname, userid_t userid); 195 int fix_uid(const char *pkgname, uid_t uid, gid_t gid); 196 int delete_user_data(const char *pkgname, userid_t userid); 197 int make_user_data(const char *pkgname, uid_t uid, userid_t userid); 199 int delete_cache(const char *pkgname, userid_t userid) [all...] |
commands.c | 31 int install(const char *pkgname, uid_t uid, gid_t gid, const char *seinfo) 43 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, 0)) { 48 if (create_pkg_path(libsymlink, pkgname, PKG_LIB_POSTFIX, 0)) { 53 if (create_pkg_path_in_dir(applibdir, &android_app_lib_dir, pkgname, PKG_DIR_POSTFIX)) { 94 if (selinux_android_setfilecon2(pkgdir, pkgname, seinfo, uid) < 0) { 111 int uninstall(const char *pkgname, userid_t userid) 115 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, userid)) 139 int fix_uid(const char *pkgname, uid_t uid, gid_t gid) 150 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, 0)) { 176 int delete_user_data(const char *pkgname, userid_t userid [all...] |
utils.c | 23 const char* pkgname, 28 const size_t pkgname_len = strlen(pkgname); 33 if (is_valid_package_name(pkgname) < 0) { 45 || append_and_increment(&dst, pkgname, &dst_size) < 0 59 const char *pkgname, 98 return create_pkg_path_in_dir(path, &dir, pkgname, postfix); 153 const char* pkgname, 157 if ((android_data_dir.len + strlen(PRIMARY_USER_PREFIX) + strlen(pkgname) + strlen(leaf) + 1) 162 sprintf(path, "%s%s%s/%s", android_data_dir.path, PRIMARY_USER_PREFIX, pkgname, leaf); 170 int is_valid_package_name(const char* pkgname) { [all...] |
/external/e2fsprogs/contrib/ |
build-rpm | 12 pkgname=`grep Name: e2fsprogs.spec | awk '{print $2;}'` 14 builddir=${pkgname}-${pkgvers}
|
/frameworks/native/cmds/installd/tests/ |
installd_utils_test.cpp | 267 char pkgname[pkgnameSize + 1]; local 268 memset(pkgname, 'a', pkgnameSize); 269 pkgname[pkgnameSize] = '\0'; 271 EXPECT_EQ(0, create_pkg_path(path, pkgname, "", 0)) 276 EXPECT_STREQ(pkgname, path + offset) 285 char pkgname[pkgnameSize + 1]; local 286 memset(pkgname, 'a', pkgnameSize); 287 pkgname[pkgnameSize] = '\0'; 289 EXPECT_EQ(-1, create_pkg_path(path, pkgname, "", 0))
|
/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...] |
modulefinder.py | 553 pkgname = name[:i] 554 pkg = self.modules.get(pkgname) 556 if pkgname in self.badmodules[name]:
|
/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...] |
modulefinder.py | 553 pkgname = name[:i] 554 pkg = self.modules.get(pkgname) 556 if pkgname in self.badmodules[name]:
|
/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]
|
/external/libselinux/src/ |
android.c | 336 const char *pkgname, 390 if (!pkgname || strcasecmp(pkgname, cur->name)) 459 __FUNCTION__, uid, seinfo, pkgname); 473 const char *pkgname, 496 rc = seapp_context_lookup(SEAPP_TYPE, uid, 0, seinfo, pkgname, ctx); 533 const char *pkgname, 536 return selinux_android_setfilecon2(pkgdir, pkgname, NULL, uid); 542 const char *pkgname) 562 rc = seapp_context_lookup(SEAPP_DOMAIN, uid, isSystemServer, seinfo, pkgname, ctx) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
NotificationStation.java | 187 public CharSequence pkgname; field in class:NotificationStation.HistoricalNotificationInfo 213 info.pkgname = loadPackageName(info.pkg); 225 info.title = info.pkgname; 333 ((TextView) row.findViewById(R.id.pkgname)).setText(info.pkgname);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
pimp.py | [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
FragmentActivity.java | 732 String pkgname; local 735 pkgname="app"; 738 pkgname="android"; 741 pkgname = r.getResourcePackageName(id); 747 out.append(pkgname); [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
dist.py | [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
dist.py | [all...] |
/frameworks/base/core/java/android/view/ |
View.java | 4019 String pkgname; local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.osgi_3.6.1.R36x_v20100806.jar | |
org.eclipse.osgi_3.6.2.R36x_v20101103.jar | |
/prebuilts/tools/common/eclipse/ |
org.eclipse.osgi_3.6.2.R36x_v20110210.jar | |