/cts/tests/tests/os/src/android/os/cts/ |
D | PerformanceHintManagerTest.java | 49 private Session createSession() { in createSession() method in PerformanceHintManagerTest 56 Session a = createSession(); in testCreateHintSession() 57 Session b = createSession(); in testCreateHintSession() 67 if (createSession() != null) { in testGetPreferredUpdateRateNanos() 76 Session s = createSession(); in testUpdateTargetWorkDuration() 83 Session s = createSession(); in testUpdateTargetWorkDurationWithNegativeDuration() 92 Session s = createSession(); in testReportActualWorkDuration() 102 Session s = createSession(); in testReportActualWorkDurationWithIllegalArgument() 112 Session s = createSession(); in testCloseHintSession()
|
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/ |
D | AtomicInstallTest.java | 159 int parentId = Install.multi(TestApp.A1).createSession(); in testRemoveChild() 160 int childBId = Install.single(TestApp.B1).createSession(); in testRemoveChild() 161 int childCId = Install.single(TestApp.C1).createSession(); in testRemoveChild() 242 InstallUtils.getPackageInstaller().createSession(params); in testInvalidStateScenario_MultiSessionCantBeApex() 256 int parentId = Install.single(TestApp.A1).createSession(); in testInvalidStateScenario_AddChildToSingleSessionShouldFail() 257 int childId = Install.single(TestApp.B1).createSession(); in testInvalidStateScenario_AddChildToSingleSessionShouldFail() 272 int parentId = Install.multi(TestApp.A1).createSession(); in testInvalidStateScenario_MultiSessionAddedAsChildShouldFail() 273 int childId = Install.multi(TestApp.B1).createSession(); in testInvalidStateScenario_MultiSessionAddedAsChildShouldFail() 288 int parentId = Install.multi(TestApp.A1).createSession(); in testInvalidStateScenario_AddChildToCommittedSessionShouldFail() 289 int childId = Install.single(TestApp.B1).createSession(); in testInvalidStateScenario_AddChildToCommittedSessionShouldFail() [all …]
|
D | SessionAbandonBehaviorTest.java | 267 final int sessionId = Install.single(TestApp.A1).setStaged().createSession(); in abandon_stagedSession_shouldReceiveAbandonCallBack() 281 final int sessionId = Install.single(TestApp.A1).createSession(); in abandon_nonStagedSession_shouldReceiveAbandonCallBack() 296 final int sessionId = Install.single(TestApp.A1).setStaged().createSession(); in abandon_stagedSession_openedSession_canNotGetNames() 313 final int sessionId = Install.single(TestApp.A1).createSession(); in abandon_nonStagedSession_openedSession_canNotGetNames() 330 final int sessionId = Install.single(TestApp.A1).setStaged().createSession(); in abandon_stagedSession_openForWriting_shouldFail() 348 final int sessiondId = Install.single(TestApp.A1).createSession(); in abandon_nonStagedSession_openForWriting_shouldFail() 366 final int sessionId = Install.single(TestApp.A1).setStaged().createSession(); in abandon_stagedSession_canNotOpenAgain() 382 final int sessionId = Install.single(TestApp.A1).createSession(); in abandon_nonStagedSession_canNotOpenAgain() 399 TestApp.B1).setStaged().createSession(); in abandon_stagedParentSession_shouldReceiveAllChildrenAbandonCallBack() 414 final int parentSessionId = Install.multi(TestApp.A1, TestApp.B1).createSession(); in abandon_nonStagedParentSession_shouldReceiveAllChildrenAbandonCallBack() [all …]
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | InstallSessionTransferTest.java | 128 private Session createSession() throws Exception { in createSession() method in InstallSessionTransferTest 134 int sessionId = installer.createSession(params); in createSession() 148 int sessionId = installer.createSession(params); in transferSession() 194 Session session = createSession(); in transferToInvalidNewOwner() 210 Session session = createSession(); in transferToOwnerWithoutInstallPermission() 227 Session session = createSession(); in transferWithOpenWrite() 243 Session session = createSession(); in transfer_toNullPackageName_shouldFail() 255 Session session = createSession(); in transfer_toEmptyStringPackageName_shouldFail() 267 Session session = createSession(); in transfer_toInvalidPackageName_shouldFail() 279 Session session = createSession(); in transferSessionWithInvalidApk() [all …]
|
D | PackageManagerShellCommandTest.java | 496 final int sessionId = installer.createSession(params); in testDataLoaderParamsApiV1() 524 final int sessionId = installer.createSession(params); in testDataLoaderParamsApiV2() 558 final int sessionId = installer.createSession(params); in testRemoveFileApiV2() 579 return createSession("-p " + packageName); in createUpdateSession() 582 private String createSession(String arg) throws IOException { in createSession() method in PackageManagerShellCommandTest 682 String sessionId = createSession(TEST_APP_PACKAGE); in installSplits() 694 String sessionId = createSession("-p " + TEST_APP_PACKAGE); in updateSplits() 713 String sessionId = createSession(TEST_APP_PACKAGE); in installSplitsStdIn()
|
D | ChecksumsTest.java | 499 final int sessionId = installer.createSession(params); in testInstallerSignedChecksumsInvalidSignature() 682 final int sessionId = installer.createSession(params); in testInstallerChecksumsUpdate() 748 final int sessionId = installer.createSession(params); in testInstallerChecksumsUpdate() 864 final int sessionId = installer.createSession(params); in testInstallerSignedChecksumsUpdate() 930 final int sessionId = installer.createSession(params); in testInstallerSignedChecksumsUpdate() 1121 final int sessionId = installer.createSession(params); in testInstallerChecksumsDuplicate() 1173 final int sessionId = installer.createSession(params); in installApkWithChecksums() 1200 final int sessionId = installer.createSession(params); in installApkWithChecksumsIncrementally()
|
/cts/hostsidetests/blobstore/test-apps/BlobStoreHostTestHelper/src/com/android/cts/device/blob/ |
D | BaseBlobStoreDeviceTest.java | 56 protected long createSession(BlobHandle blobHandle) throws Exception { in createSession() method in BaseBlobStoreDeviceTest 57 final long sessionId = mBlobStoreManager.createSession(blobHandle); in createSession()
|
D | DataCleanupTest.java | 52 final long sessionId = createSession(blobData.getBlobHandle()); in testCreateSession() 90 final long sessionId = createSession(blobData.getBlobHandle()); in testCommitBlob() 130 final long sessionId = createSession(blobHandle); in testRecommitBlob()
|
D | AtomTest.java | 70 final long sessionId = createSession(blobData.getBlobHandle()); in commitBlob()
|
D | DataPersistenceTest.java | 50 final long sessionId = createSession(blobData.getBlobHandle()); in testCreateSession()
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | Install.java | 174 int sessionId = createSession(); in commit() 194 public int createSession() throws IOException { in createSession() method in Install 201 session.addChildSessionId(subInstall.createSession()); in createSession() 244 return InstallUtils.getPackageInstaller().createSession(params); in createEmptyInstallSession()
|
/cts/tests/BlobStore/src/com/android/cts/blob/ |
D | BlobStoreManagerTest.java | 150 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testGetCreateSession() 181 assertThrows(NullPointerException.class, () -> mBlobStoreManager.createSession(null)); in testGetCreateSession_invalidArguments() 199 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testAbandonSession() 217 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testOpenReadWriteSession() 242 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testOpenSession_fromAnotherPkg() 268 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testOpenSessionAndAbandon() 295 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testCloseSession() 334 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testAllowPublicAccess() 355 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testAllowPublicAccess_abandonedSession() 378 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testAllowSameSignatureAccess() [all …]
|
/cts/tests/tests/util/src/android/util/cts/ |
D | InstallUtilTest.java | 155 int sessionId = Install.single(TestApp.A1).createSession(); in testOpenAndAbandonSessionForSingleApk() 174 int sessionId = Install.single(TestApp.A1).createSession(); in testOpenAndCommitSessionForSingleApk() 191 int sessionId = Install.single(TestApp.A1).setStaged().createSession(); in testOpenSingleSessionWithParameters() 202 int parentSessionId = Install.multi(TestApp.A1, TestApp.B1).setStaged().createSession(); in testOpenSessionForMultiPackageSession()
|
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | SessionTestInstant.kt | 37 pm.packageInstaller.createSession( in instantAppsCannotCreateInstallSessions()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | NoRollbackPermissionTest.java | 46 assertThrows(SecurityException.class, () -> packageInstaller.createSession(parentParams)); in testCreateInstallSessionWithReasonRollbackFails()
|
/cts/hostsidetests/appsecurity/test-apps/SessionInspector/src/com/android/cts/sessioninspector/ |
D | SessionInspectorTest.java | 56 int sessionId = createSession(myPackage); in testOnlyOwnerCanSee() 71 private int createSession(String packageName) throws Exception { in createSession() method in SessionInspectorTest
|
D | SessionInspectorActivity.java | 49 getPackageManager().getPackageInstaller().createSession(params); in onCreate()
|
/cts/tests/inputmethod/mockspellchecker/src/com/android/cts/mockspellchecker/ |
D | MockSpellChecker.kt | 51 override fun createSession(): Session = withLog("MockSpellChecker.createSession") { in <lambda>() method in com.android.cts.mockspellchecker.MockSpellChecker
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | PackageInstallTest.java | 105 int sessionId = mPackageInstaller.createSession(params); in installPackage()
|
/cts/tests/tests/appop2/src/android/app/appops2/cts/ |
D | AppOpsLoggingTest.kt | 94 val sessionId = pi.createSession(SessionParams(MODE_FULL_INSTALL)) in <lambda>()
|
/cts/tests/BlobStore/helper-app/src/com/android/cts/blob/helper/ |
D | BlobStoreTestService.java | 62 final long sessionId = blobStoreManager.createSession(blobHandle); in commit()
|
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | ApexShimValidationTest.java | 169 int sessionId = Install.single(apexTestApp).setStaged().createSession(); in stageApex()
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
D | BasePackageInstallTest.java | 127 int sessionId = mPackageInstaller.createSession(params); in installPackage()
|
/cts/tests/tests/packageinstaller/install_appop_default/src/android/packageinstaller/install_appop_default/cts/ |
D | PackageInstallerTestBase.kt | 136 val sessionId = pi.createSession(PackageInstaller.SessionParams(MODE_FULL_INSTALL)) in <lambda>()
|
/cts/tests/tests/packageinstaller/nopermission/src/android.packageinstaller.nopermission.cts/ |
D | NoPermissionTests.kt | 135 val sessionId = pi.createSession(PackageInstaller.SessionParams( in launchPackageInstallerViaSession()
|