Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/pm/
DStagingManager.java31 import android.content.pm.PackageInstaller.SessionInfo;
108 ParceledListSlice<PackageInstaller.SessionInfo> getSessions() { in getSessions()
109 final List<PackageInstaller.SessionInfo> result = new ArrayList<>(); in getSessions()
134 throw new PackageManagerException(SessionInfo.STAGED_SESSION_VERIFICATION_FAILED, in validateApexSignature()
152 throw new PackageManagerException(SessionInfo.STAGED_SESSION_VERIFICATION_FAILED, in validateApexSignature()
164 throw new PackageManagerException(SessionInfo.STAGED_SESSION_VERIFICATION_FAILED, in validateApexSignature()
194 throw new PackageManagerException(SessionInfo.STAGED_SESSION_VERIFICATION_FAILED, in submitSessionToApexService()
202 throw new PackageManagerException(SessionInfo.STAGED_SESSION_VERIFICATION_FAILED, in submitSessionToApexService()
225 SessionInfo.STAGED_SESSION_VERIFICATION_FAILED, in checkRequiredVersionCode()
244 SessionInfo.STAGED_SESSION_VERIFICATION_FAILED, in checkDowngrade()
[all …]
DPackageInstallerService.java41 import android.content.pm.PackageInstaller.SessionInfo;
264 session.setStagedSessionFailed(SessionInfo.STAGED_SESSION_ACTIVATION_FAILED, in restoreAndApplyStagedSessionIfNeeded()
622 false, false, null, SessionInfo.INVALID_ID, false, false, false, in createSessionInternal()
623 SessionInfo.STAGED_SESSION_NO_ERROR, ""); in createSessionInternal()
768 public SessionInfo getSessionInfo(int sessionId) { in getSessionInfo()
776 public ParceledListSlice<SessionInfo> getStagedSessions() { in getStagedSessions()
781 public ParceledListSlice<SessionInfo> getAllSessions(int userId) { in getAllSessions()
785 final List<SessionInfo> result = new ArrayList<>(); in getAllSessions()
798 public ParceledListSlice<SessionInfo> getMySessions(String installerPackageName, int userId) { in getMySessions()
803 final List<SessionInfo> result = new ArrayList<>(); in getMySessions()
[all …]
DPackageInstallerSession.java59 import android.content.pm.PackageInstaller.SessionInfo;
60 import android.content.pm.PackageInstaller.SessionInfo.StagedSessionErrorCode;
278 private int mStagedSessionErrorCode = SessionInfo.STAGED_SESSION_NO_ERROR;
455 public SessionInfo generateInfo() { in generateInfo()
459 public SessionInfo generateInfo(boolean includeIcon) { in generateInfo()
460 final SessionInfo info = new SessionInfo(); in generateInfo()
2130 session.setParentSessionId(SessionInfo.INVALID_ID); in removeChildSessionId()
2146 if (parentSessionId != SessionInfo.INVALID_ID in setParentSessionId()
2147 && mParentSessionId != SessionInfo.INVALID_ID) { in setParentSessionId()
2156 return mParentSessionId != SessionInfo.INVALID_ID; in hasParentSessionId()
[all …]
DApexManager.java467 PackageInstaller.SessionInfo.STAGED_SESSION_VERIFICATION_FAILED, in submitStagedSession()
481 PackageInstaller.SessionInfo.STAGED_SESSION_VERIFICATION_FAILED, in markStagedSessionReady()
529 PackageInstaller.SessionInfo.STAGED_SESSION_VERIFICATION_FAILED, in abortStagedSession()
DPackageManagerShellCommand.java45 import android.content.pm.PackageInstaller.SessionInfo;
895 List<SessionInfo> stagedSessions = in runListStagedSessions()
907 private void printSessionList(IndentingPrintWriter pw, List<SessionInfo> stagedSessions, in printSessionList()
909 final SparseArray<SessionInfo> sessionById = new SparseArray<>(stagedSessions.size()); in printSessionList()
910 for (SessionInfo session : stagedSessions) { in printSessionList()
913 for (SessionInfo session: stagedSessions) { in printSessionList()
917 if (session.getParentSessionId() != SessionInfo.INVALID_ID) { in printSessionList()
925 final SessionInfo childSession = sessionById.get(childIds[i]); in printSessionList()
941 private static void printSession(PrintWriter pw, SessionInfo session, SessionDump sessionDump) { in printSession()
1182 PackageInstaller.SessionInfo si = mInterface.getPackageInstaller() in doWaitForStagedSessionRead()
[all …]
DLauncherAppsService.java40 import android.content.pm.PackageInstaller.SessionInfo;
236 public ParceledListSlice<SessionInfo> getAllSessions(String callingPackage) { in getAllSessions()
238 List<SessionInfo> sessionInfos = new ArrayList<>(); in getAllSessions()
797 String callingPackage, SessionInfo sessionInfo, Rect sourceBounds, in startSessionDetailsActivityAsUser()
DPackageManagerService.java12743 final PackageInstaller.SessionInfo info = new PackageInstaller.SessionInfo();
20308 public void sendSessionUpdatedBroadcast(PackageInstaller.SessionInfo sessionInfo,
20319 public void sendSessionCommitBroadcast(PackageInstaller.SessionInfo sessionInfo, int userId) {
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DPackageInstallerImpl.java51 private final Map<String, PackageInstaller.SessionInfo> mSessionInfoMap;
60 mSessionInfoMap = new HashMap<String, PackageInstaller.SessionInfo>(); in PackageInstallerImpl()
61 List<PackageInstaller.SessionInfo> mySessions = mPackageInstaller.getMySessions(); in PackageInstallerImpl()
63 PackageInstaller.SessionInfo sessionInfo = mySessions.get(i); in PackageInstallerImpl()
65 PackageInstaller.SessionInfo oldInfo = mSessionInfoMap.put(packageName, sessionInfo); in PackageInstallerImpl()
113 PackageInstaller.SessionInfo sessionInfo = mSessionInfoMap.get(packageName); in install()
180 PackageInstaller.SessionInfo sessionInfo = mSessionInfoMap.get(packageName); in getSession()
213 PackageInstaller.SessionInfo sessionInfo = mPackageInstaller.getSessionInfo(sessionId); in innerCreateSession()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java447 public @Nullable SessionInfo getSessionInfo(int sessionId) { in getSessionInfo()
458 public @NonNull List<SessionInfo> getAllSessions() { in getAllSessions()
469 public @NonNull List<SessionInfo> getMySessions() { in getMySessions()
480 public @NonNull List<SessionInfo> getStagedSessions() { in getStagedSessions()
499 public @Nullable SessionInfo getActiveStagedSession() { in getActiveStagedSession()
500 List<SessionInfo> activeSessions = getActiveStagedSessions(); in getActiveStagedSession()
510 public @NonNull List<SessionInfo> getActiveStagedSessions() { in getActiveStagedSessions()
1763 public static class SessionInfo implements Parcelable { class in PackageInstaller
1882 public SessionInfo() { in SessionInfo() method in PackageInstaller.SessionInfo
1886 public SessionInfo(Parcel source) { in SessionInfo() method in PackageInstaller.SessionInfo
[all …]
DPackageInstaller.aidl20 parcelable PackageInstaller.SessionInfo;
DIPackageInstaller.aidl40 PackageInstaller.SessionInfo getSessionInfo(int sessionId); in getSessionInfo()
DILauncherApps.aidl50 in PackageInstaller.SessionInfo sessionInfo, in Rect sourceBounds, in Bundle opts, in startSessionDetailsActivityAsUser()
DLauncherApps.java39 import android.content.pm.PackageInstaller.SessionInfo;
607 public void startPackageInstallerSessionDetailsActivity(@NonNull SessionInfo sessionInfo, in startPackageInstallerSessionDetailsActivity()
1545 public @NonNull List<SessionInfo> getAllPackageInstallerSessions() { in getAllPackageInstallerSessions()
/frameworks/av/drm/libmediadrm/include/mediadrm/
DDrmSessionManager.h40 struct SessionInfo { struct
46 typedef std::map<std::vector<uint8_t>, SessionInfo> SessionInfoMap; argument
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageInstallerSessionTest.java120 return createSession(false, false, 123, false, PackageInstaller.SessionInfo.INVALID_ID, in createSimpleSession()
125 return createSession(true, false, 123, false, PackageInstaller.SessionInfo.INVALID_ID, in createStagedSession()
130 return createSession(false, true, 123, false, PackageInstaller.SessionInfo.INVALID_ID, in createSessionWithGrantedPermissions()
137 PackageInstaller.SessionInfo.INVALID_ID, childSessionIds); in createMultiPackageParentSession()
183 PackageInstaller.SessionInfo.STAGED_SESSION_VERIFICATION_FAILED, in createSession()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackManagerServiceImpl.java624 PackageInstaller.SessionInfo session = installer.getSessionInfo( in onBootCompleted()
639 PackageInstaller.SessionInfo session = installer.getSessionInfo( in onBootCompleted()
779 private boolean sessionMatchesForEnableRollback(PackageInstaller.SessionInfo session, in sessionMatchesForEnableRollback()
829 PackageInstaller.SessionInfo parentSession = null; in enableRollback()
830 PackageInstaller.SessionInfo packageSession = null; in enableRollback()
832 for (PackageInstaller.SessionInfo info : installer.getAllSessions()) { in enableRollback()
835 PackageInstaller.SessionInfo child = installer.getSessionInfo(childId); in enableRollback()
893 PackageInstaller.SessionInfo session) { in enableRollbackForPackageSession()
1064 final PackageInstaller.SessionInfo session = installer.getSessionInfo(sessionId); in notifyStagedSession()
1084 final PackageInstaller.SessionInfo childSession = in notifyStagedSession()
[all …]
DRollbackPackageHealthObserver.java234 PackageInstaller.SessionInfo sessionInfo = packageInstaller.getSessionInfo(sessionId); in onBootCompleted()
319 && (sessionId != PackageInstaller.SessionInfo.INVALID_ID)) { in handleStagedSessionChange()
320 PackageInstaller.SessionInfo sessionInfo = in handleStagedSessionChange()
/frameworks/av/drm/libmediadrm/
DDrmSessionManager.cpp133 mSessionMap[toStdVec(sessionId)] = (SessionInfo){pid, uid, clientId}; in addSession()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallStart.java67 PackageInstaller.SessionInfo sessionInfo = packageInstaller.getSessionInfo(sessionId); in onCreate()
DInstallInstalling.java225 PackageInstaller.SessionInfo sessionInfo = installer.getSessionInfo(mSessionId); in onResume()
DPackageInstallerActivity.java312 final PackageInstaller.SessionInfo info = mInstaller.getSessionInfo(sessionId); in onCreate()
/frameworks/base/config/
Dpreloaded-classes930 android.content.pm.PackageInstaller$SessionInfo$1
931 android.content.pm.PackageInstaller$SessionInfo
Dboot-image-profile.txt4211 HSPLandroid/content/pm/PackageInstaller$SessionInfo$1;-><init>()V
4212 HPLandroid/content/pm/PackageInstaller$SessionInfo;-><init>()V
4213 HPLandroid/content/pm/PackageInstaller$SessionInfo;->describeContents()I
4214 HSPLandroid/content/pm/PackageInstaller$SessionInfo;->getInstallerPackageName()Ljava/lang/String;
4215 HPLandroid/content/pm/PackageInstaller$SessionInfo;->writeToParcel(Landroid/os/Parcel;I)V
4221 …id/content/pm/PackageInstaller;->getSessionInfo(I)Landroid/content/pm/PackageInstaller$SessionInfo;
33049 Landroid/content/pm/PackageInstaller$SessionInfo$1;
33050 Landroid/content/pm/PackageInstaller$SessionInfo;
/frameworks/base/api/
Dtest-current.txt696 public static class PackageInstaller.SessionInfo implements android.os.Parcelable {
/frameworks/base/non-updatable-api/
Dcurrent.txt11282 …method @NonNull public java.util.List<android.content.pm.PackageInstaller.SessionInfo> getAllPacka…
11303 …lerSessionDetailsActivity(@NonNull android.content.pm.PackageInstaller.SessionInfo, @Nullable andr…
11407 …method @Deprecated @Nullable public android.content.pm.PackageInstaller.SessionInfo getActiveStage…
11408 …method @NonNull public java.util.List<android.content.pm.PackageInstaller.SessionInfo> getActiveSt…
11409 …method @NonNull public java.util.List<android.content.pm.PackageInstaller.SessionInfo> getAllSessi…
11410 …method @NonNull public java.util.List<android.content.pm.PackageInstaller.SessionInfo> getMySessio…
11411 method @Nullable public android.content.pm.PackageInstaller.SessionInfo getSessionInfo(int);
11412 …method @NonNull public java.util.List<android.content.pm.PackageInstaller.SessionInfo> getStagedSe…
11471 public static class PackageInstaller.SessionInfo implements android.os.Parcelable {
11504 …tatic final android.os.Parcelable.Creator<android.content.pm.PackageInstaller.SessionInfo> CREATOR;

12