Home
last modified time | relevance | path

Searched refs:std (Results 12801 - 12825 of 65967) sorted by relevance

1...<<511512513514515516517518519520>>...2639

/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p_sa/
H A Dwifi_p2p_service_impl.h216 ErrCode QueryP2pDevices(std::vector<WifiP2pDevice> &devices) override;
232 ErrCode QueryP2pGroups(std::vector<WifiP2pGroupInfo> &groups) override;
240 ErrCode QueryP2pServices(std::vector<WifiP2pServiceInfo> &services) override;
248 ErrCode RegisterCallBack(const sptr<IWifiP2pCallback> &callback, const std::vector<std::string> &event) override;
264 ErrCode SetP2pDeviceName(const std::string &deviceName) override;
281 ErrCode Hid2dRequestGcIp(const std::string& gcMac, std::string& ipAddr) override;
312 ErrCode Hid2dRemoveGcGroup(const std::string& gcIfName) override;
329 ErrCode Hid2dConfigIPAddr(const std
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Drdb_result_set_stub_test.cpp30 const std::u16string INTERFACE_TOKEN = u"OHOS::NativeRdb.IResultSet";
50 std::shared_ptr<DistributedData::Cursor> dbResultSet; in HWTEST_F()
51 auto result = std::make_shared<RdbResultSetImpl>(dbResultSet); in HWTEST_F()
55 std::shared_ptr<RdbResultSetStub> rdbResultSetStub1 = std::make_shared<RdbResultSetStub>(result); in HWTEST_F()
70 std::shared_ptr<RdbResultSetStub> rdbResultSetStub2 = std::make_shared<RdbResultSetStub>(result); in HWTEST_F()
78 std::shared_ptr<RdbResultSetStub> rdbResultSetStub3 = std::make_shared<RdbResultSetStub>(result); in HWTEST_F()
93 std in HWTEST_F()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/
H A Dkvdb_notifier_client.cpp35 void KVDBNotifierClient::SyncCompleted(const std::map<std::string, Status> &results, uint64_t sequenceId) in SyncCompleted() argument
37 DdsTrace trace(std::string(LOG_TAG "::") + std::string(__FUNCTION__), TraceSwitch::BYTRACE_ON); in SyncCompleted()
48 DdsTrace trace(std::string(LOG_TAG "::") + std::string(__FUNCTION__), TraceSwitch::BYTRACE_ON); in SyncCompleted()
53 callback(std::move(detail)); in SyncCompleted()
59 void KVDBNotifierClient::OnRemoteChange(const std::map<std::string, bool> &mask, int32_t dataType) in OnRemoteChange() argument
69 remotes_.InsertOrAssign(clientUuid, std in OnRemoteChange()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_result_set_impl.h33 explicit RdbResultSetImpl(std::shared_ptr<DistributedData::Cursor> resultSet);
35 int GetAllColumnNames(std::vector<std::string> &columnNames) override;
38 int GetColumnIndex(const std::string &columnName, int &columnIndex) override;
39 int GetColumnName(int columnIndex, std::string &columnName) override;
52 int GetBlob(int columnIndex, std::vector<uint8_t> &value) override;
53 int GetString(int columnIndex, std::string &value) override;
69 std::enable_if_t < ValueProxy::CVT_INDEX<T, ValueProxy::Proxy><ValueProxy::MAX, int>
77 std::pair<int32_t, ValueProxy::Value> GetValue(int columnIndex) const
84 return {NativeRdb::E_OK, ValueProxy::Convert(std
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/query_fuzzer/
H A Dquery_fuzzer.cpp20 using namespace std;
29 std::string rawString(reinterpret_cast<const char *>(data), size); in FuzzEqualTo()
35 std::string rawString(reinterpret_cast<const char *>(data), size); in FuzzNotEqualTo()
41 std::string rawString(reinterpret_cast<const char *>(data), size); in FuzzGreaterThan()
47 std::string rawString(reinterpret_cast<const char *>(data), size); in FuzzLessThan()
53 std::string rawString(reinterpret_cast<const char *>(data), size); in FuzzGreaterThanOrEqualTo()
59 std::string rawString(reinterpret_cast<const char *>(data), size); in FuzzLessThanOrEqualTo()
65 std::string rawString(reinterpret_cast<const char *>(data), size); in FuzzOrderBy()
77 std::string rawString(reinterpret_cast<const char *>(data), size); in FuzzLike()
83 std in FuzzNotLike()
[all...]
/foundation/distributedhardware/device_manager/services/implementation/src/authentication/
H A Dauth_request_state.cpp28 int32_t AuthRequestState::SetAuthManager(std::shared_ptr<DmAuthManager> authManager) in SetAuthManager()
30 authManager_ = std::move(authManager); in SetAuthManager()
34 int32_t AuthRequestState::SetAuthContext(std::shared_ptr<DmAuthRequestContext> context) in SetAuthContext()
36 context_ = std::move(context); in SetAuthContext()
40 std::shared_ptr<DmAuthRequestContext> AuthRequestState::GetAuthContext() in GetAuthContext()
45 int32_t AuthRequestState::TransitionTo(std::shared_ptr<AuthRequestState> state) in TransitionTo()
48 std::shared_ptr<DmAuthManager> stateAuthManager = authManager_.lock(); in TransitionTo()
53 std::shared_ptr<DmAuthRequestContext> contextTemp = GetAuthContext(); in TransitionTo()
69 std::shared_ptr<DmAuthManager> stateAuthManager = authManager_.lock(); in Enter()
85 std in Enter()
[all...]
/foundation/distributedhardware/distributed_audio/services/audiotransport/receiverengine/src/
H A Dav_receiver_engine_transport.cpp33 receiverAdapter_ = std::make_shared<AVTransReceiverAdapter>(); in InitEngine()
47 const std::shared_ptr<IAudioDataTransCallback> &callback, const PortCapType capType) in SetUp()
99 int32_t AVTransReceiverTransport::FeedAudioData(std::shared_ptr<AudioData> &audioData) in FeedAudioData()
106 int32_t AVTransReceiverTransport::SendMessage(uint32_t type, std::string content, std::string dstDevId) in SendMessage()
110 auto message = std::make_shared<AVTransMessage>(type, content, dstDevId); in SendMessage()
120 void AVTransReceiverTransport::OnEngineMessage(const std::shared_ptr<AVTransMessage> &message) in OnEngineMessage()
127 void AVTransReceiverTransport::OnEngineDataAvailable(const std::shared_ptr<AVTransBuffer> &buffer) in OnEngineDataAvailable()
133 std::shared_ptr<AudioData> audioData = std in OnEngineDataAvailable()
[all...]
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/camera_source/src/callback/
H A Ddcamera_source_callback_stub.cpp41 std::u16string desc = DCameraSourceCallbackStub::GetDescriptor(); in OnRemoteRequest()
42 std::u16string remoteDesc = data.ReadInterfaceToken(); in OnRemoteRequest()
69 std::string devId = data.ReadString(); in NotifyRegResultInner()
70 std::string dhId = data.ReadString(); in NotifyRegResultInner()
71 std::string reqId = data.ReadString(); in NotifyRegResultInner()
73 std::string result = data.ReadString(); in NotifyRegResultInner()
90 std::string devId = data.ReadString(); in NotifyUnregResultInner()
91 std::string dhId = data.ReadString(); in NotifyUnregResultInner()
92 std::string reqId = data.ReadString(); in NotifyUnregResultInner()
94 std in NotifyUnregResultInner()
[all...]
/foundation/distributedhardware/device_manager/services/service/src/publishcommonevent/
H A Ddm_account_common_event.cpp42 std::vector<std::string> DmAccountEventSubscriber::GetSubscriberEventNameVec() const in GetSubscriberEventNameVec()
52 bool DmAccountCommonEventManager::SubscribeAccountCommonEvent(const std::vector<std::string> &eventNameVec, in SubscribeAccountCommonEvent()
59 std::lock_guard<std::mutex> locker(evenSubscriberMutex_); in SubscribeAccountCommonEvent()
70 subscriber_ = std::make_shared<DmAccountEventSubscriber>(subscriberInfo, callback, eventNameVec); in SubscribeAccountCommonEvent()
77 statusChangeListener_ = new (std::nothrow) SystemAbilityStatusChangeListener(subscriber_); in SubscribeAccountCommonEvent()
102 std::lock_guard<std in UnsubscribeAccountCommonEvent()
[all...]
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/unittest/common/camera_source/
H A Ddcamera_source_handler_test.cpp47 const std::string TEST_DEVICE_ID = "bb536a637105409e904d4da83790a4a7";
48 const std::string TEST_CAMERA_DH_ID_0 = "camera_0";
49 const std::string TEST_VER = "1.0";
50 const std::string TEST_ATTRS = "";
80 std::string params = "test001"; in HWTEST_F()
93 std::string params = "test002"; in HWTEST_F()
112 std::string devId = TEST_DEVICE_ID; in HWTEST_F()
113 std::string dhId = TEST_CAMERA_DH_ID_0; in HWTEST_F()
119 std::shared_ptr<RegisterCallback> callback = nullptr; in HWTEST_F()
122 callback = std in HWTEST_F()
[all...]
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcamera/
H A Ddcamera_source_callback_proxy.cpp26 int32_t DCameraSourceCallbackProxy::OnNotifyRegResult(const std::string& devId, const std::string& dhId, in OnNotifyRegResult()
27 const std::string& reqId, int32_t status, std::string& data) in OnNotifyRegResult()
56 int32_t DCameraSourceCallbackProxy::OnNotifyUnregResult(const std::string& devId, const std::string& dhId, in OnNotifyUnregResult()
57 const std::string& reqId, int32_t status, std::string& data) in OnNotifyUnregResult()
86 int32_t DCameraSourceCallbackProxy::OnHardwareStateChanged(const std::string &devId, in OnHardwareStateChanged()
87 const std in OnHardwareStateChanged()
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/plugins/av_trans_input/daudio_input/
H A Ddaudio_input_plugin.cpp33 definition.creator = [] (const std::string& name) -> std::shared_ptr<AvTransInputPlugin> { in CreateDaudioInputPluginDef()
34 return std::make_shared<DaudioInputPlugin>(name); in CreateDaudioInputPluginDef()
51 DaudioInputPlugin::DaudioInputPlugin(std::string name) in DaudioInputPlugin()
52 : AvTransInputPlugin(std::move(name)) in DaudioInputPlugin()
78 std::lock_guard<std::mutex> lock(tagMapMutex_); in Reset()
102 std::lock_guard<std::mutex> lock(tagMapMutex_); in GetParameter()
114 std in SetParameter()
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/plugins/av_trans_input/dscreen_input/
H A Ddscreen_input_plugin.cpp32 definition.creator = [] (const std::string& name) -> std::shared_ptr<AvTransInputPlugin> { in CreateDscreenInputPluginDef()
33 return std::make_shared<DscreenInputPlugin>(name); in CreateDscreenInputPluginDef()
48 DscreenInputPlugin::DscreenInputPlugin(std::string name) in DscreenInputPlugin()
49 : AvTransInputPlugin(std::move(name)) in DscreenInputPlugin()
75 std::lock_guard<std::mutex> lock(paramsMapMutex_); in Reset()
95 std::lock_guard<std::mutex> lock(paramsMapMutex_); in GetParameter()
106 std in SetParameter()
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/disk/src/
H A Ddisk_manager.cpp52 std::lock_guard<std::mutex> lock(lock_); in HandleDiskEvent()
53 std::string devType = data->GetParam("DEVTYPE"); in HandleDiskEvent()
58 unsigned int major = (unsigned int) std::stoi(data->GetParam("MAJOR")); in HandleDiskEvent()
59 unsigned int minor = (unsigned int) std::stoi(data->GetParam("MINOR")); in HandleDiskEvent()
90 std::shared_ptr<DiskInfo> DiskManager::MatchConfig(NetlinkData *data) in MatchConfig()
96 std::string sysPath = data->GetSyspath(); in MatchConfig()
97 std::string devPath = data->GetDevpath(); in MatchConfig()
98 unsigned int major = (unsigned int) std::stoi(data->GetParam("MAJOR")); in MatchConfig()
99 unsigned int minor = (unsigned int) std in MatchConfig()
[all...]
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/transport/softbus/
H A Dsession_manager.cpp27 using namespace std;
78 int32_t SessionManager::SendData(const std::string &peerNetworkId, const void *data, uint32_t dataLen) in SendData()
87 int32_t SessionManager::SendFile(const std::string &peerNetworkId, in SendFile()
88 const std::vector<std::string> &sFileList, in SendFile()
89 const std::vector<std::string> &dFileList) in SendFile()
98 std::shared_ptr<SoftbusSession> SessionManager::CreateSession(SoftbusSession::DataType type, in CreateSession()
99 const std::string &peerDeviceId) in CreateSession()
124 bool SessionManager::IsDeviceIdVailid(const std
[all...]
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/sync_rule/
H A Dbattery_status_listener_test.cpp28 using namespace std;
69 auto dataSyncManager = std::make_shared<DataSyncManager>(); in HWTEST_F()
70 auto batteryStatusListener = std::make_shared<BatteryStatusListener>(dataSyncManager); in HWTEST_F()
91 auto dataSyncManager = std::make_shared<DataSyncManager>(); in HWTEST_F()
92 auto batteryStatusListener = std::make_shared<BatteryStatusListener>(dataSyncManager); in HWTEST_F()
115 auto dataSyncManager = std::make_shared<DataSyncManager>(); in HWTEST_F()
116 auto batteryStatusListener = std::make_shared<BatteryStatusListener>(dataSyncManager); in HWTEST_F()
117 auto subscriber = std::make_shared<BatteryStatusSubscriber>(EventFwk::CommonEventSubscribeInfo(), in HWTEST_F()
141 auto dataSyncManager = std::make_shared<DataSyncManager>(); in HWTEST_F()
142 auto batteryStatusListener = std in HWTEST_F()
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/
H A Dhfp_hf_service.h133 std::list<RawAddress> GetConnectDevices() override;
176 std::vector<RawAddress> GetDevicesByStates(std::vector<int> states) override;
213 std::vector<HandsFreeUnitCalls> GetCurrentCallList(const RawAddress &device) override;
320 std::optional<HandsFreeUnitCalls> StartDial(const RawAddress &device, const std::string &number) override;
467 void NotifyOperatorSelectionChanged(const RawAddress &device, const std::string &name);
476 void NotifySubscriberNumberChanged(const RawAddress &device, const std::string &number);
503 void SendAtCommand(const RawAddress &device, int cmdId, const std::string &arg);
543 bool IsConnected(const std
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/
H A Dobex_server.h50 virtual void OnTransportConnected(const std::string &btAddr);
51 virtual void OnTransportDisconnected(const std::string &btAddr);
52 virtual void OnTransportError(const std::string &btAddr, int errCd, const std::string &msg);
54 virtual void OnError(const int errCd, const std::string &msg);
92 void OnTransportIncomingDisconnected(const std::string &btAddr) override;
102 std::unique_ptr<bluetooth::ObexHeader> GetObexHeaderFromPacket(ObexPacket &obexPacket) const;
118 std::unique_ptr<ObexServerTransportObserver> transportObserver_ = nullptr;
119 std::unique_ptr<ObexServerTransport> serverTransport_ = nullptr;
121 std
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/pan/
H A Dpan_statemachine.h44 explicit PanStateMachine(const std::string &address);
91 std::string GetDeviceAdress();
93 static std::string GetEventName(int what);
103 inline static const std::string DISCONNECTED = "Disconnected";
104 inline static const std::string CONNECTING = "Connecting";
105 inline static const std::string DISCONNECTING = "Disconnecting";
106 inline static const std::string CONNECTED = "Connected";
109 std::string address_;
112 std::list<PanMessage> deferMsgs_ {};
113 std
[all...]
/foundation/window/window_manager/window_scene/screen_session_manager_client/include/
H A Dscreen_session_manager_client.h34 using ScreenInfoChangeClientListener = std::function<void(uint64_t)>;
50 std::map<ScreenId, ScreenProperty> GetAllScreensProperties() const;
59 void SetScreenPrivacyWindowList(DisplayId id, std::vector<std::string> privacyWindowList);
62 const std::map<DisplayId, sptr<DisplayInfo>>& displayInfoMap, DisplayStateChangeType type) override;
65 void OnGetSurfaceNodeIdsFromMissionIdsChanged(std::vector<uint64_t>& missionIds,
66 std::vector<uint64_t>& surfaceNodeIds, bool isBlackList = false) override;
72 std::shared_ptr<Media::PixelMap> GetScreenSnapshot(ScreenId screenId, float scaleX, float scaleY);
80 void RegisterSwitchingToAnotherUserFunction(std::function<void()>&& func);
82 void SwitchUserCallback(std
[all...]
/foundation/window/window_manager/wmserver/include/
H A Ddrag_controller.h56 void OnInputEvent(std::shared_ptr<MMI::PointerEvent> pointerEvent) const override;
57 void OnInputEvent(std::shared_ptr<MMI::KeyEvent> keyEvent) const override;
58 void OnInputEvent(std::shared_ptr<MMI::AxisEvent> axisEvent) const override;
79 void ConsumePointerEvent(const std::shared_ptr<MMI::PointerEvent>& pointerEvent);
81 void HandleDisplayLimitRectChange(const std::map<DisplayId, Rect>& limitRectMap);
94 void HandlePointerEvent(const std::shared_ptr<MMI::PointerEvent>& pointerEvent);
101 std::shared_ptr<VsyncStation> GetVsyncStationByWindowId(uint32_t windowId);
107 std::shared_ptr<MMI::PointerEvent> moveEvent_ = nullptr;
108 std::shared_ptr<MMI::IInputEventConsumer> inputListener_ = nullptr;
109 std
[all...]
/third_party/icu/icu4c/source/common/
H A Dumutex.h40 // Export an explicit template instantiation of std::atomic<int32_t>.
44 // Similar story for std::atomic<std::mutex *>, and the exported UMutex class.
52 template struct U_COMMON_API std::atomic<int32_t>;
53 template struct U_COMMON_API std::atomic<std::mutex *>;
59 template struct std::atomic<int32_t>;
60 template struct std::atomic<std::mutex *>;
73 typedef std
[all...]
/third_party/libphonenumber/tools/cpp/src/cpp-build/
H A Dgenerate_geocoding_data.cc45 using std::map;
46 using std::string;
47 using std::vector;
48 using std::set;
49 using std::pair;
92 const std::string& name() const { return name_; } in name()
96 std::string name_;
145 return std::equal(suffix.rbegin(), suffix.rend(), s.rbegin()); in EndsWith()
150 std::stringstream stream; in StrToInt()
158 std in IntToStr()
[all...]
/third_party/node/src/
H A Dcallback_queue-inl.h12 std::unique_ptr<typename CallbackQueue<R, Args...>::Callback>
14 return std::make_unique<CallbackImpl<Fn>>(std::move(fn), flags); in CreateCallback()
18 std::unique_ptr<typename CallbackQueue<R, Args...>::Callback>
20 std::unique_ptr<Callback> ret = std::move(head_); in Shift()
31 void CallbackQueue<R, Args...>::Push(std::unique_ptr<Callback> cb) { in Push()
37 prev_tail->set_next(std::move(cb)); in Push()
39 head_ = std::move(cb); in Push()
46 tail_->set_next(std in ConcatMove()
[all...]
/third_party/node/deps/v8/src/wasm/
H A Dwasm-result.h34 WasmError(uint32_t offset, std::string message) in WasmError()
35 : offset_(offset), message_(std::move(message)) { in WasmError()
54 const std::string& message() const& { return message_; } in message()
55 std::string&& message() && { return std::move(message_); } in message()
58 static std::string FormatError(const char* format, va_list args);
62 std::string message_;
74 explicit Result(S&& value) : value_(std::forward<S>(value)) {} in Result()
77 Result(Result<S>&& other) V8_NOEXCEPT : value_(std::move(other.value_)),
78 error_(std
[all...]

Completed in 27 milliseconds

1...<<511512513514515516517518519520>>...2639