Home
last modified time | relevance | path

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

/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java128 for (PackageInstaller.SessionInfo sessionInfo : stagedSessions) { in cleanUp()
130 Log.i(TAG, "abandoning session " + sessionInfo.getSessionId()); in cleanUp()
131 packageInstaller.abandonSession(sessionInfo.getSessionId()); in cleanUp()
133 Log.e(TAG, "Failed to abandon session " + sessionInfo.getSessionId(), e); in cleanUp()
326 PackageInstaller.SessionInfo sessionInfo = waitForBroadcast(sessionId); in testStagedInstallDowngrade_DowngradeNotRequested_Fails_Commit() local
327 assertThat(sessionInfo).isStagedSessionFailed(); in testStagedInstallDowngrade_DowngradeNotRequested_Fails_Commit()
349 PackageInstaller.SessionInfo sessionInfo = waitForBroadcast(sessionId); in testStagedInstallDowngrade_DowngradeRequested_Fails_Commit() local
350 assertThat(sessionInfo).isStagedSessionFailed(); in testStagedInstallDowngrade_DowngradeRequested_Fails_Commit()
425 PackageInstaller.SessionInfo sessionInfo = waitForBroadcast(sessionId); in testInstallStagedNonPreInstalledApex_Fails() local
426 assertThat(sessionInfo).isStagedSessionFailed(); in testInstallStagedNonPreInstalledApex_Fails()
[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/tests/tests/media/src/android/media/cts/
DMediaSessionTest.java540 Bundle sessionInfo = new Bundle(); in testSessionInfoWithFrameworkParcelable() local
541 sessionInfo.putParcelable(testKey, frameworkParcelable); in testSessionInfoWithFrameworkParcelable()
546 mContext, "testSessionInfoWithFrameworkParcelable", sessionInfo); in testSessionInfoWithFrameworkParcelable()
563 Bundle sessionInfo = new Bundle(); in testSessionInfoWithCustomParcelable() local
564 sessionInfo.putParcelable(testKey, customParcelable); in testSessionInfoWithCustomParcelable()
568 mContext, "testSessionInfoWithCustomParcelable", sessionInfo); in testSessionInfoWithCustomParcelable()
DMediaControllerTest.java125 Bundle sessionInfo = mController.getSessionInfo(); in testGetSessionToken() local
126 assertNotNull(sessionInfo); in testGetSessionToken()
127 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()