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

  /frameworks/base/cmds/installd/
installd.h 97 const char* pkgname,
101 const char *pkgname,
108 int is_valid_package_name(const char* pkgname);
135 int install(const char *pkgname, uid_t uid, gid_t gid);
136 int uninstall(const char *pkgname, uid_t persona);
138 int delete_user_data(const char *pkgname, uid_t persona);
139 int make_user_data(const char *pkgname, uid_t uid, uid_t persona);
141 int delete_cache(const char *pkgname);
144 int protect(char *pkgname, gid_t gid);
145 int get_size(const char *pkgname, const char *apkpath, const char *fwdlock_apkpath
    [all...]
utils.c 21 const char* pkgname,
26 const size_t pkgname_len = strlen(pkgname);
31 if (is_valid_package_name(pkgname) < 0) {
43 || append_and_increment(&dst, pkgname, &dst_size) < 0
57 const char *pkgname,
95 return create_pkg_path_in_dir(path, &dir, pkgname, postfix);
142 int is_valid_package_name(const char* pkgname) {
143 const char *x = pkgname;
150 if ((x == pkgname) || (x[1] == '.') || (x[1] == 0)) {
152 LOGE("invalid package name '%s'\n", pkgname);
    [all...]
commands.c 27 int install(const char *pkgname, uid_t uid, gid_t gid)
37 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, 0)) {
42 if (create_pkg_path(libdir, pkgname, PKG_LIB_POSTFIX, 0)) {
81 int uninstall(const char *pkgname, uid_t persona)
85 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, persona))
109 int delete_user_data(const char *pkgname, uid_t persona)
113 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, persona))
120 int make_user_data(const char *pkgname, uid_t uid, uid_t persona)
126 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, persona)) {
151 int delete_cache(const char *pkgname)
    [all...]
  /system/core/run-as/
run-as.c 104 const char* pkgname; local
119 pkgname = argv[1];
120 if (get_package_info(pkgname, &info) < 0) {
121 panic("Package '%s' is unknown\n", pkgname);
127 panic("Package '%s' is not an application\n", pkgname);
133 panic("Package '%s' is not debuggable\n", pkgname);
139 panic("Package '%s' has corrupt installation\n", pkgname);
  /external/e2fsprogs/contrib/
build-rpm 12 pkgname=`grep Name: e2fsprogs.spec | awk '{print $2;}'`
14 builddir=${pkgname}-${pkgvers}
  /frameworks/base/cmds/installd/tests/
installd_utils_test.cpp 257 char pkgname[pkgnameSize + 1]; local
258 memset(pkgname, 'a', pkgnameSize);
259 pkgname[pkgnameSize] = '\0';
261 EXPECT_EQ(0, create_pkg_path(path, pkgname, "", 0))
266 EXPECT_STREQ(pkgname, path + offset)
275 char pkgname[pkgnameSize + 1]; local
276 memset(pkgname, 'a', pkgnameSize);
277 pkgname[pkgnameSize] = '\0';
279 EXPECT_EQ(-1, create_pkg_path(path, pkgname, "", 0))
  /external/webkit/Tools/wx/packaging/
build-mac-installer.py 56 pkgname = "wxWebKit-%s-wx%s-py%s-%s" % (platform, wx_version[:3], py_version, date) variable
58 tempdir = "/tmp/%s" % (pkgname)
145 if os.path.exists(pkgname + ".pkg"):
146 shutil.rmtree(pkgname + ".pkg")
148 pkg_args = ['--title ' + pkgname,
149 '--out %s.pkg' % pkgname,

Completed in 107 milliseconds