Searched refs:halModel (Results 1 – 3 of 3) sorted by relevance
351 struct sound_trigger_sound_model* halModel = NULL; in convertSoundModelToHal() local369 halModel = reinterpret_cast<struct sound_trigger_sound_model*>(halKeyPhraseModel); in convertSoundModelToHal()370 halModel->data_offset = sizeof(struct sound_trigger_phrase_sound_model); in convertSoundModelToHal()373 halModel = static_cast<struct sound_trigger_sound_model*>(malloc(allocSize)); in convertSoundModelToHal()374 LOG_ALWAYS_FATAL_IF(halModel == NULL, in convertSoundModelToHal()378 halModel->data_offset = sizeof(struct sound_trigger_sound_model); in convertSoundModelToHal()380 halModel->type = (sound_trigger_sound_model_type_t)soundModel->type; in convertSoundModelToHal()381 convertUuidToHal(&halModel->uuid, &soundModel->uuid); in convertSoundModelToHal()382 convertUuidToHal(&halModel->vendor_uuid, &soundModel->vendorUuid); in convertSoundModelToHal()383 halModel->data_size = soundModel->data.size(); in convertSoundModelToHal()[all …]
373 struct sound_trigger_sound_model* halModel = NULL; in convertSoundModelToHal() local391 halModel = reinterpret_cast<struct sound_trigger_sound_model*>(halKeyPhraseModel); in convertSoundModelToHal()392 halModel->data_offset = sizeof(struct sound_trigger_phrase_sound_model); in convertSoundModelToHal()395 halModel = static_cast<struct sound_trigger_sound_model*>(malloc(allocSize)); in convertSoundModelToHal()396 LOG_ALWAYS_FATAL_IF(halModel == NULL, in convertSoundModelToHal()400 halModel->data_offset = sizeof(struct sound_trigger_sound_model); in convertSoundModelToHal()402 halModel->type = (sound_trigger_sound_model_type_t)soundModel->type; in convertSoundModelToHal()403 convertUuidToHal(&halModel->uuid, &soundModel->uuid); in convertSoundModelToHal()404 convertUuidToHal(&halModel->vendor_uuid, &soundModel->vendorUuid); in convertSoundModelToHal()405 halModel->data_size = soundModel->data.size(); in convertSoundModelToHal()[all …]
381 struct sound_trigger_sound_model* halModel = NULL; in convertSoundModelToHal() local399 halModel = reinterpret_cast<struct sound_trigger_sound_model*>(halKeyPhraseModel); in convertSoundModelToHal()400 halModel->data_offset = sizeof(struct sound_trigger_phrase_sound_model); in convertSoundModelToHal()403 halModel = static_cast<struct sound_trigger_sound_model*>(malloc(allocSize)); in convertSoundModelToHal()404 LOG_ALWAYS_FATAL_IF(halModel == NULL, in convertSoundModelToHal()408 halModel->data_offset = sizeof(struct sound_trigger_sound_model); in convertSoundModelToHal()410 halModel->type = (sound_trigger_sound_model_type_t)soundModel->type; in convertSoundModelToHal()411 convertUuidToHal(&halModel->uuid, &soundModel->uuid); in convertSoundModelToHal()412 convertUuidToHal(&halModel->vendor_uuid, &soundModel->vendorUuid); in convertSoundModelToHal()413 halModel->data_size = soundModel->data.size(); in convertSoundModelToHal()[all …]