/frameworks/av/soundtrigger/ |
D | ISoundTriggerClient.cpp | 43 virtual void onRecognitionEvent(const sp<IMemory>& eventMemory) in onRecognitionEvent() 53 virtual void onSoundModelEvent(const sp<IMemory>& eventMemory) in onSoundModelEvent() 62 virtual void onServiceStateChange(const sp<IMemory>& eventMemory) in onServiceStateChange() 84 sp<IMemory> eventMemory = interface_cast<IMemory>( in onTransact() 91 sp<IMemory> eventMemory = interface_cast<IMemory>( in onTransact() 98 sp<IMemory> eventMemory = interface_cast<IMemory>( in onTransact()
|
D | ISoundTrigger.cpp | 53 status_t loadSoundModel(const sp<IMemory>& modelMemory, in loadSoundModel() 86 const sp<IMemory>& dataMemory) in startRecognition() 134 sp<IMemory> modelMemory = interface_cast<IMemory>( in onTransact() 156 sp<IMemory> dataMemory; in onTransact() 158 dataMemory = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
|
D | SoundTrigger.cpp | 152 status_t SoundTrigger::loadSoundModel(const sp<IMemory>& modelMemory, in loadSoundModel() 173 const sp<IMemory>& dataMemory) in startRecognition() 192 void SoundTrigger::onRecognitionEvent(const sp<IMemory>& eventMemory) in onRecognitionEvent() 205 void SoundTrigger::onSoundModelEvent(const sp<IMemory>& eventMemory) in onSoundModelEvent() 218 void SoundTrigger::onServiceStateChange(const sp<IMemory>& eventMemory) in onServiceStateChange()
|
/frameworks/av/services/camera/libcameraservice/api1/ |
D | CameraClient.h | 51 virtual void releaseRecordingFrame(const sp<IMemory>& mem); 103 static void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, 105 … dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* … 108 void handlePreviewData(int32_t msgType, const sp<IMemory>& mem, 110 void handlePostview(const sp<IMemory>& mem); 111 void handleRawPicture(const sp<IMemory>& mem); 112 void handleCompressedPicture(const sp<IMemory>& mem); 114 void handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr, 116 … handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr); 156 std::vector<sp<IMemory>> mAvailableCallbackBuffers;
|
/frameworks/av/media/libmedia/ |
D | IMediaLogService.cpp | 42 virtual void registerWriter(const sp<IMemory>& shared, size_t size, const char *name) { in registerWriter() 52 virtual void unregisterWriter(const sp<IMemory>& shared) { in unregisterWriter() 73 sp<IMemory> shared = interface_cast<IMemory>(data.readStrongBinder()); in onTransact() 82 sp<IMemory> shared = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
|
D | IMediaMetadataRetriever.cpp | 139 sp<IMemory> getFrameAtTime(int64_t timeUs, int option) in getFrameAtTime() 154 return interface_cast<IMemory>(reply.readStrongBinder()); in getFrameAtTime() 157 sp<IMemory> extractAlbumArt() in extractAlbumArt() 169 return interface_cast<IMemory>(reply.readStrongBinder()); in extractAlbumArt() 273 sp<IMemory> bitmap = getFrameAtTime(timeUs, option); in onTransact() 290 sp<IMemory> albumArt = extractAlbumArt(); in onTransact()
|
/frameworks/av/include/soundtrigger/ |
D | SoundTrigger.h | 48 status_t loadSoundModel(const sp<IMemory>& modelMemory, 53 status_t startRecognition(sound_model_handle_t handle, const sp<IMemory>& dataMemory); 57 virtual void onRecognitionEvent(const sp<IMemory>& eventMemory); 58 virtual void onSoundModelEvent(const sp<IMemory>& eventMemory); 59 virtual void onServiceStateChange(const sp<IMemory>& eventMemory);
|
D | ISoundTriggerClient.h | 32 virtual void onRecognitionEvent(const sp<IMemory>& eventMemory) = 0; 34 virtual void onSoundModelEvent(const sp<IMemory>& eventMemory) = 0; 36 virtual void onServiceStateChange(const sp<IMemory>& eventMemory) = 0;
|
/frameworks/av/include/media/stagefright/ |
D | CameraSource.h | 35 class IMemory; variable 141 const sp<IMemory> &data); 214 virtual void releaseRecordingFrame(const sp<IMemory>& frame); 222 virtual void dataCallback(int32_t msgType, const sp<IMemory> &data) {} in dataCallback() 225 const sp<IMemory> &data); 241 List<sp<IMemory> > mFramesReceived; 242 List<sp<IMemory> > mFramesBeingEncoded; 266 List<sp<IMemory>> mMemoryBases; 275 void releaseOneRecordingFrame(const sp<IMemory>& frame);
|
D | CameraSourceTimeLapse.h | 33 class IMemory; variable 146 const sp<IMemory> &data); 180 sp<IMemory> createIMemoryCopy(const sp<IMemory> &source_data);
|
/frameworks/av/include/media/nbaio/ |
D | NBLog.h | 121 Writer(size_t size, const sp<IMemory>& iMemory); 138 sp<IMemory> getIMemory() const { return mIMemory; } in getIMemory() 146 const sp<IMemory> mIMemory; // ref-counted version 180 Reader(size_t size, const sp<IMemory>& iMemory); 185 bool isIMemory(const sp<IMemory>& iMemory) const; 190 const sp<IMemory> mIMemory; // ref-counted version
|
/frameworks/av/media/libmediaplayerservice/ |
D | MetadataRetrieverClient.h | 53 virtual sp<IMemory> getFrameAtTime(int64_t timeUs, int option); 54 virtual sp<IMemory> extractAlbumArt(); 71 sp<IMemory> mAlbumArt; 72 sp<IMemory> mThumbnail;
|
/frameworks/av/include/camera/ |
D | Camera.h | 43 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr, 45 …virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) = 0; 116 void releaseRecordingFrame(const sp<IMemory>& mem); 165 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, 167 …virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& d… 178 virtual void releaseRecordingFrame(const sp<IMemory>& mem);
|
/frameworks/av/services/soundtrigger/ |
D | SoundTriggerHwService.h | 91 CallbackEvent(event_type type, sp<IMemory> memory, wp<Module> module); 96 sp<IMemory> mMemory; 114 virtual status_t loadSoundModel(const sp<IMemory>& modelMemory, 120 const sp<IMemory>& dataMemory); 182 sp<IMemory> prepareRecognitionEvent_l(struct sound_trigger_recognition_event *event); 186 sp<IMemory> prepareSoundModelEvent_l(struct sound_trigger_model_event *event); 189 sp<IMemory> prepareServiceStateEvent_l(sound_trigger_service_state_t state);
|
D | SoundTriggerHwService.cpp | 231 sp<IMemory> SoundTriggerHwService::prepareRecognitionEvent_l( in prepareRecognitionEvent_l() 234 sp<IMemory> eventMemory; in prepareRecognitionEvent_l() 281 sp<IMemory> eventMemory = prepareRecognitionEvent_l(event); in sendRecognitionEvent() 316 sp<IMemory> SoundTriggerHwService::prepareSoundModelEvent_l(struct sound_trigger_model_event *event) in prepareSoundModelEvent_l() 318 sp<IMemory> eventMemory; in prepareSoundModelEvent_l() 335 sp<IMemory> eventMemory = prepareSoundModelEvent_l(event); in sendSoundModelEvent() 354 sp<IMemory> SoundTriggerHwService::prepareServiceStateEvent_l(sound_trigger_service_state_t state) in prepareServiceStateEvent_l() 356 sp<IMemory> eventMemory; in prepareServiceStateEvent_l() 372 sp<IMemory> eventMemory = prepareServiceStateEvent_l(state); in sendServiceStateEvent_l() 477 SoundTriggerHwService::CallbackEvent::CallbackEvent(event_type type, sp<IMemory> memory, in CallbackEvent() [all …]
|
/frameworks/av/camera/ |
D | ICameraClient.cpp | 58 void dataCallback(int32_t msgType, const sp<IMemory>& imageData, in dataCallback() 74 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) in dataCallbackTimestamp() 117 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder()); in onTransact() 134 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
|
D | ICameraRecordingProxyListener.cpp | 41 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) in dataCallbackTimestamp() 80 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
|
D | ICameraRecordingProxy.cpp | 64 void releaseRecordingFrame(const sp<IMemory>& mem) in releaseRecordingFrame() 112 sp<IMemory> mem = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
|
/frameworks/base/media/jni/ |
D | android_media_MediaHTTPConnection.h | 27 class IMemory; variable 37 sp<IMemory> getIMemory(); 50 sp<IMemory> mMemory;
|
/frameworks/av/radio/ |
D | IRadioClient.cpp | 41 virtual void onEvent(const sp<IMemory>& eventMemory) in onEvent() 63 sp<IMemory> eventMemory = interface_cast<IMemory>( in onTransact()
|
/frameworks/av/cmds/stagefright/ |
D | stream.cpp | 51 virtual void setBuffers(const Vector<sp<IMemory> > &buffers); 64 Vector<sp<IMemory> > mBuffers; 88 void MyStreamSource::setBuffers(const Vector<sp<IMemory> > &buffers) { in setBuffers() 114 sp<IMemory> mem = mBuffers.itemAt(index); in onBufferAvailable() 131 virtual void setBuffers(const Vector<sp<IMemory> > &buffers); 143 Vector<sp<IMemory> > mBuffers; 199 const Vector<sp<IMemory> > &buffers) { in setBuffers() 225 sp<IMemory> mem = mBuffers.itemAt(mCurrentBufferIndex); in writeData()
|
/frameworks/native/libs/binder/ |
D | IMemory.cpp | 88 friend class IMemory; 123 class BpMemory : public BpInterface<IMemory> 138 void* IMemory::fastPointer(const sp<IBinder>& binder, ssize_t offset) const in fastPointer() 147 void* IMemory::pointer() const { in pointer() 156 size_t IMemory::size() const { in size() 162 ssize_t IMemory::offset() const { in offset() 171 : BpInterface<IMemory>(impl), mOffset(0), mSize(0) in BpMemory() 183 data.writeInterfaceToken(IMemory::getInterfaceDescriptor()); in getMemory() 228 CHECK_INTERFACE(IMemory, data, reply); in onTransact()
|
/frameworks/av/services/audioflinger/ |
D | TrackBase.h | 75 sp<IMemory> getCblk() const { return mCblkMemory; } in getCblk() 81 sp<IMemory> getBuffers() const { return mBufferMemory; } in getBuffers() 137 sp<IMemory> mCblkMemory; 139 sp<IMemory> mBufferMemory; // currently non-0 for fast RecordTrack only
|
/frameworks/av/include/media/ |
D | IMediaSource.h | 208 uint64_t lookup(const sp<IMemory> &mem) { in lookup() 224 uint64_t insert(const sp<IMemory> &mem) { in insert() 261 std::map<IMemory *, std::pair<sp<IMemory>, uint64_t>> mMemoryToIndex;
|
D | IMediaLogService.h | 31 virtual void registerWriter(const sp<IMemory>& shared, size_t size, const char *name) = 0; 32 virtual void unregisterWriter(const sp<IMemory>& shared) = 0;
|