Home
last modified time | relevance | path

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

/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java203 Log.i(TAG, "abandoning session " + sessionInfo.getSessionId()); in cleanUp()
204 packageInstaller.abandonSession(sessionInfo.getSessionId()); in cleanUp()
206 Log.e(TAG, "Failed to abandon session " + sessionInfo.getSessionId(), e); in cleanUp()
232 int sessionId = stageSingleApk(TestApp.A1).assertSuccessful().getSessionId(); in testInstallStagedApk_Commit()
264 .assertSuccessful().getSessionId(); in testInstallMultipleStagedApks_Commit()
287 int sessionId = stageSingleApk(TestApp.A1).assertSuccessful().getSessionId(); in testAbandonStagedApkBeforeReboot_CommitAndAbandon()
320 int sessionId = stageSingleApk(TestApp.A1).assertSuccessful().getSessionId(); in testAbandonStagedApkBeforeReady_CommitAndAbandon()
334 int sessionId = stageSingleApk(TestApp.Apex2).assertSuccessful().getSessionId(); in testStageAnotherSessionImmediatelyAfterAbandon()
343 .assertSuccessful().getSessionId(); in testStageAnotherSessionImmediatelyAfterAbandonMultiPackage()
356 .getSessionId(); in testNoSessionUpdatedBroadcastSentForStagedSessionAbandon()
[all …]
DPackageInstallerSessionInfoSubject.java71 + "sessionId = " + mActual.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()
DHapticGeneratorTest.java83 HapticGenerator effect = HapticGenerator.create(getSessionId()); in createHapticGenerator()
DPostProcTestBase.java58 protected int getSessionId() { in getSessionId() method in PostProcTestBase
DLoudnessEnhancerTest.java100 getLoudnessEnhancer(getSessionId()); in test2_0SetEnabledGetEnabled()
119 getLoudnessEnhancer(getSessionId()); in test2_1SetEnabledAfterRelease()
DMediaDrmTest.java142 final LogSessionId logSessionId = playbackSession.getSessionId(); in testPlaybackComponent()
DMediaCasTest.java311 Log.d(TAG, "Session Id = " + Arrays.toString(session.getSessionId())); in testClearKeyApis()
DAudioRecordTest.java1718 audioRecord.setLogSessionId(recordingSession.getSessionId()); in testSetLogSessionId()
1719 assertEquals(recordingSession.getSessionId(), audioRecord.getLogSessionId()); in testSetLogSessionId()
DMediaRecorderTest.java1832 recorder.setLogSessionId(recordingSession.getSessionId()); in testSetGetLogSessionId()
1833 assertEquals(recordingSession.getSessionId(), recorder.getLogSessionId()); in testSetGetLogSessionId()
DAudioTrackTest.java2932 audioTrack.setLogSessionId(playbackSession.getSessionId()); in testSetLogSessionId()
2933 assertEquals(playbackSession.getSessionId(), audioTrack.getLogSessionId()); in testSetLogSessionId()
/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/location/location_gnss/src/android/location/cts/gnss/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/install/app/src/android/cts/install/
DInstallRule.java85 Log.i(TAG, "abandoning session " + sessionInfo.getSessionId()); in cleanUp()
86 packageInstaller.abandonSession(sessionInfo.getSessionId()); in cleanUp()
88 Log.e(TAG, "Failed to abandon session " + sessionInfo.getSessionId(), e); in cleanUp()
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextClassificationSessionIdTest.java58 TextClassificationSessionId sessionId = startedEvent.getSessionId(); in getValue()
/cts/libs/install/src/com/android/cts/install/lib/
DInstallUtils.java106 if (info != null && info.getSessionId() == sessionId) { in waitForSession()
134 assertThat(info.getSessionId()).isEqualTo(sessionId); in waitForSession()
399 if (session.getSessionId() == sessionId) { in getStagedSessionInfo()
/cts/hostsidetests/media/app/MediaMetricsTest/src/android/media/metrics/cts/
DMediaMetricsAtomHostSideTests.java306 LogSessionId idObj = s.getSessionId(); in testSessionId()
319 LogSessionId idObj = s.getSessionId(); in testRecordingSession()
/cts/tests/tests/content/src/android/content/pm/cts/
DInstallSessionParamsUnitTest.java205 if (sessionInfo.getSessionId() == sessionId) { in getSessionInfo()
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DAtomicInstallTest.java96 InstallUtils.getPackageInstaller().abandonSession(info.getSessionId()); in cleanUpSessions()
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingManagerTest.java586 assertTrue(session.getSessionId() != -1); in testCancelTranscoding()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DConnectedNetworkScorerTest.java456 this.startSessionId = sessionInfo.getSessionId(); in onStart()