Home
last modified time | relevance | path

Searched refs:PackageInstallerSession (Results 1 – 8 of 8) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageInstallerService.java499 final PackageInstallerSession session; in readSessionsLocked()
522 PackageInstallerSession session = mSessions.valueAt(i); in readSessionsLocked()
529 SparseArray<PackageInstallerSession> tmp = mSessions.clone(); in expireSessionsLocked()
532 PackageInstallerSession session = tmp.valueAt(i); in expireSessionsLocked()
887 final PackageInstallerSession session;
1429 public PackageInstallerSession getSession(int sessionId) {
1742 private TreeMap<PackageInstallerSession, TreeSet<PackageInstallerSession>> mSessionMap;
1764 PackageInstallerSession parentSession) {
1769 void addSession(PackageInstallerSession session,
1770 PackageInstallerSession parentSession) {
[all …]
H A DPackageSessionVerifier.java94 public void verify(PackageInstallerSession session, Callback callback) { in verify()
99 for (PackageInstallerSession child : session.getChildSessions()) { in verify()
134 private void checkApexSignature(PackageInstallerSession session) in checkApexSignature()
163 private void verifyAPK(PackageInstallerSession session, Callback callback) in verifyAPK()
190 final List<PackageInstallerSession> childSessions = session.getChildSessions(); in verifyAPK()
192 for (PackageInstallerSession child : childSessions) { in verifyAPK()
202 PackageInstallerSession session, IPackageInstallObserver2 observer) { in createVerifyingSession()
476 private void checkApexUpdateAllowed(PackageInstallerSession session) in checkApexUpdateAllowed()
499 void checkRebootlessApex(PackageInstallerSession session) in checkRebootlessApex()
H A DPackageInstallerSession.java611 return PackageInstallerSession.this.getPackageName(); in getPackageName()
616 PackageInstallerSession.this.setSessionReady(); in setSessionReady()
626 PackageInstallerSession.this.setSessionApplied(); in setSessionApplied()
660 return PackageInstallerSession.this.isCommitted(); in isCommitted()
670 return PackageInstallerSession.this.isDestroyed(); in isDestroyed()
685 return PackageInstallerSession.this.isSessionReady(); in isSessionReady()
700 PackageInstallerSession.this.abandon(); in abandon()
2233 @NonNull List<PackageInstallerSession> getChildSessions() { in getChildSessions()
2729 public final PackageInstallerSession session;
2995 final List<PackageInstallerSession> childSessions;
[all …]
H A DPackageSessionProvider.java29 PackageInstallerSession getSession(int sessionId); in getSession()
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
H A DPackageInstallerSessionTest.kt153 ): PackageInstallerSession {
166 return PackageInstallerSession(
204 private fun writeSessions(sessions: List<PackageInstallerSession>) {
227 private fun restoreSessions(): List<PackageInstallerSession> {
228 val ret: MutableList<PackageInstallerSession> = ArrayList()
237 if (PackageInstallerSession.TAG_SESSION == tag) {
238 val session: PackageInstallerSession
240 session = PackageInstallerSession.readFromXml(
289 expected: List<PackageInstallerSession>,
290 actual: List<PackageInstallerSession>
[all …]
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
H A DPackageSessionVerifierTest.java50 PackageInstallerSession session2 = createSession(false, true, "com.foo"); in checkRebootlessApex()
55 PackageInstallerSession session3 = createSession(false, true, "com.bar"); in checkRebootlessApex()
124 private PackageInstallerSession createSession(boolean isStaged, boolean isApex, in createSession()
126 PackageInstallerSession session = mock(PackageInstallerSession.class); in createSession()
H A DStagingManagerTest.java729 PackageInstallerSession session = new PackageInstallerSession( in createSession()
/aosp14/frameworks/base/services/
H A Dart-profile6132 HPLcom/android/server/pm/PackageInstallerSession;->doWriteInternal(Ljava/lang/String;JJLandroid/os/…
6133 HPLcom/android/server/pm/PackageInstallerSession;->dumpLocked(Lcom/android/internal/util/IndentingP…
6134 HPLcom/android/server/pm/PackageInstallerSession;->generateInfoInternal(ZZ)Landroid/content/pm/Pack…
6135 HPLcom/android/server/pm/PackageInstallerSession;->validateApkInstallLocked()Landroid/content/pm/pa…
6136 HSPLcom/android/server/pm/PackageInstallerSession;->write(Lcom/android/modules/utils/TypedXmlSerial…