Lines Matching refs:notify

138         sp<AMessage> notify = mNotify->dup();
145 notify->setInt32("node", omx_msg.node);
203 notify->setObject("messages", msgList);
204 notify->post();
270 DeathNotifier(const sp<AMessage> &notify)
271 : mNotify(notify) {
935 sp<AMessage> notify = mNotify->dup();
936 notify->setInt32("what", CodecBase::kWhatBuffersAllocated);
938 notify->setInt32("portIndex", portIndex);
947 notify->setObject("portDesc", desc);
948 notify->post();
4683 status_t ACodec::getPortFormat(OMX_U32 portIndex, sp<AMessage> &notify) {
4707 notify->setString("mime", MEDIA_MIMETYPE_VIDEO_RAW);
4709 notify->setInt32("stride", videoDef->nStride);
4710 notify->setInt32("slice-height", videoDef->nSliceHeight);
4711 notify->setInt32("color-format", videoDef->eColorFormat);
4724 notify->setBuffer(
4771 notify->setRect(
4783 width, height, mConfigFormat, notify,
4786 notify->setInt32("android._dataspace", dataSpace);
4788 (void)getHDRStaticInfoForVideoCodec(kPortIndexOutput, notify);
4790 (void)getInputColorAspectsForVideoEncoder(notify);
4792 (void)getHDRStaticInfoForVideoCodec(kPortIndexInput, notify);
4837 notify->setString("ts-schema", tsSchema);
4854 notify->setString("mime", "application/octet-stream");
4856 notify->setString("mime", mime.c_str());
4861 notify->setInt32("intra-refresh-period", intraRefreshPeriod);
4866 notify->setInt32("width", videoDef->nFrameWidth);
4867 notify->setInt32("height", videoDef->nFrameHeight);
4870 notify->debugString().c_str());
4902 notify->setString("mime", MEDIA_MIMETYPE_AUDIO_RAW);
4903 notify->setInt32("channel-count", params.nChannels);
4904 notify->setInt32("sample-rate", params.nSamplingRate);
4920 notify->setInt32("pcm-encoding", encoding);
4923 notify->setInt32("channel-mask", mChannelMask);
4940 notify->setString("mime", MEDIA_MIMETYPE_AUDIO_AAC);
4941 notify->setInt32("channel-count", params.nChannels);
4942 notify->setInt32("sample-rate", params.nSampleRate);
4958 notify->setInt32("channel-count", 1);
4960 notify->setString("mime", MEDIA_MIMETYPE_AUDIO_AMR_WB);
4961 notify->setInt32("sample-rate", 16000);
4963 notify->setString("mime", MEDIA_MIMETYPE_AUDIO_AMR_NB);
4964 notify->setInt32("sample-rate", 8000);
4981 notify->setString("mime", MEDIA_MIMETYPE_AUDIO_FLAC);
4982 notify->setInt32("channel-count", params.nChannels);
4983 notify->setInt32("sample-rate", params.nSampleRate);
4999 notify->setString("mime", MEDIA_MIMETYPE_AUDIO_MPEG);
5000 notify->setInt32("channel-count", params.nChannels);
5001 notify->setInt32("sample-rate", params.nSampleRate);
5017 notify->setString("mime", MEDIA_MIMETYPE_AUDIO_VORBIS);
5018 notify->setInt32("channel-count", params.nChannels);
5019 notify->setInt32("sample-rate", params.nSampleRate);
5036 notify->setString("mime", MEDIA_MIMETYPE_AUDIO_AC3);
5037 notify->setInt32("channel-count", params.nChannels);
5038 notify->setInt32("sample-rate", params.nSampleRate);
5055 notify->setString("mime", MEDIA_MIMETYPE_AUDIO_EAC3);
5056 notify->setInt32("channel-count", params.nChannels);
5057 notify->setInt32("sample-rate", params.nSampleRate);
5074 notify->setString("mime", MEDIA_MIMETYPE_AUDIO_OPUS);
5075 notify->setInt32("channel-count", params.nChannels);
5076 notify->setInt32("sample-rate", params.nSampleRate);
5100 notify->setString("mime", mime);
5101 notify->setInt32("channel-count", params.nChannels);
5102 notify->setInt32("sample-rate", params.nSamplingRate);
5103 notify->setInt32("pcm-encoding", kAudioEncodingPcm16bit);
5119 notify->setString("mime", MEDIA_MIMETYPE_AUDIO_MSGSM);
5120 notify->setInt32("channel-count", params.nChannels);
5121 notify->setInt32("sample-rate", params.nSamplingRate);
5216 void ACodec::addKeyFormatChangesToRenderBufferNotification(sp<AMessage> &notify) {
5221 // notify renderer of the crop change and dataspace change
5225 notify->setRect("crop", left, top, right + 1, bottom + 1);
5230 notify->setInt32("dataspace", dataSpace);
5251 sp<AMessage> notify = mNotify->dup();
5252 notify->setInt32("what", kWhatOutputFormatChanged);
5253 notify->setMessage("format", mOutputFormat);
5254 notify->post();
5261 sp<AMessage> notify = mNotify->dup();
5262 notify->setInt32("what", CodecBase::kWhatError);
5276 notify->setInt32("err", internalError);
5277 notify->setInt32("actionCode", ACTION_CODE_FATAL); // could translate from OMX error.
5278 notify->post();
5416 sp<AMessage> notify = mCodec->mNotify->dup();
5417 notify->setInt32("what", CodecBase::kWhatShutdownCompleted);
5418 notify->post();
5645 sp<AMessage> notify = mCodec->mNotify->dup();
5646 notify->setInt32("what", CodecBase::kWhatFillThisBuffer);
5647 notify->setInt32("buffer-id", info->mBufferID);
5650 notify->setBuffer("buffer", info->mData);
5655 notify->setMessage("reply", reply);
5657 notify->post();
5979 // buffer-queue to notify us of released buffers and their fences (in the future).
6071 sp<AMessage> notify = mCodec->mNotify->dup();
6072 notify->setInt32("what", CodecBase::kWhatDrainThisBuffer);
6073 notify->setInt32("buffer-id", info->mBufferID);
6074 notify->setBuffer("buffer", info->mData);
6075 notify->setInt32("flags", flags);
6079 notify->setMessage("reply", reply);
6081 notify->post();
6088 sp<AMessage> notify = mCodec->mNotify->dup();
6089 notify->setInt32("what", CodecBase::kWhatEOS);
6090 notify->setInt32("err", mCodec->mInputEOSResult);
6091 notify->post();
6308 sp<AMessage> notify = mCodec->mNotify->dup();
6309 notify->setInt32("what", CodecBase::kWhatShutdownCompleted);
6310 notify->post();
6318 sp<AMessage> notify = mCodec->mNotify->dup();
6319 notify->setInt32("what", CodecBase::kWhatFlushCompleted);
6320 notify->post();
6361 sp<AMessage> notify = new AMessage(kWhatOMXDied, mCodec);
6425 mDeathNotifier = new DeathNotifier(notify);
6433 notify = new AMessage(kWhatOMXMessageList, mCodec);
6434 observer->setNotificationMessage(notify);
6451 sp<AMessage> notify = mCodec->mNotify->dup();
6452 notify->setInt32("what", CodecBase::kWhatComponentAllocated);
6453 notify->setString("componentName", mCodec->mComponentName.c_str());
6454 notify->post();
6504 sp<AMessage> notify = mCodec->mNotify->dup();
6505 notify->setInt32("what", CodecBase::kWhatShutdownCompleted);
6506 notify->post();
6558 sp<AMessage> notify = mCodec->mNotify->dup();
6559 notify->setInt32("what", CodecBase::kWhatFlushCompleted);
6560 notify->post();
6595 sp<AMessage> notify = mCodec->mNotify->dup();
6596 notify->setInt32("what", CodecBase::kWhatComponentConfigured);
6597 notify->setMessage("input-format", mCodec->mInputFormat);
6598 notify->setMessage("output-format", mCodec->mOutputFormat);
6599 notify->post();
6720 sp<AMessage> notify = mCodec->mNotify->dup();
6721 notify->setInt32("what", CodecBase::kWhatInputSurfaceCreated);
6726 notify->setMessage("input-format", mCodec->mInputFormat);
6727 notify->setMessage("output-format", mCodec->mOutputFormat);
6746 notify->setObject("input-surface",
6754 notify->setInt32("err", err);
6756 notify->post();
6763 sp<AMessage> notify = mCodec->mNotify->dup();
6764 notify->setInt32("what", CodecBase::kWhatInputSurfaceAccepted);
6773 notify->setMessage("input-format", mCodec->mInputFormat);
6774 notify->setMessage("output-format", mCodec->mOutputFormat);
6798 notify->setInt32("err", err);
6800 notify->post();
6878 sp<AMessage> notify = mCodec->mNotify->dup();
6879 notify->setInt32("what", CodecBase::kWhatFlushCompleted);
6880 notify->post();
6950 sp<AMessage> notify = mCodec->mNotify->dup();
6951 notify->setInt32("what", CodecBase::kWhatFlushCompleted);
6952 notify->post();
7308 sp<AMessage> notify = mNotify->dup();
7309 notify->setInt32("what", CodecBase::kWhatSignaledInputEOS);
7313 notify->setInt32("err", err);
7315 notify->post();
7795 sp<AMessage> notify = mCodec->mNotify->dup();
7796 notify->setInt32("what", CodecBase::kWhatFlushCompleted);
7797 notify->post();