Home
last modified time | relevance | path

Searched refs:detail (Results 1 - 25 of 123) sorted by relevance

12345

/foundation/communication/dsoftbus/sdk/transmission/trans_channel/tcp_direct/src/
H A Dclient_trans_tcp_direct_manager.c85 item->detail.needStopListener = needStopListener; in TransTdcSetListenerStateById()
108 item->detail.sequence++; in TransTdcGetInfoByIdWithIncSeq()
109 item->detail.fdRefCnt++; in TransTdcGetInfoByIdWithIncSeq()
127 if (item->detail.fd == fd) { in TransTdcGetInfoByFd()
155 TransTdcReleaseFd(item->detail.fd); in TransTdcCloseChannel()
156 item->detail.needRelease = true; in TransTdcCloseChannel()
157 if (item->detail.fdRefCnt <= 0) { in TransTdcCloseChannel()
158 (void)SoftBusMutexDestroy(&(item->detail.fdLock)); in TransTdcCloseChannel()
185 item->detail.fd = channel->fd; in TransGetNewTcpChannel()
186 item->detail in TransGetNewTcpChannel()
[all...]
H A Dclient_trans_tcp_direct_callback.c86 ret = TransTdcCreateListener(info.detail.fd); in ClientTransTdcOnChannelBind()
101 if (info.detail.needStopListener) { in ClientTransTdcOnChannelBind()
102 (void)TransTdcStopRead(info.detail.fd); in ClientTransTdcOnChannelBind()
/foundation/distributedhardware/distributed_camera/services/cameraservice/base/src/
H A Ddcamera_channel_info_cmd.cpp49 cJSON *detail = cJSON_CreateObject(); in Marshal() local
50 if (detail == nullptr) { in Marshal()
54 cJSON_AddStringToObject(detail, "DataSessionFlag", iter->dataSessionFlag_.c_str()); in Marshal()
55 cJSON_AddNumberToObject(detail, "StreamType", iter->streamType_); in Marshal()
56 cJSON_AddItemToArray(details, detail); in Marshal()
122 cJSON *detail = nullptr; in UnmarshalDetails() local
123 cJSON_ArrayForEach(detail, details) { in UnmarshalDetails()
124 cJSON *dataSessionFlag = cJSON_GetObjectItemCaseSensitive(detail, "DataSessionFlag"); in UnmarshalDetails()
125 cJSON *streamType = cJSON_GetObjectItemCaseSensitive(detail, "StreamType"); in UnmarshalDetails()
/foundation/communication/dsoftbus/core/adapter/kv_store/src/
H A Dlnn_kv_adapter.cpp380 void KVAdapter::CloudSyncCallback(DistributedKv::ProgressDetail &&detail) in CloudSyncCallback() argument
382 auto code = detail.code; in CloudSyncCallback()
383 auto progress = detail.progress; in CloudSyncCallback()
389 detail.details.upload.total, detail.details.upload.success, detail.details.upload.failed, in CloudSyncCallback()
390 detail.details.upload.untreated, detail.details.download.total, detail.details.download.success, in CloudSyncCallback()
391 detail in CloudSyncCallback()
[all...]
/foundation/communication/dsoftbus/tests/core/adapter/unittest/
H A Dlnn_kv_adapter_test.cpp366 DistributedKv::ProgressDetail detail; in HWTEST_F() local
367 detail.code = DistributedKv::Status::SUCCESS; in HWTEST_F()
368 detail.progress = DistributedKv::Progress::SYNC_FINISH; in HWTEST_F()
369 kvStore->CloudSyncCallback(std::move(detail)); in HWTEST_F()
380 DistributedKv::ProgressDetail detail; in HWTEST_F() local
381 detail.code = DistributedKv::Status::ERROR; in HWTEST_F()
382 detail.progress = DistributedKv::Progress::SYNC_FINISH; in HWTEST_F()
383 kvStore->CloudSyncCallback(std::move(detail)); in HWTEST_F()
/foundation/communication/bluetooth_service/services/bluetooth/service/include/
H A Dinterface_profile_avrcp_ct.h108 * @param[in] detail The detail result of the execution. Refer to <b>AvrcEsCode</b>.<br>
117 virtual void OnSetAddressedPlayer(const RawAddress &rawAddr, int result, int detail) = 0;
131 * @param[in] detail The detail result of the execution. Refer to <b>AvrcEsCode</b>.<br>
143 const std::vector<std::string> &folderNames, int result, int detail) = 0;
293 * @param[in] detail The detail result of the execution. Refer to <b>AvrcEsCode</b>.<br>
306 virtual void OnAddToNowPlaying(const RawAddress &rawAddr, int result, int detail) = 0;
316 * @param[in] detail Th
[all...]
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/
H A Di_bluetooth_avrcp_ct_observer.h39 uint32_t numberOfItems, const std::vector<std::string> &folderNames, int result, int detail) = 0;
59 int result, int detail) = 0;
61 const std::vector<uint32_t> &attribtues, const std::vector<std::string> &values, int result, int detail) = 0;
77 std::vector<BluetoothAvrcpMpItem> &items, int result, int detail) = 0;
79 std::vector<BluetoothAvrcpMeItem> &items, int result, int detail) = 0;
/foundation/communication/bluetooth_service/services/bluetooth/ipc/include/
H A Dbluetooth_avrcp_ct_observer_proxy.h35 uint32_t numberOfItems, const std::vector<std::string> &folderNames, int result, int detail) override;
56 int result, int detail) override;
59 int result, int detail) override;
75 std::vector<BluetoothAvrcpMpItem> &items, int result, int detail) override;
77 int result, int detail) override;
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/protocol/
H A Djson_protocol.cpp74 case nlohmann::detail::value_t::boolean: in Read()
79 case nlohmann::detail::value_t::number_unsigned: in Read()
80 case nlohmann::detail::value_t::number_integer: in Read()
85 case nlohmann::detail::value_t::string: { in Read()
/foundation/ability/idl_tool/idl_tool_2/hash/
H A Dhash.cpp75 for (const auto &detail : fileDetails) { in GetHashInfo()
78 if (!Hash::GenFileHashKey(detail.second.filePath_, haskKey)) { in GetHashInfo()
81 hashInfo << detail.first << ":" << haskKey; in GetHashInfo()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/src/distributedcameramgr/listener/
H A Ddcamera_sink_output_channel_listener.cpp37 void DCameraSinkOutputChannelListener::OnSessionError(int32_t eventType, int32_t eventReason, std::string detail) in OnSessionError() argument
44 output->OnSessionError(streamType_, eventType, eventReason, detail); in OnSessionError()
H A Ddcamera_sink_controller_channel_listener.cpp37 void DCameraSinkControllerChannelListener::OnSessionError(int32_t eventType, int32_t eventReason, std::string detail) in OnSessionError() argument
44 controller->OnSessionError(eventType, eventReason, detail); in OnSessionError()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameradata/
H A Ddcamera_source_input_channel_listener.cpp45 void DCameraSourceInputChannelListener::OnSessionError(int32_t eventType, int32_t eventReason, std::string detail) in OnSessionError() argument
53 input->OnSessionError(streamType_, eventType, eventReason, detail); in OnSessionError()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameracontrol/
H A Ddcamera_source_controller_channel_listener.cpp45 void DCameraSourceControllerChannelListener::OnSessionError(int32_t eventType, int32_t eventReason, std::string detail) in OnSessionError() argument
53 controller->OnSessionError(eventType, eventReason, detail); in OnSessionError()
/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_avrcp_ct_server.cpp71 void OnSetAddressedPlayer(const RawAddress &rawAddr, int result, int detail) override
77 const std::vector<std::string> &folderNames, int result, int detail) override
79 impl_->OnSetBrowsedPlayer(rawAddr, uidCounter, numOfItems, folderNames, result, detail);
140 void OnAddToNowPlaying(const RawAddress &rawAddr, int status, int detail) override
145 void OnChangePath(const RawAddress &rawAddr, uint32_t numOfItems, int result, int detail) override
151 int result, int detail) override
153 impl_->OnGetMediaPlayers(rawAddr, uidCounter, items, result, detail);
157 int result, int detail) override
159 impl_->OnGetFolderItems(rawAddr, uidCounter, items, result, detail);
163 const std::vector<std::string> &values, int result, int detail) overrid
[all...]
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/
H A Djs_rss_session.cpp129 std::string detail = "{}"; in DealRssReply() local
131 SetMapValue(env, "details", detail, objValue); in DealRssReply()
133 ParseMutex(reply["mutex"].get<std::string>(), payload, detail); in DealRssReply()
134 SetMapValue(env, "details", detail, objValue); in DealRssReply()
156 nlohmann::json detail; in ParseMutex() local
157 detail["appInfo"]["domain"] = ""; in ParseMutex()
158 detail["appInfo"]["bundleName"] = std::move(bundleName); in ParseMutex()
159 detail["reason"] = nlohmann::json::array(); in ParseMutex()
173 detail["reason"].push_back(std::move(tmp)); in ParseMutex()
175 detailStr = detail in ParseMutex()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/
H A Dkvdb_notifier_client.cpp46 void KVDBNotifierClient::SyncCompleted(uint64_t seqNum, ProgressDetail &&detail) in SyncCompleted() argument
49 cloudSyncCallbacks_.ComputeIfPresent(seqNum, [&detail](const auto &key, const AsyncDetail &callback) { in SyncCompleted()
50 auto finished = (detail.progress == SYNC_FINISH); in SyncCompleted()
53 callback(std::move(detail)); in SyncCompleted()
H A Dkvdb_notifier_stub.cpp74 ProgressDetail detail; in OnCloudSyncCompleted() local
76 if (!ITypesUtil::Unmarshal(data, sequenceId, detail)) { in OnCloudSyncCompleted()
80 SyncCompleted(sequenceId, std::move(detail)); in OnCloudSyncCompleted()
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/tcp_direct/
H A Dtrans_tcp_direct_test.cpp472 (void)memcpy_s(channel->detail.sessionKey, SESSIONKEY_LEN, g_sessionkey, strlen(g_sessionkey)); in HWTEST_F()
473 channel->detail.channelType = CHANNEL_TYPE_TCP_DIRECT; in HWTEST_F()
474 channel->detail.fd = g_fd; in HWTEST_F()
475 channel->detail.sequence = 1; in HWTEST_F()
499 (void)memcpy_s(channel->detail.sessionKey, SESSIONKEY_LEN, g_sessionkey, strlen(g_sessionkey)); in HWTEST_F()
500 channel->detail.channelType = CHANNEL_TYPE_TCP_DIRECT; in HWTEST_F()
501 channel->detail.fd = g_fd; in HWTEST_F()
502 channel->detail.sequence = 1; in HWTEST_F()
592 (void)memcpy_s(channel->detail.sessionKey, SESSIONKEY_LEN, g_sessionkey, strlen(g_sessionkey)); in HWTEST_F()
593 channel->detail in HWTEST_F()
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dbms_json_util.cpp20 const nlohmann::detail::iter_impl<const nlohmann::json> &end, in GetStrValueIfFindKey()
44 const nlohmann::detail::iter_impl<const nlohmann::json> &end, in GetBoolValueIfFindKey()
/foundation/resourceschedule/ffrt/interfaces/inner_api/cpp/
H A Dfuture.h33 namespace detail { namespace
135 }; // namespace detail
146 explicit future(const std::shared_ptr<detail::shared_state<R>>& state) noexcept : m_state(state)
203 std::shared_ptr<detail::shared_state<R>> m_state;
208 promise() noexcept : m_state {std::make_shared<detail::shared_state<R>>()}
245 std::shared_ptr<detail::shared_state<R>> m_state;
250 promise() noexcept : m_state {std::make_shared<detail::shared_state<void>>()}
282 std::shared_ptr<detail::shared_state<void>> m_state;
314 : m_fn {std::forward<F>(f)}, m_state {std::make_shared<detail::shared_state<R>>()}
346 std::shared_ptr<detail
[all...]
/foundation/communication/dsoftbus/core/common/dfx/hidumper_adapter/
H A Dsoftbus_hidumper_util.c745 char detail[SESSION_NAME_SIZE_MAX + MAX_LENGTH_OF_SUCCESS_RATE] = {0}; in FillTransSuccessRateDetail() local
746 GenerateTransSuccessRateString(it, detail, sizeof(detail)); in FillTransSuccessRateDetail()
747 cJSON_AddItemToArray(transObj, cJSON_CreateString(detail)); in FillTransSuccessRateDetail()
760 char detail[MAX_LENGTH_OF_SUCCESS_RATE] = {0}; in FillDiscSuccessRateDetail() local
761 if (sprintf_s(detail, sizeof(detail), "%d,,,,%"PRId64",%d", i, g_discStatsInfo.delayTimeFirstDiscovery[i], in FillDiscSuccessRateDetail()
766 cJSON_AddItemToArray(discObj, cJSON_CreateString(detail)); in FillDiscSuccessRateDetail()
781 char detail[MAX_LENGTH_OF_SUCCESS_RATE] = {0}; in FillConnSuccessRateDetail() local
782 if (sprintf_s(detail, sizeo in FillConnSuccessRateDetail()
803 char detail[MAX_LENGTH_OF_SUCCESS_RATE] = {0}; FillHmlDetail() local
830 char detail[MAX_LENGTH_OF_SUCCESS_RATE] = {0}; FillAuthSuccessRateDetail() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/
H A Davrcp_ct_profile.h214 * @param[in] detail The detail result of the execution. Refer to <b>AvrcEsCode</b>.<br>
221 std::function<void(const RawAddress &rawAddr, int result, int detail)> onSetAddressedPlayer;
235 * @param[in] detail The detail result of the execution. Refer to <b>AvrcEsCode</b>.<br>
245 const std::vector<std::string> &folderNames, int result, int detail)>
257 * @param[in] detail The detail result of the execution. Refer to <b>AvrcEsCode</b>.<br>
266 std::function<void(const RawAddress &rawAddr, uint32_t numOfItems, int result, int detail)> onChangePath;
281 * @param[in] detail Th
[all...]
H A Davrcp_ct_service.h94 * @detail Switch to the thread of the AVRCP CT service in this method.
863 * @param[in] detail The detail result of the execution. Refer to <b>AvrcEsCode</b>.<br>
870 void OnSetAddressedPlayer(const RawAddress &rawAddr, int result, int detail) const;
892 * @param[in] detail The detail result of the execution. Refer to <b>AvrcEsCode</b>.<br>
902 const std::vector<std::string> &folderNames, int result, int detail) const;
1148 * @param[in] detail The detail result of the execution. Refer to <b>AvrcEsCode</b>.<br>
1163 void OnPlayItem(const RawAddress &rawAddr, int result, int detail) cons
[all...]
/foundation/multimedia/camera_framework/frameworks/native/camera/src/utils/
H A Dmetadata_common_utils.cpp31 for (const auto &detail : streamInfo.detailInfos) { in FillSizeListFromStreamInfo()
32 camera_format_t hdi_format = static_cast<camera_format_t>(detail.format); in FillSizeListFromStreamInfo()
36 Size size { .width = detail.width, .height = detail.height }; in FillSizeListFromStreamInfo()
44 for (const auto &detail : streamInfo.detailInfo) { in FillSizeListFromStreamInfo()
45 camera_format_t hdi_format = static_cast<camera_format_t>(detail.format); in FillSizeListFromStreamInfo()
49 Size size{.width = detail.width, .height = detail.height}; in FillSizeListFromStreamInfo()

Completed in 14 milliseconds

12345