Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DSELinuxMMAC.java183 String seinfo = parser.getAttributeValue(null, "value"); in readSignerOrThrow() local
184 pb.setGlobalSeinfoOrThrow(seinfo); in readSignerOrThrow()
226 String seinfo = parser.getAttributeValue(null, "value"); in readPackageOrThrow() local
227 pb.addInnerPackageMapOrThrow(pkgName, seinfo); in readPackageOrThrow()
276 String seinfo = policy.getMatchedSeinfo(pkg); in assignSeinfoValue() local
277 if (seinfo != null) { in assignSeinfoValue()
278 pkg.applicationInfo.seinfo = seinfo; in assignSeinfoValue()
285 pkg.applicationInfo.seinfo += AUTOPLAY_APP_STR; in assignSeinfoValue()
288 pkg.applicationInfo.seinfo += PRIVILEGED_APP_STR; in assignSeinfoValue()
292 "seinfo=" + pkg.applicationInfo.seinfo); in assignSeinfoValue()
[all …]
DInstaller.java86 String seinfo, int targetSdkVersion) throws InstallerException { in createAppData() argument
87 mInstaller.execute("create_app_data", uuid, pkgname, userid, flags, appid, seinfo, in createAppData()
92 String seinfo) throws InstallerException { in restoreconAppData() argument
94 seinfo); in restoreconAppData()
113 String data_app_name, int appid, String seinfo, int targetSdkVersion) in moveCompleteApp() argument
116 data_app_name, appid, seinfo, targetSdkVersion); in moveCompleteApp()
DProcessLoggingHandler.java54 String seinfo = bundle.getString("seinfo"); in handleMessage() local
60 startTimestamp, uid, pid, seinfo, apkHash); in handleMessage()
DPackageManagerService.java12798 final String seinfo; field in PackageManagerService.MoveInfo
12802 String dataAppName, int appId, String seinfo, int targetSdkVersion) { in MoveInfo() argument
12809 this.seinfo = seinfo; in MoveInfo()
13991 move.dataAppName, move.appId, move.seinfo, move.targetSdkVersion); in copyApk()
20019 Preconditions.checkNotNull(app.seinfo); in prepareAppDataLeafLIF()
20023 appId, app.seinfo, app.targetSdkVersion); in prepareAppDataLeafLIF()
20031 appId, app.seinfo, app.targetSdkVersion); in prepareAppDataLeafLIF()
20278 final String seinfo; in movePackageInternal() local
20333 seinfo = pkg.applicationInfo.seinfo; in movePackageInternal()
20461 dataAppName, appId, seinfo, targetSdkVersion); in movePackageInternal()
[all …]
DSettings.java2542 sb.append(ai.seinfo); in writePackageListLPr()
3980 seinfos[i] = ps.pkg.applicationInfo.seinfo; in createNewUserLI()
/frameworks/native/cmds/installd/
Dcommands.h34 appid_t appid, const char* seinfo, int target_sdk_version);
36 appid_t appid, const char* seinfo);
44 const char *data_app_name, appid_t appid, const char* seinfo, int target_sdk_version);
Dcommands.cpp107 static int restorecon_app_data_lazy(const std::string& path, const char* seinfo, uid_t uid) { in restorecon_app_data_lazy() argument
119 if (selinux_android_restorecon_pkgdir(path.c_str(), seinfo, uid, 0) < 0) { in restorecon_app_data_lazy()
133 if (selinux_android_restorecon_pkgdir(path.c_str(), seinfo, uid, in restorecon_app_data_lazy()
149 static int restorecon_app_data_lazy(const std::string& parent, const char* name, const char* seinfo, in restorecon_app_data_lazy() argument
151 return restorecon_app_data_lazy(StringPrintf("%s/%s", parent.c_str(), name), seinfo, uid); in restorecon_app_data_lazy()
168 appid_t appid, const char* seinfo, int target_sdk_version) { in create_app_data() argument
180 if (restorecon_app_data_lazy(path, seinfo, uid) || in create_app_data()
181 restorecon_app_data_lazy(path, "cache", seinfo, uid) || in create_app_data()
182 restorecon_app_data_lazy(path, "code_cache", seinfo, uid)) { in create_app_data()
201 if (restorecon_app_data_lazy(path, seinfo, uid)) { in create_app_data()
[all …]
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java618 public String seinfo = "default"; field in ApplicationInfo
812 if ((flags&DUMP_FLAG_DETAILS) != 0 && seinfo != null) { in dump()
813 pw.println(prefix + "seinfo=" + seinfo); in dump()
917 seinfo = orig.seinfo; in ApplicationInfo()
973 dest.writeString(seinfo); in writeToParcel()
1029 seinfo = source.readString(); in ApplicationInfo()
DIPackageManager.aidl321 void logAppProcessStartIfNeeded(String processName, int uid, String seinfo, String apkFile, in logAppProcessStartIfNeeded() argument
/frameworks/base/core/java/android/app/admin/
DSecurityLogTags.logtags9 …_app_process_start (process|3),(start_time|2|3),(uid|1),(pid|1),(seinfo|3),(sha256|3)
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java3808 app.info.targetSdkVersion, app.info.seinfo, requiredAbi, instructionSet, in startProcessLocked()
3823 app.info.seinfo, app.info.sourceDir, startResult.pid); in startProcessLocked()