Home
last modified time | relevance | path

Searched refs:seinfo (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DSELinuxMMAC.java100 private String seinfo; field in SELinuxMMAC.Policy
104 seinfo = null; in Policy()
109 seinfo = seinfoValue; in putSeinfo()
119 return (seinfo != null) || (!pkgMap.isEmpty()); in isValid()
130 return seinfo; in checkPolicy()
225 String seinfo = parseSeinfo(parser); in readPolicyTags() local
226 if (seinfo != null) { in readPolicyTags()
227 policy.putSeinfo(seinfo); in readPolicyTags()
239 String seinfo = readSeinfoTag(parser); in readPolicyTags() local
240 if (seinfo != null) { in readPolicyTags()
[all …]
DInstaller.java44 public int install(String name, int uid, int gid, String seinfo) { in install() argument
53 builder.append(seinfo != null ? seinfo : "!"); in install()
183 public int createUserData(String name, int uid, int userId, String seinfo) { in createUserData() argument
192 builder.append(seinfo != null ? seinfo : "!"); in createUserData()
322 public boolean restoreconData(String pkgName, String seinfo, int uid) { in restoreconData() argument
327 builder.append(seinfo != null ? seinfo : "!"); in restoreconData()
DPackageManagerService.java5102 private int createDataDirsLI(String packageName, int uid, String seinfo) { in createDataDirsLI() argument
5104 int res = mInstaller.install(packageName, uid, uid, seinfo); in createDataDirsLI()
5111 UserHandle.getUid(user, uid), user, seinfo); in createDataDirsLI()
5647 pkg.applicationInfo.seinfo); in scanPackageDirtyLI()
5690 mInstaller.restoreconData(pkg.packageName, pkg.applicationInfo.seinfo, in scanPackageDirtyLI()
5700 pkg.applicationInfo.seinfo); in scanPackageDirtyLI()
DSettings.java1696 sb.append(ai.seinfo); in writeLPr()
3069 ps.pkg.applicationInfo.seinfo); in createNewUserLILPw()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java472 public String seinfo; field in ApplicationInfo
619 if (seinfo != null) { in dump()
620 pw.println(prefix + "seinfo=" + seinfo); in dump()
699 seinfo = orig.seinfo; in ApplicationInfo()
749 dest.writeString(seinfo); in writeToParcel()
798 seinfo = source.readString(); in ApplicationInfo()
/frameworks/native/cmds/installd/
Dinstalld.h205 int install(const char *pkgname, uid_t uid, gid_t gid, const char *seinfo);
210 int make_user_data(const char *pkgname, uid_t uid, userid_t userid, const char* seinfo);
Dcommands.c34 int install(const char *pkgname, uid_t uid, gid_t gid, const char *seinfo) in install() argument
90 if (selinux_android_setfilecon(pkgdir, pkgname, seinfo, uid) < 0) { in install()
191 int make_user_data(const char *pkgname, uid_t uid, userid_t userid, const char* seinfo) in make_user_data() argument
245 if (selinux_android_setfilecon(pkgdir, pkgname, seinfo, uid) < 0) { in make_user_data()
1554 int restorecon_data(const char* pkgName, const char* seinfo, uid_t uid) in restorecon_data() argument
1567 if (!pkgName || !seinfo) { in restorecon_data()
1577 if (selinux_android_restorecon_pkgdir(primarydir, seinfo, uid, flags) < 0) { in restorecon_data()
1621 if (selinux_android_restorecon_pkgdir(pkgdir, seinfo, uid, flags) < 0) { in restorecon_data()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java3015 app.info.targetSdkVersion, app.info.seinfo, requiredAbi, instructionSet, in startProcessLocked()