//LCOV_EXCL_START
else if (prof == PROFILE_WEARABLE)
return ARR_SIZE(wearable_str_pattern);
- else if (prof == PROFILE_DA)
- return ARR_SIZE(all_str_pattern);
else
return ARR_SIZE(all_str_pattern);
//LCOV_EXCL_STOP
if (pattern == wearable_str_standard[i].id)
return wearable_str_standard[i].string;
}
- } else if (prof == PROFILE_DA) {
- for (i = 0; i < profile_get_num_of_pattern(); i++) {
- if (pattern == all_str_pattern[i].id)
- return all_str_pattern[i].string;
- }
} else {
for (i = 0; i < profile_get_num_of_pattern(); i++) {
if (pattern == all_str_pattern[i].id)
if (!strncmp(pattern, wearable_str_standard[i].string, len))
return wearable_str_standard[i].id;
}
- }else if (prof == PROFILE_DA) {
- for (i = 0; i < profile_get_num_of_pattern(); i++) {
- if (!strncmp(pattern, all_str_pattern[i].string, len))
- return all_str_pattern[i].id;
- }
} else {
for (i = 0; i < profile_get_num_of_pattern(); i++) {
if (!strncmp(pattern, all_str_pattern[i].string, len))