Lines Matching defs:device_location
28 const base::FilePath::StringType& device_location,
32 if (!ContainsKey(mtp_device_usage_map_, device_location)) {
36 CreateMTPDeviceAsyncDelegate(device_location,
38 base::Unretained(this), device_location));
39 mtp_device_usage_map_[device_location] = 0;
42 mtp_device_usage_map_[device_location]++;
43 mtp_device_map_[fsid] = device_location;
51 base::FilePath::StringType device_location = it->second;
54 mtp_device_usage_map_.find(device_location);
56 mtp_device_usage_map_[device_location]--;
57 if (mtp_device_usage_map_[device_location] == 0) {
59 RemoveAsyncDelegate(device_location);
65 const base::FilePath::StringType& device_location,
69 DCHECK(!device_location.empty());
70 if (ContainsKey(async_delegate_map_, device_location))
72 async_delegate_map_[device_location] = delegate;
76 const base::FilePath::StringType& device_location) {
78 AsyncDelegateMap::iterator it = async_delegate_map_.find(device_location);
93 const base::FilePath::StringType& device_location = device_path.value();
94 DCHECK(!device_location.empty());
96 async_delegate_map_.find(device_location);