Searched defs:dataMemory (Results 1 - 3 of 3) sorted by relevance

/frameworks/av/soundtrigger/
H A DISoundTrigger.cpp84 const sp<IMemory>& dataMemory)
89 if (dataMemory == 0) {
92 data.writeInt32(dataMemory->size());
94 data.writeStrongBinder(dataMemory->asBinder());
154 sp<IMemory> dataMemory; local
156 dataMemory = interface_cast<IMemory>(data.readStrongBinder());
158 status_t status = startRecognition(handle, dataMemory);
83 startRecognition(sound_model_handle_t handle, const sp<IMemory>& dataMemory) argument
H A DSoundTrigger.cpp173 const sp<IMemory>& dataMemory)
179 return mISoundTrigger->startRecognition(handle, dataMemory);
172 startRecognition(sound_model_handle_t handle, const sp<IMemory>& dataMemory) argument
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.cpp599 const sp<IMemory>& dataMemory)
606 if (dataMemory != 0 && dataMemory->pointer() == NULL) {
607 ALOGE("startRecognition() dataMemory is non-0 but has NULL pointer()");
619 if ((dataMemory == 0) ||
620 (dataMemory->size() < sizeof(struct sound_trigger_recognition_config))) {
629 (struct sound_trigger_recognition_config *)dataMemory->pointer();
598 startRecognition(sound_model_handle_t handle, const sp<IMemory>& dataMemory) argument

Completed in 44 milliseconds