Home
last modified time | relevance | path

Searched refs:createSession (Results 1 – 21 of 21) sorted by relevance

/cts/tests/tests/content/src/android/content/pm/cts/
DInstallSessionTransferTest.java117 private Session createSession() throws Exception { in createSession() method in InstallSessionTransferTest
123 int sessionId = installer.createSession(params); in createSession()
137 int sessionId = installer.createSession(params); in transferSession()
183 Session session = createSession(); in transferToInvalidNewOwner()
199 Session session = createSession(); in transferToOwnerWithoutInstallPermission()
216 Session session = createSession(); in transferWithOpenWrite()
234 Session session = createSession(); in transferSessionWithInvalidApk()
256 Session session = createSession(); in transferWithApkFromWrongPackage()
DInstallSessionParamsUnitTest.java202 private int createSession(SessionParams params) throws Exception { in createSession() method in InstallSessionParamsUnitTest
206 return installer.createSession(params); in createSession()
230 sessionId = createSession(params); in checkSessionParams()
/cts/libs/install/src/com/android/cts/install/lib/
DInstall.java142 int sessionId = createSession(); in commit()
169 public int createSession() throws IOException { in createSession() method in Install
176 session.addChildSessionId(subInstall.createSession()); in createSession()
211 return InstallUtils.getPackageInstaller().createSession(params); in createEmptyInstallSession()
/cts/tests/tests/util/src/android/util/cts/
DInstallUtilTest.java155 int sessionId = Install.single(TestApp.A1).createSession(); in testOpenAndAbandonSessionForSingleApk()
174 int sessionId = Install.single(TestApp.A1).createSession(); in testOpenAndCommitSessionForSingleApk()
190 int sessionId = Install.single(TestApp.A1).setStaged().createSession(); in testOpenSingleSessionWithParameters()
201 int parentSessionId = Install.multi(TestApp.A1, TestApp.B1).setStaged().createSession(); in testOpenSessionForMultiPackageSession()
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DSessionTestInstant.kt37 pm.packageInstaller.createSession( in instantAppsCannotCreateInstallSessions()
DPackageInstallerTestBase.kt135 val sessionId = pi.createSession(PackageInstaller.SessionParams(MODE_FULL_INSTALL)) in <lambda>()
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DAtomicInstallTest.java143 int parentSessionId = Install.multi(TestApp.A1, TestApp.B1).createSession(); in testInvalidStateScenarios()
163 int toAbandonSessionId = Install.single(TestApp.A1).createSession(); in testInvalidStateScenarios()
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java449 installer.createSession(params); in testsFailsNonStagedApexInstall()
1005 return Install.single(TestApp.A1).setStaged().createSession(); in createStagedSession()
1015 int sessionId = Install.single(testApp).setStaged().setRequestDowngrade().createSession(); in stageDowngradeSingleApk()
1029 int sessionId = Install.single(empty).setStaged().createSession(); in stageSingleApk()
1042 int sessionId = Install.single(testApp).setStaged().createSession(); in stageSingleApk()
1051 int multiPackageSessionId = Install.multi(testApps).setStaged().createSession(); in stageMultipleApks()
DApexShimValidationTest.java129 int sessionId = Install.single(apexTestApp).setStaged().createSession(); in stageApex()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DPackageInstallTest.java105 int sessionId = mPackageInstaller.createSession(params); in installPackage()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java259 protected void createSession(List<Surface> outputSurfaces) throws Exception { in createSession() method in Camera2AndroidTestCase
471 createSession(surfaces); in prepareCaptureRequestForSurfaces()
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
DBasePackageInstallTest.java127 int sessionId = mPackageInstaller.createSession(params); in installPackage()
/cts/tests/tests/packageinstaller/nopermission/src/android.packageinstaller.nopermission.cts/
DNoPermissionTests.kt121 val sessionId = pi.createSession(PackageInstaller.SessionParams( in <lambda>()
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/
DBasePackageInstallTest.java169 int sessionId = mPackageInstaller.createSession(params); in installPackage()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureResultTest.java116 createSession(outputSurfaces); in testCameraCaptureResultAllKeys()
178 createSession(outputSurfaces); in testPartialResult()
DDngCreatorTest.java716 createSession(outputSurfaces); in captureRawShots()
DImageReaderTest.java515 createSession(outputSurfaces); in testAllOutputYUVResolutions()
DRobustnessTest.java1631 createSession(sessionOutputs); in preparePreviewTestSession()
DExtendedCameraCharacteristicsTest.java716 createSession(surfaces); in checkFormatLatency()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DCommandReceiverActivity.java539 packageInstaller.createSession(new PackageInstaller.SessionParams( in installHelperPackage()
/cts/tests/tests/permission2/src/android/permission2/cts/
DRestrictedPermissionsTest.java738 final int sessionId = packageInstaller.createSession(params); in installRestrictedPermissionUserApp()