Home
last modified time | relevance | path

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

12

/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java214 Log.i(TAG, "abandoning session " + sessionInfo.getSessionId()); in cleanUp()
215 packageInstaller.abandonSession(sessionInfo.getSessionId()); in cleanUp()
217 Log.e(TAG, "Failed to abandon session " + sessionInfo.getSessionId(), e); in cleanUp()
243 int sessionId = stageSingleApk(TestApp.A1).assertSuccessful().getSessionId(); in testInstallStagedApk_Commit()
274 .assertSuccessful().getSessionId(); in testInstallMultipleStagedApks_Commit()
296 int sessionId = stageSingleApk(TestApp.A1).assertSuccessful().getSessionId(); in testAbandonStagedApkBeforeReboot_CommitAndAbandon()
328 int sessionId = stageSingleApk(TestApp.A1).assertSuccessful().getSessionId(); in testAbandonStagedApkBeforeReady_CommitAndAbandon()
342 int sessionId = stageSingleApk(TestApp.Apex2).assertSuccessful().getSessionId(); in testStageAnotherSessionImmediatelyAfterAbandon()
351 .assertSuccessful().getSessionId(); in testStageAnotherSessionImmediatelyAfterAbandonMultiPackage()
374 int firstSessionId = stageSingleApk(TestApp.A1).assertSuccessful().getSessionId(); in testGetActiveStagedSessions()
[all …]
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DEqualizerTest.java69 eq = new Equalizer(0, getSessionId()); in test0_0ConstructorAndRelease()
94 getEqualizer(getSessionId()); in test1_0BandLevel()
124 getEqualizer(getSessionId()); in test1_1BandFrequency()
150 getEqualizer(getSessionId()); in test1_2Presets()
176 getEqualizer(getSessionId()); in test1_3Properties()
208 getEqualizer(getSessionId()); in test1_4SetBandLevelAfterRelease()
226 getEqualizer(getSessionId()); in test2_0SetEnabledGetEnabled()
243 getEqualizer(getSessionId()); in test2_1SetEnabledAfterRelease()
405 mSession = getSessionId(); in createListenerLooper()
DVirtualizerTest.java73 eq = new Virtualizer(0, getSessionId()); in test0_0ConstructorAndRelease()
102 getVirtualizer(getSessionId()); in test1_0Strength()
135 getVirtualizer(getSessionId()); in test1_1Properties()
173 getVirtualizer(getSessionId()); in test1_2SetStrengthAfterRelease()
195 getVirtualizer(getSessionId()); in test2_0SetEnabledGetEnabled()
215 getVirtualizer(getSessionId()); in test2_1SetEnabledAfterRelease()
329 getVirtualizer(getSessionId()); in test4_0FormatModeQuery()
370 getVirtualizer(getSessionId()); in test4_1SpeakerAnglesCapaMatchesFormatModeCapa()
414 getVirtualizer(getSessionId()); in test4_2VirtualizationMode()
444 getVirtualizer(getSessionId()); in test4_3DisablingVirtualizationOff()
[all …]
DBassBoostTest.java69 eq = new BassBoost(0, getSessionId()); in test0_0ConstructorAndRelease()
98 getBassBoost(getSessionId()); in test1_0Strength()
131 getBassBoost(getSessionId()); in test1_1Properties()
169 getBassBoost(getSessionId()); in test1_2SetStrengthAfterRelease()
191 getBassBoost(getSessionId()); in test2_0SetEnabledGetEnabled()
211 getBassBoost(getSessionId()); in test2_1SetEnabledAfterRelease()
383 mSession = getSessionId(); in createListenerLooper()
DPostProcTestBase.java71 protected int getSessionId() { in getSessionId() method in PostProcTestBase
DHapticGeneratorTest.java99 HapticGenerator effect = HapticGenerator.create(getSessionId()); in createHapticGenerator()
DLoudnessEnhancerTest.java115 getLoudnessEnhancer(getSessionId()); in test2_0SetEnabledGetEnabled()
135 getLoudnessEnhancer(getSessionId()); in test2_1SetEnabledAfterRelease()
/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/
DAppPredictionServiceTest.java111 mReporter.assertActiveSession(client.getSessionId()); in testCreateDestroySession()
112 assertEquals(mReporter.getPredictionContext(client.getSessionId()), context); in testCreateDestroySession()
119 mReporter.assertActiveSession(client2.getSessionId()); in testCreateDestroySession()
120 assertEquals(mReporter.getPredictionContext(client2.getSessionId()), context2); in testCreateDestroySession()
121 assertNotEquals(client.getSessionId(), client2.getSessionId()); in testCreateDestroySession()
130 assertFails(() -> mReporter.assertActiveSession(client.getSessionId())); in testCreateDestroySession()
131 assertFails(() -> mReporter.assertActiveSession(client2.getSessionId())); in testCreateDestroySession()
/cts/hostsidetests/neuralnetworks/src/com/android/nn/host/cts/
DNeuralNetworksStatsTests.java125 assertThat(atom.getSessionId()).isEqualTo(current.getSessionId()); in testAppNeuralNetworksCompilationCompletedNative()
169 assertThat(atom.getSessionId()).isEqualTo(current.getSessionId()); in testAppNeuralNetworksCompilationFailedNative()
228 assertThat(atom.getSessionId()).isEqualTo(current.getSessionId()); in testAppNeuralNetworksExecutionCompletedNative()
273 assertThat(atom.getSessionId()).isEqualTo(current.getSessionId()); in testAppNeuralNetworksExecutionFailedNative()
/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/hostsidetests/media/app/MediaMetricsTest/src/android/media/metrics/cts/
DMediaMetricsAtomHostSideTests.java313 LogSessionId idObj = s.getSessionId(); in testSessionId()
326 LogSessionId idObj = s.getSessionId(); in testRecordingSession()
339 LogSessionId idObj = s.getSessionId(); in testEditingSession()
463 LogSessionId idObj = s.getSessionId(); in testTranscodingSession()
476 LogSessionId idObj = s.getSessionId(); in testBundleSession()
491 b.putString("playbackstateevent-sessionid", s.getSessionId().getStringId()); in testBundleSessionPlaybackStateEvent()
517 writeSessionIdToFile(s.getSessionId().getStringId()); in testAppBlocklist()
554 writeSessionIdToFile(s.getSessionId().getStringId()); in testAttributionBlocklist()
577 writeSessionIdToFile(s.getSessionId().getStringId()); in testAppAllowlist()
614 writeSessionIdToFile(s.getSessionId().getStringId()); in testAttributionAllowlist()
/cts/hostsidetests/biometrics/src/android/server/biometrics/cts/
DBiometricsAtomsTests.java175 acquiredAtoms, modality, authAtoms.get(0).getSessionId()); in testAuthenticateAtom()
198 acquiredAtoms, modality, authAtoms.get(0).getSessionId()); in testAuthenticateAtom()
213 assertThat(atom.getSessionId()).isGreaterThan(0); in assertAuthenticateAtomData()
232 assertThat(atom.getSessionId()).isEqualTo(sessionId); in assertAuthenticateAcquiredAtomsData()
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextClassificationSessionIdTest.java58 TextClassificationSessionId sessionId = startedEvent.getSessionId(); in getValue()
/cts/tests/tests/tv/src/android/media/tv/ad/cts/
DStubTvInputService2.java31 public static String getSessionId() { in getSessionId() method in StubTvInputService2
/cts/libs/install/src/com/android/cts/install/lib/
DPackageInstallerSessionInfoSubject.java71 + "sessionId = " + mActual.getSessionId() + "; "
/cts/tests/tests/virtualdevice/audio/src/android/virtualdevice/cts/audio/
DTextToSpeechTest.java124 assertThat(ttsAudioPlaybackConfig.getSessionId()).isEqualTo(mVirtualDeviceAudioSessionId); in textToSpeechWithVirtualDeviceContext_hasVdmSpecificSessionId()
143 assertThat(ttsAudioPlaybackConfig.getSessionId()) in textToSpeechWithVirtualDeviceContext_explicitSessionIdOverridesVdmSessionId()
/cts/hostsidetests/media/app/MediaExtractorTest/src/android/media/cts/
DMediaExtractorDeviceSideTest.java88 assertMediaExtractorAcceptsLogSessionId(playbackSession.getSessionId()); in testValidLogSessionId()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DPackageInstallerEnumerationTests.java145 .map(i -> i.getSessionId()) in getStagedSessions_sessionOwner_canSeeSession()
188 .map(i -> i.getSessionId()) in getAllSessions_sessionOwner_canSeeSession()
/cts/tests/tests/tv/src/android/media/tv/interactive/cts/
DStubTvInputService2.java35 public static String getSessionId() { in getSessionId() method in StubTvInputService2
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/credentials/
DCredentialsStatsTest.java116 assertThat(actualInitialMetric.getSessionId()).isNotEqualTo(0); in testInitialPhaseKnownCaller()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputManagerTest.java795 String sessionId = StubTvInputService2.getSessionId(); in testGetClientPriority()
811 PollingCheck.waitFor(TIME_OUT_MS, () -> StubTvInputService2.getSessionId() == null); in testGetClientPriority()
836 String sessionId = StubTvInputService2.getSessionId(); in testGetClientPid()
843 PollingCheck.waitFor(TIME_OUT_MS, () -> StubTvInputService2.getSessionId() == null); in testGetClientPid()
898 public static String getSessionId() { in getSessionId() method in TvInputManagerTest.StubTvInputService2
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/performancehintmanager/
DPerformanceHintManagerStatsTests.java152 assertThat(a0.getSessionId()).isNotNull(); in testCreateHintSessionStatsdApp()
202 assertThat(a0.getSessionId()).isNotNull(); in testCreateHintSessionStatsdGame()
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaDrmTest.java143 final LogSessionId logSessionId = playbackSession.getSessionId(); in testPlaybackComponent()
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/
DSessionCommitBroadcastTest.java123 assertEquals(sessionId, info.getSessionId()); in testBroadcastNotReceivedForUpdateInstall()

12