/cts/tests/tests/media/src/android/media/cts/ |
D | MediaDrmMockTest.java | 186 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 …]
|
D | PostProcTestBase.java | 61 int sessionId = am.generateAudioSessionId(); in getSessionId() local 62 assertTrue("Could not generate session id", sessionId>0); in getSessionId() 63 return sessionId; in getSessionId()
|
D | ClearKeySystemTest.java | 164 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()
|
D | LoudnessEnhancerTest.java | 113 int sessionId = mp.getAudioSessionId(); in test2_0MeasureGainChange() local 115 getLoudnessEnhancer(sessionId); in test2_0MeasureGainChange() 116 visualizer = new Visualizer(sessionId); in test2_0MeasureGainChange()
|
D | MediaCodecCencPlayer.java | 105 public MediaCodecCencPlayer(SurfaceHolder holder, byte[] sessionId) { in MediaCodecCencPlayer() argument 106 mSessionId = sessionId; in MediaCodecCencPlayer()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
D | TestResultRepo.java | 64 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()
|
D | ITestResultRepo.java | 39 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/ |
D | BasePackageInstallTest.java | 156 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/ |
D | SplitTests.java | 381 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/ |
D | CTSTestEffect.cpp | 45 int32_t sessionId, in CTSEffectsLib_Create() argument
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | CtsTest.java | 437 void setContinueSessionId(int sessionId) { in setContinueSessionId() argument 438 mContinueSessionId = sessionId; in setContinueSessionId()
|