/foundation/communication/dsoftbus/sdk/transmission/trans_channel/tcp_direct/src/ |
H A D | client_trans_tcp_direct_manager.c | 85 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 D | client_trans_tcp_direct_callback.c | 86 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 D | dcamera_channel_info_cmd.cpp | 49 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 D | lnn_kv_adapter.cpp | 380 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 D | lnn_kv_adapter_test.cpp | 366 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 D | interface_profile_avrcp_ct.h | 108 * @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 D | i_bluetooth_avrcp_ct_observer.h | 39 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 D | bluetooth_avrcp_ct_observer_proxy.h | 35 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 D | json_protocol.cpp | 74 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 D | hash.cpp | 75 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 D | dcamera_sink_output_channel_listener.cpp | 37 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 D | dcamera_sink_controller_channel_listener.cpp | 37 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 D | dcamera_source_input_channel_listener.cpp | 45 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 D | dcamera_source_controller_channel_listener.cpp | 45 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 D | bluetooth_avrcp_ct_server.cpp | 71 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 D | js_rss_session.cpp | 129 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 D | kvdb_notifier_client.cpp | 46 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 D | kvdb_notifier_stub.cpp | 74 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 D | trans_tcp_direct_test.cpp | 472 (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 D | bms_json_util.cpp | 20 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 D | future.h | 33 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 D | softbus_hidumper_util.c | 745 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 D | avrcp_ct_profile.h | 214 * @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 D | avrcp_ct_service.h | 94 * @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 D | metadata_common_utils.cpp | 31 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()
|