Home
last modified time | relevance | path

Searched refs:seInfo (Results 1 – 25 of 40) 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.java993 long ceDataInode, String seInfo, int token) {
996 ceDataInode, seInfo, token);
1002 long ceDataInode, String seInfo, int token) {
1012 restoreUserDataInternal(packageName, userIds, appId, seInfo);
1038 String packageName, int[] userIds, int appId, String seInfo) {
1047 packageName, userIds, appId, seInfo, mAppDataRollbackHelper)) {
DRollback.java706 String seInfo, AppDataRollbackHelper dataHelper) { in restoreUserDataForPackageIfInProgress() argument
719 info.getRollbackId(), pkgRollbackInfo, userId, appId, seInfo); in restoreUserDataForPackageIfInProgress()
/frameworks/base/services/core/java/com/android/server/pm/
DSELinuxMMAC.java435 String seInfo = null; in getSeInfo() local
443 seInfo = policy.getMatchedSeInfo(pkg); in getSeInfo()
444 if (seInfo != null) { in getSeInfo()
451 if (seInfo == null) { in getSeInfo()
452 seInfo = DEFAULT_SEINFO; in getSeInfo()
456 seInfo += PRIVILEGED_APP_STR; in getSeInfo()
459 seInfo += TARGETSDKVERSION_STR + targetSdkVersion; in getSeInfo()
463 seInfo += PARTITION_STR + partition; in getSeInfo()
468 + "seinfo=" + seInfo); in getSeInfo()
470 return seInfo; in getSeInfo()
DMoveInfo.java30 int appId, String seInfo, int targetSdkVersion, in MoveInfo() argument
37 mSeInfo = seInfo; in MoveInfo()
DInstaller.java233 int userId, int flags, int appId, String seInfo, int targetSdkVersion, in buildCreateAppDataArgs() argument
244 args.seInfo = seInfo; in buildCreateAppDataArgs()
260 String seInfo, int flags) { in buildReconcileSdkDataArgs() argument
268 args.seInfo = seInfo; in buildReconcileSdkDataArgs()
485 int appId, String seInfo, int targetSdkVersion, in moveCompleteApp() argument
489 mInstalld.moveCompleteApp(fromUuid, toUuid, packageName, appId, seInfo, in moveCompleteApp()
598 @Nullable String seInfo, boolean downgrade, int targetSdkVersion, in dexopt() argument
805 public boolean restoreAppDataSnapshot(String pkg, @AppIdInt int appId, String seInfo, in restoreAppDataSnapshot() argument
810 mInstalld.restoreAppDataSnapshot(null, pkg, appId, seInfo, userId, snapshotId, in restoreAppDataSnapshot()
DPackageManagerLocal.java90 @NonNull String seInfo, @StorageFlags int flags) throws IOException; in reconcileSdkData() argument
DOtaDexoptService.java301 @Nullable String sharedLibraries, @Nullable String seInfo, boolean downgrade, in generatePackageDexopts()
328 encodeParameter(builder, seInfo); in generatePackageDexopts()
DAppDataHelper.java235 final String seInfo = pkgSeInfo + seInfoUser; in prepareAppData() local
239 userId, flags, appId, seInfo, targetSdkVersion, usesSdk); in prepareAppData()
/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/pkg/
DPackageStateUnserialized.java66 private String seInfo; field in PackageStateUnserialized
146 this.seInfo = other.seInfo; in updateFrom()
212 seInfo = TextUtils.safeIntern(value); in setSeInfo()
285 return seInfo; in getSeInfo()
/frameworks/native/cmds/installd/
DInstalldNativeService.h69 int32_t appId, int32_t previousAppId, const std::string& seInfo,
84 const std::string& seInfo);
99 const std::string& packageName, const int32_t appId, const std::string& seInfo,
133 int32_t appId, const std::string& seInfo,
141 const std::optional<std::string>& seInfo, bool downgrade,
237 const std::string& seInfo, int32_t targetSdkVersion,
241 int32_t flags, int32_t appId, const std::string& seInfo);
256 int32_t appId, int32_t previousAppId, const std::string& seInfo,
260 int32_t flags, int32_t appId, const std::string& seInfo);
DInstalldNativeService.cpp522 static int restorecon_app_data_lazy(const std::string& path, const std::string& seInfo, uid_t uid, in restorecon_app_data_lazy() argument
527 if (selinux_android_restorecon_pkgdir(path.c_str(), seInfo.c_str(), uid, in restorecon_app_data_lazy()
545 if (selinux_android_restorecon_pkgdir(path.c_str(), seInfo.c_str(), uid, 0) < 0) { in restorecon_app_data_lazy()
563 auto restorecon = [path, seInfo, uid]() { in restorecon_app_data_lazy()
569 if (selinux_android_restorecon_pkgdir(path.c_str(), seInfo.c_str(), uid, in restorecon_app_data_lazy()
766 const std::string& seInfo, mode_t targetMode, in createAppDataDirs() argument
793 if (restorecon_app_data_lazy(path, seInfo, uid, parent_dir_exists)) { in createAppDataDirs()
800 && restorecon_app_data_lazy(cache_path, seInfo, uid, false)) { in createAppDataDirs()
807 && restorecon_app_data_lazy(code_cache_path, seInfo, uid, false)) { in createAppDataDirs()
815 int32_t flags, int32_t appId, int32_t previousAppId, const std::string& seInfo, in createAppDataLocked() argument
[all …]
/frameworks/native/cmds/installd/binder/android/os/
DIInstalld.aidl30 int userId, int flags, int appId, @utf8InCpp String seInfo); in restoreconAppData() argument
58 @utf8InCpp String seInfo, int targetSdkVersion, @utf8InCpp String fromCodePath); in moveCompleteApp() argument
66 @nullable @utf8InCpp String seInfo, boolean downgrade, int targetSdkVersion, in dexopt() argument
119 int appId, @utf8InCpp String seInfo, int user, int snapshotId, int storageflags); in restoreAppDataSnapshot() argument
DCreateAppDataArgs.aidl27 @utf8InCpp String seInfo;
DReconcileSdkDataArgs.aidl27 @utf8InCpp String seInfo;
/frameworks/base/core/java/android/os/
DZygoteProcess.java343 @Nullable String seInfo, in start() argument
367 runtimeFlags, mountExternal, targetSdkVersion, seInfo, in start()
628 @Nullable String seInfo, in startViaZygote() argument
687 if (seInfo != null) { in startViaZygote()
688 argsForZygote.add("--seinfo=" + seInfo); in startViaZygote()
1299 String seInfo, in startChildZygote() argument
1319 gids, runtimeFlags, 0 /* mountExternal */, 0 /* targetSdkVersion */, seInfo, in startChildZygote()
DProcess.java728 @Nullable String seInfo, in start() argument
746 runtimeFlags, mountExternal, targetSdkVersion, seInfo, in start()
760 @Nullable String seInfo, in startWebView() argument
771 runtimeFlags, mountExternal, targetSdkVersion, seInfo, in startWebView()
/frameworks/base/core/java/com/android/internal/os/
DZygote.java366 int[][] rlimits, int mountExternal, String seInfo, String niceName, int[] fdsToClose, in forkAndSpecialize() argument
374 uid, gid, gids, runtimeFlags, rlimits, mountExternal, seInfo, niceName, fdsToClose, in forkAndSpecialize()
396 int runtimeFlags, int[][] rlimits, int mountExternal, String seInfo, String niceName, in nativeForkAndSpecialize() argument
434 int[][] rlimits, int mountExternal, String seInfo, String niceName, in specializeAppProcess() argument
439 nativeSpecializeAppProcess(uid, gid, gids, runtimeFlags, rlimits, mountExternal, seInfo, in specializeAppProcess()
464 int runtimeFlags, int[][] rlimits, int mountExternal, String seInfo, String niceName, in nativeSpecializeAppProcess() argument
/frameworks/base/services/core/java/com/android/server/pm/local/
DPackageManagerLocalImpl.java54 @NonNull String seInfo, int flags) throws IOException { in reconcileSdkData() argument
56 previousAppId, seInfo, flags); in reconcileSdkData()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java1053 public String seInfo; field in ApplicationInfo
1697 if ((dumpFlags & DUMP_FLAG_DETAILS) != 0 && seInfo != null) { in dump()
1698 pw.println(prefix + "seinfo=" + seInfo); in dump()
1845 if (seInfo != null) { in dumpDebug()
1846 proto.write(ApplicationInfoProto.Detail.SEINFO, seInfo); in dumpDebug()
1978 seInfo = orig.seInfo; in ApplicationInfo()
2072 dest.writeString8(seInfo); in writeToParcel()
2175 seInfo = source.readString8(); in ApplicationInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DRollbackStoreTest.java67 && Objects.equals(a.seInfo, b.seInfo);
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java452 void setStartParams(int startUid, HostingRecord hostingRecord, String seInfo, in setStartParams() argument
456 this.mSeInfo = seInfo; in setStartParams()
869 void setSeInfo(String seInfo) { in setSeInfo() argument
870 mSeInfo = seInfo; in setSeInfo()

12