Home | History | Annotate | Download | only in nfc

Lines Matching defs:object_path

119 void NfcAdapterChromeOS::AdapterAdded(const dbus::ObjectPath& object_path) {
122 SetAdapter(object_path);
125 void NfcAdapterChromeOS::AdapterRemoved(const dbus::ObjectPath& object_path) {
126 if (object_path != object_path_)
143 if (*iter == object_path)
150 const dbus::ObjectPath& object_path,
152 if (object_path != object_path_)
163 void NfcAdapterChromeOS::DeviceAdded(const dbus::ObjectPath& object_path) {
167 if (GetPeer(object_path.value()))
170 VLOG(1) << "NFC device found: " << object_path.value();
179 if (*iter == object_path) {
190 NfcPeerChromeOS* peer_chromeos = new NfcPeerChromeOS(object_path);
191 SetPeer(object_path.value(), peer_chromeos);
196 void NfcAdapterChromeOS::DeviceRemoved(const dbus::ObjectPath& object_path) {
197 VLOG(1) << "NFC device lost: " << object_path.value();
198 device::NfcPeer* peer = RemovePeer(object_path.value());
207 void NfcAdapterChromeOS::TagAdded(const dbus::ObjectPath& object_path) {
211 if (GetTag(object_path.value()))
214 VLOG(1) << "NFC tag found: " << object_path.value();
223 if (*iter == object_path) {
234 NfcTagChromeOS* tag_chromeos = new NfcTagChromeOS(object_path);
235 SetTag(object_path.value(), tag_chromeos);
240 void NfcAdapterChromeOS::TagRemoved(const dbus::ObjectPath& object_path) {
241 VLOG(1) << "NFC tag lost : " << object_path.value();
242 device::NfcTag* tag = RemoveTag(object_path.value());
251 void NfcAdapterChromeOS::SetAdapter(const dbus::ObjectPath& object_path) {
253 object_path_ = object_path;
254 VLOG(1) << "Using NFC adapter: " << object_path.value();
271 const dbus::ObjectPath& object_path = *iter;
272 if (GetPeer(object_path.value()))
274 NfcPeerChromeOS* peer_chromeos = new NfcPeerChromeOS(object_path);
275 SetPeer(object_path.value(), peer_chromeos);
286 const dbus::ObjectPath& object_path = *iter;
287 if (GetTag(object_path.value()))
289 NfcTagChromeOS* tag_chromeos = new NfcTagChromeOS(object_path);
290 SetTag(object_path.value(), tag_chromeos);