Home
last modified time | relevance | path

Searched refs:IMemory (Results 1 – 25 of 142) sorted by relevance

123456

/frameworks/av/soundtrigger/
DISoundTriggerClient.cpp43 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()
DISoundTrigger.cpp53 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()
DSoundTrigger.cpp152 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/
DCameraClient.h51 virtual void releaseRecordingFrame(const sp<IMemory>& mem);
107 static void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
109 … dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* …
114 void handlePreviewData(int32_t msgType, const sp<IMemory>& mem,
116 void handlePostview(const sp<IMemory>& mem);
117 void handleRawPicture(const sp<IMemory>& mem);
118 void handleCompressedPicture(const sp<IMemory>& mem);
120 void handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr,
122 … handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
162 std::vector<sp<IMemory>> mAvailableCallbackBuffers;
/frameworks/av/services/medialog/
DIMediaLogService.cpp43 virtual void registerWriter(const sp<IMemory>& shared, size_t size, const char *name) { in registerWriter()
53 virtual void unregisterWriter(const sp<IMemory>& shared) { in unregisterWriter()
81 sp<IMemory> shared = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
90 sp<IMemory> shared = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
/frameworks/av/media/libstagefright/include/
DSharedMemoryBuffer.h27 class IMemory; variable
34 typedef ::android::hidl::memory::V1_0::IMemory TMemory;
35 SharedMemoryBuffer(const sp<AMessage> &format, const sp<IMemory> &mem);
43 const sp<IMemory> mMemory;
/frameworks/av/include/soundtrigger/
DSoundTrigger.h48 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);
DISoundTriggerClient.h32 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/media/libstagefright/include/media/stagefright/
DCameraSource.h36 class IMemory; variable
143 const sp<IMemory> &data);
219 virtual void releaseRecordingFrame(const sp<IMemory>& frame);
229 virtual void dataCallback(int32_t /*msgType*/, const sp<IMemory>& /*data*/) {} in dataCallback() argument
232 const sp<IMemory> &data);
252 List<sp<IMemory> > mFramesReceived;
253 List<sp<IMemory> > mFramesBeingEncoded;
278 List<sp<IMemory>> mMemoryBases;
290 std::vector<const sp<IMemory>> mInflightReturnedMemorys;
294 void releaseOneRecordingFrame(const sp<IMemory>& frame);
DCameraSourceTimeLapse.h33 class IMemory; variable
146 const sp<IMemory> &data);
191 sp<IMemory> createIMemoryCopy(const sp<IMemory> &source_data);
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.h94 CallbackEvent(event_type type, sp<IMemory> memory);
102 sp<IMemory> mMemory;
116 virtual status_t loadSoundModel(const sp<IMemory>& modelMemory,
123 const sp<IMemory>& dataMemory);
164 virtual status_t loadSoundModel(const sp<IMemory>& modelMemory,
170 const sp<IMemory>& dataMemory);
217 sp<IMemory> prepareRecognitionEvent_l(struct sound_trigger_recognition_event *event);
221 sp<IMemory> prepareSoundModelEvent_l(struct sound_trigger_model_event *event);
224 sp<IMemory> prepareServiceStateEvent_l(sound_trigger_service_state_t state);
DSoundTriggerHwService.cpp209 sp<IMemory> SoundTriggerHwService::prepareRecognitionEvent_l( in prepareRecognitionEvent_l()
212 sp<IMemory> eventMemory; in prepareRecognitionEvent_l()
259 sp<IMemory> eventMemory = prepareRecognitionEvent_l(event); in sendRecognitionEvent()
296 sp<IMemory> SoundTriggerHwService::prepareSoundModelEvent_l(struct sound_trigger_model_event *event) in prepareSoundModelEvent_l()
298 sp<IMemory> eventMemory; in prepareSoundModelEvent_l()
315 sp<IMemory> eventMemory = prepareSoundModelEvent_l(event); in sendSoundModelEvent()
336 sp<IMemory> SoundTriggerHwService::prepareServiceStateEvent_l(sound_trigger_service_state_t state) in prepareServiceStateEvent_l()
338 sp<IMemory> eventMemory; in prepareServiceStateEvent_l()
354 sp<IMemory> eventMemory = prepareServiceStateEvent_l(state); in sendServiceStateEvent_l()
377 sp<IMemory> eventMemory = prepareServiceStateEvent_l(state); in sendServiceStateEvent_l()
[all …]
/frameworks/av/media/libmediaplayerservice/
DMetadataRetrieverClient.h53 virtual sp<IMemory> getFrameAtTime(
55 virtual sp<IMemory> extractAlbumArt();
72 sp<IMemory> mAlbumArt;
73 sp<IMemory> mThumbnail;
/frameworks/base/media/jni/
Dandroid_media_MediaHTTPConnection.h27 class IMemory; variable
37 sp<IMemory> getIMemory();
50 sp<IMemory> mMemory;
/frameworks/av/camera/include/camera/
DCamera.h43 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;
119 void releaseRecordingFrame(const sp<IMemory>& mem);
172 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
174 …virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& d…
189 virtual void releaseRecordingFrame(const sp<IMemory>& mem);
/frameworks/av/cmds/stagefright/
Dstream.cpp51 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;
205 const Vector<sp<IMemory> > &buffers) { in setBuffers()
231 sp<IMemory> mem = mBuffers.itemAt(mCurrentBufferIndex); in writeData()
/frameworks/av/camera/
DICameraClient.cpp59 void dataCallback(int32_t msgType, const sp<IMemory>& imageData, in dataCallback()
75 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) in dataCallbackTimestamp()
141 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
158 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
/frameworks/av/include/media/
DICrypto.h29 class IMemory; variable
52 sp<IMemory> mSharedMemory;
64 sp<IMemory> mSharedMemory;
DIMediaSource.h208 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;
DIMediaLogService.h31 virtual void registerWriter(const sp<IMemory>& shared, size_t size, const char *name) = 0;
32 virtual void unregisterWriter(const sp<IMemory>& shared) = 0;
/frameworks/av/media/libmedia/include/media/
DICrypto.h29 class IMemory; variable
52 sp<IMemory> mSharedMemory;
64 sp<IMemory> mSharedMemory;
DIMediaSource.h208 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;
DIMediaLogService.h31 virtual void registerWriter(const sp<IMemory>& shared, size_t size, const char *name) = 0;
32 virtual void unregisterWriter(const sp<IMemory>& shared) = 0;
/frameworks/native/libs/binder/
DIMemory.cpp93 friend class IMemory;
128 class BpMemory : public BpInterface<IMemory>
143 void* IMemory::fastPointer(const sp<IBinder>& binder, ssize_t offset) const in fastPointer()
152 void* IMemory::pointer() const { in pointer()
161 size_t IMemory::size() const { in size()
167 ssize_t IMemory::offset() const { in offset()
176 : BpInterface<IMemory>(impl), mOffset(0), mSize(0) in BpMemory()
188 data.writeInterfaceToken(IMemory::getInterfaceDescriptor()); in getMemory()
233 CHECK_INTERFACE(IMemory, data, reply); in onTransact()
/frameworks/av/services/audioflinger/
DTrackBase.h77 sp<IMemory> getCblk() const { return mCblkMemory; } in getCblk()
84 sp<IMemory> getBuffers() const { return mBufferMemory; } in getBuffers()
178 sp<IMemory> mCblkMemory;
180 sp<IMemory> mBufferMemory; // currently non-0 for fast RecordTrack only

123456