Home
last modified time | relevance | path

Searched refs:sessionInfo (Results 1 – 7 of 7) sorted by relevance

/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java160 for (PackageInstaller.SessionInfo sessionInfo : stagedSessions) { in cleanUp()
161 if (sessionInfo.getParentSessionId() != PackageInstaller.SessionInfo.INVALID_ID) { in cleanUp()
166 Log.i(TAG, "abandoning session " + sessionInfo.getSessionId()); in cleanUp()
167 packageInstaller.abandonSession(sessionInfo.getSessionId()); in cleanUp()
169 Log.e(TAG, "Failed to abandon session " + sessionInfo.getSessionId(), e); in cleanUp()
368 PackageInstaller.SessionInfo sessionInfo = waitForBroadcast(sessionId); in testStagedInstallDowngrade_DowngradeNotRequested_Fails_Commit() local
369 assertThat(sessionInfo).isStagedSessionFailed(); in testStagedInstallDowngrade_DowngradeNotRequested_Fails_Commit()
389 PackageInstaller.SessionInfo sessionInfo = waitForBroadcast(sessionId); in testStagedInstallDowngrade_DowngradeRequested_Fails_Commit() local
390 assertThat(sessionInfo).isStagedSessionFailed(); in testStagedInstallDowngrade_DowngradeRequested_Fails_Commit()
463 PackageInstaller.SessionInfo sessionInfo = waitForBroadcast(sessionId); in testInstallStagedNonPreInstalledApex_Fails() local
[all …]
/cts/tests/tests/content/src/android/content/pm/cts/
DInstallSessionTransferTest.java68 for (SessionInfo sessionInfo : mySessionInfos) { in getSessionInfo()
69 if (sessionInfo.sessionId == sessionId) { in getSessionInfo()
70 return sessionInfo; in getSessionInfo()
DInstallSessionParamsUnitTest.java188 for (SessionInfo sessionInfo : mySessionInfos) { in getSessionInfo()
189 if (sessionInfo.getSessionId() == sessionId) { in getSessionInfo()
190 return sessionInfo; in getSessionInfo()
/cts/hostsidetests/rollback/app/src/com/android/cts/rollback/host/app/
DHostTestHelper.java84 packageInstaller.getStagedSessions().forEach(sessionInfo -> { in cleanUp()
85 if (sessionInfo.getParentSessionId() != PackageInstaller.SessionInfo.INVALID_ID in cleanUp()
86 || sessionInfo.isStagedSessionApplied() in cleanUp()
87 || sessionInfo.isStagedSessionFailed()) { in cleanUp()
91 Log.i(TAG, "abandoning session " + sessionInfo.getSessionId()); in cleanUp()
92 packageInstaller.abandonSession(sessionInfo.getSessionId()); in cleanUp()
94 Log.e(TAG, "Failed to abandon session " + sessionInfo.getSessionId(), e); in cleanUp()
/cts/tests/tests/media/src/android/media/cts/
DMediaSessionTest.java541 Bundle sessionInfo = new Bundle(); in testSessionInfoWithFrameworkParcelable() local
542 sessionInfo.putParcelable(testKey, frameworkParcelable); in testSessionInfoWithFrameworkParcelable()
547 mContext, "testSessionInfoWithFrameworkParcelable", sessionInfo); in testSessionInfoWithFrameworkParcelable()
564 Bundle sessionInfo = new Bundle(); in testSessionInfoWithCustomParcelable() local
565 sessionInfo.putParcelable(testKey, customParcelable); in testSessionInfoWithCustomParcelable()
569 mContext, "testSessionInfoWithCustomParcelable", sessionInfo); in testSessionInfoWithCustomParcelable()
DMediaControllerTest.java126 Bundle sessionInfo = mController.getSessionInfo(); in testGetSessionToken() local
127 assertNotNull(sessionInfo); in testGetSessionToken()
128 assertEquals(EXTRAS_VALUE, sessionInfo.getString(EXTRAS_KEY)); in testGetSessionToken()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCommandSession.java122 final Bundle sessionInfo = new Bundle(data); in handleForward() local
123 sessionInfo.remove(KEY_FORWARD); in handleForward()
124 for (String key : sessionInfo.keySet()) { in handleForward()
126 sessionInfo.remove(key); in handleForward()
133 intent.putExtras(sessionInfo); in handleForward()