Searched refs:NfcAdapter (Results 1 – 10 of 10) sorted by relevance
/external/chromium_org/device/nfc/ |
D | nfc_adapter.h | 35 class NfcAdapter : public base::RefCounted<NfcAdapter> { 46 virtual void AdapterPresentChanged(NfcAdapter* adapter, bool present) {} in AdapterPresentChanged() 51 virtual void AdapterPoweredChanged(NfcAdapter* adapter, bool powered) {} in AdapterPoweredChanged() 58 virtual void AdapterPollingChanged(NfcAdapter* adapter, bool polling) {} in AdapterPollingChanged() 68 virtual void TagFound(NfcAdapter* adapter, NfcTag* tag) {} in TagFound() 72 virtual void TagLost(NfcAdapter* adapter, NfcTag* tag) {} in TagLost() 83 virtual void PeerFound(NfcAdapter* adaper, NfcPeer* peer) {} in PeerFound() 87 virtual void PeerLost(NfcAdapter* adapter, NfcPeer* peer) {} in PeerLost() 170 friend class base::RefCounted<NfcAdapter>; 174 NfcAdapter(); [all …]
|
D | nfc_adapter.cc | 13 NfcAdapter::NfcAdapter() { in NfcAdapter() function in device::NfcAdapter 16 NfcAdapter::~NfcAdapter() { in ~NfcAdapter() 21 void NfcAdapter::GetPeers(PeerList* peer_list) const { in GetPeers() 29 void NfcAdapter::GetTags(TagList* tag_list) const { in GetTags() 37 NfcPeer* NfcAdapter::GetPeer(const std::string& identifier) const { in GetPeer() 44 NfcTag* NfcAdapter::GetTag(const std::string& identifier) const { in GetTag()
|
D | nfc_chromeos_unittest.cc | 11 using device::NfcAdapter; 17 class TestObserver : public NfcAdapter::Observer { 19 TestObserver(scoped_refptr<NfcAdapter> adapter) in TestObserver() 28 virtual void AdapterPresentChanged(NfcAdapter* adapter, in AdapterPresentChanged() 35 virtual void AdapterPoweredChanged(NfcAdapter* adapter, in AdapterPoweredChanged() 43 scoped_refptr<NfcAdapter> adapter_; 92 scoped_refptr<NfcAdapter> adapter_;
|
D | nfc_adapter_chromeos.cc | 38 void NfcAdapterChromeOS::AddObserver(NfcAdapter::Observer* observer) { in AddObserver() 43 void NfcAdapterChromeOS::RemoveObserver(NfcAdapter::Observer* observer) { in RemoveObserver() 229 FOR_EACH_OBSERVER(NfcAdapter::Observer, observers_, in RemoveAdapter() 235 FOR_EACH_OBSERVER(NfcAdapter::Observer, observers_, in RemoveAdapter() 245 FOR_EACH_OBSERVER(NfcAdapter::Observer, observers_, in PoweredChanged() 250 FOR_EACH_OBSERVER(NfcAdapter::Observer, observers_, in PollingChanged() 255 FOR_EACH_OBSERVER(NfcAdapter::Observer, observers_, in PresentChanged()
|
D | nfc_adapter_chromeos.h | 26 class NfcAdapterChromeOS : public device::NfcAdapter, 32 virtual void AddObserver(NfcAdapter::Observer* observer) OVERRIDE; 33 virtual void RemoveObserver(NfcAdapter::Observer* observer) OVERRIDE; 106 ObserverList<device::NfcAdapter::Observer> observers_;
|
D | nfc_adapter_factory.cc | 23 base::LazyInstance<base::WeakPtr<device::NfcAdapter> >::Leaky 51 callback.Run(scoped_refptr<NfcAdapter>(default_adapter.Get().get())); in GetAdapter()
|
D | nfc_adapter_factory.h | 19 typedef base::Callback<void(scoped_refptr<NfcAdapter>)> AdapterCallback;
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowNfcAdapter.java | 7 import android.nfc.NfcAdapter; 15 @Implements(NfcAdapter.class) 17 @RealObject NfcAdapter nfcAdapter; 25 public static NfcAdapter getDefaultAdapter(Context context) { in getDefaultAdapter() 27 Constructor<NfcAdapter> constructor = NfcAdapter.class.getDeclaredConstructor(); in getDefaultAdapter()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | NfcAdapterTest.java | 3 import android.nfc.NfcAdapter; 15 assertThat(NfcAdapter.getDefaultAdapter(null), instanceOf(NfcAdapter.class)); in getDefaultAdapter_shouldReturnAnAdapter()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/ |
D | RobolectricShadowOfLevel9.java | 5 import android.nfc.NfcAdapter; 21 public static ShadowNfcAdapter shadowOf(NfcAdapter instance) { in shadowOf()
|