Searched defs:msg (Results 176 - 200 of 346) sorted by last modified time

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutDirectionsTest.java237 private void expectDirections(String msg, Directions expected, Directions result) { argument
/frameworks/av/media/libstagefright/foundation/
H A DABuffer.cpp64 void ABuffer::setFarewellMessage(const sp<AMessage> msg) { argument
65 mFarewell = msg;
H A DAHierarchicalStateMachine.cpp50 void AHierarchicalStateMachine::onMessageReceived(const sp<AMessage> &msg) { argument
54 while (cur != NULL && !cur->onMessageReceived(msg)) {
67 msg->debugString().c_str());
H A DALooper.cpp157 void ALooper::post(const sp<AMessage> &msg, int64_t delayUs) { argument
174 event.mMessage = msg;
H A DALooperRoster.cpp75 const sp<AMessage> &msg, int64_t delayUs) {
77 return postMessage_l(msg, delayUs);
81 const sp<AMessage> &msg, int64_t delayUs) {
82 ssize_t index = mHandlers.indexOfKey(msg->target());
96 msg->target());
102 looper->post(msg, delayUs);
107 void ALooperRoster::deliverMessage(const sp<AMessage> &msg) { argument
113 ssize_t index = mHandlers.indexOfKey(msg->target());
126 msg->target());
133 handler->onMessageReceived(msg);
74 postMessage( const sp<AMessage> &msg, int64_t delayUs) argument
80 postMessage_l( const sp<AMessage> &msg, int64_t delayUs) argument
155 postAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp77 sp<AMessage> msg = new AMessage(kWhatConnect, id()); local
78 msg->setString("url", url);
81 msg->setPointer(
86 msg->post();
102 sp<AMessage> msg = new AMessage(kWhatSeek, id()); local
103 msg->setInt64("timeUs", timeUs);
104 msg->post();
111 void LiveSession::onMessageReceived(const sp<AMessage> &msg) { argument
112 switch (msg->what()) {
114 onConnect(msg);
156 onConnect(const sp<AMessage> &msg) argument
913 sp<AMessage> msg = new AMessage(kWhatMonitorQueue, id()); local
918 onSeek(const sp<AMessage> &msg) argument
[all...]
/frameworks/av/media/libstagefright/mp4/
H A DFragmentedMP4Parser.cpp233 sp<AMessage> msg = new AMessage(kWhatStart, id()); local
234 msg->setObject("source", new FileSource(filename));
235 msg->post();
240 sp<AMessage> msg = new AMessage(kWhatStart, id()); local
241 msg->setObject("source", source);
242 msg->post();
247 sp<AMessage> msg = new AMessage(kWhatStart, id()); local
248 msg->setObject("source", new DataSourceSource(source));
249 msg->post();
257 sp<AMessage> msg local
288 sp<AMessage> msg = new AMessage(kWhatSeekTo, id()); local
346 sp<AMessage> msg = new AMessage(kWhatDequeueAccessUnit, id()); local
396 onMessageReceived(const sp<AMessage> &msg) argument
1019 sp<AMessage> msg = new AMessage(kWhatReadMore, id()); local
[all...]
/frameworks/av/media/libstagefright/omx/
H A DOMX.cpp61 void post(const omx_message &msg);
78 void dispatch(const omx_message &msg);
109 void OMX::CallbackDispatcher::post(const omx_message &msg) { argument
112 mQueue.push_back(msg);
116 void OMX::CallbackDispatcher::dispatch(const omx_message &msg) { argument
121 mOwner->onMessage(msg);
126 omx_message msg; local
138 msg = *mQueue.begin();
142 dispatch(msg);
396 omx_message msg; local
412 omx_message msg; local
426 omx_message msg; local
[all...]
H A DOMXNodeInstance.cpp659 void OMXNodeInstance::onMessage(const omx_message &msg) { argument
660 if (msg.type == omx_message::FILL_BUFFER_DONE) {
663 msg.u.extended_buffer_data.buffer);
671 mObserver->onMessage(msg);
H A DSimpleSoftOMXComponent.cpp61 sp<AMessage> msg = new AMessage(kWhatSendCommand, mHandler->id()); local
62 msg->setInt32("cmd", cmd);
63 msg->setInt32("param", param);
64 msg->post();
310 sp<AMessage> msg = new AMessage(kWhatEmptyThisBuffer, mHandler->id());
311 msg->setPointer("header", buffer);
312 msg->post();
319 sp<AMessage> msg = new AMessage(kWhatFillThisBuffer, mHandler->id());
320 msg->setPointer("header", buffer);
321 msg
[all...]
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.cpp65 void Harness::onMessage(const omx_message &msg) { argument
67 mMessageQueue.push_back(msg);
72 IOMX::node_id node, omx_message *msg, int64_t timeoutUs) {
74 node, NULL, NULL, msg, timeoutUs);
79 const omx_message &msg,
82 switch (msg.type) {
87 if ((*inputBuffers)[i].mID == msg.u.buffer_data.buffer) {
101 if ((*outputBuffers)[i].mID == msg.u.buffer_data.buffer) {
122 omx_message *msg, int64_t timeoutUs) {
135 *msg
71 dequeueMessageForNode( IOMX::node_id node, omx_message *msg, int64_t timeoutUs) argument
78 handleBufferMessage( const omx_message &msg, Vector<Buffer> *inputBuffers, Vector<Buffer> *outputBuffers) argument
118 dequeueMessageForNodeIgnoringBuffers( IOMX::node_id node, Vector<Buffer> *inputBuffers, Vector<Buffer> *outputBuffers, omx_message *msg, int64_t timeoutUs) argument
300 omx_message msg; local
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DAAMRAssembler.cpp213 sp<AMessage> msg = mNotifyMsg->dup(); local
214 msg->setBuffer("access-unit", accessUnit);
215 msg->post();
229 sp<AMessage> msg = mNotifyMsg->dup(); local
230 msg->setInt32("eos", true);
231 msg->post();
H A DAAVCAssembler.cpp347 sp<AMessage> msg = mNotifyMsg->dup(); local
348 msg->setBuffer("access-unit", accessUnit);
349 msg->post();
371 sp<AMessage> msg = mNotifyMsg->dup(); local
372 msg->setInt32("eos", true);
373 msg->post();
H A DAH263Assembler.cpp170 sp<AMessage> msg = mNotifyMsg->dup(); local
171 msg->setBuffer("access-unit", accessUnit);
172 msg->post();
183 sp<AMessage> msg = mNotifyMsg->dup(); local
184 msg->setInt32("eos", true);
185 msg->post();
H A DAMPEG2TSAssembler.cpp96 sp<AMessage> msg = mNotifyMsg->dup(); local
97 msg->setBuffer("access-unit", buffer);
98 msg->post();
112 sp<AMessage> msg = mNotifyMsg->dup(); local
113 msg->setInt32("eos", true);
114 msg->post();
H A DAMPEG4AudioAssembler.cpp553 sp<AMessage> msg = mNotifyMsg->dup(); local
554 msg->setBuffer("access-unit", accessUnit);
555 msg->post();
566 sp<AMessage> msg = mNotifyMsg->dup(); local
567 msg->setInt32("eos", true);
568 msg->post();
H A DAMPEG4ElementaryAssembler.cpp394 sp<AMessage> msg = mNotifyMsg->dup(); local
395 msg->setBuffer("access-unit", accessUnit);
396 msg->post();
418 sp<AMessage> msg = mNotifyMsg->dup(); local
419 msg->setInt32("eos", true);
420 msg->post();
H A DARTPConnection.cpp85 sp<AMessage> msg = new AMessage(kWhatAddStream, id()); local
86 msg->setInt32("rtp-socket", rtpSocket);
87 msg->setInt32("rtcp-socket", rtcpSocket);
88 msg->setObject("session-desc", sessionDesc);
89 msg->setSize("index", index);
90 msg->setMessage("notify", notify);
91 msg->setInt32("injected", injected);
92 msg->post();
96 sp<AMessage> msg = new AMessage(kWhatRemoveStream, id()); local
97 msg
147 onMessageReceived(const sp<AMessage> &msg) argument
181 onAddStream(const sp<AMessage> &msg) argument
212 onRemoveStream(const sp<AMessage> &msg) argument
235 sp<AMessage> msg = new AMessage(kWhatPollStreams, id()); local
641 sp<AMessage> msg = new AMessage(kWhatInjectPacket, id()); local
647 onInjectPacket(const sp<AMessage> &msg) argument
[all...]
H A DARTPSession.cpp126 void ARTPSession::onMessageReceived(const sp<AMessage> &msg) { argument
127 switch (msg->what()) {
131 if (msg->findInt32("first-rtcp", &firstRTCP)) {
139 CHECK(msg->findSize("track-index", &trackIndex));
142 if (msg->findInt32("eos", &eos) && eos) {
149 CHECK(msg->findBuffer("access-unit", &accessUnit));
H A DARTPWriter.cpp190 void ARTPWriter::onMessageReceived(const sp<AMessage> &msg) { argument
191 switch (msg->what()) {
244 onRead(msg);
257 onSendSR(msg);
267 void ARTPWriter::onRead(const sp<AMessage> &msg) { argument
295 msg->post();
298 void ARTPWriter::onSendSR(const sp<AMessage> &msg) { argument
308 msg->post(3000000);
H A DARTSPConnection.cpp68 sp<AMessage> msg = new AMessage(kWhatConnect, id()); local
69 msg->setString("url", url);
70 msg->setMessage("reply", reply);
71 msg->post();
75 sp<AMessage> msg = new AMessage(kWhatDisconnect, id()); local
76 msg->setMessage("reply", reply);
77 msg->post();
82 sp<AMessage> msg = new AMessage(kWhatSendRequest, id()); local
83 msg->setString("request", request);
84 msg
89 sp<AMessage> msg = new AMessage(kWhatObserveBinaryData, id()); local
94 onMessageReceived(const sp<AMessage> &msg) argument
209 onConnect(const sp<AMessage> &msg) argument
284 sp<AMessage> msg = new AMessage(kWhatCompleteConnection, id()); local
327 onDisconnect(const sp<AMessage> &msg) argument
340 onCompleteConnection(const sp<AMessage> &msg) argument
400 onSendRequest(const sp<AMessage> &msg) argument
519 sp<AMessage> msg = new AMessage(kWhatReceiveResponse, id()); local
739 sp<AMessage> msg = new AMessage(kWhatSendRequest, id()); local
[all...]
H A DARawAudioAssembler.cpp96 sp<AMessage> msg = mNotifyMsg->dup(); local
97 msg->setBuffer("access-unit", buffer);
98 msg->post();
112 sp<AMessage> msg = mNotifyMsg->dup(); local
113 msg->setInt32("eos", true);
114 msg->post();
H A DMyHandler.h181 sp<AMessage> msg = new AMessage('seek', id()); local
182 msg->setInt64("time", timeUs);
183 msg->post();
351 virtual void onMessageReceived(const sp<AMessage> &msg) { argument
352 switch (msg->what()) {
356 CHECK(msg->findInt32("result", &result));
382 if (msg->findInt32("reconnect", &reconnect) && reconnect) {
394 CHECK(msg->findInt32("result", &result));
401 CHECK(msg->findObject("response", &obj));
492 CHECK(msg
780 sp<AMessage> msg = mNotify->dup(); local
889 sp<AMessage> msg = mNotify->dup(); local
998 sp<AMessage> msg = mNotify->dup(); local
1033 sp<AMessage> msg = new AMessage('abor', id()); local
1059 sp<AMessage> msg = new AMessage('aliv', id()); local
1412 sp<AMessage> msg = mNotify->dup(); local
1485 sp<AMessage> msg = mNotify->dup(); local
1493 sp<AMessage> msg = mNotify->dup(); local
1501 sp<AMessage> msg = mNotify->dup(); local
1509 sp<AMessage> msg = mNotify->dup(); local
[all...]
H A DMyTransmitter.h342 virtual void onMessageReceived(const sp<AMessage> &msg) { argument
343 switch (msg->what()) {
347 CHECK(msg->findInt32("result", &result));
359 CHECK(msg->findInt32("server-ip", (int32_t *)&mServerIP));
368 CHECK(msg->findInt32("result", &result));
374 CHECK(msg->findObject("response", &obj));
448 msg->post(50000);
456 CHECK(msg->findInt32("result", &result));
462 CHECK(msg->findObject("response", &obj));
546 CHECK(msg
[all...]
H A DUDPPusher.cpp111 void UDPPusher::onMessageReceived(const sp<AMessage> &msg) { argument
112 switch (msg->what()) {

Completed in 815 milliseconds

1234567891011>>