/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | ApexShimValidationTest.java | 71 InstallUtils.getPackageInstaller().getSessionInfo(sessionId); in testRejectsApexWithAdditionalFile_Commit() 79 InstallUtils.getPackageInstaller().getSessionInfo(sessionId); in testRejectsApexWithAdditionalFolder_Commit() 87 InstallUtils.getPackageInstaller().getSessionInfo(sessionId); in testRejectsApexWithPostInstallHook_Commit() 95 InstallUtils.getPackageInstaller().getSessionInfo(sessionId); in testRejectsApexWithPreInstallHook_Commit() 103 InstallUtils.getPackageInstaller().getSessionInfo(sessionId); in testRejectsApexWrongSHA_Commit()
|
D | StagedInstallTest.java | 305 session = getSessionInfo(sessionId); in testAbandonStagedApkBeforeReboot_CommitAndAbandon() 441 PackageInstaller.SessionInfo sessionInfo = getSessionInfo(sessionId); in testStagedInstallDowngrade_DowngradeNotRequested_Fails_Commit() 538 PackageInstaller.SessionInfo sessionInfo = getSessionInfo(sessionId); in testInstallStagedNonPreInstalledApex_Fails() 547 PackageInstaller.SessionInfo sessionInfo = getSessionInfo(sessionId); in testInstallStagedDifferentPackageNameWithInstalledApex_Fails() 565 PackageInstaller.SessionInfo sessionInfo = getSessionInfo(sessionId); in testStageApkWithSameNameAsApexShouldFail_VerifyPostReboot() 641 PackageInstaller.SessionInfo sessionInfo = getSessionInfo(sessionId); in testStagedInstallDowngradeApex_DowngradeNotRequested_Fails_Commit() 680 PackageInstaller.SessionInfo sessionInfo = getSessionInfo(sessionId); in testStagedInstallDowngradeApex_DowngradeRequested_UserBuild_Fails_Commit() 801 PackageInstaller.SessionInfo info = getSessionInfo(sessionId); in testRejectsApexDifferentCertificate() 887 PackageInstaller.SessionInfo info = getSessionInfo(sessionId); in testFailStagingMultipleSessionsIfNoCheckPoint() 898 PackageInstaller.SessionInfo info = getSessionInfo(sessionId); in testFailOverlappingMultipleStagedInstall_BothSinglePackage_Apk() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/SessionInspector/src/com/android/cts/sessioninspector/ |
D | SessionInspectorTest.java | 58 final PackageInstaller.SessionInfo sessionToMe = getSessionInfo(myPackage, sessionId); in testOnlyOwnerCanSee() 59 final PackageInstaller.SessionInfo sessionToOther = getSessionInfo(otherPackage, sessionId); in testOnlyOwnerCanSee() 77 private PackageInstaller.SessionInfo getSessionInfo(String packageName, int session) in getSessionInfo() method in SessionInspectorTest
|
D | SessionInspectorActivity.java | 55 getPackageManager().getPackageInstaller().getSessionInfo(sessionId); in onCreate()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | CVE_2024_0044.java | 70 packageInstaller.getSessionInfo(sessionId).getAppPackageName(); in testPocCVE_2024_0044() 73 .getSessionInfo(sessionId) in testPocCVE_2024_0044()
|
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | UpdateOwnershipEnforcementTest.kt | 79 val sessionInfo = pi.getSessionInfo(sessionId) in isRequestUpdateOwnership_notSet_returnFalse() 97 val sessionInfo = pi.getSessionInfo(sessionId) in isRequestUpdateOwnership_set_returnTrue() 391 val sessionInfo = pi.getSessionInfo(sessionId) in getPendingUserActionReason_notRequestUpdateOwnership_reasonUnspecified() 423 val sessionInfo = pi.getSessionInfo(sessionId) in getPendingUserActionReason_notRequestUpdateOwner_reasonRemindOwnership()
|
D | SessionTest.kt | 256 sessionInfo = pi.getSessionInfo(sessionId) in withPrivilegedPermissions_canAccessResolvedPath() 264 sessionInfo = pi.getSessionInfo(sessionId) in withPrivilegedPermissions_canAccessResolvedPath() 277 val sessionInfo = pi.getSessionInfo(sessionId) in withoutPrivilegedPermissions_cannotAccessResolvedPath()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | InstallSessionTransferTest.java | 75 private SessionInfo getSessionInfo(@NonNull PackageInstaller installer, in getSessionInfo() method in InstallSessionTransferTest 155 SessionInfo info = getSessionInfo(installer, sessionId); in transferSession() 161 assertThat(getSessionInfo(installer, sessionId)).isNull(); in transferSession()
|
D | InstallSessionParamsUnitTest.java | 212 private SessionInfo getSessionInfo(int sessionId) { in getSessionInfo() method in InstallSessionParamsUnitTest 273 SessionInfo info = getSessionInfo(sessionId); in checkSessionParams()
|
D | PackageInstallerArchiveTest.java | 498 PackageInstaller.SessionInfo sessionInfo = mPackageInstaller.getSessionInfo( in unarchiveApp() 511 sessionInfo = mPackageInstaller.getSessionInfo(sessionId); in unarchiveApp()
|
D | PackageManagerTest.java | 2111 var session1 = packageInstaller.getSessionInfo(packageInstaller.createSession(params1)); in testInvalidInstallSessionParamsPackageNames() 2119 var session2 = packageInstaller.getSessionInfo(packageInstaller.createSession(params2)); in testInvalidInstallSessionParamsPackageNames()
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | StubMediaRoute2ProviderService.java | 245 RoutingSessionInfo sessionInfo = getSessionInfo(sessionId); in onSetSessionVolume() 318 RoutingSessionInfo sessionInfo = getSessionInfo(sessionId); in onReleaseSession() 356 RoutingSessionInfo sessionInfo = getSessionInfo(sessionId); in onSelectRoute() 385 RoutingSessionInfo sessionInfo = getSessionInfo(sessionId); in onDeselectRoute() 420 RoutingSessionInfo sessionInfo = getSessionInfo(sessionId); in onTransferToRoute()
|
D | MediaRoute2ProviderServiceTest.java | 144 assertThat(mService.getSessionInfo(SESSION_ID_1)).isEqualTo(sessionInfo1); in testGetSessionInfoAndGetAllSessionInfo() 154 assertThat(mService.getSessionInfo(SESSION_ID_2)).isEqualTo(sessionInfo2); in testGetSessionInfoAndGetAllSessionInfo() 158 assertThat(mService.getSessionInfo(SESSION_ID_1)).isNull(); in testGetSessionInfoAndGetAllSessionInfo() 160 assertThat(mService.getSessionInfo(SESSION_ID_2)).isEqualTo(sessionInfo2); in testGetSessionInfoAndGetAllSessionInfo() 165 assertThat(mService.getSessionInfo(SESSION_ID_2)).isNull(); in testGetSessionInfoAndGetAllSessionInfo() 445 RoutingSessionInfo oldInfo = mService.getSessionInfo(SESSION_ID_1); in testSessionRelatedCallbacks() 460 RoutingSessionInfo oldInfo = mService.getSessionInfo(SESSION_ID_1); in testSessionRelatedCallbacks() 475 RoutingSessionInfo oldInfo = mService.getSessionInfo(SESSION_ID_1); in testSessionRelatedCallbacks()
|
D | MediaControllerTest.java | 165 Bundle sessionInfo = mController.getSessionInfo(); in testGetSessionInfo() 169 Bundle cachedSessionInfo = mController.getSessionInfo(); in testGetSessionInfo() 177 assertThat(session.getController().getSessionInfo().isEmpty()).isTrue(); in testGetSessionInfoReturnsAnEmptyBundleWhenNotSet()
|
D | MediaSessionTest.java | 976 Bundle sessionInfoOut = session.getController().getSessionInfo(); in testSessionInfoWithFrameworkParcelable()
|
/cts/hostsidetests/install/app/src/android/cts/install/ |
D | SessionRule.java | 79 return Optional.ofNullable(getPackageInstaller().getSessionInfo(retrieveSessionId())) in retrieveSessionInfo()
|
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/ |
D | AtomicInstallTest.java | 123 retry(() -> InstallUtils.getPackageInstaller().getSessionInfo(sessionId), in testSessionCleanUp_Single() 138 retry(() -> InstallUtils.getPackageInstaller().getSessionInfo(sessionId), in testSessionCleanUp_Multi() 335 InstallUtils.getPackageInstaller().getSessionInfo(childId).getParentSessionId(); in testInvalidStateScenario_RemoveWrongChildShouldDoNothing()
|
D | SessionAbandonBehaviorTest.java | 215 InstallUtils.getPackageInstaller().getSessionInfo(sessionId); in getAllChildSessions()
|
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/ |
D | PackageInstallerEnumerationTests.java | 99 final PackageInstaller.SessionInfo info = installer.getSessionInfo(sessionId); in getSessionInfo_sessionOwner_canSeeSession()
|
/cts/hostsidetests/silentupdate/testapp/src/com/android/tests/silentupdate/ |
D | SilentUpdateTests.java | 314 installer.getSessionInfo(sessionId).getRequireUserAction(), in commit()
|
/cts/tests/rollback/src/com/android/cts/rollback/ |
D | RollbackManagerTest.java | 369 assertThat(InstallUtils.getPackageInstaller().getSessionInfo( in testGetRollbackDataPolicy()
|
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/ |
D | TestActivity.java | 398 .getSessionInfo(sessionId)); in handleIntent()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 12646 method @Nullable public android.content.pm.PackageInstaller.SessionInfo getSessionInfo(int); 24430 method @Nullable public final android.media.RoutingSessionInfo getSessionInfo(@NonNull String); 26601 method @NonNull public android.os.Bundle getSessionInfo();
|