GetDeviceForPath
status_t GetDeviceForPath(const char* filename,
return roster.GetDeviceForPath(fPath.Path(), &device);
status_t error = roster.GetDeviceForPath(devicePath, &device);