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

1234567891011>>

/frameworks/av/camera/ndk/impl/
H A DACameraDevice.cpp263 sp<AMessage> msg = new AMessage(kWhatSessionStateCb, mHandler); local
264 msg->setPointer(kContextKey, session->mUserSessionCallback.context);
265 msg->setObject(kSessionSpKey, session);
266 msg->setPointer(kCallbackFpKey, (void*) session->mUserSessionCallback.onActive);
267 msg->post();
419 sp<AMessage> msg = new AMessage(kWhatSessionStateCb, mHandler); local
420 msg->setPointer(kContextKey, session->mUserSessionCallback.context);
421 msg->setObject(kSessionSpKey, session);
422 msg->setPointer(kCallbackFpKey, (void*) session->mUserSessionCallback.onActive);
423 msg
427 sp<AMessage> msg = new AMessage(kWhatSessionStateCb, mHandler); local
566 sp<AMessage> msg = new AMessage(kWhatSessionStateCb, mHandler); local
724 sp<AMessage> msg = new AMessage(kWhatCaptureBufferLost, mHandler); local
743 sp<AMessage> msg = new AMessage(kWhatCaptureFail, mHandler); local
758 onMessageReceived( const sp<AMessage> &msg) argument
1052 sp<AMessage> msg = new AMessage(kWhatCaptureSeqAbort, mHandler); local
1102 sp<AMessage> msg = new AMessage(kWhatCaptureSeqEnd, mHandler); local
1153 sp<AMessage> msg = new AMessage(kWhatOnDisconnected, dev->mHandler); local
1177 sp<AMessage> msg = new AMessage(kWhatOnError, dev->mHandler); local
1220 sp<AMessage> msg = new AMessage(kWhatSessionStateCb, dev->mHandler); local
1263 sp<AMessage> msg = new AMessage(kWhatCaptureStart, dev->mHandler); local
1326 sp<AMessage> msg = new AMessage(kWhatCaptureResult, dev->mHandler); local
[all...]
H A DACameraManager.cpp170 sp<AMessage> msg = new AMessage(kWhatSendSingleCallback, mHandler); local
173 msg->setPointer(kCallbackFpKey, (void *) cb);
174 msg->setPointer(kContextKey, callback->context);
175 msg->setInt32(kCameraIdKey, cameraId);
176 msg->post();
218 const sp<AMessage> &msg) {
219 switch (msg->what()) {
225 bool found = msg->findPointer(kCallbackFpKey, (void**) &cb);
230 found = msg->findPointer(kContextKey, &context);
235 found = msg
217 onMessageReceived( const sp<AMessage> &msg) argument
287 sp<AMessage> msg = new AMessage(kWhatSendSingleCallback, mHandler); local
[all...]
/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, this); local
63 msg->setString("path", path);
65 return PostAndAwaitResponse(msg, &response);
69 sp<AMessage> msg = new AMessage(kWhatSetSurface, this); local
76 msg->setObject("surface", surface);
79 return PostAndAwaitResponse(msg, &response);
83 sp<AMessage> msg = new AMessage(kWhatPrepare, this); local
85 return PostAndAwaitResponse(msg,
47 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument
89 sp<AMessage> msg = new AMessage(kWhatStart, this); local
95 sp<AMessage> msg = new AMessage(kWhatStop, this); local
101 sp<AMessage> msg = new AMessage(kWhatReset, this); local
106 onMessageReceived(const sp<AMessage> &msg) argument
382 sp<AMessage> msg = new AMessage(kWhatDoMoreStuff, this); local
[all...]
H A Dsf2.cpp99 virtual void onMessageReceived(const sp<AMessage> &msg) { argument
106 switch (msg->what()) {
211 CHECK(msg->findInt32("what", &what));
214 onFillThisBuffer(msg);
221 onDrainThisBuffer(msg);
294 sp<AMessage> msg = new AMessage; local
295 msg->setString("mime", mime);
302 msg->setInt32("width", width);
303 msg->setInt32("height", height);
311 msg
440 onFillThisBuffer(const sp<AMessage> &msg) argument
554 onDrainThisBuffer(const sp<AMessage> &msg) argument
[all...]
H A Dstream.cpp272 virtual void notify(int msg, int ext1 __unused, int ext2 __unused, const Parcel *obj __unused) { argument
275 if (msg == MEDIA_ERROR || msg == MEDIA_PLAYBACK_COMPLETE) {
/frameworks/av/include/media/
H A DMediaPlayerInterface.h70 int msg, int ext1, int ext2, const Parcel *obj);
255 void sendEvent(int msg, int ext1=0, int ext2=0, argument
265 if (notifyCB) notifyCB(cookie, msg, ext1, ext2, obj);
/frameworks/av/include/media/stagefright/
H A DACodec.h45 virtual void setNotificationMessage(const sp<AMessage> &msg);
47 void initiateSetup(const sp<AMessage> &msg);
49 virtual void initiateAllocateComponent(const sp<AMessage> &msg);
50 virtual void initiateConfigureComponent(const sp<AMessage> &msg);
65 virtual void signalSetParameters(const sp<AMessage> &msg);
70 virtual void onMessageReceived(const sp<AMessage> &msg) { argument
71 handleMessage(msg);
310 status_t setCyclicIntraMacroblockRefresh(const sp<AMessage> &msg, int32_t mode);
348 status_t configureCodec(const char *mime, const sp<AMessage> &msg);
362 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.cpp1243 const omx_message &msg = *it++; local
1246 data.writeInt32(msg.node);
1249 data.writeInt32(msg.fenceFd >= 0);
1250 if (msg.fenceFd >= 0) {
1251 data.writeFileDescriptor(msg.fenceFd, true /* takeOwnership */);
1253 data.writeInt32(msg.type);
1254 data.write(&msg.u, sizeof(msg.u));
1255 ALOGV("onMessage writing message %d, size %zu", msg.type, sizeof(msg));
1280 omx_message msg; local
[all...]
H A DIStreamSource.cpp162 Command cmd, bool synchronous, const sp<AMessage> &msg) {
168 if (msg != NULL) {
170 msg->writeToParcel(&data);
201 sp<AMessage> msg; local
204 msg = AMessage::FromParcel(data);
207 issueCommand(cmd, synchronous, msg);
161 issueCommand( Command cmd, bool synchronous, const sp<AMessage> &msg) argument
H A Dmediaplayer.cpp800 void MediaPlayer::notify(int msg, int ext1, int ext2, const Parcel *obj) argument
802 ALOGV("message received msg=%d, ext1=%d, ext2=%d", msg, ext1, ext2);
820 if (!(msg == MEDIA_ERROR && mCurrentState == MEDIA_PLAYER_IDLE) && mPlayer == 0) {
821 ALOGV("notify(%d, %d, %d) callback on disconnected mediaplayer", msg, ext1, ext2);
826 switch (msg) {
900 ALOGV("unrecognized message: (%d, %d, %d)", msg, ext1, ext2);
911 listener->notify(msg, ext1, ext2, obj);
H A Dmediarecorder.cpp724 void MediaRecorder::notify(int msg, int ext1, int ext2) argument
726 ALOGV("message received msg=%d, ext1=%d, ext2=%d", msg, ext1, ext2);
736 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.cpp1279 void* cookie, int msg, int ext1, int ext2, const Parcel *obj)
1290 if (msg == MEDIA_PLAYBACK_COMPLETE && client->mNextClient != NULL) {
1301 if (MEDIA_INFO == msg &&
1315 ALOGV("[%d] notify (%p, %d, %d, %d)", client->mConnId, cookie, msg, ext1, ext2);
1316 c->notify(msg, ext1, ext2, obj);
1278 notify( void* cookie, int msg, int ext1, int ext2, const Parcel *obj) argument
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp317 sp<AMessage> msg = dupNotify(); local
318 msg->setInt32("what", kWhatDrmNoLicense);
319 msg->post();
367 sp<AMessage> msg = new AMessage(kWhatPrepareAsync, this); local
368 msg->post();
434 sp<AMessage> msg = new AMessage; local
435 err = convertMetaDataToMessage(meta, &msg);
440 notifyVideoSizeChanged(msg);
541 sp<AMessage> msg = new AMessage(kWhatStopWidevine, this); local
543 (void) msg
591 onMessageReceived(const sp<AMessage> &msg) argument
740 fetchTextData( uint32_t sendWhat, media_track_type type, int32_t curGen, sp<AnotherPacketSource> packets, sp<AMessage> msg) argument
840 sp<AMessage> msg = new AMessage(kWhatGetFormat, this); local
936 sp<AMessage> msg = new AMessage(kWhatFetchSubtitleData, this); local
944 sp<AMessage> msg = new AMessage(kWhatFetchTimedTextData, this); local
1012 sp<AMessage> msg = new AMessage(kWhatGetSelectedTrack, this); local
1068 sp<AMessage> msg = new AMessage(kWhatSelectTrack, this); local
1082 onSelectTrack(sp<AMessage> msg) argument
1154 sp<AMessage> msg = new AMessage(kWhatFetchSubtitleData, this); local
1166 sp<AMessage> msg = new AMessage(kWhatFetchTimedTextData, this); local
1180 sp<AMessage> msg = new AMessage(kWhatChangeAVSource, this); local
1190 sp<AMessage> msg = new AMessage(kWhatSeek, this); local
1202 onSeek(sp<AMessage> msg) argument
1355 sp<AMessage> msg = new AMessage(kWhatReadBuffer, this); local
1361 onReadBuffer(sp<AMessage> msg) argument
1647 sp<AMessage> msg = mNotify->dup(); local
1723 sp<AMessage> msg = new AMessage(kWhatPollBuffering, this); local
1823 onMessageReceived(const sp<AMessage> &msg) argument
[all...]
H A DHTTPLiveSource.cpp205 sp<AMessage> msg = new AMessage(what, this); local
206 msg->setInt32("generation", generation);
207 msg->post();
222 const sp<AMessage> &msg, int32_t currentGeneration,
226 CHECK(msg->findInt32("generation", &generation));
246 msg->post(delayUs > 0ll ? delayUs : 0ll);
261 msg->post(1000000ll);
264 void NuPlayer::HTTPLiveSource::onMessageReceived(const sp<AMessage> &msg) { argument
265 switch (msg->what()) {
268 onSessionNotify(msg);
221 pollForRawData( const sp<AMessage> &msg, int32_t currentGeneration, LiveSession::StreamType fetchType, int32_t pushWhat) argument
302 onSessionNotify(const sp<AMessage> &msg) argument
[all...]
H A DNuPlayer.cpp134 PostMessageAction(const sp<AMessage> &msg) argument
135 : mMessage(msg) {
213 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); local
217 msg->setObject("source", new StreamingSource(notify, source));
218 msg->post();
243 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); local
275 msg->setObject("source", source);
276 msg->post();
280 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); local
294 msg
299 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); local
320 sp<AMessage> msg = new AMessage(kWhatSetVideoSurface, this); local
332 sp<AMessage> msg = new AMessage(kWhatSetAudioSink, this); local
350 sp<AMessage> msg = new AMessage(kWhatConfigPlayback, this); local
361 sp<AMessage> msg = new AMessage(kWhatGetPlaybackSettings, this); local
374 sp<AMessage> msg = new AMessage(kWhatConfigSync, this); local
386 sp<AMessage> msg = new AMessage(kWhatGetSyncSettings, this); local
423 sp<AMessage> msg = new AMessage(kWhatSeek, this); local
481 onMessageReceived(const sp<AMessage> &msg) argument
1486 sp<AMessage> msg = new AMessage(kWhatScanSources, this); local
1777 notifyListener(int msg, int ext1, int ext2, const Parcel *in) argument
1859 sp<AMessage> msg = new AMessage(kWhatGetTrackInfo, this); local
1868 sp<AMessage> msg = new AMessage(kWhatGetSelectedTrack, this); local
1881 sp<AMessage> msg = new AMessage(kWhatSelectTrack, this); local
1948 sp<AMessage> msg = new AMessage(kWhatPollDuration, this); local
2126 onSourceNotify(const sp<AMessage> &msg) argument
2345 onClosedCaptionNotify(const sp<AMessage> &msg) argument
2450 sp<AMessage> msg = new AMessage; local
[all...]
H A DNuPlayerCCDecoder.cpp491 sp<AMessage> msg = mNotify->dup(); local
492 msg->setInt32("what", kWhatTrackAdded);
493 msg->post();
539 sp<AMessage> msg = mNotify->dup(); local
540 msg->setInt32("what", kWhatClosedCaptionData);
541 msg->setBuffer("buffer", ccBuf);
542 msg->post();
H A DNuPlayerDecoder.cpp110 sp<AMessage> msg = new AMessage(kWhatSetVideoSurface, this); local
112 msg->setObject("surface", surface);
114 status_t err = msg->postAndAwaitResponse(&response);
121 void NuPlayer::Decoder::onMessageReceived(const sp<AMessage> &msg) { argument
122 ALOGV("[%s] onMessage: %s", mComponentName.c_str(), msg->debugString().c_str());
124 switch (msg->what()) {
128 CHECK(msg->findInt32("callbackID", &cbID));
141 CHECK(msg->findInt32("index", &index));
155 CHECK(msg->findInt32("index", &index));
156 CHECK(msg
526 sp<AMessage> msg = new AMessage(); local
592 sp<AMessage> msg = new AMessage(); local
607 sp<AMessage> msg = *mPendingInputMessages.begin(); local
749 isStaleReply(const sp<AMessage> &msg) argument
864 onInputBufferFetched(const sp<AMessage> &msg) argument
992 onRenderBuffer(const sp<AMessage> &msg) argument
1049 sp<AMessage> msg = mNotify->dup(); local
[all...]
H A DNuPlayerDecoderBase.cpp51 const sp<AMessage> &msg, sp<AMessage> *response) {
52 status_t err = msg->postAndAwaitResponse(response);
66 sp<AMessage> msg = new AMessage(kWhatConfigure, this); local
67 msg->setMessage("format", format);
68 msg->post();
76 sp<AMessage> msg = new AMessage(kWhatSetParameters, this); local
77 msg->setMessage("params", params);
78 msg->post();
82 sp<AMessage> msg = new AMessage(kWhatSetRenderer, this); local
83 msg
50 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument
88 sp<AMessage> msg = new AMessage(kWhatPause, this); local
95 sp<AMessage> msg = new AMessage(kWhatGetInputBuffers, this); local
107 sp<AMessage> msg = new AMessage(kWhatResume, this); local
125 sp<AMessage> msg = new AMessage(kWhatRequestInputBuffers, this); local
130 onMessageReceived(const sp<AMessage> &msg) argument
[all...]
H A DNuPlayerDecoderPassThrough.cpp100 bool NuPlayer::DecoderPassThrough::isStaleReply(const sp<AMessage> &msg) { argument
102 CHECK(msg->findInt32("generation", &generation));
119 sp<AMessage> msg = new AMessage(); local
121 err = fetchInputData(msg);
126 onInputBufferFetched(msg);
247 sp<AMessage> msg = mNotify->dup(); local
248 msg->setInt32("what", kWhatInputDiscontinuity);
251 msg->setInt32("formatChange", false);
252 msg->post();
287 const sp<AMessage> &msg) {
286 onInputBufferFetched( const sp<AMessage> &msg) argument
413 onMessageReceived(const sp<AMessage> &msg) argument
[all...]

Completed in 2984 milliseconds

1234567891011>>