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.cpp674 const sp<IMemory>& dataMemory)
680 if (dataMemory == 0 || dataMemory->pointer() == NULL) {
681 ALOGE("startRecognition() dataMemory is 0 or has NULL pointer()");
687 (struct sound_trigger_recognition_config *)dataMemory->pointer();
691 dataMemory->size() < config->data_offset ||
692 config->data_size > (dataMemory->size() - config->data_offset)) {
1017 const sp<IMemory>& dataMemory)
1029 return module->startRecognition(handle, dataMemory);
673 startRecognition(sound_model_handle_t handle, const sp<IMemory>& dataMemory) argument
1016 startRecognition(sound_model_handle_t handle, const sp<IMemory>& dataMemory) argument

Completed in 86 milliseconds