Platform module: add get_all_devices method + test