Searched refs:PackageInstallerSession (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 249 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 …]
|
D | PackageSessionVerifier.java | 97 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()
|
D | PackageSessionProvider.java | 29 PackageInstallerSession getSession(int sessionId); in getSession()
|
D | PackageInstallerSession.java | 222 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 …]
|
D | PackageManagerServiceUtils.java | 30 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()
|
D | InstallRequest.java | 376 return PackageInstallerSession.isArchivedInstallation(getInstallFlags()); in isArchived()
|
D | PackageArchiver.java | 908 PackageInstallerSession session = mPm.mInstallerService.getSession(existingSessionId); in attachListenerToSession()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageInstallerSessionTest.kt | 155 ): 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/ |
D | PackageSessionVerifierTest.java | 50 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()
|
D | PackageArchiverTest.java | 215 PackageInstallerSession session = mock(PackageInstallerSession.class); in setUp()
|
D | StagingManagerTest.java | 729 PackageInstallerSession session = new PackageInstallerSession( in createSession()
|
/frameworks/base/api/ |
D | javadoc-lint-baseline | 54 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/ |
D | art-profile | 2447 …PackageInstallerSession;->generateInfoInternal(ZZ)Landroid/content/pm/PackageInstaller$SessionInfo… 2448 …PackageInstallerSession;->write(Lcom/android/modules/utils/TypedXmlSerializer;Ljava/io/File;)V+]La…
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 16661 * frameworks/base/services/core/java/com/android/server/pm/PackageInstallerSession.java
|