add device_infos map + test on all the samples

Just put inside map only the device_info use in my sample