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.java334 String seInfo = null; in getSeInfo() local
342 seInfo = policy.getMatchedSeInfo(pkg); in getSeInfo()
343 if (seInfo != null) { in getSeInfo()
350 if (seInfo == null) { in getSeInfo()
351 seInfo = DEFAULT_SEINFO; in getSeInfo()
355 seInfo += SANDBOX_V2_STR; in getSeInfo()
359 seInfo += PRIVILEGED_APP_STR; in getSeInfo()
362 seInfo += TARGETSDKVERSION_STR + targetSdkVersion; in getSeInfo()
366 "seinfo=" + seInfo); in getSeInfo()
368 return seInfo; in getSeInfo()
DInstaller.java173 String seInfo, int targetSdkVersion) throws InstallerException { in createAppData() argument
176 return mInstalld.createAppData(uuid, packageName, userId, flags, appId, seInfo, in createAppData()
184 String seInfo) throws InstallerException { in restoreconAppData() argument
187 mInstalld.restoreconAppData(uuid, packageName, userId, flags, appId, seInfo); in restoreconAppData()
233 String dataAppName, int appId, String seInfo, int targetSdkVersion) in moveCompleteApp() argument
237 mInstalld.moveCompleteApp(fromUuid, toUuid, packageName, dataAppName, appId, seInfo, in moveCompleteApp()
306 @Nullable String seInfo, boolean downgrade, int targetSdkVersion, in dexopt() argument
316 dexFlags, compilerFilter, volumeUuid, sharedLibraries, seInfo, downgrade, in dexopt()
653 public boolean restoreAppDataSnapshot(String pkg, @AppIdInt int appId, String seInfo, in restoreAppDataSnapshot() argument
658 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.java290 compilerFilter, pkg.volumeUuid, classLoaderContext, pkg.applicationInfo.seInfo, in dexOptPath()
424 compilerFilter, info.volumeUuid, classLoaderContext, info.seInfo, in dexOptSecondaryDexPathLI()
DPackageManagerService.java11341 pkg.applicationInfo.seInfo = SELinuxMMAC.getSeInfo(pkg, isPrivileged,
14704 final String seInfo = res.pkg.applicationInfo.seInfo;
14726 seInfo, token);
23104 Preconditions.checkNotNull(app.seInfo);
23106 final String seInfo = app.seInfo + (app.seInfoUser != null ? app.seInfoUser : "");
23110 appId, seInfo, app.targetSdkVersion);
23118 appId, seInfo, app.targetSdkVersion);
23430 seinfo = pkg.applicationInfo.seInfo;
DSettings.java2720 sb.append(ai.seInfo); in writePackageListLPrInternal()
4054 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
27 int userId, int flags, int appId, @utf8InCpp String seInfo); in restoreconAppData() argument
47 @utf8InCpp String seInfo, int targetSdkVersion); in moveCompleteApp() argument
54 @nullable @utf8InCpp String seInfo, boolean downgrade, int targetSdkVersion, in dexopt() argument
111 int appId, @utf8InCpp String seInfo, int user, int snapshotId, int storageflags); in restoreAppDataSnapshot() argument
/frameworks/base/services/core/java/com/android/server/rollback/
DAppDataRollbackHelper.java94 int userId, int appId, String seInfo) { in restoreAppData() argument
113 pendingRestores.add(new RestoreInfo(userId, appId, seInfo)); in restoreAppData()
122 mInstaller.restoreAppDataSnapshot(packageRollbackInfo.getPackageName(), appId, seInfo, in restoreAppData() local
276 ri.seInfo, userId, data.info.getRollbackId(), in commitPendingBackupAndRestoreForUser()
DRollbackManagerServiceImpl.java1053 long ceDataInode, String seInfo, int token) { in snapshotAndRestoreUserData() argument
1061 restoreUserDataInternal(packageName, userIds, appId, ceDataInode, seInfo, token); in snapshotAndRestoreUserData()
1100 long ceDataInode, String seInfo, int token) { in restoreUserDataInternal() argument
1123 rollbackData.info.getRollbackId(), info, userId, appId, seInfo); in restoreUserDataInternal()
DRollbackStore.java130 jo.put("seInfo", ri.seInfo); in convertToJsonArray()
/frameworks/base/core/java/android/os/
DProcess.java527 @Nullable String seInfo, in start() argument
535 runtimeFlags, mountExternal, targetSdkVersion, seInfo, in start()
547 @Nullable String seInfo, in startWebView() argument
555 runtimeFlags, mountExternal, targetSdkVersion, seInfo, in startWebView()
DZygoteProcess.java319 @Nullable String seInfo, in start() argument
334 runtimeFlags, mountExternal, targetSdkVersion, seInfo, in start()
547 @Nullable String seInfo, in startViaZygote() argument
601 if (seInfo != null) { in startViaZygote()
602 argsForZygote.add("--seinfo=" + seInfo); in startViaZygote()
1126 String seInfo, in startChildZygote() argument
1144 gids, runtimeFlags, 0 /* mountExternal */, 0 /* targetSdkVersion */, seInfo, in startChildZygote()
/frameworks/base/core/java/com/android/internal/os/
DZygote.java235 int[][] rlimits, int mountExternal, String seInfo, String niceName, int[] fdsToClose, in forkAndSpecialize() argument
242 uid, gid, gids, runtimeFlags, rlimits, mountExternal, seInfo, niceName, fdsToClose, in forkAndSpecialize()
257 int runtimeFlags, int[][] rlimits, int mountExternal, String seInfo, String niceName, in nativeForkAndSpecialize() argument
283 int[][] rlimits, int mountExternal, String seInfo, String niceName, in specializeAppProcess() argument
285 nativeSpecializeAppProcess(uid, gid, gids, runtimeFlags, rlimits, mountExternal, seInfo, in specializeAppProcess()
304 int runtimeFlags, int[][] rlimits, int mountExternal, String seInfo, String niceName, in nativeSpecializeAppProcess() argument
DZygoteInit.java668 final String seInfo = null; in performSystemServerDexOpt() local
675 uuid, classLoaderContext, seInfo, false /* downgrade */, in performSystemServerDexOpt()
/frameworks/native/cmds/installd/
DInstalldNativeService.h50 const std::string& seInfo, int32_t targetSdkVersion, int64_t* _aidl_return);
53 const std::string& seInfo);
67 const std::string& packageName, const int32_t appId, const std::string& seInfo,
89 const std::string& dataAppName, int32_t appId, const std::string& seInfo,
97 const std::unique_ptr<std::string>& seInfo, bool downgrade,
DInstalldNativeService.cpp305 static int restorecon_app_data_lazy(const std::string& path, const std::string& seInfo, uid_t uid, in restorecon_app_data_lazy() argument
318 if (selinux_android_restorecon_pkgdir(path.c_str(), seInfo.c_str(), uid, 0) < 0) { in restorecon_app_data_lazy()
334 if (selinux_android_restorecon_pkgdir(path.c_str(), seInfo.c_str(), uid, in restorecon_app_data_lazy()
351 const std::string& seInfo, uid_t uid, bool existing) { in restorecon_app_data_lazy() argument
352 return restorecon_app_data_lazy(StringPrintf("%s/%s", parent.c_str(), name), seInfo, uid, in restorecon_app_data_lazy()
409 const std::string& seInfo, int32_t targetSdkVersion, int64_t* _aidl_return) { in createAppData() argument
441 if (restorecon_app_data_lazy(path, seInfo, uid, existing) || in createAppData()
442 restorecon_app_data_lazy(path, "cache", seInfo, uid, existing) || in createAppData()
443 restorecon_app_data_lazy(path, "code_cache", seInfo, uid, existing)) { in createAppData()
472 if (restorecon_app_data_lazy(path, seInfo, uid, existing) || in createAppData()
[all …]
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java878 public String seInfo; field in ApplicationInfo
1343 if ((dumpFlags & DUMP_FLAG_DETAILS) != 0 && seInfo != null) { in dump()
1344 pw.println(prefix + "seinfo=" + seInfo); in dump()
1457 if (seInfo != null) { in writeToProto()
1458 proto.write(ApplicationInfoProto.Detail.SEINFO, seInfo); in writeToProto()
1569 seInfo = orig.seInfo; in ApplicationInfo()
1648 dest.writeString(seInfo); in writeToParcel()
1724 seInfo = source.readString(); in ApplicationInfo()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java1615 final String seInfo = app.info.seInfo
1622 runtimeFlags, mountExternal, seInfo, requiredAbi, instructionSet, invokeWith,
1643 String seInfo, String requiredAbi, String instructionSet, String invokeWith,
1658 app.setStartParams(uid, hostingRecord, seInfo, startTime);
1670 app.seInfo, requiredAbi, instructionSet, invokeWith, app.startTime);
1691 uid, gids, runtimeFlags, mountExternal, seInfo, requiredAbi, instructionSet,
1800 String seInfo, String requiredAbi, String instructionSet, String invokeWith,
1810 app.info.targetSdkVersion, seInfo, requiredAbi, instructionSet,
1818 app.info.targetSdkVersion, seInfo, requiredAbi, instructionSet,
1825 app.info.targetSdkVersion, seInfo, requiredAbi, instructionSet,
[all …]
DProcessRecord.java305 String seInfo; field in ProcessRecord
310 void setStartParams(int startUid, HostingRecord hostingRecord, String seInfo, in setStartParams() argument
314 this.seInfo = seInfo; in setStartParams()
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DAppDataRollbackHelperTest.java157 assertEquals("seinfo", pendingRestores.get(0).seInfo); in testRestoreAppDataSnapshot_availableBackupForLockedUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java425 assertEquals(a.seInfo, that.seInfo); in assertApplicationInfoEqual()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt14849 Landroid/content/pm/ApplicationInfo;->seInfo:Ljava/lang/String;