Home
last modified time | relevance | path

Searched refs:Nfc (Results 1 – 25 of 40) sorted by relevance

12

/hardware/nxp/nfc/snxxx/aidl/
DNfc.cpp34 std::shared_ptr<INfcClientCallback> Nfc::mCallback = nullptr;
38 if (Nfc::mCallback != nullptr && in OnDeath()
39 !AIBinder_isAlive(Nfc::mCallback->asBinder().get())) { in OnDeath()
41 Nfc* nfc = static_cast<Nfc*>(cookie); in OnDeath()
46 ::ndk::ScopedAStatus Nfc::open( in open()
54 Nfc::mCallback = clientCallback; in open()
73 ::ndk::ScopedAStatus Nfc::close(NfcCloseType type) { in close()
75 if (Nfc::mCallback == nullptr) { in close()
86 Nfc::mCallback = nullptr; in close()
95 ::ndk::ScopedAStatus Nfc::coreInitialized() { in coreInitialized()
[all …]
Dmain.cpp30 using ::aidl::android::hardware::nfc::Nfc;
54 std::shared_ptr<Nfc> nfc_service = ndk::SharedRefBase::make<Nfc>(); in main()
56 const std::string nfcInstName = std::string() + Nfc::descriptor + "/default"; in main()
DNfc.h47 struct Nfc : public BnNfc { struct
49 Nfc() = default;
/hardware/st/nfc/aidl/
DNfc.cpp30 Nfc* nfc;
33 std::shared_ptr<INfcClientCallback> Nfc::mCallback = nullptr;
45 if (Nfc::mCallback != nullptr && in OnDeath()
46 !AIBinder_isAlive(Nfc::mCallback->asBinder().get())) { in OnDeath()
55 ::ndk::ScopedAStatus Nfc::open( in open()
65 Nfc::mCallback = clientCallback; in open()
87 ::ndk::ScopedAStatus Nfc::close(NfcCloseType type) { in close()
89 if (Nfc::mCallback == nullptr) { in close()
101 Nfc::mCallback = nullptr; in close()
110 ::ndk::ScopedAStatus Nfc::coreInitialized() { in coreInitialized()
[all …]
Dmain.cpp32 using ::aidl::android::hardware::nfc::Nfc;
62 std::shared_ptr<Nfc> nfc_service = ndk::SharedRefBase::make<Nfc>(); in main()
64 const std::string instance = std::string() + Nfc::descriptor + "/default"; in main()
DNfc.h36 struct Nfc : public BnNfc { struct
38 Nfc() = default;
/hardware/nxp/nfc/snxxx/1.2/
DNfc.cpp41 sp<V1_1::INfcClientCallback> Nfc::mCallbackV1_1 = nullptr;
42 sp<V1_0::INfcClientCallback> Nfc::mCallbackV1_0 = nullptr;
44 Return<V1_0::NfcStatus> Nfc::open_1_1( in open_1_1()
57 Return<V1_0::NfcStatus> Nfc::open( in open()
78 Return<uint32_t> Nfc::write(const hidl_vec<uint8_t>& data) { in write()
83 Return<V1_0::NfcStatus> Nfc::coreInitialized(const hidl_vec<uint8_t>& data) { in coreInitialized()
89 Return<V1_0::NfcStatus> Nfc::prediscover() { return V1_0::NfcStatus::OK; } in prediscover()
91 Return<V1_0::NfcStatus> Nfc::close() { in close()
109 Return<V1_0::NfcStatus> Nfc::controlGranted() { in controlGranted()
114 Return<V1_0::NfcStatus> Nfc::powerCycle() { in powerCycle()
[all …]
DNxpNfcService.cpp40 using android::hardware::nfc::V1_2::implementation::Nfc;
52 nfc_service = new Nfc(); in main()
/hardware/nxp/nfc/pn8x/1.2/
DNfc.cpp35 sp<V1_1::INfcClientCallback> Nfc::mCallbackV1_1 = nullptr;
36 sp<V1_0::INfcClientCallback> Nfc::mCallbackV1_0 = nullptr;
38 Return<V1_0::NfcStatus> Nfc::open_1_1( in open_1_1()
51 Return<V1_0::NfcStatus> Nfc::open( in open()
67 Return<uint32_t> Nfc::write(const hidl_vec<uint8_t>& data) { in write()
72 Return<V1_0::NfcStatus> Nfc::coreInitialized(const hidl_vec<uint8_t>& data) { in coreInitialized()
78 Return<V1_0::NfcStatus> Nfc::prediscover() { in prediscover()
83 Return<V1_0::NfcStatus> Nfc::close() { in close()
100 Return<V1_0::NfcStatus> Nfc::controlGranted() { in controlGranted()
105 Return<V1_0::NfcStatus> Nfc::powerCycle() { in powerCycle()
[all …]
DNxpNfcService.cpp34 using android::hardware::nfc::V1_2::implementation::Nfc;
40 sp<INfc> nfc_service = new Nfc(); in main()
/hardware/nxp/nfc/pn8x/1.1/
DNfc.cpp36 sp<V1_1::INfcClientCallback> Nfc::mCallbackV1_1 = nullptr;
37 sp<V1_0::INfcClientCallback> Nfc::mCallbackV1_0 = nullptr;
39 Return<V1_0::NfcStatus> Nfc::open_1_1( in open_1_1()
52 Return<V1_0::NfcStatus> Nfc::open( in open()
68 Return<uint32_t> Nfc::write(const hidl_vec<uint8_t>& data) { in write()
73 Return<V1_0::NfcStatus> Nfc::coreInitialized(const hidl_vec<uint8_t>& data) { in coreInitialized()
79 Return<V1_0::NfcStatus> Nfc::prediscover() { in prediscover()
84 Return<V1_0::NfcStatus> Nfc::close() { in close()
101 Return<V1_0::NfcStatus> Nfc::controlGranted() { in controlGranted()
106 Return<V1_0::NfcStatus> Nfc::powerCycle() { in powerCycle()
[all …]
DNxpNfcService.cpp34 using android::hardware::nfc::V1_1::implementation::Nfc;
40 sp<INfc> nfc_service = new Nfc(); in main()
/hardware/samsung/nfc/1.2/
DSecNfc.cpp40 sp<V1_1::INfcClientCallback> Nfc::mCallbackV1_1 = nullptr;
41 sp<V1_0::INfcClientCallback> Nfc::mCallbackV1_0 = nullptr;
43 Return<V1_0::NfcStatus> Nfc::open_1_1( in open_1_1()
57 Return<V1_0::NfcStatus> Nfc::open( in open()
72 Return<uint32_t> Nfc::write(const hidl_vec<uint8_t>& data) { in write()
77 Return<V1_0::NfcStatus> Nfc::coreInitialized(const hidl_vec<uint8_t>& data) { in coreInitialized()
83 Return<::android::hardware::nfc::V1_0::NfcStatus> Nfc::prediscover() { in prediscover()
88 Return<V1_0::NfcStatus> Nfc::close() { in close()
105 Return<V1_0::NfcStatus> Nfc::controlGranted() { in controlGranted()
110 Return<V1_0::NfcStatus> Nfc::powerCycle() { in powerCycle()
[all …]
DSecNfcService.cpp16 using android::hardware::nfc::V1_2::implementation::Nfc;
20 sp<INfc> nfc_service = new Nfc(); in main()
/hardware/st/nfc/1.1/
DNfc.cpp36 sp<V1_1::INfcClientCallback> Nfc::mCallbackV1_1 = nullptr;
37 sp<V1_0::INfcClientCallback> Nfc::mCallbackV1_0 = nullptr;
39 Return<V1_0::NfcStatus> Nfc::open_1_1( in open_1_1()
52 Return<V1_0::NfcStatus> Nfc::open( in open()
68 Return<uint32_t> Nfc::write(const hidl_vec<uint8_t>& data) { in write()
74 Return<V1_0::NfcStatus> Nfc::coreInitialized(const hidl_vec<uint8_t>& data) { in coreInitialized()
85 Return<V1_0::NfcStatus> Nfc::prediscover() { in prediscover()
90 Return<V1_0::NfcStatus> Nfc::close() { in close()
108 Return<V1_0::NfcStatus> Nfc::controlGranted() { in controlGranted()
113 Return<V1_0::NfcStatus> Nfc::powerCycle() { in powerCycle()
[all …]
DStNfcService.cpp33 using android::hardware::nfc::V1_1::implementation::Nfc;
37 sp<INfc> nfc_service = new Nfc(); in main()
/hardware/nxp/nfc/snxxx/1.1/
DNfc.cpp39 sp<V1_1::INfcClientCallback> Nfc::mCallbackV1_1 = nullptr;
40 sp<V1_0::INfcClientCallback> Nfc::mCallbackV1_0 = nullptr;
42 Return<V1_0::NfcStatus> Nfc::open_1_1( in open_1_1()
55 Return<V1_0::NfcStatus> Nfc::open( in open()
76 Return<uint32_t> Nfc::write(const hidl_vec<uint8_t>& data) { in write()
81 Return<V1_0::NfcStatus> Nfc::coreInitialized(const hidl_vec<uint8_t>& data) { in coreInitialized()
87 Return<V1_0::NfcStatus> Nfc::prediscover() { return V1_0::NfcStatus::OK; } in prediscover()
89 Return<V1_0::NfcStatus> Nfc::close() { in close()
107 Return<V1_0::NfcStatus> Nfc::controlGranted() { in controlGranted()
112 Return<V1_0::NfcStatus> Nfc::powerCycle() { in powerCycle()
[all …]
DNxpNfcService.cpp36 using android::hardware::nfc::V1_1::implementation::Nfc;
47 nfc_service = new Nfc(); in main()
/hardware/interfaces/nfc/1.0/default/
DNfc.cpp15 sp<INfcClientCallback> Nfc::mCallback = nullptr;
17 Nfc::Nfc(nfc_nci_device_t* device) : mDevice(device) {} in Nfc() function in android::hardware::nfc::V1_0::implementation::Nfc
20 ::android::hardware::Return<NfcStatus> Nfc::open(const sp<INfcClientCallback>& clientCallback) { in open()
31 ::android::hardware::Return<uint32_t> Nfc::write(const hidl_vec<uint8_t>& data) { in write()
38 ::android::hardware::Return<NfcStatus> Nfc::coreInitialized(const hidl_vec<uint8_t>& data) { in coreInitialized()
48 ::android::hardware::Return<NfcStatus> Nfc::prediscover() { in prediscover()
55 ::android::hardware::Return<NfcStatus> Nfc::close() { in close()
63 ::android::hardware::Return<NfcStatus> Nfc::controlGranted() { in controlGranted()
70 ::android::hardware::Return<NfcStatus> Nfc::powerCycle() { in powerCycle()
94 return new Nfc(nfc_device); in HIDL_FETCH_INfc()
DNfc.h22 struct Nfc : public INfc, public hidl_death_recipient { struct
23 Nfc(nfc_nci_device_t* device);
/hardware/st/nfc/1.2/
DNfc.cpp38 sp<V1_1::INfcClientCallback> Nfc::mCallbackV1_1 = nullptr;
39 sp<V1_0::INfcClientCallback> Nfc::mCallbackV1_0 = nullptr;
41 Return<V1_0::NfcStatus> Nfc::open_1_1( in open_1_1()
57 Return<V1_0::NfcStatus> Nfc::open( in open()
77 Return<uint32_t> Nfc::write(const hidl_vec<uint8_t>& data) { in write()
83 Return<V1_0::NfcStatus> Nfc::coreInitialized(const hidl_vec<uint8_t>& data) { in coreInitialized()
94 Return<V1_0::NfcStatus> Nfc::prediscover() { in prediscover()
99 Return<V1_0::NfcStatus> Nfc::close() { in close()
115 Return<V1_0::NfcStatus> Nfc::controlGranted() { in controlGranted()
120 Return<V1_0::NfcStatus> Nfc::powerCycle() { in powerCycle()
[all …]
DStNfcService.cpp42 using android::hardware::nfc::V1_2::implementation::Nfc;
48 sp<INfc> nfc_service = new Nfc(); in main()
/hardware/nxp/nfc/snxxx/halimpl/power-tracker/
DREADME.txt28 Below code snippet shows how to integrate Nfc power stats with PowerStats HAL.
36 Add "Nfc" Entity with 3 states namely STANDBY, ULPDET, ACTIVE
37 'pixelSdp->addEntity("Nfc", {{0, "STANDBY"}, {1, "ULPDET"}, {2, "ACTIVE"}});'
/hardware/interfaces/nfc/
DOWNERS2 include platform/packages/apps/Nfc:/OWNERS
/hardware/st/nfc/
DOWNERS2 include platform/packages/apps/Nfc:/OWNERS

12