/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | PackageInstallerImpl.java | 51 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/services/core/java/com/android/server/pm/ |
D | StagingManager.java | 31 import android.content.pm.PackageInstaller.SessionInfo; 97 ParceledListSlice<PackageInstaller.SessionInfo> getSessions(int callingUid) { in getSessions() 98 final List<PackageInstaller.SessionInfo> result = new ArrayList<>(); in getSessions() 154 SessionInfo.STAGED_SESSION_VERIFICATION_FAILED, in submitSessionToApexService() 169 SessionInfo.STAGED_SESSION_VERIFICATION_FAILED, in submitSessionToApexService() 185 SessionInfo.STAGED_SESSION_VERIFICATION_FAILED, in submitSessionToApexService() 233 session.setStagedSessionFailed(SessionInfo.STAGED_SESSION_VERIFICATION_FAILED, in preRebootVerification() 249 session.setStagedSessionFailed(SessionInfo.STAGED_SESSION_VERIFICATION_FAILED, in preRebootVerification() 280 session.setStagedSessionFailed(SessionInfo.STAGED_SESSION_VERIFICATION_FAILED, in preRebootVerification() 317 session.setStagedSessionFailed(SessionInfo.STAGED_SESSION_ACTIVATION_FAILED, in resumeSession() [all …]
|
D | PackageInstallerSession.java | 59 import android.content.pm.PackageInstaller.SessionInfo; 60 import android.content.pm.PackageInstaller.SessionInfo.StagedSessionErrorCode; 280 private int mStagedSessionErrorCode = SessionInfo.STAGED_SESSION_NO_ERROR; 480 public SessionInfo generateInfoForCaller(boolean includeIcon, int callingUid) { in generateInfoForCaller() 490 public SessionInfo generateInfoScrubbed(boolean includeIcon) { in generateInfoScrubbed() 494 private SessionInfo generateInfoInternal(boolean includeIcon, boolean scrubData) { in generateInfoInternal() 495 final SessionInfo info = new SessionInfo(); in generateInfoInternal() 2161 session.setParentSessionId(SessionInfo.INVALID_ID); in removeChildSessionId() 2177 if (parentSessionId != SessionInfo.INVALID_ID in setParentSessionId() 2178 && mParentSessionId != SessionInfo.INVALID_ID) { in setParentSessionId() [all …]
|
D | PackageInstallerService.java | 42 import android.content.pm.PackageInstaller.SessionInfo; 616 false, false, null, SessionInfo.INVALID_ID, false, false, false, in createSessionInternal() 617 SessionInfo.STAGED_SESSION_NO_ERROR, ""); in createSessionInternal() 762 public SessionInfo getSessionInfo(int sessionId) { in getSessionInfo() 773 public ParceledListSlice<SessionInfo> getStagedSessions() { in getStagedSessions() 778 public ParceledListSlice<SessionInfo> getAllSessions(int userId) { in getAllSessions() 783 final List<SessionInfo> result = new ArrayList<>(); in getAllSessions() 796 public ParceledListSlice<SessionInfo> getMySessions(String installerPackageName, int userId) { in getMySessions() 801 final List<SessionInfo> result = new ArrayList<>(); in getMySessions() 806 SessionInfo info = in getMySessions()
|
D | LauncherAppsService.java | 40 import android.content.pm.PackageInstaller.SessionInfo; 236 public ParceledListSlice<SessionInfo> getAllSessions(String callingPackage) { in getAllSessions() 238 List<SessionInfo> sessionInfos = new ArrayList<>(); in getAllSessions() 803 String callingPackage, SessionInfo sessionInfo, Rect sourceBounds, in startSessionDetailsActivityAsUser()
|
D | PackageManagerShellCommand.java | 45 import android.content.pm.PackageInstaller.SessionInfo; 347 List<SessionInfo> stagedSessionsList = in getStagedSessions() 349 for (SessionInfo session: stagedSessionsList) { in getStagedSessions()
|
D | PackageManagerService.java | 13187 final PackageInstaller.SessionInfo info = new PackageInstaller.SessionInfo(); 20910 public void sendSessionUpdatedBroadcast(PackageInstaller.SessionInfo sessionInfo, 20921 public void sendSessionCommitBroadcast(PackageInstaller.SessionInfo sessionInfo, int userId) {
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageInstaller.java | 459 public @Nullable SessionInfo getSessionInfo(int sessionId) { in getSessionInfo() 470 public @NonNull List<SessionInfo> getAllSessions() { in getAllSessions() 481 public @NonNull List<SessionInfo> getMySessions() { in getMySessions() 492 public @NonNull List<SessionInfo> getStagedSessions() { in getStagedSessions() 515 public @Nullable SessionInfo getActiveStagedSession() { in getActiveStagedSession() 516 final List<SessionInfo> stagedSessions = getStagedSessions(); in getActiveStagedSession() 517 for (SessionInfo s : stagedSessions) { in getActiveStagedSession() 522 if (s.getParentSessionId() != SessionInfo.INVALID_ID) { in getActiveStagedSession() 1780 public static class SessionInfo implements Parcelable { class in PackageInstaller 1899 public SessionInfo() { in SessionInfo() method in PackageInstaller.SessionInfo [all …]
|
D | PackageInstaller.aidl | 20 parcelable PackageInstaller.SessionInfo;
|
D | IPackageInstaller.aidl | 40 PackageInstaller.SessionInfo getSessionInfo(int sessionId); in getSessionInfo()
|
D | ILauncherApps.aidl | 50 in PackageInstaller.SessionInfo sessionInfo, in Rect sourceBounds, in Bundle opts, in startSessionDetailsActivityAsUser()
|
D | LauncherApps.java | 39 import android.content.pm.PackageInstaller.SessionInfo; 578 public void startPackageInstallerSessionDetailsActivity(@NonNull SessionInfo sessionInfo, in startPackageInstallerSessionDetailsActivity() 1516 public @NonNull List<SessionInfo> getAllPackageInstallerSessions() { in getAllPackageInstallerSessions()
|
/frameworks/av/media/libmedia/include/media/ |
D | DrmSessionManager.h | 35 struct SessionInfo { struct 41 typedef Vector<SessionInfo > SessionInfos; argument
|
/frameworks/av/include/mediadrm/ |
D | DrmSessionManager.h | 35 struct SessionInfo { struct 41 typedef Vector<SessionInfo > SessionInfos; argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageInstallerSessionTest.java | 115 return createSession(false, false, 123, false, PackageInstaller.SessionInfo.INVALID_ID, in createSimpleSession() 120 return createSession(true, false, 123, false, PackageInstaller.SessionInfo.INVALID_ID, in createStagedSession() 125 return createSession(false, true, 123, false, PackageInstaller.SessionInfo.INVALID_ID, in createSessionWithGrantedPermissions() 132 PackageInstaller.SessionInfo.INVALID_ID, childSessionIds); in createMultiPackageParentSession() 178 PackageInstaller.SessionInfo.STAGED_SESSION_VERIFICATION_FAILED, in createSession()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackManagerServiceImpl.java | 636 PackageInstaller.SessionInfo session = installer.getSessionInfo( in onBootCompleted() 654 PackageInstaller.SessionInfo session = installer.getSessionInfo( in onBootCompleted() 832 private boolean sessionMatchesForEnableRollback(PackageInstaller.SessionInfo session, in sessionMatchesForEnableRollback() 883 PackageInstaller.SessionInfo parentSession = null; in enableRollback() 884 PackageInstaller.SessionInfo packageSession = null; in enableRollback() 886 for (PackageInstaller.SessionInfo info : installer.getAllSessions()) { in enableRollback() 889 PackageInstaller.SessionInfo child = installer.getSessionInfo(childId); in enableRollback() 971 PackageInstaller.SessionInfo session, @NonNull int[] installedUsers) { in enableRollbackForPackageSession() 1144 final PackageInstaller.SessionInfo session = installer.getSessionInfo(sessionId); in notifyStagedSession() 1165 final PackageInstaller.SessionInfo childSession = in notifyStagedSession() [all …]
|
D | RollbackPackageHealthObserver.java | 215 PackageInstaller.SessionInfo sessionInfo = packageInstaller.getSessionInfo(sessionId); in onBootCompleted() 298 && (sessionId != PackageInstaller.SessionInfo.INVALID_ID)) { in handleStagedSessionChange() 299 PackageInstaller.SessionInfo sessionInfo = in handleStagedSessionChange()
|
/frameworks/av/drm/libmediadrm/ |
D | DrmSessionManager.cpp | 73 SessionInfo info; in addSession() 95 SessionInfo& info = infos.editItemAt(j); in useSession()
|
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/ |
D | RollbackTestUtils.java | 410 BlockingQueue<PackageInstaller.SessionInfo> sessionStatus = new LinkedBlockingQueue<>(); in waitForSessionReady() 414 PackageInstaller.SessionInfo info = in waitForSessionReady() 434 PackageInstaller.SessionInfo info = installer.getSessionInfo(sessionId); in waitForSessionReady()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | InstallStart.java | 67 PackageInstaller.SessionInfo sessionInfo = packageInstaller.getSessionInfo(sessionId); in onCreate()
|
D | InstallInstalling.java | 225 PackageInstaller.SessionInfo sessionInfo = installer.getSessionInfo(mSessionId); in onResume()
|
D | PackageInstallerActivity.java | 312 final PackageInstaller.SessionInfo info = mInstaller.getSessionInfo(sessionId); in onCreate()
|
/frameworks/av/media/libmediaplayerservice/tests/ |
D | DrmSessionManager_test.cpp | 93 static void ExpectEqSessionInfo(const SessionInfo& info, sp<DrmSessionClientInterface> drm, in ExpectEqSessionInfo()
|
/frameworks/base/config/ |
D | preloaded-classes | 930 android.content.pm.PackageInstaller$SessionInfo$1 931 android.content.pm.PackageInstaller$SessionInfo
|
/frameworks/base/api/ |
D | test-current.txt | 685 public static class PackageInstaller.SessionInfo implements android.os.Parcelable {
|