Lines Matching defs:NfcController

33 std::shared_ptr<OHOS::NFC::NfcControllerProxy> NfcController::nfcControllerProxy_;
34 std::weak_ptr<INfcControllerService> NfcController::nfcControllerService_;
35 sptr<IRemoteObject::DeathRecipient> NfcController::deathRecipient_;
36 sptr<IRemoteObject> NfcController::remote_;
37 bool NfcController::initialized_ = false;
38 bool NfcController::remoteDied_ = true;
39 std::mutex NfcController::mutex_;
47 NfcController::NfcController()
49 DebugLog("[NfcController::NfcController] new ability manager");
53 NfcController::~NfcController()
55 DebugLog("destruct NfcController");
58 void NfcController::InitNfcRemoteSA()
60 DebugLog("NfcController::%{public}s in, initialized_ = %{public}d, nfcControllerService_ = %{public}d",
80 DebugLog("NfcController::%{public}s success.", __func__);
83 NfcController &NfcController::GetInstance()
85 DebugLog("NfcController::GetInstance in.");
86 static NfcController instance;
90 void NfcController::OnRemoteDied(const wptr<IRemoteObject> &remoteObject)
112 int NfcController::TurnOn()
122 int NfcController::TurnOff()
132 int NfcController::GetNfcState()
150 bool NfcController::IsNfcAvailable()
156 int NfcController::IsNfcOpen(bool &isOpen)
163 ErrorCode NfcController::RegListener(const sptr<INfcControllerCallback> &callback,
166 InfoLog("NfcController::RegListener");
180 ErrorCode NfcController::UnregListener(const std::string& type)
182 InfoLog("NfcController::UnregListener");
195 OHOS::sptr<IRemoteObject> NfcController::GetTagServiceIface()
199 ErrorLog("NfcController::GetTagServiceIface nfcControllerService_ expired");
205 ErrorCode NfcController::RegNdefMsgCb(const sptr<INdefMsgCallback> &callback)
207 DebugLog("NfcController::RegNdefMsgCb");
210 ErrorLog("NfcController::RegNdefMsgCb nfcControllerService_ expired");
217 ErrorCode NfcController::RegQueryApplicationCb(const std::string& type,
220 DebugLog("NfcController::RegQueryApplicationCb");
223 ErrorLog("NfcController::RegQueryApplicationCb nfcControllerService_ expired");
234 ErrorCode NfcController::RegCardEmulationNotifyCb(OnCardEmulationNotifyCb callback)
236 DebugLog("NfcController::RegCardEmulationNotifyCb");
239 ErrorLog("NfcController::RegCardEmulationNotifyCb nfcControllerService_ expired");
245 ErrorCode NfcController::NotifyEventStatus(int eventType, int arg1, std::string arg2)
247 DebugLog("NfcController::NotifyEventStatus");
250 ErrorLog("NfcController::NotifyEventStatus nfcControllerService_ expired");
257 OHOS::sptr<IRemoteObject> NfcController::GetHceServiceIface()
261 ErrorLog("NfcController::GetHceServiceIface nfcControllerService_ expired");