/frameworks/av/camera/tests/ |
H A D | ProCameraTests.cpp | 295 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 D | SimplePlayer.cpp | 48 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 D | sf2.cpp | 99 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 D | stream.cpp | 272 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 D | MediaPlayerInterface.h | 69 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 D | SoundPool.h | 40 SoundPoolEvent(int msg, int arg1=0, int arg2=0) : argument 41 mMsg(msg), mArg1(arg1), mArg2(arg2) {}
|
/frameworks/av/include/media/stagefright/ |
H A D | ACodec.h | 40 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 D | MediaWriter.h | 60 void notify(int msg, int ext1, int ext2) { argument 62 mListener->notify(msg, ext1, ext2);
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | AHandlerReflector.h | 32 virtual void onMessageReceived(const sp<AMessage> &msg) { argument 35 target->onMessageReceived(msg);
|
/frameworks/av/media/libmedia/ |
H A D | IHDCP.cpp | 45 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 D | IMediaPlayerClient.cpp | 38 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 D | IMediaRecorderClient.cpp | 38 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 D | IOMX.cpp | 963 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 D | IStreamSource.cpp | 155 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 D | SoundPoolThread.cpp | 25 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 D | mediaplayer.cpp | 725 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 D | mediarecorder.cpp | 686 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 D | HDCP.cpp | 162 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 D | MediaPlayerService.cpp | 1187 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 D | GenericSource.cpp | 293 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 D | HTTPLiveSource.cpp | 156 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 D | NuPlayer.cpp | 131 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 D | NuPlayerCCDecoder.cpp | 316 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 D | NuPlayerDecoder.cpp | 78 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 D | NuPlayerDecoderBase.cpp | 49 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...] |