/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/media/src/android/media/cts/ |
D | MediaRoute2ProviderServiceTest.java | 141 assertEquals(sessionInfo1, mService.getSessionInfo(SESSION_ID_1)); in testGetSessionInfoAndGetAllSessionInfo() 151 assertEquals(sessionInfo2, mService.getSessionInfo(SESSION_ID_2)); in testGetSessionInfoAndGetAllSessionInfo() 155 assertNull(mService.getSessionInfo(SESSION_ID_1)); in testGetSessionInfoAndGetAllSessionInfo() 158 assertEquals(sessionInfo2, mService.getSessionInfo(SESSION_ID_2)); in testGetSessionInfoAndGetAllSessionInfo() 163 assertNull(mService.getSessionInfo(SESSION_ID_2)); in testGetSessionInfoAndGetAllSessionInfo() 328 RoutingSessionInfo oldInfo = mService.getSessionInfo(SESSION_ID_1); in testSessionRelatedCallbacks() 343 RoutingSessionInfo oldInfo = mService.getSessionInfo(SESSION_ID_1); in testSessionRelatedCallbacks() 358 RoutingSessionInfo oldInfo = mService.getSessionInfo(SESSION_ID_1); in testSessionRelatedCallbacks()
|
D | StubMediaRoute2ProviderService.java | 198 RoutingSessionInfo sessionInfo = getSessionInfo(sessionId); in onSetSessionVolume() 255 RoutingSessionInfo sessionInfo = getSessionInfo(sessionId); in onReleaseSession() 293 RoutingSessionInfo sessionInfo = getSessionInfo(sessionId); in onSelectRoute() 322 RoutingSessionInfo sessionInfo = getSessionInfo(sessionId); in onDeselectRoute() 357 RoutingSessionInfo sessionInfo = getSessionInfo(sessionId); in onTransferToRoute()
|
D | MediaControllerTest.java | 140 Bundle sessionInfo = mController.getSessionInfo(); in testGetSessionInfo() 144 Bundle cachedSessionInfo = mController.getSessionInfo(); in testGetSessionInfo() 151 assertTrue(session.getController().getSessionInfo().isEmpty()); in testGetSessionInfoReturnsAnEmptyBundleWhenNotSet()
|
D | MediaSessionTest.java | 801 Bundle sessionInfoOut = session.getController().getSessionInfo(); in testSessionInfoWithFrameworkParcelable()
|
/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 | 201 private SessionInfo getSessionInfo(int sessionId) { in getSessionInfo() method in InstallSessionParamsUnitTest 248 SessionInfo info = getSessionInfo(sessionId); in checkSessionParams()
|
/cts/hostsidetests/install/app/src/android/cts/install/ |
D | SessionRule.java | 79 return Optional.of(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/rollback/src/com/android/cts/rollback/ |
D | RollbackManagerTest.java | 128 assertThat(InstallUtils.getPackageInstaller().getSessionInfo( in testGetRollbackDataPolicy()
|
/cts/hostsidetests/silentupdate/testapp/src/com/android/tests/silentupdate/ |
D | SilentUpdateTests.java | 249 installer.getSessionInfo(sessionId).getRequireUserAction(), in commit()
|
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | StagedInstallTest.java | 297 session = getSessionInfo(sessionId); in testAbandonStagedApkBeforeReboot_CommitAndAbandon() 1349 PackageInstaller.SessionInfo sessionInfo = packageInstaller.getSessionInfo(sessionId); in assertSessionState() 1460 private static PackageInstaller.SessionInfo getSessionInfo(int sessionId) { in getSessionInfo() method in StagedInstallTest 1461 return getPackageInstaller().getSessionInfo(sessionId); in getSessionInfo()
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | InstallUtils.java | 124 PackageInstaller.SessionInfo info = installer.getSessionInfo(sessionId); in waitForSession()
|