/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/ |
H A D | link_manager.cpp | 43 return link.second; in GetLinkById() 54 if (checker(*link)) { in ForEach() 89 link in ProcessIfAbsent() 91 handler(*link); in ProcessIfAbsent() 124 handler(*link); in ProcessIfAbsent() 129 link in ProcessIfAbsent() 162 link = it->second; in RemoveLink() 167 if (link != nullptr && link->GetState() == InnerLink::LinkState::CONNECTED) { in RemoveLink() 188 if (link == nullptr) { in RemoveLink() 247 return link; in GetReuseLink() [all …]
|
/ohos5.0/drivers/hdf_core/framework/utils/src/ |
H A D | hdf_slist.c | 61 link->next = list->root; in HdfSListAdd() 62 list->root = link; in HdfSListAdd() 78 link->next = NULL; in HdfSListAddTail() 79 iterator->next = link; in HdfSListAddTail() 97 list->root = link; in HdfSListAddOrder() 101 if (comparer(iterator, link) && comparer(link, iterator->next)) { in HdfSListAddOrder() 108 link->next = NULL; in HdfSListAddOrder() 109 list->root = link; in HdfSListAddOrder() 111 link->next = NULL; in HdfSListAddOrder() 174 if (link == NULL) { in HdfSListNext() [all …]
|
/ohos5.0/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/ |
H A D | link_test.cpp | 65 Link link(type, value); 80 Link link(url, description); 82 EXPECT_NE(link.url_, url); 97 Link link(url, description); 99 EXPECT_NE(link.url_, url); 116 EXPECT_NE(link.url_, url); 130 Link link; variable 131 link.SetUrl(url); 132 EXPECT_NE(link.url_, url); 145 Link link; variable [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/ |
H A D | wifi_direct_manager_test.cpp | 206 link.SetLocalIpv4("170.30.1.1"); in __anond28ca6eb0702() 207 link.SetRemoteIpv4(remoteIp); in __anond28ca6eb0702() 215 link.SetRemoteIpv6(remoteIpv6); in __anond28ca6eb0802() 238 link.SetLocalIpv4("170.30.1.1"); in __anond28ca6eb0902() 239 link.SetRemoteIpv4(remoteIp); in __anond28ca6eb0902() 268 link.SetLocalIpv4("170.30.1.1"); in __anond28ca6eb0b02() 269 link.SetRemoteIpv4(remoteIp); in __anond28ca6eb0b02() 300 link.SetLocalIpv4(localIp); in __anond28ca6eb0d02() 381 link.SetRemoteBaseMac(remoteMac); in __anond28ca6eb1402() 434 EXPECT_EQ(link, nullptr); [all …]
|
/ohos5.0/foundation/distributeddatamgr/udmf/framework/jskitsimpl/data/ |
H A D | link_napi.cpp | 51 link->value_ = std::make_shared<Link>(); in New() 52 ASSERT_CALL(env, napi_wrap(env, ctxt->self, link, Destructor, nullptr, nullptr), link); in New() 63 ASSERT_CALL_DELETE(env, napi_wrap(env, out, link, Destructor, nullptr, nullptr), link); in NewInstance() 71 delete link; in Destructor() 86 auto link = GetLink(env, info, ctxt); in GetUrl() local 88 … ctxt->env, (link != nullptr && link->value_ != nullptr), Status::E_ERROR, "invalid object!"); in GetUrl() 110 … ctxt->env, (link != nullptr && link->value_ != nullptr), Status::E_ERROR, "invalid object!"); in SetUrl() 111 link->value_->SetUrl(url); in SetUrl() 119 auto link = GetLink(env, info, ctxt); in GetDescription() local 121 … ctxt->env, (link != nullptr && link->value_ != nullptr), Status::E_ERROR, "invalid object!"); in GetDescription() [all …]
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/ril_v1_1/foo/ril/v1_1/ |
H A D | IRilCallback.idl | 62 * For details, see {@link RilRadioResponseInfo}. 577 * see {@link RilRadioResponseInfo}. 578 * @param capability Data link capability. 638 …* @param dataLinkBandwidthInfo Data link bandwidth information. For details, see {@link DataLinkBa… 650 * see {@link RilRadioResponseInfo}. 651 * @param capability Data link capability. 710 * see {@link RilRadioResponseInfo}. 1722 * see {@link RilRadioResponseInfo}. 1734 * see {@link RilRadioResponseInfo}. 1745 * see {@link RilRadioResponseInfo}. [all …]
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/ril_v1_2/foo/ril/v1_1/ |
H A D | IRilCallback.idl | 62 * For details, see {@link RilRadioResponseInfo}. 577 * see {@link RilRadioResponseInfo}. 578 * @param capability Data link capability. 638 …* @param dataLinkBandwidthInfo Data link bandwidth information. For details, see {@link DataLinkBa… 650 * see {@link RilRadioResponseInfo}. 651 * @param capability Data link capability. 710 * see {@link RilRadioResponseInfo}. 1722 * see {@link RilRadioResponseInfo}. 1734 * see {@link RilRadioResponseInfo}. 1745 * see {@link RilRadioResponseInfo}. [all …]
|
/ohos5.0/drivers/interface/ril/v1_1/ |
H A D | IRilCallback.idl | 62 * For details, see {@link RilRadioResponseInfo}. 577 * see {@link RilRadioResponseInfo}. 578 * @param capability Data link capability. 638 …* @param dataLinkBandwidthInfo Data link bandwidth information. For details, see {@link DataLinkBa… 650 * see {@link RilRadioResponseInfo}. 651 * @param capability Data link capability. 710 * see {@link RilRadioResponseInfo}. 1722 * see {@link RilRadioResponseInfo}. 1734 * see {@link RilRadioResponseInfo}. 1745 * see {@link RilRadioResponseInfo}. [all …]
|
/ohos5.0/drivers/interface/ril/v1_0/ |
H A D | IRilCallback.idl | 62 * For details, see {@link RilRadioResponseInfo}. 75 * For details, see {@link RilRadioResponseInfo}. 86 * For details, see {@link RilRadioResponseInfo}. 99 * For details, see {@link RilRadioResponseInfo}. 112 * For details, see {@link RilRadioResponseInfo}. 125 * For details, see {@link RilRadioResponseInfo}. 138 * For details, see {@link RilRadioResponseInfo}. 149 * For details, see {@link RilRadioResponseInfo}. 160 * For details, see {@link RilRadioResponseInfo}. 173 * For details, see {@link RilRadioResponseInfo}. [all …]
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/ril_v1_0/foo/ril/v1_0/ |
H A D | IRilCallback.idl | 62 * For details, see {@link RilRadioResponseInfo}. 75 * For details, see {@link RilRadioResponseInfo}. 86 * For details, see {@link RilRadioResponseInfo}. 99 * For details, see {@link RilRadioResponseInfo}. 112 * For details, see {@link RilRadioResponseInfo}. 125 * For details, see {@link RilRadioResponseInfo}. 138 * For details, see {@link RilRadioResponseInfo}. 149 * For details, see {@link RilRadioResponseInfo}. 160 * For details, see {@link RilRadioResponseInfo}. 173 * For details, see {@link RilRadioResponseInfo}. [all …]
|
/ohos5.0/docs/zh-cn/device-dev/guide/ |
H A D | device-wlan-sdk.md | 33 │ └── link 52 OpenHarmony已规划用于编译业务libs的目录domains/iot/link/libbuild/ ,该目录中包含domains/iot/link/libbuild/BUILD.gn和dom… 58 └── link 74 └── link 96 "//domains/iot/link/libbuild", 97 "//domains/iot/link/demolink" 111 ":link" 114 lite_component("link") { 217 "//domains/iot/link/demolink" 229 ":link" [all …]
|
/ohos5.0/drivers/interface/huks/v1_0/ |
H A D | IHuks.idl | 75 * @param keyAlias Indicates the alias {@link HuksBlob} of the key 80 * @param keyIn Indicates the material {@link HuksBlob} of the key 82 * @param encKeyOut Indicates the key {@link HuksBlob} generated in 105 * @param encKeyOut Indicates the key {@link HuksBlob} in ciphertext 122 * to wrap the key to import. For details, see {@link HuksBlob}. 148 * @param encKey Indicates the key pair material {@link HuksBlob} 154 * @param keyOut Indicates the public key material {@link HuksBlob} 176 * @param token Indicates the key session token {@link HuksBlob}, 200 * @param outData Indicates the output data {@link HuksBlob}. 221 * @param outData Indicates the output data {@link HuksBlob}. [all …]
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/huks_v1_0/foo/huks/v1_0/ |
H A D | IHuks.idl | 75 * @param keyAlias Indicates the alias {@link HuksBlob} of the key 80 * @param keyIn Indicates the material {@link HuksBlob} of the key 82 * @param encKeyOut Indicates the key {@link HuksBlob} generated in 105 * @param encKeyOut Indicates the key {@link HuksBlob} in ciphertext 122 * to wrap the key to import. For details, see {@link HuksBlob}. 148 * @param encKey Indicates the key pair material {@link HuksBlob} 154 * @param keyOut Indicates the public key material {@link HuksBlob} 176 * @param token Indicates the key session token {@link HuksBlob}, 200 * @param outData Indicates the output data {@link HuksBlob}. 221 * @param outData Indicates the output data {@link HuksBlob}. [all …]
|
/ohos5.0/drivers/interface/camera/v1_0/ |
H A D | IStreamOperator.idl | 41 * For details, see {@link StreamIntent}. 52 * This function must be called prior to {@link CreateStreams}. 59 * The supported types are defined in {@link StreamSupportType}. 62 * returns an error code defined in {@link CamRetCode} otherwise. 81 * returns an error code defined in {@link CamRetCode} otherwise. 94 * returns an error code defined in {@link CamRetCode} otherwise. 104 * This function must be called after {@link CreateStreams}. 111 * returns an error code defined in {@link CamRetCode} otherwise. 144 …* In this case, set <b>bufferQueue_</b> in the {@link StreamInfo} parameter of {@link CreateStream… 175 * This function must be called after {@link CommitStreams}. [all …]
|
H A D | ICameraDevice.idl | 36 …* {@link OnCaptureStarted} and {@link OnCaptureEnded} are used to report the start and end of capt… 37 * and {@link OnCaptureError} is used to report a capture error. 42 * in {@link CamRetCode} otherwise. 56 * in {@link CamRetCode} otherwise. 67 * upon device status change. For details, see {@link ResultCallbackMode}. 70 * in {@link CamRetCode} otherwise. 80 * Metadata to be reported is enabled by calling {@link EnableResult}. 85 * in {@link CamRetCode} otherwise. 100 * in {@link CamRetCode} otherwise. 111 * To enable metadata reporting, you must call {@link EnableResult}. [all …]
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/camera_v1_0/foo/camera/v1_0/ |
H A D | IStreamOperator.idl | 41 * For details, see {@link StreamIntent}. 52 * This function must be called prior to {@link CreateStreams}. 59 * The supported types are defined in {@link StreamSupportType}. 62 * returns an error code defined in {@link CamRetCode} otherwise. 81 * returns an error code defined in {@link CamRetCode} otherwise. 94 * returns an error code defined in {@link CamRetCode} otherwise. 104 * This function must be called after {@link CreateStreams}. 111 * returns an error code defined in {@link CamRetCode} otherwise. 144 …* In this case, set <b>bufferQueue_</b> in the {@link StreamInfo} parameter of {@link CreateStream… 175 * This function must be called after {@link CommitStreams}. [all …]
|
H A D | ICameraDevice.idl | 36 …* {@link OnCaptureStarted} and {@link OnCaptureEnded} are used to report the start and end of capt… 37 * and {@link OnCaptureError} is used to report a capture error. 42 * in {@link CamRetCode} otherwise. 56 * in {@link CamRetCode} otherwise. 67 * upon device status change. For details, see {@link ResultCallbackMode}. 70 * in {@link CamRetCode} otherwise. 80 * Metadata to be reported is enabled by calling {@link EnableResult}. 85 * in {@link CamRetCode} otherwise. 100 * in {@link CamRetCode} otherwise. 111 * To enable metadata reporting, you must call {@link EnableResult}. [all …]
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/camera_v1_1/foo/camera/v1_0/ |
H A D | IStreamOperator.idl | 41 * For details, see {@link StreamIntent}. 52 * This function must be called prior to {@link CreateStreams}. 59 * The supported types are defined in {@link StreamSupportType}. 62 * returns an error code defined in {@link CamRetCode} otherwise. 81 * returns an error code defined in {@link CamRetCode} otherwise. 94 * returns an error code defined in {@link CamRetCode} otherwise. 104 * This function must be called after {@link CreateStreams}. 111 * returns an error code defined in {@link CamRetCode} otherwise. 144 …* In this case, set <b>bufferQueue_</b> in the {@link StreamInfo} parameter of {@link CreateStream… 175 * This function must be called after {@link CommitStreams}. [all …]
|
H A D | ICameraDevice.idl | 36 …* {@link OnCaptureStarted} and {@link OnCaptureEnded} are used to report the start and end of capt… 37 * and {@link OnCaptureError} is used to report a capture error. 42 * in {@link CamRetCode} otherwise. 56 * in {@link CamRetCode} otherwise. 67 * upon device status change. For details, see {@link ResultCallbackMode}. 70 * in {@link CamRetCode} otherwise. 80 * Metadata to be reported is enabled by calling {@link EnableResult}. 85 * in {@link CamRetCode} otherwise. 100 * in {@link CamRetCode} otherwise. 111 * To enable metadata reporting, you must call {@link EnableResult}. [all …]
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/camera_v1_2/foo/camera/v1_0/ |
H A D | IStreamOperator.idl | 41 * For details, see {@link StreamIntent}. 52 * This function must be called prior to {@link CreateStreams}. 59 * The supported types are defined in {@link StreamSupportType}. 62 * returns an error code defined in {@link CamRetCode} otherwise. 81 * returns an error code defined in {@link CamRetCode} otherwise. 94 * returns an error code defined in {@link CamRetCode} otherwise. 104 * This function must be called after {@link CreateStreams}. 111 * returns an error code defined in {@link CamRetCode} otherwise. 144 …* In this case, set <b>bufferQueue_</b> in the {@link StreamInfo} parameter of {@link CreateStream… 175 * This function must be called after {@link CommitStreams}. [all …]
|
H A D | ICameraDevice.idl | 36 …* {@link OnCaptureStarted} and {@link OnCaptureEnded} are used to report the start and end of capt… 37 * and {@link OnCaptureError} is used to report a capture error. 42 * in {@link CamRetCode} otherwise. 56 * in {@link CamRetCode} otherwise. 67 * upon device status change. For details, see {@link ResultCallbackMode}. 70 * in {@link CamRetCode} otherwise. 80 * Metadata to be reported is enabled by calling {@link EnableResult}. 85 * in {@link CamRetCode} otherwise. 100 * in {@link CamRetCode} otherwise. 111 * To enable metadata reporting, you must call {@link EnableResult}. [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/command/ |
H A D | connect_command.cpp | 84 void ConnectCommand::OnSuccess(const WifiDirectLink &link) const in OnSuccess() 89 info_.info_.requestId, link.linkId, WifiDirectAnonymizeIp(link.localIp).c_str(), in OnSuccess() 90 …WifiDirectAnonymizeIp(link.remoteIp).c_str(), link.remotePort, link.linkType, link.isReuse, link.b… in OnSuccess() 91 link.channelId, WifiDirectAnonymizeDeviceId(remoteDeviceId_).c_str()); in OnSuccess() 93 successCallback_(link); in OnSuccess() 98 callback_.onConnectSuccess(info_.info_.requestId, &link); in OnSuccess()
|
/ohos5.0/docs/zh-cn/application-dev/application-models/ |
H A D | uiability-startup-adjust.md | 61 Button('start link', { type: ButtonType.Capsule, stateEffect: true }) 83 let link: string = "https://www.example.com"; 92 context.openLink(link, openLinkOptions) 94 hilog.info(DOMAIN_NUMBER, TAG, 'open link success.'); 96 …hilog.error(DOMAIN_NUMBER, TAG, `open link failed. Code is ${err.code}, message is ${err.message}`… 161 Button('start link', { type: ButtonType.Capsule, stateEffect: true }) 183 let link: string = "https://www.example.com"; 192 context.openLink(link, openLinkOptions, (err, data) => { 194 … hilog.info(DOMAIN_NUMBER, TAG, 'open link success. Callback result:' + JSON.stringify(data)); 196 hilog.info(DOMAIN_NUMBER, TAG, 'open link success.'); [all …]
|
H A D | deep-linking-startup.md | 38 // scheme必选,可以自定义,以link为例,需要替换为实际的scheme 39 "scheme": "link", 64 // 如传入的url为:link://www.example.com/programs?action=showall 102 Button('start link', { type: ButtonType.Capsule, stateEffect: true }) 108 let link: string = "link://www.example.com"; 114 context.openLink(link, openLinkOptions) 116 hilog.info(DOMAIN_NUMBER, TAG, 'open link success.'); 154 uri: "link://www.example.com" 193 if (url === 'link://www.example.com') { 223 <a href="link://www.example.com">跳转其他应用二</a> [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/data/ |
H A D | inner_link_test.cpp | 109 WifiDirectLink link {}; variable 110 info.GenerateLink(6, 8, link, false); 136 WifiDirectLink link {}; variable 137 info.GenerateLink(1, 2, link, false); 139 info.RemoveId(link.linkId); 153 WifiDirectLink link {}; variable 154 info.GenerateLink(888, 666, link, false); 155 EXPECT_EQ(info.IsContainId(link.linkId), true) << "IsContainId done"; 156 info.RemoveId(link.linkId); 157 EXPECT_EQ(info.IsContainId(link.linkId), false) << "IsContainId done";
|