Home
last modified time | relevance | path

Searched refs:getSessionInfo (Results 1 – 15 of 15) sorted by relevance

/cts/hostsidetests/appsecurity/test-apps/SessionInspector/src/com/android/cts/sessioninspector/
DSessionInspectorTest.java58 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
DSessionInspectorActivity.java55 getPackageManager().getPackageInstaller().getSessionInfo(sessionId); in onCreate()
/cts/tests/tests/media/src/android/media/cts/
DMediaRoute2ProviderServiceTest.java141 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()
DStubMediaRoute2ProviderService.java198 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()
DMediaControllerTest.java140 Bundle sessionInfo = mController.getSessionInfo(); in testGetSessionInfo()
144 Bundle cachedSessionInfo = mController.getSessionInfo(); in testGetSessionInfo()
151 assertTrue(session.getController().getSessionInfo().isEmpty()); in testGetSessionInfoReturnsAnEmptyBundleWhenNotSet()
DMediaSessionTest.java801 Bundle sessionInfoOut = session.getController().getSessionInfo(); in testSessionInfoWithFrameworkParcelable()
/cts/tests/tests/content/src/android/content/pm/cts/
DInstallSessionTransferTest.java75 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()
DInstallSessionParamsUnitTest.java201 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/
DSessionRule.java79 return Optional.of(getPackageInstaller().getSessionInfo(retrieveSessionId())) in retrieveSessionInfo()
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DAtomicInstallTest.java123 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()
DSessionAbandonBehaviorTest.java215 InstallUtils.getPackageInstaller().getSessionInfo(sessionId); in getAllChildSessions()
/cts/tests/rollback/src/com/android/cts/rollback/
DRollbackManagerTest.java128 assertThat(InstallUtils.getPackageInstaller().getSessionInfo( in testGetRollbackDataPolicy()
/cts/hostsidetests/silentupdate/testapp/src/com/android/tests/silentupdate/
DSilentUpdateTests.java249 installer.getSessionInfo(sessionId).getRequireUserAction(), in commit()
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java297 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/
DInstallUtils.java124 PackageInstaller.SessionInfo info = installer.getSessionInfo(sessionId); in waitForSession()