Home
last modified time | relevance | path

Searched refs:openPackageInstallerSession (Results 1 – 8 of 8) 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.java164 = InstallUtils.openPackageInstallerSession(sessionId)) { in testOpenAndAbandonSessionForSingleApk()
183 = InstallUtils.openPackageInstallerSession(sessionId)) { in testOpenAndCommitSessionForSingleApk()
200 = InstallUtils.openPackageInstallerSession(sessionId)) { in testOpenSingleSessionWithParameters()
211 = InstallUtils.openPackageInstallerSession(parentSessionId)) { in testOpenSessionForMultiPackageSession()
221 = InstallUtils.openPackageInstallerSession(childSessionId)) { in testOpenSessionForMultiPackageSession()
/cts/libs/install/src/com/android/cts/install/lib/
DInstall.java228 InstallUtils.openPackageInstallerSession(sessionId)) { in commit()
251 InstallUtils.openPackageInstallerSession(sessionId)) { in createSession()
DInstallUtils.java133 public static PackageInstaller.Session openPackageInstallerSession(int sessionId) in openPackageInstallerSession() method in InstallUtils
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DApexShimValidationTest.java175 InstallUtils.openPackageInstallerSession(sessionId)) { in stageApex()
DStagedInstallTest.java365 InstallUtils.openPackageInstallerSession(sessionId).commit(sender.getIntentSender()); in testNoSessionUpdatedBroadcastSentForStagedSessionAbandon()
1422 InstallUtils.openPackageInstallerSession(sessionId) in commitSession()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DUtils.java265 InstallUtils.openPackageInstallerSession(sessionId); in commitSession()