Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java249 private final SparseArray<PackageInstallerSession> mSessions = new SparseArray<>();
353 final PackageInstallerSession session = mSessions.valueAt(i); in systemReady()
381 final PackageInstallerSession session = mSessions.valueAt(i); in restoreAndApplyStagedSessionIfNeeded()
412 final PackageInstallerSession session = mSessions.valueAt(i); in reconcileStagesLocked()
450 final PackageInstallerSession session = mSessions.valueAt(i); in freeStageDirs()
459 PackageInstallerSession root = !session.hasParentSessionId() in freeStageDirs()
515 if (PackageInstallerSession.TAG_SESSION.equals(tag)) { in readSessionsLocked()
516 final PackageInstallerSession session; in readSessionsLocked()
518 session = PackageInstallerSession.readFromXml(in, mInternalCallback, in readSessionsLocked()
539 PackageInstallerSession session = mSessions.valueAt(i); in readSessionsLocked()
[all …]
DPackageSessionVerifier.java97 public void verify(PackageInstallerSession session, Callback callback) { in verify()
102 for (PackageInstallerSession child : session.getChildSessions()) { in verify()
137 private void checkApexSignature(PackageInstallerSession session) in checkApexSignature()
166 private void verifyAPK(PackageInstallerSession session, Callback callback) in verifyAPK()
193 final List<PackageInstallerSession> childSessions = session.getChildSessions(); in verifyAPK()
195 for (PackageInstallerSession child : childSessions) { in verifyAPK()
205 PackageInstallerSession session, IPackageInstallObserver2 observer) { in createVerifyingSession()
479 private void checkApexUpdateAllowed(PackageInstallerSession session) in checkApexUpdateAllowed()
502 void checkRebootlessApex(PackageInstallerSession session) in checkRebootlessApex()
DPackageSessionProvider.java29 PackageInstallerSession getSession(int sessionId); in getSession()
DPackageInstallerSession.java222 public class PackageInstallerSession extends IPackageInstallerSession.Stub { class
524 private final SparseArray<PackageInstallerSession> mChildSessions = new SparseArray<>();
663 return PackageInstallerSession.this.getPackageName(); in getPackageName()
668 PackageInstallerSession.this.setSessionReady(); in setSessionReady()
673 PackageInstallerSession.this.setSessionFailed(errorCode, errorMessage); in setSessionFailed()
678 PackageInstallerSession.this.setSessionApplied(); in setSessionApplied()
683 return PackageInstallerSession.this.containsApkSession(); in containsApkSession()
702 return PackageInstallerSession.this.hasParentSessionId(); in hasParentSessionId()
707 return PackageInstallerSession.this.getParentSessionId(); in getParentSessionId()
712 return PackageInstallerSession.this.isCommitted(); in isCommitted()
[all …]
DPackageManagerServiceUtils.java30 import static com.android.server.pm.PackageInstallerSession.APP_METADATA_FILE_ACCESS_MODE;
31 import static com.android.server.pm.PackageInstallerSession.getAppMetadataSizeLimit;
909 if (!PackageInstallerSession.isArchivedInstallation(flags)) { in getMinimalPackageInfo()
DInstallRequest.java376 return PackageInstallerSession.isArchivedInstallation(getInstallFlags()); in isArchived()
DPackageArchiver.java908 PackageInstallerSession session = mPm.mInstallerService.getSession(existingSessionId); in attachListenerToSession()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageInstallerSessionTest.kt155 ): PackageInstallerSession { in <lambda>()
168 return PackageInstallerSession( in <lambda>()
202 private fun writeRestoreAssert(sessions: List<PackageInstallerSession>) = in <lambda>()
207 private fun writeSessions(sessions: List<PackageInstallerSession>) { in <lambda>()
230 private fun restoreSessions(): List<PackageInstallerSession> { in <lambda>()
231 val ret: MutableList<PackageInstallerSession> = ArrayList() in <lambda>()
240 if (PackageInstallerSession.TAG_SESSION == tag) { in <lambda>()
241 val session: PackageInstallerSession in <lambda>()
243 session = PackageInstallerSession.readFromXml( in <lambda>()
292 expected: List<PackageInstallerSession>, in <lambda>()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
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()
DPackageArchiverTest.java215 PackageInstallerSession session = mock(PackageInstallerSession.class); in setUp()
DStagingManagerTest.java729 PackageInstallerSession session = new PackageInstallerSession( in createSession()
/frameworks/base/api/
Djavadoc-lint-baseline54 com/android/server/pm/PackageInstallerSession.java:313: lint: Unresolved link/see tag "Build.VERSIO…
55 com/android/server/pm/PackageInstallerSession.java:313: lint: Unresolved link/see tag "PackageInsta…
56 com/android/server/pm/PackageInstallerSession.java:327: lint: Unresolved link/see tag "Build.VERSIO…
57 com/android/server/pm/PackageInstallerSession.java:327: lint: Unresolved link/see tag "PackageInsta…
58 com/android/server/pm/PackageInstallerSession.java:327: lint: Unresolved link/see tag "#requestUser…
59 com/android/server/pm/PackageInstallerSession.java:330: lint: Unresolved link/see tag "com.android.…
60 com/android/server/pm/PackageInstallerSession.java:358: lint: Unresolved link/see tag "IntentSender…
/frameworks/base/services/
Dart-profile2447PackageInstallerSession;->generateInfoInternal(ZZ)Landroid/content/pm/PackageInstaller$SessionInfo…
2448PackageInstallerSession;->write(Lcom/android/modules/utils/TypedXmlSerializer;Ljava/io/File;)V+]La…
/frameworks/proto_logging/stats/
Datoms.proto16661 * frameworks/base/services/core/java/com/android/server/pm/PackageInstallerSession.java