/foundation/multimedia/av_session/services/session/adapter/ |
H A D | distributed_object_adapter.cpp | 27 void DistributedObjectAdapter::AVSessionObjectWatcher::OnChanged(const std::string &name, in OnChanged() argument 40 void DistributedObjectAdapter::AVSessionStatusNotifier::OnChanged(const std::string &name, in OnChanged() argument 50 DistributedObjectAdapter::DistributedObjectAdapter(const std::string& name) in DistributedObjectAdapter() argument 51 : name_(name) in DistributedObjectAdapter()
|
/foundation/multimedia/player_framework/services/services/common/ |
H A D | avsharedmemory_ipc.cpp | 50 std::string name = parcel.ReadString();
in ReadAVSharedMemoryFromParcel() local 52 std::shared_ptr<AVSharedMemory> memory = AVSharedMemoryBase::CreateFromRemote(fd, size, flags, name);
in ReadAVSharedMemoryFromParcel() 68 std::string name = parcel.ReadString();
in ReadAVDataSrcMemoryFromParcel() local 70 std::shared_ptr<AVSharedMemory> memory = AVDataSrcMemory::CreateFromRemote(fd, size, flags, name);
in ReadAVDataSrcMemoryFromParcel()
|
/foundation/multimedia/ringtone_library/interfaces/inner_api/native/ |
H A D | vibrate_asset.h | 68 EXPORT std::variant<int32_t, int64_t, std::string, double> &GetMemberValue(const std::string &name); 71 const std::string &GetStrMember(const std::string &name) const; 72 int32_t GetInt32Member(const std::string &name) const; 73 int64_t GetInt64Member(const std::string &name) const;
|
/foundation/resourceschedule/device_standby/interfaces/innerkits/include/ |
H A D | resourcce_request.h | 34 ResourceRequest(uint32_t allowType, int32_t uid, const std::string& name, int32_t duration, in ResourceRequest() argument 35 const std::string& reason, uint32_t reasonCode) : allowType_(allowType), uid_(uid), name_(name), in ResourceRequest() 95 * @brief Get the name of the resource request. 97 * @return name of the resource request. 105 * @brief Set the name of the resource request. 107 * @param name name of the resource request. 109 inline void SetName(const std::string& name) in SetName() argument 111 name_ = name; in SetName()
|
/foundation/resourceschedule/ffrt/src/queue/ |
H A D | queue_handler.h | 34 QueueHandler(const char* name, const ffrt_queue_attr_t* attr, const int type = ffrt_queue_serial); 39 int Cancel(const char* name); 69 inline bool HasTask(const char* name) in HasTask() argument 72 return queue_->HasTask(name); in HasTask()
|
/foundation/window/window_manager/utils/include/ |
H A D | singleton_container.h | 32 void AddSingleton(const std::string& name, void* instance); 34 void SetSingleton(const std::string& name, void* instance); 36 void* GetSingleton(const std::string& name); 38 void* DependOn(const std::string& instance, const std::string& name);
|
/foundation/communication/dsoftbus/tests/core/bus_center/service/unittest/ |
H A D | bus_center_manager_deps_mock.cpp | 50 SoftBusLooper *CreateNewLooper(const char *name) in CreateNewLooper() argument 52 return GetBusCenterManagerDepsInterface()->CreateNewLooper(name); in CreateNewLooper() 105 void SoftBusRunPeriodicalTask(const char *name, void (*task)(void), uint64_t interval, uint64_t delay) in SoftBusRunPeriodicalTask() argument 107 return GetBusCenterManagerDepsInterface()->SoftBusRunPeriodicalTask(name, task, interval, delay); in SoftBusRunPeriodicalTask()
|
/foundation/communication/dsoftbus/sdk/transmission/session/cpp/src/ |
H A D | session_impl.h | 45 void SetMySessionName(const std::string &name) override; 49 void SetPeerSessionName(const std::string &name) override; 53 void SetPeerDeviceId(const std::string &name) override; 59 void SetDeviceId(const std::string &name) override;
|
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/include/common/ |
H A D | object_error.h | 38 ParametersType(const std::string &name, const std::string &wantType) : name(name), wantType(wantType){}; in ParametersType() argument 43 std::string name; member in OHOS::ObjectStore::ParametersType
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/communication/ |
H A D | connect_manager.h | 41 API_EXPORT static bool RegisterSessionCloseListener(const std::string &name, SessionCloseListener listener); 42 API_EXPORT static void UnRegisterSessionCloseListener(const std::string &name); 45 API_EXPORT static bool RegisterSessionOpenListener(const std::string &name, SessionOpenListener listener); 46 API_EXPORT static void UnRegisterSessionOpenListener(const std::string &name);
|
/foundation/distributeddatamgr/data_share/frameworks/js/napi/common/include/ |
H A D | datashare_error_impl.h | 25 ParametersTypeError(const std::string &name, const std::string &wantType) : name(name), wantType(wantType){}; in ParametersTypeError() argument 29 std::string name; member in OHOS::DataShare::ParametersTypeError
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/ |
H A D | store_util.h | 31 std::string name; member 40 static std::string Anonymous(const std::string &name); 44 static bool CreateFile(const std::string &name); 48 static bool IsFileExist(const std::string &name);
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/util/ |
H A D | state_machine.cpp | 19 void StateMachine::InitState(const std::string &name) in InitState() argument 21 auto it = states_.find(name); in InitState() 60 void StateMachine::Transition(const std::string &name) in Transition() argument 62 auto it = states_.find(name); in Transition()
|
/foundation/communication/dhcp/services/ |
H A D | dhcp_logger.h | 34 #define DEFINE_DHCPLOG_DHCP_LABEL(name) \ 35 static constexpr OHOS::HiviewDFX::HiLogLabel DHCP_LOG_LABEL = {LOG_CORE, OHOS::DHCP::LOG_ID_DHCP_DHCP, name} 50 #define DEFINE_DHCPLOG_DHCP_LABEL(name) \ 51 static constexpr OHOS::DHCP::LogLable DHCP_LOG_LABEL = {OHOS::DHCP::LOG_ID_DHCP_DHCP, name};
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/ |
H A D | nstackx_dfinder_hievent.c | 41 .name = "INVALID_OPTION_CNT" 45 .name = "BUILD_PKT_FAIL_CNT" 49 .name = "INVALID_RSP_CNT" 53 .name = "OVER_DEVICE_LIMIT_CNT"
|
/foundation/resourceschedule/ffrt/test/ut/ |
H A D | common.h | 20 #define HWTEST_F(t, name, level) TEST_F(t, name)
|
/foundation/distributeddatamgr/kv_store/kvstoremock/interfaces/mock/ |
H A D | mac_glibc.cpp | 17 __attribute__((visibility("default"))) int pthread_setname_np(std::thread::native_handle_type tid, const char *name) in pthread_setname_np() argument 20 return ::pthread_setname_np(name); in pthread_setname_np()
|
/foundation/distributeddatamgr/preferences/frameworks/native/platform/src/ |
H A D | preferences_thread.cpp | 18 int PthreadSetNameNp(const std::string &name) in PthreadSetNameNp() argument 24 name.c_str()); in PthreadSetNameNp()
|
/foundation/multimedia/media_foundation/engine/pipeline/filters/source/media_source/ |
H A D | media_source_filter.cpp | 44 MediaSourceFilter::MediaSourceFilter(const std::string& name) in MediaSourceFilter() argument 45 : FilterBase(name), in MediaSourceFilter() 397 ErrorCode MediaSourceFilter::CreatePlugin(const std::shared_ptr<PluginInfo>& info, const std::string& name, in CreatePlugin() argument 401 if (info->name == pluginInfo_->name && TranslatePluginStatus(plugin_->Reset()) == ErrorCode::SUCCESS) { in CreatePlugin() 402 MEDIA_LOG_I("Reuse last plugin: " PUBLIC_LOG_S, name.c_str()); in CreatePlugin() 406 MEDIA_LOG_E("Deinit last plugin: " PUBLIC_LOG_S " error", pluginInfo_->name.c_str()); in CreatePlugin() 409 plugin_ = manager.CreateSourcePlugin(name); in CreatePlugin() 411 MEDIA_LOG_E("PluginManager CreatePlugin " PUBLIC_LOG_S " fail", name.c_str()); in CreatePlugin() 415 MEDIA_LOG_I("Create new plugin: \"" PUBLIC_LOG_S "\" success", pluginInfo_->name in CreatePlugin() [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | abs_result_set.cpp | 32 void RowEntity::Put(const std::string& name, int32_t index, ValueObject&& value)
in Put() argument 37 auto it = values_.emplace(name, std::move(value));
in Put() 41 ValueObject RowEntity::Get(const std::string &name) const
in Get() 43 auto it = values_.find(name);
in Get() 120 for (auto &[name, index] : columnMap_) {
in GetAllColumnNames() 124 columnNames[index] = name;
in GetAllColumnNames() 259 for (auto &[name, index] : columnMap_) {
in GetRow() 263 LOG_ERROR("Get(%{public}d, %{public}s)->ret %{public}d", index, SqliteUtils::Anonymous(name).c_str(), ret);
in GetRow() 266 rowEntity.Put(name, index, std::move(value));
in GetRow() 402 for (const auto& [name, inde in GetColumnIndex() [all...] |
/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | window_scene_config.cpp | 105 WLOGFE("read xml node error: nodeName:(%{public}s)", node->name); in SplitNodeContent() 136 std::string nodeName = reinterpret_cast<const char*>(curNodePtr->name); in ReadConfig() 140 mapValue[reinterpret_cast<const char*>(curNodePtr->name)].SetProperty(p); in ReadConfig() 145 mapValue[reinterpret_cast<const char*>(curNodePtr->name)].SetValue(v); in ReadConfig() 150 mapValue[reinterpret_cast<const char*>(curNodePtr->name)].SetValue(v); in ReadConfig() 155 mapValue[reinterpret_cast<const char*>(curNodePtr->name)].SetValue(v); in ReadConfig() 161 mapValue[reinterpret_cast<const char*>(curNodePtr->name)].SetValue(v); in ReadConfig() 166 mapValue[reinterpret_cast<const char*>(curNodePtr->name)].SetValue(v); in ReadConfig() 171 mapValue[reinterpret_cast<const char*>(curNodePtr->name)].SetValue(v); in ReadConfig() 196 if (rootPtr == nullptr || rootPtr->name in LoadConfigXml() [all...] |
/foundation/window/window_manager/wmserver/src/ |
H A D | window_manager_config.cpp | 85 WLOGFE("[WmConfig] read xml node error: nodeName:(%{public}s)", node->name); in SplitNodeContent() 116 std::string nodeName = reinterpret_cast<const char*>(curNodePtr->name); in ReadConfig() 120 mapValue[reinterpret_cast<const char*>(curNodePtr->name)].SetProperty(property); in ReadConfig() 125 mapValue[reinterpret_cast<const char*>(curNodePtr->name)].SetValue(v); in ReadConfig() 130 mapValue[reinterpret_cast<const char*>(curNodePtr->name)].SetValue(v); in ReadConfig() 135 mapValue[reinterpret_cast<const char*>(curNodePtr->name)].SetValue(v); in ReadConfig() 140 mapValue[reinterpret_cast<const char*>(curNodePtr->name)].SetValue(v); in ReadConfig() 145 mapValue[reinterpret_cast<const char*>(curNodePtr->name)].SetValue(v); in ReadConfig() 151 mapValue[reinterpret_cast<const char*>(curNodePtr->name)].SetValue(v); in ReadConfig() 176 if (rootPtr == nullptr || rootPtr->name in LoadConfigXml() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/platform/eventhandler/ |
H A D | event_handler.h | 407 * @param name Name of the task. 412 inline bool PostTask(const Callback &callback, const std::string &name = std::string(), int64_t delayTime = 0, in PostTask() 415 return SendEvent(InnerEvent::Get(callback, name.empty() ? caller.ToString() : name), delayTime, priority); 468 * @param name Remove events by name of the task. 471 inline bool PostImmediateTask(const Callback &callback, const std::string &name = std::string(), in PostImmediateTask() 474 return SendEvent(InnerEvent::Get(callback, name.empty() ? caller.ToString() : name), 0, Priority::IMMEDIATE); 481 * @param name Nam 641 PostSyncTask(const Callback &callback, const std::string &name, Priority priority = Priority::LOW, Caller caller = {}) PostSyncTask() argument [all...] |
/foundation/multimodalinput/input/frameworks/napi/input_consumer/src/ |
H A D | js_register_util.cpp | 43 void SetNamedProperty(const napi_env &env, napi_value &object, const std::string &name, int32_t value) in SetNamedProperty() argument 45 MMI_HILOGD("%{public}s=%{public}d", name.c_str(), value); in SetNamedProperty() 48 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, object, name.c_str(), napiValue)); in SetNamedProperty() 51 void SetNamedProperty(const napi_env &env, napi_value &object, const std::string &name, std::string value) in SetNamedProperty() argument 53 MMI_HILOGD("%{public}s=%{public}s", name.c_str(), value.c_str()); in SetNamedProperty() 56 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, object, name.c_str(), napiValue)); in SetNamedProperty() 59 bool GetNamedPropertyBool(const napi_env &env, const napi_value &object, const std::string &name, bool &ret) in GetNamedPropertyBool() argument 63 napi_status status = napi_has_named_property(env, object, name.c_str(), &exist); in GetNamedPropertyBool() 65 MMI_HILOGD("Can not find %{public}s property", name.c_str()); in GetNamedPropertyBool() 68 napi_get_named_property(env, object, name in GetNamedPropertyBool() 82 GetNamedPropertyInt32(const napi_env &env, const napi_value &object, const std::string &name) GetNamedPropertyInt32() argument [all...] |
/foundation/multimodalinput/input/service/window_manager/src/ |
H A D | input_display_bind_helper.cpp | 45 const std::string NAME { "name" }; 108 bool BindInfo::AddDisplay(int32_t id, const std::string &name) in AddDisplay() argument 114 displayName_ = name; in AddDisplay() 127 oss << "InputDevice(id:" << inputDeviceId_ << ",name:" << inputDeviceName_ << "),Display(id:" << displayId_ << in GetDesc() 128 ",name:" << displayName_ << ")"; in GetDesc() 201 std::string BindInfos::GetDisplayNameByInputDevice(const std::string &name) const in GetDisplayNameByInputDevice() 204 if (item.GetInputDeviceName() == name) { in GetDisplayNameByInputDevice() 211 std::string BindInfos::GetInputDeviceByDisplayName(const std::string &name) const in GetInputDeviceByDisplayName() 214 if (item.GetDisplayName() == name) { in GetInputDeviceByDisplayName() 341 void InputDisplayBindHelper::AddInputDevice(int32_t id, const std::string &name) in AddInputDevice() argument 359 IsDisplayAdd(int32_t id, const std::string &name) IsDisplayAdd() argument 383 AddDisplay(int32_t id, const std::string &name) AddDisplay() argument 400 AddLocalDisplay(int32_t id, const std::string &name) AddLocalDisplay() argument [all...] |