Home
last modified time | relevance | path

Searched refs:getSessionId (Results 1 – 14 of 14) sorted by relevance

/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java166 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()
194 int sessionId = stageSingleApk(TestApp.A1).assertSuccessful().getSessionId(); in testInstallStagedApk_Commit()
222 .assertSuccessful().getSessionId(); in testInstallMultipleStagedApks_Commit()
242 int sessionId = stageSingleApk(TestApp.A1).assertSuccessful().getSessionId(); in testAbandonStagedApkBeforeReboot_CommitAndAbandon()
276 int firstSessionId = stageSingleApk(TestApp.A1).assertSuccessful().getSessionId(); in testGetActiveStagedSessions()
282 int secondSessionId = stageSingleApk(TestApp.B1).assertSuccessful().getSessionId(); in testGetActiveStagedSessions()
289 .stream().map(s -> s.getSessionId()).collect(Collectors.toList()); in testGetActiveStagedSessions()
296 assertThat(stagedSessionIds).contains(session.getSessionId()); in testGetActiveStagedSessions()
[all …]
DApexShimValidationTest.java81 assertThat(info.getSessionId()).isEqualTo(sessionId); in testRejectsApexWithAdditionalFile_Commit()
90 assertThat(info.getSessionId()).isEqualTo(sessionId); in testRejectsApexWithAdditionalFolder_Commit()
99 assertThat(info.getSessionId()).isEqualTo(sessionId); in testRejectsApexWithPostInstallHook_Commit()
108 assertThat(info.getSessionId()).isEqualTo(sessionId); in testRejectsApexWithPreInstallHook_Commit()
117 assertThat(info.getSessionId()).isEqualTo(sessionId); in testRejectsApexWrongSHA_Commit()
DSessionUpdateBroadcastReceiver.java42 Log.i(TAG, "Received SESSION_UPDATED for session " + info.getSessionId() in onReceive()
DPackageInstallerSessionInfoSubject.java74 + "sessionId = " + session.getSessionId() + "; "
/cts/tests/tests/media/src/android/media/cts/
DVirtualizerTest.java62 eq = new Virtualizer(0, getSessionId()); in test0_0ConstructorAndRelease()
90 getVirtualizer(getSessionId()); in test1_0Strength()
122 getVirtualizer(getSessionId()); in test1_1Properties()
159 getVirtualizer(getSessionId()); in test1_2SetStrengthAfterRelease()
180 getVirtualizer(getSessionId()); in test2_0SetEnabledGetEnabled()
199 getVirtualizer(getSessionId()); in test2_1SetEnabledAfterRelease()
309 getVirtualizer(getSessionId()); in test4_0FormatModeQuery()
349 getVirtualizer(getSessionId()); in test4_1SpeakerAnglesCapaMatchesFormatModeCapa()
392 getVirtualizer(getSessionId()); in test4_2VirtualizationMode()
421 getVirtualizer(getSessionId()); in test4_3DisablingVirtualizationOff()
[all …]
DEqualizerTest.java55 eq = new Equalizer(0, getSessionId()); in test0_0ConstructorAndRelease()
79 getEqualizer(getSessionId()); in test1_0BandLevel()
108 getEqualizer(getSessionId()); in test1_1BandFrequency()
133 getEqualizer(getSessionId()); in test1_2Presets()
158 getEqualizer(getSessionId()); in test1_3Properties()
189 getEqualizer(getSessionId()); in test1_4SetBandLevelAfterRelease()
206 getEqualizer(getSessionId()); in test2_0SetEnabledGetEnabled()
222 getEqualizer(getSessionId()); in test2_1SetEnabledAfterRelease()
381 mSession = getSessionId(); in createListenerLooper()
DBassBoostTest.java55 eq = new BassBoost(0, getSessionId()); in test0_0ConstructorAndRelease()
83 getBassBoost(getSessionId()); in test1_0Strength()
115 getBassBoost(getSessionId()); in test1_1Properties()
152 getBassBoost(getSessionId()); in test1_2SetStrengthAfterRelease()
173 getBassBoost(getSessionId()); in test2_0SetEnabledGetEnabled()
192 getBassBoost(getSessionId()); in test2_1SetEnabledAfterRelease()
361 mSession = getSessionId(); in createListenerLooper()
DLoudnessEnhancerTest.java100 getLoudnessEnhancer(getSessionId()); in test2_0SetEnabledGetEnabled()
119 getLoudnessEnhancer(getSessionId()); in test2_1SetEnabledAfterRelease()
DPostProcTestBase.java58 protected int getSessionId() { in getSessionId() method in PostProcTestBase
/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/
DAppPredictionServiceTest.java102 mReporter.assertActiveSession(client.getSessionId()); in testCreateDestroySession()
103 assertEquals(mReporter.getPredictionContext(client.getSessionId()), context); in testCreateDestroySession()
110 mReporter.assertActiveSession(client2.getSessionId()); in testCreateDestroySession()
111 assertEquals(mReporter.getPredictionContext(client2.getSessionId()), context2); in testCreateDestroySession()
112 assertNotEquals(client.getSessionId(), client2.getSessionId()); in testCreateDestroySession()
121 assertFails(() -> mReporter.assertActiveSession(client.getSessionId())); in testCreateDestroySession()
122 assertFails(() -> mReporter.assertActiveSession(client2.getSessionId())); in testCreateDestroySession()
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/ulp_components/
DSetSessionID.java102 public SetSessionID.sessionIdType getSessionId() { in getSessionId() method in SetSessionID
143 return getSessionId() != null; in getComponents()
155 return getSessionId(); in getComponents()
178 + getSessionId().toIndentedString(indent); in getComponents()
/cts/hostsidetests/rollback/app/src/com/android/cts/rollback/host/app/
DHostTestHelper.java91 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/libs/install/src/com/android/cts/install/lib/
DInstallUtils.java93 if (info != null && info.getSessionId() == sessionId) { in waitForSessionReady()
/cts/tests/tests/content/src/android/content/pm/cts/
DInstallSessionParamsUnitTest.java189 if (sessionInfo.getSessionId() == sessionId) { in getSessionInfo()