/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/ |
H A D | audio_usage_strategy_parser.cpp | 62 (!xmlStrcmp(currNode->name, reinterpret_cast<const xmlChar*>("adapter")))) { in ParseInternal() 64 reinterpret_cast<xmlChar*>(const_cast<char*>("name")))); in ParseInternal() 82 (!xmlStrcmp(strategyNode->name, reinterpret_cast<const xmlChar*>("strategy")))) { in ParserStreamUsageList() 84 reinterpret_cast<xmlChar*>(const_cast<char*>("name")))); in ParserStreamUsageList() 101 (!xmlStrcmp(strategyNode->name, reinterpret_cast<const xmlChar*>("strategy")))) { in ParserSourceTypeList() 103 reinterpret_cast<xmlChar*>(const_cast<char*>("name")))); in ParserSourceTypeList() 135 for (auto &name : buf) { in ParserStreamUsage() 136 auto pos = streamUsageMap.find(name); in ParserStreamUsage() 163 for (auto &name : buf) { in ParserSourceTypes() 164 auto pos = sourceTypeMap.find(name); in ParserSourceTypes() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/round_corner_display/ |
H A D | rs_round_corner_config.h | 132 bool HavePortrait(const std::string& name) const; 133 bool HaveLandscape(const std::string& name) const; 134 std::optional<RogPortrait> GetPortrait(const std::string& name) const; 135 std::optional<RogLandscape> GetLandscape(const std::string& name) const; 162 std::string name; member 177 static void PrintLayer(const std::string& name, const rs_rcd::RoundCornerLayer& layer); 179 LCDModel* GetLcdModel(const std::string& name) const;
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/screen_manager/ |
H A D | rs_screen_capability.cpp | 21 RSScreenCapability::RSScreenCapability(std::string name, ScreenInterfaceType type, uint32_t phyWidth,
in RSScreenCapability() argument 24 : name_(name), type_(type), phyWidth_(phyWidth),
in RSScreenCapability() 30 void RSScreenCapability::SetName(const std::string& name)
in SetName() argument 32 name_ = name;
in SetName() 167 std::string name;
in Unmarshalling() local 176 if (!parcel.ReadString(name)) {
in Unmarshalling() 203 RSScreenCapability* screenCapability = new RSScreenCapability(name, static_cast<ScreenInterfaceType>(type),
in Unmarshalling()
|
/foundation/multimodalinput/input/service/window_manager/include/ |
H A D | input_display_bind_helper.h | 40 bool AddDisplay(int32_t id, const std::string &name); 60 std::string GetDisplayNameByInputDevice(const std::string &name) const; 63 std::string GetInputDeviceByDisplayName(const std::string &name) const; 78 void AddInputDevice(int32_t id, const std::string &name); 80 bool IsDisplayAdd(int32_t id, const std::string &name); 82 void AddDisplay(int32_t id, const std::string &name); 83 void AddLocalDisplay(int32_t id, const std::string &name);
|
/foundation/communication/wifi/wifi/base/utils/ |
H A D | xml_parser.cpp | 77 xmlChar *value = xmlGetProp(node, BAD_CAST"name"); in GetNameValue() 92 std::string nodeValue = std::string(reinterpret_cast<const char *>(node->name)); in GetNodeValue() 123 if (xmlStrcmp(node->name, BAD_CAST"item") == 0) { in GetStringArrValue() 162 std::string name; in GetStringMapValue() local 164 if (xmlStrcmp(node->name, BAD_CAST"string") == 0) { in GetStringMapValue() 165 xmlChar* xname = xmlGetProp(node, BAD_CAST"name"); in GetStringMapValue() 167 name = std::string(reinterpret_cast<char *>(xname)); in GetStringMapValue() 169 strMap[name] = value; in GetStringMapValue() 182 return (xmlStrcmp(node->name, BAD_CAST(XML_TAG_DOCUMENT_HEADER)) == 0); in IsDocValid()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | db_dfx_adapter.cpp | 88 {.name = {"ORG_PKG"}, in ReportBehavior() 92 {.name = {"FUNC"}, in ReportBehavior() 96 {.name = {"BIZ_SCENE"}, in ReportBehavior() 100 {.name = {"BIZ_STATE"}, in ReportBehavior() 104 {.name = {"BIZ_STAGE"}, in ReportBehavior() 108 {.name = {"STAGE_RES"}, in ReportBehavior() 112 {.name = {"ERROR_CODE"}, in ReportBehavior()
|
/foundation/distributeddatamgr/pasteboard/framework/framework/clip/ |
H A D | clip_plugin.cpp | 22 bool ClipPlugin::RegCreator(const std::string &name, Factory *factory) in RegCreator() argument 24 auto it = factories_.find(name); in RegCreator() 28 factories_[name] = factory; in RegCreator() 32 ClipPlugin *ClipPlugin::CreatePlugin(const std::string &name) in CreatePlugin() argument 34 auto it = factories_.find(name); in CreatePlugin() 43 bool ClipPlugin::DestroyPlugin(const std::string &name, ClipPlugin *plugin) in DestroyPlugin() argument 49 auto it = factories_.find(name); in DestroyPlugin()
|
/foundation/filemanagement/file_api/utils/filemgmt_libn/include/ |
H A D | n_val.h | 89 static napi_property_descriptor DeclareNapiProperty(const char *name, napi_value val); 90 static napi_property_descriptor DeclareNapiStaticProperty(const char *name, napi_value val); 91 static napi_property_descriptor DeclareNapiFunction(const char *name, napi_callback func); 92 static napi_property_descriptor DeclareNapiStaticFunction(const char *name, napi_callback func); 93 static napi_property_descriptor DeclareNapiGetter(const char *name, napi_callback getter); 94 static napi_property_descriptor DeclareNapiSetter(const char *name, napi_callback setter); 96 DeclareNapiGetterSetter(const char *name, napi_callback getter, napi_callback setter);
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/plugins/av_trans_input/daudio_input/ |
H A D | daudio_input_plugin.cpp | 29 definition.name = "AVTransDaudioInputPlugin"; in CreateDaudioInputPluginDef() 33 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() argument 52 : AvTransInputPlugin(std::move(name)) in DaudioInputPlugin() 87 if ((sharedMemory_.fd > 0) && (sharedMemory_.size > 0) && !sharedMemory_.name.empty()) { in Pause() 146 if ((sharedMemory_.fd > 0) && (sharedMemory_.size > 0) && !sharedMemory_.name.empty()) { in PushData()
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/linux/ |
H A D | thread_linux.c | 46 char name[THREAD_NAME_SIZE + 1]; member 72 prctl(PR_SET_NAME, startPromise->name); in ThreadStartFunc() 123 Thread *ThreadCreate(const char *name) in ThreadCreate() argument 153 if (name != NULL) { in ThreadCreate() 154 (void)strncpy_s(promise->name, THREAD_NAME_SIZE + 1, name, THREAD_NAME_SIZE); in ThreadCreate() 156 (void)strncpy_s(promise->name, THREAD_NAME_SIZE + 1, THREAD_DEFAULT_NAME, THREAD_NAME_SIZE); in ThreadCreate()
|
/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | anr_thread.cpp | 40 bool AnrThread::PostTaskToTaskRunner(Task&& task, uint32_t delayTime, const std::string& name) in PostTaskToTaskRunner() argument 47 g_anrThread->PostDelayedTask(std::move(task), delayTime, name); in PostTaskToTaskRunner() local 49 g_anrThread->PostTask(std::move(task), name); in PostTaskToTaskRunner() local
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | anr_thread.cpp | 30 bool AnrThread::PostTaskToTaskRunner(Task&& task, uint32_t delayTime, const std::string& name) in PostTaskToTaskRunner() argument 35 name, std::move(task), delayTime * SECOND_TO_MILLISECOND); in PostTaskToTaskRunner() 37 OHOS::HiviewDFX::Watchdog::GetInstance().RunOneShotTask(name, std::move(task)); in PostTaskToTaskRunner()
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/hapmoduleinfo_fuzzer/ |
H A D | hapmoduleinfo_fuzzer.cpp | 30 std::string name (reinterpret_cast<const char*>(data), size); in DoSomethingInterestingWithMyAPI() 31 info.name = name; in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/extensionabilityinfo_fuzzer/ |
H A D | extensionabilityinfo_fuzzer.cpp | 30 std::string name (reinterpret_cast<const char*>(data), size); in DoSomethingInterestingWithMyAPI() 31 info.name = name; in DoSomethingInterestingWithMyAPI()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | gpu_resource_util_gles.h | 32 void DebugBufferNameGLES(const IDevice& device, const GpuBuffer& buffer, const BASE_NS::string_view name); 33 void DebugImageNameGLES(const IDevice& device, const GpuImage& image, const BASE_NS::string_view name); 34 void DebugSamplerNameGLES(const IDevice& device, const GpuSampler& sampler, const BASE_NS::string_view name);
|
/foundation/graphic/graphic_2d/rosen/samples/hello_vsync/ |
H A D | hello_vsync.cpp | 41 char name[] = "hello_vsync"; in main() local 42 OH_NativeVSync* nativeVSync = OH_NativeVSync_Create(name, strlen(name)); in main()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | gpu_resource_util.h | 36 void DebugBufferName(const IDevice& device, const GpuBuffer& buffer, const BASE_NS::string_view name); 37 void DebugImageName(const IDevice& device, const GpuImage& image, const BASE_NS::string_view name); 38 void DebugSamplerName(const IDevice& device, const GpuSampler& sampler, const BASE_NS::string_view name);
|
/foundation/graphic/graphic_2d/rosen/modules/composer/vsync/test/systemtest/ |
H A D | nativeVsync_getPeriod_test.cpp | 42 char name[] = "TestMultiTimes"; in HWTEST_F() local 43 OH_NativeVSync *native_vsync = OH_NativeVSync_Create(name, sizeof(name)); in HWTEST_F()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/include/ |
H A D | color_utils.h | 34 static void ColorSpaceGetCicp(ColorManager::ColorSpaceName name, uint16_t& primaries, uint16_t& transfer,
36 static uint16_t GetPrimaries(ColorManager::ColorSpaceName name);
38 static HDI::Display::Graphic::Common::V1_0::CM_ColorSpaceType ConvertToCMColor(ColorManager::ColorSpaceName name);
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/base/command_server/ |
H A D | command.cpp | 35 auto name = GetCommandName(); in Do() local 36 DP_INFO_LOG("call CommandName: %{public}s", name); in Do() 41 DP_DEBUG_LOG("CommandName: %{public}s Executing time (%{public}lld µs)", name, commandTimeCost); in Do()
|
/foundation/multimedia/image_effect/frameworks/native/effect/pipeline/factory/ |
H A D | filter_factory.cpp | 30 void FilterFactory::RegisterGenerator(const std::string &name, const InstanceGenerator &generator) in RegisterGenerator() argument 32 EFFECT_LOGI("Pipeline FilterFactory RegisterGenerator name=%{public}s", name.c_str()); in RegisterGenerator() 33 auto result = generators_.emplace(name, generator); in RegisterGenerator()
|
/foundation/communication/dsoftbus/tests/core/common/dfx/event/unittest/mock/ |
H A D | hisysevent_mock.cpp | 18 int HiSysEventMock::MockHiSysEvent_Write(const char *func, int64_t line, const char *domain, const char *name, in MockHiSysEvent_Write() argument 33 int HiSysEvent_Write(const char *func, int64_t line, const char *domain, const char *name, HiSysEventEventType type, in HiSysEvent_Write() argument 36 return HiSysEventMock::GetMock()->HiSysEvent_Write(func, line, domain, name, type, params, size); in HiSysEvent_Write()
|
/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/wifi_hal_module/wpa_supplicant_hal/ |
H A D | wifi_wpa_hal.h | 34 char name[WIFI_IFACE_NAME_MAXLEN]; member 39 char name[WIFI_IFACE_NAME_MAXLEN]; member 54 int (*wpaCliRemoveIface)(WifiWpaInterface *p, const char *name);
|
/foundation/filemanagement/app_file_service/tests/mock/timer/ |
H A D | timer_mock.cpp | 24 Timer::Timer(const std::string &name, int timeoutMs) in Timer() argument 26 GTEST_LOG_(INFO) << "Timer " << name << " ,timeoutMs " << timeoutMs; in Timer() 27 name_ = name; in Timer()
|
/foundation/resourceschedule/background_task_mgr/services/transient_task/src/ |
H A D | decision_maker.cpp | 160 ErrCode DecisionMaker::CheckQuotaTime(const std::shared_ptr<PkgDelaySuspendInfo>& pkgInfo, const std::string &name, in CheckQuotaTime() argument 166 IsTransientTaskExemptedQuatoApp(name); in CheckQuotaTime() 167 BGTASK_LOGI("pkgname %{public}s has no quota time, isExemptedApp %{public}d", name.c_str(), isExemptedApp); in CheckQuotaTime() 199 const string &name = key->GetPkg(); in Decide() local 203 pkgDelaySuspendInfoMap_[key] = make_shared<PkgDelaySuspendInfo>(name, uid, timerManager_); in Decide() 207 ErrCode ret = CheckQuotaTime(pkgInfo, name, uid, key, needSetTime); in Decide() 213 auto appInfo = make_shared<TransientTaskAppInfo>(name, uid, key->GetPid()); in Decide() 218 auto info = make_shared<TransientTaskAppInfo>(name, uid); in Decide() 231 ErrCode DecisionMaker::PauseTransientTaskTimeForInner(int32_t uid, const std::string &name) in PauseTransientTaskTimeForInner() argument 234 auto key = std::make_shared<KeyInfo>(name, ui in PauseTransientTaskTimeForInner() 250 StartTransientTaskTimeForInner(int32_t uid, const std::string &name) StartTransientTaskTimeForInner() argument [all...] |