Searched defs:msg (Results 1 - 25 of 474) sorted by path

1234567891011>>

/frameworks/av/camera/tests/
H A DProCameraTests.cpp295 virtual void notify(int32_t msg, int32_t ext1, int32_t ext2) { argument
296 dout << "Notify received: msg " << std::hex << msg
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp48 const sp<AMessage> &msg, sp<AMessage> *response) {
49 status_t err = msg->postAndAwaitResponse(response);
62 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); local
63 msg->setString("path", path);
65 return PostAndAwaitResponse(msg, &response);
69 sp<AMessage> msg = new AMessage(kWhatSetSurface, id()); local
76 msg->setObject(
80 return PostAndAwaitResponse(msg, &response);
84 sp<AMessage> msg = new AMessage(kWhatPrepare, id()); local
86 return PostAndAwaitResponse(msg,
47 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument
90 sp<AMessage> msg = new AMessage(kWhatStart, id()); local
96 sp<AMessage> msg = new AMessage(kWhatStop, id()); local
102 sp<AMessage> msg = new AMessage(kWhatReset, id()); local
107 onMessageReceived(const sp<AMessage> &msg) argument
385 sp<AMessage> msg = new AMessage(kWhatDoMoreStuff, id()); local
[all...]
H A Dsf2.cpp99 virtual void onMessageReceived(const sp<AMessage> &msg) { argument
106 switch (msg->what()) {
212 CHECK(msg->findInt32("what", &what));
215 onFillThisBuffer(msg);
222 onDrainThisBuffer(msg);
295 sp<AMessage> msg = new AMessage; local
296 msg->setString("mime", mime);
303 msg->setInt32("width", width);
304 msg->setInt32("height", height);
312 msg
441 onFillThisBuffer(const sp<AMessage> &msg) argument
555 onDrainThisBuffer(const sp<AMessage> &msg) argument
[all...]
H A Dstream.cpp272 virtual void notify(int msg, int ext1, int ext2, const Parcel *obj) { argument
275 if (msg == MEDIA_ERROR || msg == MEDIA_PLAYBACK_COMPLETE) {
/frameworks/av/include/media/
H A DMediaPlayerInterface.h69 int msg, int ext1, int ext2, const Parcel *obj);
209 void sendEvent(int msg, int ext1=0, int ext2=0, argument
219 if (notifyCB) notifyCB(cookie, msg, ext1, ext2, obj);
H A DSoundPool.h40 SoundPoolEvent(int msg, int arg1=0, int arg2=0) : argument
41 mMsg(msg), mArg1(arg1), mArg2(arg2) {}
/frameworks/av/include/media/stagefright/
H A DACodec.h40 virtual void setNotificationMessage(const sp<AMessage> &msg);
42 void initiateSetup(const sp<AMessage> &msg);
44 virtual void initiateAllocateComponent(const sp<AMessage> &msg);
45 virtual void initiateConfigureComponent(const sp<AMessage> &msg);
53 virtual void signalSetParameters(const sp<AMessage> &msg);
58 virtual void onMessageReceived(const sp<AMessage> &msg) { argument
59 handleMessage(msg);
225 status_t setCyclicIntraMacroblockRefresh(const sp<AMessage> &msg, int32_t mode);
246 status_t configureCodec(const char *mime, const sp<AMessage> &msg);
260 const char *mime, const sp<AMessage> &msg, boo
[all...]
H A DMediaWriter.h60 void notify(int msg, int ext1, int ext2) { argument
62 mListener->notify(msg, ext1, ext2);
/frameworks/av/include/media/stagefright/foundation/
H A DAHandlerReflector.h32 virtual void onMessageReceived(const sp<AMessage> &msg) { argument
35 target->onMessageReceived(msg);
/frameworks/av/media/libmedia/
H A DIHDCP.cpp45 int msg, int ext1, int ext2, const Parcel *obj) {
48 data.writeInt32(msg);
178 int msg = data.readInt32(); local
190 notify(msg, ext1, ext2, &obj);
44 notify( int msg, int ext1, int ext2, const Parcel *obj) argument
H A DIMediaPlayerClient.cpp38 virtual void notify(int msg, int ext1, int ext2, const Parcel *obj) argument
42 data.writeInt32(msg);
62 int msg = data.readInt32(); local
70 notify(msg, ext1, ext2, &obj);
H A DIMediaRecorderClient.cpp38 virtual void notify(int msg, int ext1, int ext2) argument
42 data.writeInt32(msg);
59 int msg = data.readInt32(); local
62 notify(msg, ext1, ext2);
H A DIOMX.cpp963 virtual void onMessage(const omx_message &msg) { argument
966 data.write(&msg, sizeof(msg));
968 ALOGV("onMessage writing message %d, size %zu", msg.type, sizeof(msg));
983 omx_message msg; local
984 data.read(&msg, sizeof(msg));
986 ALOGV("onTransact reading message %d, size %zu", msg.type, sizeof(msg));
[all...]
H A DIStreamSource.cpp155 Command cmd, bool synchronous, const sp<AMessage> &msg) {
161 if (msg != NULL) {
163 msg->writeToParcel(&data);
194 sp<AMessage> msg; local
197 msg = AMessage::FromParcel(data);
200 issueCommand(cmd, synchronous, msg);
154 issueCommand( Command cmd, bool synchronous, const sp<AMessage> &msg) argument
H A DSoundPoolThread.cpp25 void SoundPoolThread::write(SoundPoolMsg msg) { argument
33 mMsgQueue.push(msg);
43 SoundPoolMsg msg = mMsgQueue[0]; local
46 return msg;
84 SoundPoolMsg msg = read(); local
85 ALOGV("Got message m=%d, mData=%d", msg.mMessageType, msg.mData);
86 switch (msg.mMessageType) {
91 doLoadSample(msg.mData);
95 msg
[all...]
H A Dmediaplayer.cpp725 void MediaPlayer::notify(int msg, int ext1, int ext2, const Parcel *obj) argument
727 ALOGV("message received msg=%d, ext1=%d, ext2=%d", msg, ext1, ext2);
745 if (!(msg == MEDIA_ERROR && mCurrentState == MEDIA_PLAYER_IDLE) && mPlayer == 0) {
746 ALOGV("notify(%d, %d, %d) callback on disconnected mediaplayer", msg, ext1, ext2);
751 switch (msg) {
822 ALOGV("unrecognized message: (%d, %d, %d)", msg, ext1, ext2);
833 listener->notify(msg, ext1, ext2, obj);
H A Dmediarecorder.cpp686 void MediaRecorder::notify(int msg, int ext1, int ext2) argument
688 ALOGV("message received msg=%d, ext1=%d, ext2=%d", msg, ext1, ext2);
698 listener->notify(msg, ext1, ext2);
/frameworks/av/media/libmediaplayerservice/
H A DHDCP.cpp162 void HDCP::ObserveWrapper(void *me, int msg, int ext1, int ext2) { argument
163 static_cast<HDCP *>(me)->observe(msg, ext1, ext2);
166 void HDCP::observe(int msg, int ext1, int ext2) { argument
170 mObserver->notify(msg, ext1, ext2, NULL /* obj */);
H A DMediaPlayerService.cpp1187 void* cookie, int msg, int ext1, int ext2, const Parcel *obj)
1198 if (msg == MEDIA_PLAYBACK_COMPLETE && client->mNextClient != NULL) {
1206 if (MEDIA_INFO == msg &&
1220 ALOGV("[%d] notify (%p, %d, %d, %d)", client->mConnId, cookie, msg, ext1, ext2);
1221 c->notify(msg, ext1, ext2, obj);
2153 void* cookie, int msg, int ext1, int ext2, const Parcel* /*obj*/)
2155 ALOGV("notify(%p, %d, %d, %d)", cookie, msg, ext1, ext2);
2159 switch (msg)
2177 if (msg == MEDIA_ERROR) {
1186 notify( void* cookie, int msg, int ext1, int ext2, const Parcel *obj) argument
2152 notify( void* cookie, int msg, int ext1, int ext2, const Parcel* ) argument
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp293 sp<AMessage> msg = dupNotify(); local
294 msg->setInt32("what", kWhatDrmNoLicense);
295 msg->post();
335 sp<AMessage> msg = new AMessage(kWhatPrepareAsync, id()); local
336 msg->post();
413 sp<AMessage> msg = new AMessage; local
414 err = convertMetaDataToMessage(meta, &msg);
419 notifyVideoSizeChanged(msg);
575 sp<AMessage> msg = new AMessage(kWhatStopWidevine, id()); local
577 (void) msg
619 sp<AMessage> msg = new AMessage(kWhatPollBuffering, id()); local
639 sp<AMessage> msg = dupNotify(); local
778 onMessageReceived(const sp<AMessage> &msg) argument
932 fetchTextData( uint32_t sendWhat, media_track_type type, int32_t curGen, sp<AnotherPacketSource> packets, sp<AMessage> msg) argument
1090 sp<AMessage> msg = new AMessage(kWhatFetchSubtitleData, id()); local
1098 sp<AMessage> msg = new AMessage(kWhatFetchTimedTextData, id()); local
1163 sp<AMessage> msg = new AMessage(kWhatGetSelectedTrack, id()); local
1219 sp<AMessage> msg = new AMessage(kWhatSelectTrack, id()); local
1233 onSelectTrack(sp<AMessage> msg) argument
1305 sp<AMessage> msg = new AMessage(kWhatFetchSubtitleData, id()); local
1313 sp<AMessage> msg = new AMessage(kWhatFetchTimedTextData, id()); local
1327 sp<AMessage> msg = new AMessage(kWhatChangeAVSource, id()); local
1337 sp<AMessage> msg = new AMessage(kWhatSeek, id()); local
1349 onSeek(sp<AMessage> msg) argument
1477 sp<AMessage> msg = new AMessage(kWhatReadBuffer, id()); local
1483 onReadBuffer(sp<AMessage> msg) argument
[all...]
H A DHTTPLiveSource.cpp156 sp<AMessage> msg = new AMessage(kWhatFetchSubtitleData, id()); local
157 msg->setInt32("generation", mFetchSubtitleDataGeneration);
158 msg->post();
172 void NuPlayer::HTTPLiveSource::onMessageReceived(const sp<AMessage> &msg) { argument
173 switch (msg->what()) {
176 onSessionNotify(msg);
183 CHECK(msg->findInt32("generation", &generation));
204 msg->post(delayUs > 0ll ? delayUs : 0ll);
207 msg->post(1000000ll);
214 Source::onMessageReceived(msg);
219 onSessionNotify(const sp<AMessage> &msg) argument
[all...]
H A DNuPlayer.cpp131 PostMessageAction(const sp<AMessage> &msg) argument
132 : mMessage(msg) {
202 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); local
206 msg->setObject("source", new StreamingSource(notify, source));
207 msg->post();
232 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); local
264 msg->setObject("source", source);
265 msg->post();
269 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); local
283 msg
293 sp<AMessage> msg = new AMessage(kWhatSetVideoNativeWindow, id()); local
308 sp<AMessage> msg = new AMessage(kWhatSetAudioSink, id()); local
336 sp<AMessage> msg = new AMessage(kWhatSeek, id()); local
371 onMessageReceived(const sp<AMessage> &msg) argument
1179 sp<AMessage> msg = new AMessage(kWhatScanSources, id()); local
1358 notifyListener(int msg, int ext1, int ext2, const Parcel *in) argument
1437 sp<AMessage> msg = new AMessage(kWhatGetTrackInfo, id()); local
1446 sp<AMessage> msg = new AMessage(kWhatGetSelectedTrack, id()); local
1459 sp<AMessage> msg = new AMessage(kWhatSelectTrack, id()); local
1502 sp<AMessage> msg = new AMessage(kWhatPollDuration, id()); local
1672 onSourceNotify(const sp<AMessage> &msg) argument
1882 onClosedCaptionNotify(const sp<AMessage> &msg) argument
1969 sp<AMessage> msg = new AMessage; local
[all...]
H A DNuPlayerCCDecoder.cpp316 sp<AMessage> msg = mNotify->dup(); local
317 msg->setInt32("what", kWhatTrackAdded);
318 msg->post();
346 sp<AMessage> msg = mNotify->dup(); local
347 msg->setInt32("what", kWhatClosedCaptionData);
348 msg->setBuffer("buffer", ccBuf);
349 msg->post();
H A DNuPlayerDecoder.cpp78 void NuPlayer::Decoder::onMessageReceived(const sp<AMessage> &msg) { argument
79 ALOGV("[%s] onMessage: %s", mComponentName.c_str(), msg->debugString().c_str());
81 switch (msg->what()) {
84 if (!isStaleReply(msg)) {
87 if (!msg->findInt32("input-buffers", &numInput)) {
91 if (!msg->findInt32("output-buffers", &numOutput)) {
108 if (!isStaleReply(msg)) {
109 onRenderBuffer(msg);
115 DecoderBase::onMessageReceived(msg);
318 sp<AMessage> msg local
364 sp<AMessage> msg = new AMessage(); local
376 sp<AMessage> msg = *mPendingInputMessages.begin(); local
546 isStaleReply(const sp<AMessage> &msg) argument
586 sp<AMessage> msg = mNotify->dup(); local
653 onInputBufferFetched(const sp<AMessage> &msg) argument
780 onRenderBuffer(const sp<AMessage> &msg) argument
[all...]
H A DNuPlayerDecoderBase.cpp49 const sp<AMessage> &msg, sp<AMessage> *response) {
50 status_t err = msg->postAndAwaitResponse(response);
64 sp<AMessage> msg = new AMessage(kWhatConfigure, id()); local
65 msg->setMessage("format", format);
66 msg->post();
74 sp<AMessage> msg = new AMessage(kWhatSetRenderer, id()); local
75 msg->setObject("renderer", renderer);
76 msg->post();
80 sp<AMessage> msg = new AMessage(kWhatGetInputBuffers, id()); local
81 msg
48 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument
92 sp<AMessage> msg = new AMessage(kWhatResume, id()); local
114 sp<AMessage> msg = new AMessage(kWhatRequestInputBuffers, id()); local
118 onMessageReceived(const sp<AMessage> &msg) argument
[all...]

Completed in 188 milliseconds

1234567891011>>