Home
last modified time | relevance | path

Searched refs:sessionId (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaDrmMockTest.java186 byte[] sessionId = openSession(md); in testOpenCloseSession()
187 md.closeSession(sessionId); in testOpenCloseSession()
196 byte[] sessionId = {0x05, 0x6, 0x7, 0x8}; in testBadSession()
199 md.closeSession(sessionId); in testBadSession()
212 byte[] sessionId = null; in testNullSession()
215 md.closeSession(sessionId); in testNullSession()
228 byte[] sessionId = openSession(md); in testGetKeyRequest()
243 KeyRequest request = md.getKeyRequest(sessionId, initData, mimeType, in testGetKeyRequest()
255 md.closeSession(sessionId); in testGetKeyRequest()
264 byte[] sessionId = openSession(md); in testGetKeyRequestNoOptionalParameters()
[all …]
DPostProcTestBase.java61 int sessionId = am.generateAudioSessionId(); in getSessionId() local
62 assertTrue("Could not generate session id", sessionId>0); in getSessionId()
63 return sessionId; in getSessionId()
DClearKeySystemTest.java164 private void getKeys(MediaDrm drm, byte[] sessionId, byte[] drmInitData) { in getKeys() argument
167 drmRequest = drm.getKeyRequest(sessionId, drmInitData, "cenc", in getKeys()
203 drm.provideKeyResponse(sessionId, jsonResponse); in getKeys()
234 public void onEvent(MediaDrm md, byte[] sessionId, int event, in startDrm()
284 private void closeSession(MediaDrm drm, byte[] sessionId) { in closeSession() argument
285 drm.closeSession(sessionId); in closeSession()
DLoudnessEnhancerTest.java113 int sessionId = mp.getAudioSessionId(); in test2_0MeasureGainChange() local
115 getLoudnessEnhancer(sessionId); in test2_0MeasureGainChange()
116 visualizer = new Visualizer(sessionId); in test2_0MeasureGainChange()
DMediaCodecCencPlayer.java105 public MediaCodecCencPlayer(SurfaceHolder holder, byte[] sessionId) { in MediaCodecCencPlayer() argument
106 mSessionId = sessionId; in MediaCodecCencPlayer()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTestResultRepo.java64 public File getReportDir(int sessionId) { in getReportDir() argument
65 return mResultDirs.get(sessionId); in getReportDir()
101 public TestResults getResult(int sessionId) { in getResult() argument
103 if (mResultDirs.size() <= sessionId) { in getResult()
104 CLog.e("Session id %d does not exist", sessionId); in getResult()
109 File resultFile = new File(mResultDirs.get(sessionId), in getResult()
114 CLog.e("Could not find result file for session %d", sessionId); in getResult()
116 CLog.e("Failed to parse result file for session %d", sessionId); in getResult()
DITestResultRepo.java39 public TestResults getResult(int sessionId); in getResult() argument
46 public File getReportDir(int sessionId); in getReportDir() argument
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
DBasePackageInstallTest.java156 int sessionId = mPackageInstaller.createSession(params); in installPackage() local
157 mSession = mPackageInstaller.openSession(sessionId); in installPackage()
169 mSession.commit(getCommitCallback(sessionId)); in installPackage()
173 private IntentSender getCommitCallback(int sessionId) { in getCommitCallback() argument
175 String action = ACTION_INSTALL_COMMIT + "." + sessionId; in getCommitCallback()
184 sessionId, in getCommitCallback()
/cts/hostsidetests/appsecurity/src/com/android/cts/appsecurity/
DSplitTests.java381 int sessionId = -1; in run() local
384 sessionId = Integer.parseInt(result.substring(start + 1, end)); in run()
388 if (sessionId == -1) { in run()
403 cmd.append(' ').append(sessionId); in run()
414 cmd.append(' ').append(sessionId); in run()
/cts/tests/tests/security/testeffect/
DCTSTestEffect.cpp45 int32_t sessionId, in CTSEffectsLib_Create() argument
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DCtsTest.java437 void setContinueSessionId(int sessionId) { in setContinueSessionId() argument
438 mContinueSessionId = sessionId; in setContinueSessionId()