Home
last modified time | relevance | path

Searched refs:technology (Results 1 – 25 of 222) sorted by relevance

123456789

/ohos5.0/foundation/communication/nfc/services/src/nci_adapter/nci_native_default/src/
H A Dtag_host.cpp64 bool TagHost::Connect(int technology) in Connect() argument
66 DebugLog("TagHost::Connect tech = %{public}d", technology); in Connect()
72 if (technology != tagTechList_[i]) { in Connect()
233 void TagHost::SetTimeout(uint32_t timeout, int technology) in SetTimeout() argument
239 uint32_t TagHost::GetTimeout(uint32_t technology) in GetTimeout() argument
257 technology = KITS::TagTechnology::NFC_A_TECH; in GetTechList()
260 technology = KITS::TagTechnology::NFC_B_TECH; in GetTechList()
266 technology = KITS::TagTechnology::NFC_F_TECH; in GetTechList()
269 technology = KITS::TagTechnology::NFC_V_TECH; in GetTechList()
272 technology = KITS::TagTechnology::NFC_NDEF_TECH; in GetTechList()
[all …]
H A Dnci_tag_impl_default.cpp64 bool NciTagImplDefault::Connect(uint32_t tagDiscId, uint32_t technology) in Connect() argument
68 return tag->Connect(technology); in Connect()
185 void NciTagImplDefault::SetTimeout(uint32_t tagDiscId, uint32_t timeout, uint32_t technology) in SetTimeout() argument
189 return tag->SetTimeout(timeout, technology); in SetTimeout()
193 void NciTagImplDefault::GetTimeout(uint32_t tagDiscId, uint32_t &timeout, uint32_t technology) in GetTimeout() argument
197 timeout = tag->GetTimeout(technology); in GetTimeout()
/ohos5.0/foundation/communication/nfc/test/unittest/services/services_tags_test/
H A Dtag_session_test.cpp105 int technology = MAX_TECH; variable
120 int technology = -1; variable
274 int technology = -1; variable
289 int technology = MAX_TECH; variable
336 int technology = -1; variable
350 int technology = MAX_TECH; variable
351 tagSession->Disconnect(technology);
367 tagSession->Disconnect(technology);
408 int technology = -1; variable
422 int technology = 1; variable
[all …]
/ohos5.0/docs/en/application-dev/connectivity/nfc/
H A Dnfc-tag-access-guide.md48 5. Obtain an NFC tag object of the specific technology type.
98 // Obtain an NFC tag object of the specific technology type.
107 …if (tagInfo.technology == null || tagInfo.technology == undefined || tagInfo.technology.length == …
115 for (let i = 0; i < tagInfo.technology.length; i++) {
116 if (tagInfo.technology[i] == tag.ISO_DEP) {
212 3. Obtain an NFC tag object of the specific technology type.
270 // Obtain an NFC tag object of the specific technology type.
287 …if (tagInfo.technology == null || tagInfo.technology == undefined || tagInfo.technology.length == …
288 hilog.error(0x0000, 'testTag', 'technology is invalid');
295 for (let i = 0; i < tagInfo.technology.length; i++) {
[all …]
/ohos5.0/docs/zh-cn/application-dev/connectivity/nfc/
H A Dnfc-tag-access-guide.md107 …if (tagInfo.technology == null || tagInfo.technology == undefined || tagInfo.technology.length == …
113 // use the IsoDep technology to access this nfc tag.
115 for (let i = 0; i < tagInfo.technology.length; i++) {
116 if (tagInfo.technology[i] == tag.ISO_DEP) {
131 // connect to this nfc tag using IsoDep technology.
287 …if (tagInfo.technology == null || tagInfo.technology == undefined || tagInfo.technology.length == …
288 hilog.error(0x0000, 'testTag', 'technology is invalid');
293 // use the IsoDep technology to access this nfc tag.
295 for (let i = 0; i < tagInfo.technology.length; i++) {
296 if (tagInfo.technology[i] == tag.ISO_DEP) {
[all …]
/ohos5.0/foundation/communication/nfc/services/src/ipc/tags/
H A Dtag_session.cpp53 int TagSession::Connect(int tagRfDiscId, int technology) in Connect() argument
55 if (technology < 0 || technology >= MAX_TECH) { in Connect()
56 ErrorLog("Connect, invalid technology %{public}d", technology); in Connect()
72 if (nciTagProxy_.lock()->Connect(tagRfDiscId, technology)) { in Connect()
139 int TagSession::SetTimeout(int tagRfDiscId, int timeout, int technology) in SetTimeout() argument
141 if (technology < 0 || technology >= MAX_TECH) { in SetTimeout()
155 nciTagProxy_.lock()->SetTimeout(tagRfDiscId, timeout, technology); in SetTimeout()
161 if (technology < 0 || technology >= MAX_TECH) { in GetTimeout()
378 int TagSession::GetMaxTransceiveLength(int technology, int &maxSize) in GetMaxTransceiveLength() argument
380 if (technology < 0 || technology >= MAX_TECH) { in GetMaxTransceiveLength()
[all …]
H A Dtag_session.h80 int Connect(int tagRfDiscId, int technology) override;
107 int SetTimeout(int tagRfDiscId, int timeout, int technology) override;
115 int GetTimeout(int tagRfDiscId, int technology, int &timeout) override;
171 int GetMaxTransceiveLength(int technology, int &maxSize) override;
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/ril/
H A D_radio_protocol_v10.md23 | int [technology](#technology) | Radio协议技术信息。 |
81 ### technology subsection
84 int RadioProtocol::technology
H A D_radio_protocol_v11.md23 | int [technology](#technology) | Radio协议技术信息。 |
81 ### technology subsection
84 int RadioProtocol::technology
/ohos5.0/foundation/communication/nfc/services/src/nci_adapter/
H A Dnci_tag_proxy.cpp96 bool NciTagProxy::Connect(uint32_t tagDiscId, uint32_t technology) in Connect() argument
99 return nciTagInterface_->Connect(tagDiscId, technology); in Connect()
281 void NciTagProxy::SetTimeout(uint32_t tagDiscId, uint32_t timeout, uint32_t technology) in SetTimeout() argument
284 return nciTagInterface_->SetTimeout(tagDiscId, timeout, technology); in SetTimeout()
294 void NciTagProxy::GetTimeout(uint32_t tagDiscId, uint32_t &timeout, uint32_t technology) in GetTimeout() argument
297 return nciTagInterface_->GetTimeout(tagDiscId, timeout, technology); in GetTimeout()
H A Dnci_tag_proxy.h66 bool Connect(uint32_t tagDiscId, uint32_t technology) override;
168 void SetTimeout(uint32_t tagDiscId, uint32_t timeout, uint32_t technology) override;
176 void GetTimeout(uint32_t tagDiscId, uint32_t &timeout, uint32_t technology) override;
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/battery/
H A D_battery_info_v10.md34 | String [technology](#technology) | 表示电池的技术型号。 |
150 ### technology subsection
153 String BatteryInfo::technology
H A D_battery_info_v11.md34 | String [technology](#technology) | 表示电池的技术型号。 |
150 ### technology subsection
153 String BatteryInfo::technology
H A D_battery_info_v12.md34 | String [technology](#technology) | 表示电池的技术型号。 |
150 ### technology subsection
153 String BatteryInfo::technology
H A D_battery_info_v20.md34 | String [technology](#technology) | 表示电池的技术型号。 |
151 ### technology subsection
154 String BatteryInfo::technology
/ohos5.0/foundation/communication/nfc/interfaces/inner_api/common/
H A Ditag_session.h38 virtual int Connect(int tagRfDiscId, int technology) = 0;
64 virtual int SetTimeout(int tagRfDiscId, int timeout, int technology) = 0;
72 virtual int GetTimeout(int tagRfDiscId, int technology, int &timeout) = 0;
144 virtual int GetMaxTransceiveLength(int technology, int &maxSize) = 0;
H A Dinci_tag_interface.h74 virtual bool Connect(uint32_t tagDiscId, uint32_t technology) = 0;
176 virtual void SetTimeout(uint32_t tagDiscId, uint32_t timeout, uint32_t technology) = 0;
184 virtual void GetTimeout(uint32_t tagDiscId, uint32_t &timeout, uint32_t technology) = 0;
/ohos5.0/foundation/communication/nfc/interfaces/inner_api/tags/
H A Dtag_session_proxy.h37 int Connect(int tagRfDiscId, int technology) override;
41 int GetMaxTransceiveLength(int technology, int &maxSize) override;
42 int SetTimeout(int tagRfDiscId, int timeout, int technology) override;
43 int GetTimeout(int tagRfDiscId, int technology, int &timeout) override;
H A Dtag_session_proxy.cpp31 int TagSessionProxy::Connect(int tagRfDiscId, int technology) in Connect() argument
39 data.WriteInt32(static_cast<int32_t>(technology)); in Connect()
95 int TagSessionProxy::SetTimeout(int tagRfDiscId, int timeout, int technology) in SetTimeout() argument
103 data.WriteInt32(technology); in SetTimeout()
115 int TagSessionProxy::GetTimeout(int tagRfDiscId, int technology, int &timeout) in GetTimeout() argument
123 data.WriteInt32(technology); in GetTimeout()
146 int TagSessionProxy::GetMaxTransceiveLength(int technology, int &maxSize) in GetMaxTransceiveLength() argument
153 data.WriteInt32(technology); in GetMaxTransceiveLength()
/ohos5.0/base/powermgr/battery_lite/services/src/
H A Dbattery_manage_feature.c99 char* technology = NULL; in TechnologyImpl() local
102 return technology; in TechnologyImpl()
104 technology = g_batteryDevice->GetTechnology(); in TechnologyImpl()
105 return technology; in TechnologyImpl()
/ohos5.0/base/powermgr/battery_lite/test/Interface_test/test/unittest/src/
H A Dbatterymgr_interfaces_test.cpp119 char *technology = GetBatTechnology(); variable
120 EXPECT_EQ (strcmp(technology, "Ternary_Lithium"), 0)
121 << "GetBatTechnology ret = " << technology << endl;
/ohos5.0/base/telephony/core_service/services/sim/src/
H A Dradio_protocol_controller.cpp48 protocol.technology = 0xFFFFFFFF; in Init()
59 return static_cast<int32_t>(radioProtocol_[slotId].technology); in GetRadioProtocolTech()
293 radioProtocol.technology = radioProtocol_[i].technology; in BuildRadioProtocolForCommunication()
301 newRadioProtocol_[i].technology = radioProtocol_[slotCount_ - 1 - i].technology; in BuildRadioProtocolForCommunication()
366 radioProtocol_[slotId].technology = radioProtocol->technology; in UpdateRadioProtocol()
/ohos5.0/foundation/communication/nfc/services/src/nci_adapter/nci_native_default/include/
H A Dnci_tag_impl_default.h32 bool Connect(uint32_t tagDiscId, uint32_t technology) override;
46 void SetTimeout(uint32_t tagDiscId, uint32_t timeout, uint32_t technology) override;
47 void GetTimeout(uint32_t tagDiscId, uint32_t &timeout, uint32_t technology) override;
H A Dtag_nci_adapter_rw.h50 void SetTimeout(const uint32_t timeout, const uint32_t technology);
51 uint32_t GetTimeout(uint32_t technology) const;
96 void SetIsoDepFwt(tNFA_ACTIVATED activated, uint32_t technology);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-battery-info.md29 | technology | string | 是 …
55 let technologyInfo: string = batteryInfo.technology;
143 | EXTRA_TECHNOLOGY | "technology" | 表示当前设备电池技术型号的查询键。 |

123456789