Home
last modified time | relevance | path

Searched refs:seInfo (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/rollback/
DAppDataRollbackHelper.java88 int userId, int appId, String seInfo) { in restoreAppData() argument
107 pendingRestores.add(new RestoreInfo(userId, appId, seInfo)); in restoreAppData()
115 doRestoreOrWipe(packageRollbackInfo, userId, rollbackId, appId, seInfo, storageFlags); in restoreAppData()
143 int rollbackId, int appId, String seInfo, int flags) { in doRestoreOrWipe() argument
170 appId, seInfo, userId, rollbackId, flags); in doRestoreOrWipe() local
261 ri.appId, ri.seInfo, Installer.FLAG_STORAGE_CE)) { in commitPendingBackupAndRestoreForUser()
DRollbackManagerInternal.java43 int appId, long ceDataInode, @NonNull String seInfo, int token); in snapshotAndRestoreUserData() argument
DRollbackManagerServiceImpl.java913 long ceDataInode, String seInfo, int token) {
916 ceDataInode, seInfo, token);
922 long ceDataInode, String seInfo, int token) {
932 restoreUserDataInternal(packageName, userIds, appId, seInfo);
958 String packageName, int[] userIds, int appId, String seInfo) {
967 packageName, userIds, appId, seInfo, mAppDataRollbackHelper)) {
DRollback.java689 String seInfo, AppDataRollbackHelper dataHelper) { in restoreUserDataForPackageIfInProgress() argument
702 info.getRollbackId(), pkgRollbackInfo, userId, appId, seInfo); in restoreUserDataForPackageIfInProgress()
/frameworks/base/services/core/java/com/android/server/pm/
DInstaller.java196 int userId, int flags, int appId, String seInfo, int targetSdkVersion) { in buildCreateAppDataArgs() argument
203 args.seInfo = seInfo; in buildCreateAppDataArgs()
222 String seInfo, int targetSdkVersion) throws InstallerException { in createAppData() argument
224 appId, seInfo, targetSdkVersion); in createAppData()
288 String packageName, int userId, int flags, int appId, String seInfo, in createAppData() argument
293 appId, seInfo, targetSdkVersion); in createAppData()
334 String seInfo) throws InstallerException { in restoreconAppData() argument
337 mInstalld.restoreconAppData(uuid, packageName, userId, flags, appId, seInfo); in restoreconAppData()
383 int appId, String seInfo, int targetSdkVersion, in moveCompleteApp() argument
387 mInstalld.moveCompleteApp(fromUuid, toUuid, packageName, appId, seInfo, in moveCompleteApp()
[all …]
DSELinuxMMAC.java412 String seInfo = null; in getSeInfo() local
420 seInfo = policy.getMatchedSeInfo(pkg); in getSeInfo()
421 if (seInfo != null) { in getSeInfo()
428 if (seInfo == null) { in getSeInfo()
429 seInfo = DEFAULT_SEINFO; in getSeInfo()
433 seInfo += PRIVILEGED_APP_STR; in getSeInfo()
436 seInfo += TARGETSDKVERSION_STR + targetSdkVersion; in getSeInfo()
440 + "seinfo=" + seInfo); in getSeInfo()
442 return seInfo; in getSeInfo()
DOtaDexoptService.java293 @Nullable String sharedLibraries, @Nullable String seInfo, boolean downgrade, in generatePackageDexopts()
314 encodeParameter(builder, seInfo); in generatePackageDexopts()
DPackageDexOptimizer.java342 String seInfo = AndroidPackageUtils.getSeInfo(pkg, pkgSetting); in dexOptPath() local
345 seInfo, false /* downgrade*/, pkg.getTargetSdkVersion(), in dexOptPath()
528 compilerFilter, info.volumeUuid, classLoaderContext, info.seInfo, in dexOptSecondaryDexPathLI()
/frameworks/base/core/java/android/content/rollback/
DPackageRollbackInfo.java48 public final String seInfo; field in PackageRollbackInfo.RestoreInfo
50 public RestoreInfo(int userId, int appId, String seInfo) { in RestoreInfo() argument
53 this.seInfo = seInfo; in RestoreInfo()
DIRollbackManager.aidl36 String seInfo, int token); in snapshotAndRestoreUserData() argument
/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/
DPackageImpl.java114 protected String seInfo; field in PackageImpl
420 public PackageImpl setSeInfo(@Nullable String seInfo) { in setSeInfo() argument
421 this.seInfo = TextUtils.safeIntern(seInfo); in setSeInfo()
527 appInfo.seInfo = seInfo; in toAppInfoWithoutState()
548 dest.writeString(this.seInfo); in writeToParcel()
563 this.seInfo = in.readString(); in PackageImpl()
631 return seInfo; in getSeInfo()
DParsedPackage.java102 ParsedPackage setSeInfo(String seInfo); in setSeInfo() argument
/frameworks/native/cmds/installd/binder/android/os/
DIInstalld.aidl28 int userId, int flags, int appId, @utf8InCpp String seInfo); in restoreconAppData() argument
56 @utf8InCpp String seInfo, int targetSdkVersion, @utf8InCpp String fromCodePath); in moveCompleteApp() argument
63 @nullable @utf8InCpp String seInfo, boolean downgrade, int targetSdkVersion, in dexopt() argument
117 int appId, @utf8InCpp String seInfo, int user, int snapshotId, int storageflags); in restoreAppDataSnapshot() argument
DCreateAppDataArgs.aidl26 @utf8InCpp String seInfo;
/frameworks/native/cmds/installd/
DInstalldNativeService.h50 const std::string& seInfo, int32_t targetSdkVersion, int64_t* _aidl_return);
61 const std::string& seInfo);
75 const std::string& packageName, const int32_t appId, const std::string& seInfo,
109 int32_t appId, const std::string& seInfo,
117 const std::optional<std::string>& seInfo, bool downgrade,
DInstalldNativeService.cpp321 static int restorecon_app_data_lazy(const std::string& path, const std::string& seInfo, uid_t uid, in restorecon_app_data_lazy() argument
334 if (selinux_android_restorecon_pkgdir(path.c_str(), seInfo.c_str(), uid, 0) < 0) { in restorecon_app_data_lazy()
350 if (selinux_android_restorecon_pkgdir(path.c_str(), seInfo.c_str(), uid, in restorecon_app_data_lazy()
367 const std::string& seInfo, uid_t uid, bool existing) { in restorecon_app_data_lazy() argument
368 return restorecon_app_data_lazy(StringPrintf("%s/%s", parent.c_str(), name), seInfo, uid, in restorecon_app_data_lazy()
429 const std::string& seInfo, int32_t targetSdkVersion, int64_t* _aidl_return) { in createAppData() argument
461 if (restorecon_app_data_lazy(path, seInfo, uid, existing) || in createAppData()
462 restorecon_app_data_lazy(path, "cache", seInfo, uid, existing) || in createAppData()
463 restorecon_app_data_lazy(path, "code_cache", seInfo, uid, existing)) { in createAppData()
495 if (restorecon_app_data_lazy(path, seInfo, uid, existing) || in createAppData()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DZygote.java340 int[][] rlimits, int mountExternal, String seInfo, String niceName, int[] fdsToClose, in forkAndSpecialize() argument
347 uid, gid, gids, runtimeFlags, rlimits, mountExternal, seInfo, niceName, fdsToClose, in forkAndSpecialize()
369 int runtimeFlags, int[][] rlimits, int mountExternal, String seInfo, String niceName, in nativeForkAndSpecialize() argument
405 int[][] rlimits, int mountExternal, String seInfo, String niceName, in specializeAppProcess() argument
409 nativeSpecializeAppProcess(uid, gid, gids, runtimeFlags, rlimits, mountExternal, seInfo, in specializeAppProcess()
434 int runtimeFlags, int[][] rlimits, int mountExternal, String seInfo, String niceName, in nativeSpecializeAppProcess() argument
DZygoteInit.java698 final String seInfo = null; in performSystemServerDexOpt() local
707 uuid, classLoaderContext, seInfo, false /* downgrade */, in performSystemServerDexOpt()
/frameworks/base/core/java/android/os/
DProcess.java663 @Nullable String seInfo, in start() argument
680 runtimeFlags, mountExternal, targetSdkVersion, seInfo, in start()
694 @Nullable String seInfo, in startWebView() argument
705 runtimeFlags, mountExternal, targetSdkVersion, seInfo, in startWebView()
DZygoteProcess.java350 @Nullable String seInfo, in start() argument
373 runtimeFlags, mountExternal, targetSdkVersion, seInfo, in start()
632 @Nullable String seInfo, in startViaZygote() argument
690 if (seInfo != null) { in startViaZygote()
691 argsForZygote.add("--seinfo=" + seInfo); in startViaZygote()
1296 String seInfo, in startChildZygote() argument
1316 gids, runtimeFlags, 0 /* mountExternal */, 0 /* targetSdkVersion */, seInfo, in startChildZygote()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java988 public String seInfo; field in ApplicationInfo
1572 if ((dumpFlags & DUMP_FLAG_DETAILS) != 0 && seInfo != null) { in dump()
1573 pw.println(prefix + "seinfo=" + seInfo); in dump()
1708 if (seInfo != null) { in dumpDebug()
1709 proto.write(ApplicationInfoProto.Detail.SEINFO, seInfo); in dumpDebug()
1832 seInfo = orig.seInfo; in ApplicationInfo()
1922 dest.writeString8(seInfo); in writeToParcel()
2009 seInfo = source.readString8(); in ApplicationInfo()
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java367 void setStartParams(int startUid, HostingRecord hostingRecord, String seInfo, in setStartParams() argument
371 this.mSeInfo = seInfo; in setStartParams()
663 void setSeInfo(String seInfo) { in setSeInfo() argument
664 mSeInfo = seInfo; in setSeInfo()
DProcessList.java2019 final String seInfo = app.info.seInfo
2026 runtimeFlags, zygotePolicyFlags, mountExternal, seInfo, requiredAbi,
2046 String seInfo, String requiredAbi, String instructionSet, String invokeWith,
2068 app.setStartParams(uid, hostingRecord, seInfo, startTime);
2084 uid, gids, runtimeFlags, zygotePolicyFlags, mountExternal, seInfo,
2299 int mountExternal, String seInfo, String requiredAbi, String instructionSet,
2378 app.info.targetSdkVersion, seInfo, requiredAbi, instructionSet,
2388 app.info.targetSdkVersion, seInfo, requiredAbi, instructionSet,
2398 app.info.targetSdkVersion, seInfo, requiredAbi, instructionSet,
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DRollbackStoreTest.java66 && Objects.equals(a.seInfo, b.seInfo);
DAppDataRollbackHelperTest.java172 assertEquals("seinfo", pendingRestores.get(0).seInfo); in testRestoreAppDataSnapshot_availableBackupForLockedUser()

12