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

/frameworks/av/soundtrigger/
H A DISoundTrigger.cpp86 const sp<IMemory>& dataMemory)
91 if (dataMemory == 0) {
94 data.writeInt32(dataMemory->size());
96 data.writeStrongBinder(IInterface::asBinder(dataMemory));
156 sp<IMemory> dataMemory; local
158 dataMemory = interface_cast<IMemory>(data.readStrongBinder());
160 status_t status = startRecognition(handle, dataMemory);
85 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.cpp654 const sp<IMemory>& dataMemory)
660 if (dataMemory == 0 || dataMemory->pointer() == NULL) {
661 ALOGE("startRecognition() dataMemory is 0 or has NULL pointer()");
667 (struct sound_trigger_recognition_config *)dataMemory->pointer();
671 dataMemory->size() < config->data_offset ||
672 config->data_size > (dataMemory->size() - config->data_offset)) {
994 const sp<IMemory>& dataMemory)
1005 return module->startRecognition(handle, dataMemory);
653 startRecognition(sound_model_handle_t handle, const sp<IMemory>& dataMemory) argument
993 startRecognition(sound_model_handle_t handle, const sp<IMemory>& dataMemory) argument

Completed in 812 milliseconds