/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
ITestResultRepo.java | 35 * @param sessionId the session id 39 public TestResults getResult(int sessionId); 43 * @param sessionId 44 * @return A {@link File} representing the report directory for the given sessionId 46 public File getReportDir(int sessionId);
|
TestResultRepo.java | 64 public File getReportDir(int sessionId) { 65 return mResultDirs.get(sessionId); 101 public TestResults getResult(int sessionId) { 103 if (mResultDirs.size() <= sessionId) { 104 CLog.e("Session id %d does not exist", sessionId); 109 File resultFile = new File(mResultDirs.get(sessionId), 114 CLog.e("Could not find result file for session %d", sessionId); 116 CLog.e("Failed to parse result file for session %d", sessionId);
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
InspectorTracingAgent.cpp | 20 const char sessionId[] = "sessionId"; 46 m_state->setString(TracingAgentState::sessionId, IdentifiersFactory::createIdentifier()); 59 String InspectorTracingAgent::sessionId() 61 return m_state->getString(TracingAgentState::sessionId); 68 TRACE_EVENT_INSTANT1(devtoolsMetadataEventCategory, "TracingStartedInPage", "sessionId", sessionId().utf8()); 71 m_workerAgent->setTracingSessionId(sessionId()); 77 TRACE_EVENT_INSTANT2(devtoolsMetadataEventCategory, "SetLayerTreeId", "sessionId", sessionId().utf8(), "layerTreeId", m_layerTreeId) [all...] |
InspectorTracingAgent.h | 45 String sessionId();
|
/external/chromium_org/media/base/android/java/src/org/chromium/media/ |
MediaDrmBridge.java | 115 private PendingCreateSessionData(int sessionId, byte[] initData, String mimeType) { 116 mSessionId = sessionId; 121 private int sessionId() { return mSessionId; } 142 * Gets session associated with the sessionId. 144 * @return session if sessionId maps a valid opened session. Returns null 147 private ByteBuffer getSession(int sessionId) { 149 if (mSessionIds.get(session) == sessionId) { 430 private void savePendingCreateSessionData(int sessionId, byte[] initData, String mime) { 433 new PendingCreateSessionData(sessionId, initData, mime)); 449 int sessionId = pendingData.sessionId() [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
ServerSessionContext.java | 56 public SSLSession getSession(byte[] sessionId) { 57 SSLSession session = super.getSession(sessionId); 64 byte[] data = persistentCache.getSessionData(sessionId);
|
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
RemotePlayer.java | 59 String sessionId, MediaSessionStatus sessionStatus, 61 logStatus("onItemStatusChanged", sessionId, sessionStatus, itemId, itemStatus); 75 String sessionId, MediaSessionStatus sessionStatus) { 76 logStatus("onSessionStatusChanged", sessionId, sessionStatus, null, null); 83 public void onSessionChanged(String sessionId) { 85 Log.d(TAG, "onSessionChanged: sessionId=" + sessionId); 134 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus, 136 logStatus("play: succeeded", sessionId, sessionStatus, itemId, itemStatus); 174 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus [all...] |
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
RemotePlayer.java | 59 String sessionId, MediaSessionStatus sessionStatus, 61 logStatus("onItemStatusChanged", sessionId, sessionStatus, itemId, itemStatus); 75 String sessionId, MediaSessionStatus sessionStatus) { 76 logStatus("onSessionStatusChanged", sessionId, sessionStatus, null, null); 83 public void onSessionChanged(String sessionId) { 85 Log.d(TAG, "onSessionChanged: sessionId=" + sessionId); 134 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus, 136 logStatus("play: succeeded", sessionId, sessionStatus, itemId, itemStatus); 174 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus [all...] |
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
RemotePlayer.java | 59 String sessionId, MediaSessionStatus sessionStatus, 61 logStatus("onItemStatusChanged", sessionId, sessionStatus, itemId, itemStatus); 75 String sessionId, MediaSessionStatus sessionStatus) { 76 logStatus("onSessionStatusChanged", sessionId, sessionStatus, null, null); 83 public void onSessionChanged(String sessionId) { 85 Log.d(TAG, "onSessionChanged: sessionId=" + sessionId); 134 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus, 136 logStatus("play: succeeded", sessionId, sessionStatus, itemId, itemStatus); 177 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus [all...] |
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
RemotePlayer.java | 59 String sessionId, MediaSessionStatus sessionStatus, 61 logStatus("onItemStatusChanged", sessionId, sessionStatus, itemId, itemStatus); 75 String sessionId, MediaSessionStatus sessionStatus) { 76 logStatus("onSessionStatusChanged", sessionId, sessionStatus, null, null); 83 public void onSessionChanged(String sessionId) { 85 Log.d(TAG, "onSessionChanged: sessionId=" + sessionId); 134 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus, 136 logStatus("play: succeeded", sessionId, sessionStatus, itemId, itemStatus); 174 public void onResult(Bundle data, String sessionId, MediaSessionStatus sessionStatus [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/encryptedmedia/ |
HTMLMediaElementEncryptedMedia.h | 30 static void webkitAddKey(HTMLMediaElement&, const String& keySystem, PassRefPtr<Uint8Array> key, PassRefPtr<Uint8Array> initData, const String& sessionId, ExceptionState&); 32 static void webkitCancelKeyRequest(HTMLMediaElement&, const String& keySystem, const String& sessionId, ExceptionState&); 44 static void keyAdded(HTMLMediaElement&, const String& keySystem, const String& sessionId); 45 static void keyError(HTMLMediaElement&, const String& keySystem, const String& sessionId, WebMediaPlayerClient::MediaKeyErrorCode, unsigned short systemCode); 46 static void keyMessage(HTMLMediaElement&, const String& keySystem, const String& sessionId, const unsigned char* message, unsigned messageLength, const WebURL& defaultURL); 61 void addKey(WebMediaPlayer*, const String& keySystem, PassRefPtr<Uint8Array> key, PassRefPtr<Uint8Array> initData, const String& sessionId, ExceptionState&); 62 void cancelKeyRequest(WebMediaPlayer*, const String& keySystem, const String& sessionId, ExceptionState&);
|
HTMLMediaElementEncryptedMedia.cpp | 28 static void throwExceptionIfMediaKeyExceptionOccurred(const String& keySystem, const String& sessionId, WebMediaPlayer::MediaKeyException exception, ExceptionState& exceptionState) 40 exceptionState.throwDOMException(InvalidAccessError, "The session ID provided ('" + sessionId + "') is invalid."); 306 webkitInitializer.sessionId = String(); 354 void HTMLMediaElementEncryptedMedia::webkitAddKey(HTMLMediaElement& element, const String& keySystem, PassRefPtr<Uint8Array> key, PassRefPtr<Uint8Array> initData, const String& sessionId, ExceptionState& exceptionState) 356 HTMLMediaElementEncryptedMedia::from(element).addKey(element.webMediaPlayer(), keySystem, key, initData, sessionId, exceptionState); 359 void HTMLMediaElementEncryptedMedia::addKey(WebMediaPlayer* webMediaPlayer, const String& keySystem, PassRefPtr<Uint8Array> key, PassRefPtr<Uint8Array> initData, const String& sessionId, ExceptionState& exceptionState) 395 WebMediaPlayer::MediaKeyException result = webMediaPlayer->addKey(keySystem, key->data(), key->length(), initDataPointer, initDataLength, sessionId); 396 throwExceptionIfMediaKeyExceptionOccurred(keySystem, sessionId, result, exceptionState); 404 void HTMLMediaElementEncryptedMedia::webkitCancelKeyRequest(HTMLMediaElement& element, const String& keySystem, const String& sessionId, ExceptionState& exceptionState) 406 HTMLMediaElementEncryptedMedia::from(element).cancelKeyRequest(element.webMediaPlayer(), keySystem, sessionId, exceptionState) [all...] |
MediaKeySession.idl | 37 readonly attribute DOMString sessionId;
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaDrmMockTest.java | 185 byte[] sessionId = openSession(md); 186 md.closeSession(sessionId); 195 byte[] sessionId = {0x05, 0x6, 0x7, 0x8}; 198 md.closeSession(sessionId); 211 byte[] sessionId = null; 214 md.closeSession(sessionId); 227 byte[] sessionId = openSession(md); 241 KeyRequest request = md.getKeyRequest(sessionId, initData, mimeType, 252 md.closeSession(sessionId); 261 byte[] sessionId = openSession(md) [all...] |
PostProcTestBase.java | 73 int sessionId = am.generateAudioSessionId(); 74 assertTrue("Could not generate session id", sessionId>0); 75 return sessionId;
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
ForeignSessionHelper.java | 70 public final int sessionId; 73 private ForeignSessionWindow(long timestamp, int sessionId) { 75 this.sessionId = sessionId; 107 ForeignSession session, long timestamp, int sessionId) { 108 ForeignSessionWindow window = new ForeignSessionWindow(timestamp, sessionId); 115 ForeignSessionWindow window, String url, String title, long timestamp, int sessionId) { 116 ForeignSessionTab tab = new ForeignSessionTab(url, title, timestamp, sessionId);
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
MediaKeyEvent.idl | 31 [InitializedByEventConstructor] readonly attribute DOMString sessionId;
|
MediaKeyEvent.cpp | 45 , m_sessionId(initializer.sessionId)
|
MediaKeyEvent.h | 38 String sessionId; 64 String sessionId() const { return m_sessionId; }
|
/external/chromium_org/third_party/WebKit/Source/core/workers/ |
WorkerInspectorProxy.h | 36 void writeTimelineStartedEvent(const String& sessionId);
|
WorkerInspectorProxy.cpp | 90 void WorkerInspectorProxy::writeTimelineStartedEvent(const String& sessionId) 94 TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "TracingSessionIdForWorker", "data", InspectorTracingSessionIdForWorkerEvent::data(sessionId, m_workerThread));
|
/external/chromium_org/third_party/WebKit/public/platform/ |
WebMediaPlayerClient.h | 83 virtual void keyAdded(const WebString& keySystem, const WebString& sessionId) = 0; 84 virtual void keyError(const WebString& keySystem, const WebString& sessionId, MediaKeyErrorCode, unsigned short systemCode) = 0; 85 virtual void keyMessage(const WebString& keySystem, const WebString& sessionId, const unsigned char* message, unsigned messageLength, const WebURL& defaultURL) = 0;
|
/external/chromium_org/media/test/data/eme_player_js/ |
prefixed_clearkey_player.js | 24 Utils.timeLog('Adding key to sessionID: ' + message.sessionId); 26 message.sessionId);
|
prefixed_widevine_player.js | 23 Utils.timeLog('Adding key to sessionID: ' + message.sessionId, key); 27 message.sessionId);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebMediaPlayerClientImpl.h | 70 virtual void keyAdded(const WebString& keySystem, const WebString& sessionId) OVERRIDE; 71 virtual void keyError(const WebString& keySystem, const WebString& sessionId, MediaKeyErrorCode, unsigned short systemCode) OVERRIDE; 72 virtual void keyMessage(const WebString& keySystem, const WebString& sessionId, const unsigned char* message, unsigned messageLength, const WebURL& defaultURL) OVERRIDE;
|