HomeSort by relevance Sort by last modified time
    Searched refs:NfcTag (Results 1 - 16 of 16) sorted by null

  /external/chromium_org/device/nfc/
nfc_tag.cc 9 NfcTag::NfcTag() {
12 NfcTag::~NfcTag() {
nfc_tag.h 12 // NfcTag represents a remote NFC tag. An NFC tag is a passive NFC device,
24 // The NfcTag class facilitates possible interactions with a tag. The most
27 class NfcTag {
55 virtual void TagTypeChanged(NfcTag* tag, TagType type) {}
58 virtual void TagWritePermissionChanged(NfcTag* tag, bool read_only) {}
61 virtual void TagSupportedProtocolChanged(NfcTag* tag, Protocol protocol) {}
65 virtual void TagReady(NfcTag* tag) {}
68 virtual ~NfcTag();
104 NfcTag();
107 DISALLOW_COPY_AND_ASSIGN(NfcTag);
    [all...]
nfc_tag_chromeos.cc 11 using device::NfcTag;
19 // Converts an NFC tag type value returned by neard to a NfcTag::TagType enum
21 NfcTag::TagType DBusTypePropertyToTagType(const std::string& type) {
23 return NfcTag::kTagType1;
25 return NfcTag::kTagType2;
27 return NfcTag::kTagType3;
29 return NfcTag::kTagType4;
30 return NfcTag::kTagTypeUnknown;
33 // Converts an NFC tag protocol value returned by neard to a NfcTag::Protocol
35 NfcTag::Protocol DBusProtocolPropertyToTagProtocol
    [all...]
nfc_tag_technology.h 13 class NfcTag;
19 // obtain a handle directly from an NfcTag object.
39 // Returns a pointer to the associated NfcTag instance.
40 NfcTag* tag() const { return tag_; }
47 explicit NfcTagTechnology(NfcTag* tag);
52 // The underlying NfcTag instance that data exchange operations through this
54 NfcTag* tag_;
86 virtual void RecordReceived(NfcTag* tag, const NfcNdefRecord* record) {}
101 // use this method in conjunction with the NfcTag::Observer::RecordsReceived
116 explicit NfcNdefTagTechnology(NfcTag* tag)
    [all...]
nfc_tag_technology.cc 11 NfcTagTechnology::NfcTagTechnology(NfcTag* tag) : tag_(tag) {
25 NfcNdefTagTechnology::NfcNdefTagTechnology(NfcTag* tag)
nfc_adapter.h 18 class NfcTag;
68 virtual void TagFound(NfcAdapter* adapter, NfcTag* tag) {}
72 virtual void TagLost(NfcAdapter* adapter, NfcTag* tag) {}
95 typedef std::vector<NfcTag*> TagList;
167 virtual NfcTag* GetTag(const std::string& identifier) const;
173 // NfcPeer and NfcTag instances.
179 // corresponding NfcPeer or NfcTag object, whose lifetime is managed by the
182 typedef std::map<const std::string, NfcTag*> TagsMap;
186 void SetTag(const std::string& identifier, NfcTag* tag);
191 NfcTag* RemoveTag(const std::string& identifier)
    [all...]
nfc_tag_chromeos.h 20 // The NfcTagChromeOS class implements device::NfcTag for the Chrome OS
22 class NfcTagChromeOS : public device::NfcTag,
25 // device::NfcTag overrides.
26 virtual void AddObserver(device::NfcTag::Observer* observer) OVERRIDE;
27 virtual void RemoveObserver(device::NfcTag::Observer* observer) OVERRIDE;
31 virtual device::NfcTag::Protocol GetSupportedProtocol() const OVERRIDE;
63 ObserverList<device::NfcTag::Observer> observers_;
nfc_adapter.cc 44 NfcTag* NfcAdapter::GetTag(const std::string& identifier) const {
51 void NfcAdapter::SetTag(const std::string& identifier, NfcTag* tag) {
67 NfcTag* NfcAdapter::RemoveTag(const std::string& identifier) {
73 NfcTag* tag = iter->second;
nfc_chromeos_unittest.cc 29 using device::NfcTag;
45 public NfcTag::Observer,
98 virtual void TagFound(NfcAdapter* adapter, NfcTag* tag) OVERRIDE {
105 virtual void TagLost(NfcAdapter* adapter, NfcTag* tag) OVERRIDE {
122 NfcTag* tag, const NfcNdefRecord* record) OVERRIDE {
429 NfcTag* tag = tags[0];
597 NfcTag* tag = adapter_->GetTag(observer.tag_identifier_);
nfc_adapter_chromeos.cc 242 device::NfcTag* tag = RemoveTag(object_path.value());
326 device::NfcTag* tag = *iter;
  /packages/apps/Nfc/nci/jni/
Pn544Interop.cpp 28 #include "NfcTag.h"
88 NfcTag::ActivationState state = NfcTag::getInstance ().getActivationState ();
97 if (state == NfcTag::Idle)
NativeNfcTag.cpp 23 #include "NfcTag.h"
480 NfcTag& natTag = NfcTag::getInstance ();
483 if (i >= NfcTag::MAX_NUM_TECHNOLOGY)
490 if (natTag.getActivationState() != NfcTag::Active)
544 NfcTag& natTag = NfcTag::getInstance ();
552 if (NfcTag::getInstance ().isNdefDetectionTimedOut())
582 if (NfcTag::getInstance ().getActivationState () != NfcTag::Sleep
    [all...]
NfcTag.cpp 21 #include "NfcTag.h"
35 ** Function: NfcTag
42 NfcTag::NfcTag ()
69 ** Description: Get a reference to the singleton NfcTag object.
71 ** Returns: Reference to NfcTag object.
74 NfcTag& NfcTag::getInstance ()
76 static NfcTag tag;
91 void NfcTag::initialize (nfc_jni_native_data* native
    [all...]
NfcTag.h 31 class NfcTag
43 ** Function: NfcTag
50 NfcTag ();
57 ** Description: Get a reference to the singleton NfcTag object.
59 ** Returns: Reference to NfcTag object.
62 static NfcTag& getInstance ();
NativeNfcManager.cpp 25 #include "NfcTag.h"
192 bool isP2p = NfcTag::getInstance ().isP2pDiscovered ();
196 NfcTag::getInstance ().selectP2p();
201 NfcTag::getInstance ().selectFirstTag();
269 NfcTag::getInstance().connectionEventHandler(connEvent, eventData);
298 NfcTag::getInstance().setActive(true);
303 NfcTag::getInstance().setActivationState ();
334 NfcTag::getInstance().connectionEventHandler (connEvent, eventData);
348 NfcTag::getInstance().setDeactivationState (eventData->deactivated);
357 NfcTag::getInstance().connectionEventHandler (connEvent, eventData)
    [all...]
  /external/chromium_org/chrome/browser/ui/webui/chromeos/
nfc_debug_ui.cc 28 using device::NfcTag;
143 std::string TagTypeToString(NfcTag::TagType type) {
145 case NfcTag::kTagType1:
147 case NfcTag::kTagType2:
149 case NfcTag::kTagType3:
151 case NfcTag::kTagType4:
153 case NfcTag::kTagTypeUnknown:
159 std::string TagProtocolToString(NfcTag::Protocol protocol) {
161 case NfcTag::kProtocolFelica:
163 case NfcTag::kProtocolIsoDep
    [all...]

Completed in 195 milliseconds