Home
last modified time | relevance | path

Searched refs:openPackageInstallerSession (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DAtomicInstallTest.java21 import static com.android.cts.install.lib.InstallUtils.openPackageInstallerSession;
162 try (PackageInstaller.Session parent = openPackageInstallerSession(parentId)) { in testRemoveChild()
258 try (PackageInstaller.Session parent = openPackageInstallerSession(parentId)) { in testInvalidStateScenario_AddChildToSingleSessionShouldFail()
274 try (PackageInstaller.Session parent = openPackageInstallerSession(parentId)) { in testInvalidStateScenario_MultiSessionAddedAsChildShouldFail()
290 try (PackageInstaller.Session parent = openPackageInstallerSession(parentId)) { in testInvalidStateScenario_AddChildToCommittedSessionShouldFail()
309 try (PackageInstaller.Session parent = openPackageInstallerSession(parentId)) { in testInvalidStateScenario_RemoveChildFromCommittedSessionShouldFail()
329 try (PackageInstaller.Session parent1 = openPackageInstallerSession(parent1Id); in testInvalidStateScenario_RemoveWrongChildShouldDoNothing()
330 PackageInstaller.Session parent2 = openPackageInstallerSession(parent2Id);) { in testInvalidStateScenario_RemoveWrongChildShouldDoNothing()
347 openPackageInstallerSession(parentSessionId)) { in testInvalidStateScenarios()
350 openPackageInstallerSession(childSessionId)) { in testInvalidStateScenarios()
[all …]
DSessionAbandonBehaviorTest.java22 import static com.android.cts.install.lib.InstallUtils.openPackageInstallerSession;
206 openPackageInstallerSession(parentSessionId)) { in getChildSessionIds()
234 PackageInstaller.Session session = openPackageInstallerSession(sessionId); in openSession()
/cts/tests/tests/util/src/android/util/cts/
DInstallUtilTest.java157 = InstallUtils.openPackageInstallerSession(sessionId)) { in testOpenAndAbandonSessionForSingleApk()
176 = InstallUtils.openPackageInstallerSession(sessionId)) { in testOpenAndCommitSessionForSingleApk()
193 = InstallUtils.openPackageInstallerSession(sessionId)) { in testOpenSingleSessionWithParameters()
204 = InstallUtils.openPackageInstallerSession(parentSessionId)) { in testOpenSessionForMultiPackageSession()
214 = InstallUtils.openPackageInstallerSession(childSessionId)) { in testOpenSessionForMultiPackageSession()
/cts/libs/install/src/com/android/cts/install/lib/
DInstall.java176 InstallUtils.openPackageInstallerSession(sessionId)) { in commit()
199 InstallUtils.openPackageInstallerSession(sessionId)) { in createSession()
DInstallUtils.java177 public static PackageInstaller.Session openPackageInstallerSession(int sessionId) in openPackageInstallerSession() method in InstallUtils
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DApexShimValidationTest.java113 InstallUtils.openPackageInstallerSession(sessionId)) { in stageApex()
DStagedInstallTest.java1269 InstallUtils.openPackageInstallerSession(sessionId) in commitSession()