Lines Matching refs:device_id
49 // Extracts the device |type| and |unique_id| from |device_id|. Returns false
50 // if the device_id isn't properly formatted.
51 static bool CrackDeviceId(const std::string& device_id,
54 // Looks inside |device_id| to determine if it is a media device
56 static bool IsMediaDevice(const std::string& device_id);
58 // Looks inside |device_id| to determine if it is a media device
60 static bool IsRemovableDevice(const std::string& device_id);
62 // Looks inside |device_id| to determine if it is a mass storage device
64 static bool IsMassStorageDevice(const std::string& device_id);
66 static bool IsITunesDevice(const std::string& device_id);
68 static bool IsPicasaDevice(const std::string& device_id);
70 static bool IsIPhotoDevice(const std::string& device_id);
72 static bool IsMTPDevice(const std::string& device_id);
82 const std::string& device_id() const { return device_id_; }
89 void set_device_id(const std::string& device_id) { device_id_ = device_id; }