Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DSELinuxMMAC.java337 String seInfo = null; in getSeInfo() local
345 seInfo = policy.getMatchedSeInfo(pkg); in getSeInfo()
346 if (seInfo != null) { in getSeInfo()
353 if (seInfo == null) { in getSeInfo()
354 seInfo = DEFAULT_SEINFO; in getSeInfo()
358 seInfo += PRIVILEGED_APP_STR; in getSeInfo()
361 seInfo += TARGETSDKVERSION_STR + targetSdkVersion; in getSeInfo()
365 "seinfo=" + seInfo); in getSeInfo()
367 return seInfo; in getSeInfo()
DInstaller.java176 String seInfo, int targetSdkVersion) throws InstallerException { in createAppData() argument
179 return mInstalld.createAppData(uuid, packageName, userId, flags, appId, seInfo, in createAppData()
187 String seInfo) throws InstallerException { in restoreconAppData() argument
190 mInstalld.restoreconAppData(uuid, packageName, userId, flags, appId, seInfo); in restoreconAppData()
236 String dataAppName, int appId, String seInfo, int targetSdkVersion) in moveCompleteApp() argument
240 mInstalld.moveCompleteApp(fromUuid, toUuid, packageName, dataAppName, appId, seInfo, in moveCompleteApp()
309 @Nullable String seInfo, boolean downgrade, int targetSdkVersion, in dexopt() argument
319 dexFlags, compilerFilter, volumeUuid, sharedLibraries, seInfo, downgrade, in dexopt()
646 public boolean restoreAppDataSnapshot(String pkg, @AppIdInt int appId, String seInfo, in restoreAppDataSnapshot() argument
651 mInstalld.restoreAppDataSnapshot(null, pkg, appId, seInfo, userId, snapshotId, in restoreAppDataSnapshot()
DOtaDexoptService.java281 @Nullable String sharedLibraries, @Nullable String seInfo, boolean downgrade, in generatePackageDexopts()
302 encodeParameter(builder, seInfo); in generatePackageDexopts()
DSharedUserSetting.java146 pkg.applicationInfo.seInfo = SELinuxMMAC.getSeInfo(pkg, isPrivileged, in fixSeInfoLocked()
DPackageDexOptimizer.java285 compilerFilter, pkg.volumeUuid, classLoaderContext, pkg.applicationInfo.seInfo, in dexOptPath()
419 compilerFilter, info.volumeUuid, classLoaderContext, info.seInfo, in dexOptSecondaryDexPathLI()
DPackageManagerService.java11340 pkg.applicationInfo.seInfo = SELinuxMMAC.getSeInfo(pkg, isPrivileged,
14248 final String seInfo = res.pkg.applicationInfo.seInfo;
14270 seInfo, token);
22540 Preconditions.checkNotNull(app.seInfo);
22542 final String seInfo = app.seInfo + (app.seInfoUser != null ? app.seInfoUser : "");
22546 appId, seInfo, app.targetSdkVersion);
22554 appId, seInfo, app.targetSdkVersion);
22866 seinfo = pkg.applicationInfo.seInfo;
DSettings.java2716 sb.append(ai.seInfo); in writePackageListLPrInternal()
4055 seinfos[i] = ps.pkg.applicationInfo.seInfo; in createNewUserLI()
/frameworks/base/core/java/android/content/rollback/
DPackageRollbackInfo.java49 public final String seInfo; field in PackageRollbackInfo.RestoreInfo
51 public RestoreInfo(int userId, int appId, String seInfo) { in RestoreInfo() argument
54 this.seInfo = seInfo; in RestoreInfo()
DIRollbackManager.aidl36 String seInfo, int token); in snapshotAndRestoreUserData() argument
/frameworks/native/cmds/installd/binder/android/os/
DIInstalld.aidl25 int userId, int flags, int appId, in @utf8InCpp String seInfo, int targetSdkVersion); in createAppData() argument
30 int userId, int flags, int appId, @utf8InCpp String seInfo); in restoreconAppData() argument
50 @utf8InCpp String seInfo, int targetSdkVersion); in moveCompleteApp() argument
57 @nullable @utf8InCpp String seInfo, boolean downgrade, int targetSdkVersion, in dexopt() argument
113 int appId, @utf8InCpp String seInfo, int user, int snapshotId, int storageflags); in restoreAppDataSnapshot() argument
/frameworks/base/services/core/java/com/android/server/rollback/
DAppDataRollbackHelper.java96 int userId, int appId, String seInfo) { in restoreAppData() argument
115 pendingRestores.add(new RestoreInfo(userId, appId, seInfo)); in restoreAppData()
124 mInstaller.restoreAppDataSnapshot(packageRollbackInfo.getPackageName(), appId, seInfo, in restoreAppData() local
279 ri.seInfo, userId, rollback.info.getRollbackId(), in commitPendingBackupAndRestoreForUser()
DRollbackManagerServiceImpl.java974 long ceDataInode, String seInfo, int token) { in snapshotAndRestoreUserData() argument
982 restoreUserDataInternal(packageName, userIds, appId, ceDataInode, seInfo, token); in snapshotAndRestoreUserData()
1021 long ceDataInode, String seInfo, int token) { in restoreUserDataInternal() argument
1043 rollback.info.getRollbackId(), info, userId, appId, seInfo); in restoreUserDataInternal()
DRollbackStore.java130 jo.put("seInfo", ri.seInfo); in convertToJsonArray()
/frameworks/base/core/java/android/os/
DProcess.java585 @Nullable String seInfo, in start() argument
596 runtimeFlags, mountExternal, targetSdkVersion, seInfo, in start()
608 @Nullable String seInfo, in startWebView() argument
617 runtimeFlags, mountExternal, targetSdkVersion, seInfo, in startWebView()
DZygoteProcess.java341 @Nullable String seInfo, in start() argument
358 runtimeFlags, mountExternal, targetSdkVersion, seInfo, in start()
611 @Nullable String seInfo, in startViaZygote() argument
667 if (seInfo != null) { in startViaZygote()
668 argsForZygote.add("--seinfo=" + seInfo); in startViaZygote()
1241 String seInfo, in startChildZygote() argument
1259 gids, runtimeFlags, 0 /* mountExternal */, 0 /* targetSdkVersion */, seInfo, in startChildZygote()
/frameworks/native/cmds/installd/
DInstalldNativeService.h55 const std::string& seInfo, int32_t targetSdkVersion, int64_t* _aidl_return);
58 const std::string& seInfo);
72 const std::string& packageName, const int32_t appId, const std::string& seInfo,
96 const std::string& dataAppName, int32_t appId, const std::string& seInfo,
104 const std::optional<std::string>& seInfo, bool downgrade,
DInstalldNativeService.cpp313 static int restorecon_app_data_lazy(const std::string& path, const std::string& seInfo, uid_t uid, in restorecon_app_data_lazy() argument
326 if (selinux_android_restorecon_pkgdir(path.c_str(), seInfo.c_str(), uid, 0) < 0) { in restorecon_app_data_lazy()
342 if (selinux_android_restorecon_pkgdir(path.c_str(), seInfo.c_str(), uid, in restorecon_app_data_lazy()
359 const std::string& seInfo, uid_t uid, bool existing) { in restorecon_app_data_lazy() argument
360 return restorecon_app_data_lazy(StringPrintf("%s/%s", parent.c_str(), name), seInfo, uid, in restorecon_app_data_lazy()
444 const std::string& seInfo, int32_t targetSdkVersion, int64_t* _aidl_return) { in createAppData() argument
476 if (restorecon_app_data_lazy(path, seInfo, uid, existing) || in createAppData()
477 restorecon_app_data_lazy(path, "cache", seInfo, uid, existing) || in createAppData()
478 restorecon_app_data_lazy(path, "code_cache", seInfo, uid, existing)) { in createAppData()
507 if (restorecon_app_data_lazy(path, seInfo, uid, existing) || in createAppData()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DZygote.java286 int[][] rlimits, int mountExternal, String seInfo, String niceName, int[] fdsToClose, in forkAndSpecialize() argument
292 uid, gid, gids, runtimeFlags, rlimits, mountExternal, seInfo, niceName, fdsToClose, in forkAndSpecialize()
312 int runtimeFlags, int[][] rlimits, int mountExternal, String seInfo, String niceName, in nativeForkAndSpecialize() argument
339 int[][] rlimits, int mountExternal, String seInfo, String niceName, in specializeAppProcess() argument
341 nativeSpecializeAppProcess(uid, gid, gids, runtimeFlags, rlimits, mountExternal, seInfo, in specializeAppProcess()
360 int runtimeFlags, int[][] rlimits, int mountExternal, String seInfo, String niceName, in nativeSpecializeAppProcess() argument
DZygoteInit.java657 final String seInfo = null; in performSystemServerDexOpt() local
662 uuid, classLoaderContext, seInfo, false /* downgrade */, in performSystemServerDexOpt()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java880 public String seInfo; field in ApplicationInfo
1345 if ((dumpFlags & DUMP_FLAG_DETAILS) != 0 && seInfo != null) { in dump()
1346 pw.println(prefix + "seinfo=" + seInfo); in dump()
1459 if (seInfo != null) { in writeToProto()
1460 proto.write(ApplicationInfoProto.Detail.SEINFO, seInfo); in writeToProto()
1571 seInfo = orig.seInfo; in ApplicationInfo()
1650 dest.writeString(seInfo); in writeToParcel()
1726 seInfo = source.readString(); in ApplicationInfo()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java1725 final String seInfo = app.info.seInfo
1732 runtimeFlags, zygotePolicyFlags, mountExternal, seInfo, requiredAbi,
1752 String seInfo, String requiredAbi, String instructionSet, String invokeWith,
1771 app.setStartParams(uid, hostingRecord, seInfo, startTime);
1783 mountExternal, app.seInfo, requiredAbi, instructionSet, invokeWith,
1805 uid, gids, runtimeFlags, zygotePolicyFlags, mountExternal, seInfo,
1914 int mountExternal, String seInfo, String requiredAbi, String instructionSet,
1932 app.info.targetSdkVersion, seInfo, requiredAbi, instructionSet,
1940 app.info.targetSdkVersion, seInfo, requiredAbi, instructionSet,
1948 app.info.targetSdkVersion, seInfo, requiredAbi, instructionSet,
[all …]
DProcessRecord.java306 String seInfo; field in ProcessRecord
313 void setStartParams(int startUid, HostingRecord hostingRecord, String seInfo, in setStartParams() argument
317 this.seInfo = seInfo; in setStartParams()
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DAppDataRollbackHelperTest.java158 assertEquals("seinfo", pendingRestores.get(0).seInfo); in testRestoreAppDataSnapshot_availableBackupForLockedUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java429 assertEquals(a.seInfo, that.seInfo); in assertApplicationInfoEqual()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt13907 Landroid/content/pm/ApplicationInfo;->seInfo:Ljava/lang/String;