Lines Matching full:info
44 static bool check_sensor_type(const struct sensing_sensor_info *info, in check_sensor_type() argument
48 if (info->type == sensor->sensor_types[i]) { in check_sensor_type()
62 const struct sensing_sensor_info *info; in ZTEST() local
66 ret = sensing_get_sensors(&num, &info); in ZTEST()
70 zassert_not_null(info, "Expected sensor info to be not null"); in ZTEST()
76 if (strcmp(info[i].name, sensors[j].name) == 0) { in ZTEST()
77 zassert_true(strcmp(info[i].friendly_name, in ZTEST()
80 info[i].name); in ZTEST()
81 zassert_true(check_sensor_type(&info[i], &sensors[j]), in ZTEST()
83 info[i].name); in ZTEST()
88 zassert_true(found, "Sensor '%s' not found", info[i].name); in ZTEST()