Home
last modified time | relevance | path

Searched refs:createSession (Results 1 – 20 of 20) 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/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/libs/rollback/src/com/android/cts/rollback/lib/
DInstall.java95 return getPackageInstaller().createSession(params); in createEmptyInstallSession()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DPackageInstallTest.java105 int sessionId = mPackageInstaller.createSession(params); in installPackage()
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java411 installer.createSession(params); in testsFailsNonStagedApexInstall()
452 int sessionId = packageInstaller.createSession(sessionParams); in testNonStagedInstallApkWithSameNameAsApexShouldFail()
666 return packageInstaller.createSession(sessionParams); in createStagedSession()
771 int sessionId = packageInstaller.createSession(sessionParams); in installNonStaged()
DApexShimValidationTest.java149 int sessionId = installer.createSession(params); in stageApex()
/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/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/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/
DBasePackageInstallTest.java169 int sessionId = mPackageInstaller.createSession(params); in installPackage()
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DAtomicInstallTest.java314 final int sessionId = packageInstaller.createSession(params); in createSessionId()
/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.java1626 createSession(sessionOutputs); in preparePreviewTestSession()
DExtendedCameraCharacteristicsTest.java713 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.java734 final int sessionId = packageInstaller.createSession(params); in installRestrictedPermissionUserApp()