/foundation/ability/ability_runtime/services/common/include/ |
H A D | event_report.h | 135 static void LogErrorEvent(const std::string &name, HiSysEventType type, const EventInfo &eventInfo); 136 static void LogStartAbilityEvent(const std::string &name, HiSysEventType type, const EventInfo &eventInfo); 137 static void LogTerminateAbilityEvent(const std::string &name, HiSysEventType type, const EventInfo &eventInfo); 138 static void LogAbilityOnForegroundEvent(const std::string &name, HiSysEventType type, const EventInfo &eventInfo); 139 static void LogAbilityOnBackgroundEvent(const std::string &name, HiSysEventType type, const EventInfo &eventInfo); 140 static void LogAbilityOnActiveEvent(const std::string &name, HiSysEventType type, const EventInfo &eventInfo); 141 static void LogStartStandardEvent(const std::string &name, HiSysEventType type, const EventInfo &eventInfo); 142 static void LogStartAbilityByAppLinking(const std::string &name, HiSysEventType type, const EventInfo &eventInfo);
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | ark_js_value.h | 72 shared_ptr<JsValue> GetProperty(shared_ptr<JsRuntime> runtime, const std::string &name) override; 73 shared_ptr<JsValue> GetProperty(shared_ptr<JsRuntime> runtime, const shared_ptr<JsValue> &name) override; 75 bool SetProperty(shared_ptr<JsRuntime> runtime, const std::string &name, const shared_ptr<JsValue> &value) override; 76 bool SetProperty(shared_ptr<JsRuntime> runtime, const shared_ptr<JsValue> &name, 78 bool SetAccessorProperty(shared_ptr<JsRuntime> runtime, const std::string &name, const shared_ptr<JsValue> &getter, 80 bool SetAccessorProperty(shared_ptr<JsRuntime> runtime, const shared_ptr<JsValue> &name, 83 bool HasProperty(shared_ptr<JsRuntime> runtime, const std::string &name) override; 84 bool HasProperty(shared_ptr<JsRuntime> runtime, const shared_ptr<JsValue> &name) override;
|
/foundation/barrierfree/accessibility/services/aams/test/mock/src/aafwk/ |
H A D | system_ability_manager.cpp | 105 bool SystemAbilityManager::IsNameInValid(const std::u16string& name) in IsNameInValid() argument 107 (void)name; in IsNameInValid() 184 void SystemAbilityManager::SetDeviceName(const std::u16string& name) in SetDeviceName() argument 186 (void)name; in SetDeviceName() 194 void SystemAbilityManager::NotifyRemoteSaDied(const std::u16string& name) in NotifyRemoteSaDied() argument 196 (void)name; in NotifyRemoteSaDied() 204 void SystemAbilityManager::ParseRemoteSaName(const std::u16string& name, std::string& deviceId, std::u16string& saName) in ParseRemoteSaName() argument 206 (void)name; in ParseRemoteSaName()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
H A D | list_tdd_test.cpp | 72 if (strcmp(className, typeid(*listView).name()) == 0 && in ListTest001() 78 EXPECT_TRUE(strcmp(className, typeid(*listView).name()) == 0 && in ListTest001() 114 if (strcmp(className, typeid(*listView).name()) == 0 && in ListTest002() 120 EXPECT_TRUE(strcmp(className, typeid(*listView).name()) == 0 && in ListTest002() 156 if (strcmp(className, typeid(*listView).name()) == 0 && in ListTest003() 162 EXPECT_TRUE(strcmp(className, typeid(*listView).name()) == 0 && in ListTest003() 198 if (strcmp(className, typeid(*listView).name()) == 0 && in ListTest004() 204 EXPECT_TRUE(strcmp(className, typeid(*listView).name()) == 0 && in ListTest004() 222 * @tc.name: Component_List_Create_Test_001 231 * @tc.name [all...] |
/foundation/multimedia/audio_framework/services/audio_service/server/src/ |
H A D | audio_effect_server.cpp | 89 AUDIO_INFO_LOG("<log info> loading %{public}s : %{public}s", library.name.c_str(), library.path.c_str()); in LoadLibraries() 92 libEntry->libraryName = library.name; in LoadLibraries() 113 std::shared_ptr<AudioEffectLibEntry> FindLibrary(const std::string &name, in FindLibrary() argument 117 if (lib->libraryName == name) { in FindLibrary() 130 effect.libraryName.c_str(), effect.name.c_str()); in LoadEffect() 136 descriptor.effectName = effect.name; in LoadEffect() 140 currentLibEntry->effectName.push_back(effect.name); in LoadEffect() 143 effect.name.c_str(), effect.libraryName.c_str()); in LoadEffect()
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/ |
H A D | metadata_helpers.h | 33 auto p = meta->GetPropertyByName(pm.name); in ConstructPropertiesFromMetadata() 84 auto p = meta->GetEventByName(pm.name); in ConstructEventsFromMetadata() 120 META_NS::nullptr_t RegisterStaticPropertyMetadata(const META_NS::InterfaceInfo& intf, BASE_NS::string_view name, \ 125 META_NS::PropertyMetadata { name, intf, flags, META_NS::UidFromType<Type>(), ctor, init }); \ 130 META_NS::nullptr_t RegisterStaticEventMetadata(const META_NS::InterfaceInfo& intf, BASE_NS::string_view name, \ 134 StaticObjectMeta().events.push_back(META_NS::EventMetadata { name, intf, Type::UID, ctor, init }); \ 138 META_NS::nullptr_t RegisterStaticFunctionMetadata(const META_NS::InterfaceInfo& intf, BASE_NS::string_view name, \ 142 StaticObjectMeta().functions.push_back(META_NS::FunctionMetadata { name, intf, ctor, context }); \
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/property/ |
H A D | construct_property.h | 55 Property<T> ConstructProperty(IObjectRegistry& obr, BASE_NS::string_view name, const T& value = {}, in ConstructProperty() argument 58 Property<T> p(NOCHECK, obr.GetPropertyRegister().Create(ClassId::StackProperty, name)); 72 BASE_NS::string_view name, const T& value = {}, ObjectFlagBitsValue flags = ObjectFlagBits::SERIALIZE) in ConstructProperty() 74 return ConstructProperty(GetObjectRegistry(), name, value, flags); 79 BASE_NS::string_view name, const Param& value = {}, ObjectFlagBitsValue flags = ObjectFlagBits::SERIALIZE) in ConstructProperty() 82 Property<typename T::TypePtr> p(NOCHECK, obr.GetPropertyRegister().Create(ClassId::StackProperty, name)); 100 BASE_NS::string_view name, const IAny& value, ObjectFlagBitsValue flags = ObjectFlagBits::SERIALIZE) in ConstructPropertyAny() 102 auto p = GetObjectRegistry().GetPropertyRegister().Create(ClassId::StackProperty, name); in ConstructPropertyAny() 71 ConstructProperty( BASE_NS::string_view name, const T& value = {}, ObjectFlagBitsValue flags = ObjectFlagBits::SERIALIZE) ConstructProperty() argument 78 ConstructProperty( BASE_NS::string_view name, const Param& value = {}, ObjectFlagBitsValue flags = ObjectFlagBits::SERIALIZE) ConstructProperty() argument 99 ConstructPropertyAny( BASE_NS::string_view name, const IAny& value, ObjectFlagBitsValue flags = ObjectFlagBits::SERIALIZE) ConstructPropertyAny() argument
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/color_manager/color_space_object_convertor/ |
H A D | js_color_space_utils.cpp | 28 napi_status BindNativeFunction(napi_env env, napi_value object, const char* name, in BindNativeFunction() argument 36 fullName += name; in BindNativeFunction() 140 bool ParseJsDoubleValue(napi_value jsObject, napi_env env, const std::string& name, double& data) in ParseJsDoubleValue() argument 143 if (napi_get_named_property(env, jsObject, name.c_str(), &value) != napi_ok) { in ParseJsDoubleValue() 144 CMLOGE("[NAPI]Failed to get property: %{public}s", name.c_str()); in ParseJsDoubleValue() 149 CMLOGE("[NAPI]data type is invalied: %{public}s", name.c_str()); in ParseJsDoubleValue() 154 CMLOGE("[NAPI]Failed to convert parameter to data: %{public}s", name.c_str()); in ParseJsDoubleValue() 158 CMLOGI("[NAPI]no property with: %{public}s", name.c_str()); in ParseJsDoubleValue()
|
/foundation/multimedia/media_foundation/interface/inner_api/plugin/ |
H A D | plugin_definition.h | 77 std::string name; ///< Package name. The plugin framework registers the plugin using this name. member 78 ///< If the plugins are packaged as a dynamic library, the name of library 79 ///< must be in the format of "libplugin_<name>.so". 135 using PluginCreatorFunc = std::function<std::shared_ptr<T>(const std::string& name)>; 138 using PluginSnifferFunc = int (*)(const std::string& name, std::shared_ptr<DataSource> dataSource); 151 std::string name; ///< Indicates the name of a plugin. The name o member [all...] |
/foundation/multimedia/av_session/services/session/server/softbus/ |
H A D | softbus_distributed_data_manager.cpp | 40 std::string sessionName = info.name;
in SessionOpened() 41 peerSocketInfo.name = info.name;
in SessionOpened() 55 if (peerSocketInfo.name != CONFIG_SOFTBUS_SESSION_TAG) {
in SessionClosed() 64 if (peerSocketInfo.name != CONFIG_SOFTBUS_SESSION_TAG) {
in MessageReceived() 66 peerSocketInfo.name);
in MessageReceived() 75 if (peerSocketInfo.name != CONFIG_SOFTBUS_SESSION_TAG) {
in BytesReceived() 77 peerSocketInfo.name);
in BytesReceived()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/ |
H A D | avrcp_ct_state_machine.cpp | 22 /// The name of state "CONNECTING". 24 /// The name of state "CONNECTED". 26 /// The name of state "DISCONNECTING". 28 /// The name of state "PENDING". 30 /// The name of state "BUSY". 32 /// The name of state "CONTINUATION". 34 /// The name of state "DISABLE". 387 AvrcCtStateMachineManager::StateMachine::State::State(const std::string &name, utility::StateMachine &stateMachine, in State() argument 389 : utility::StateMachine::State(name, stateMachine, parent), rawAddr_(rawAddr) in State() 395 const std::string &name, utilit in State() 394 State( const std::string &name, utility::StateMachine &stateMachine, const RawAddress &rawAddr) State() argument 410 CtConnecting( const std::string &name, utility::StateMachine &stateMachine, const RawAddress &rawAddr) CtConnecting() argument 467 CtConnected(const std::string &name, utility::StateMachine &stateMachine, const RawAddress &rawAddr, utility::StateMachine::State &parent) CtConnected() argument 549 CtDisconnecting(const std::string &name, utility::StateMachine &stateMachine, const RawAddress &rawAddr, utility::StateMachine::State &parent) CtDisconnecting() argument 594 CtPending(const std::string &name, utility::StateMachine &stateMachine, const RawAddress &rawAddr, utility::StateMachine::State &parent) CtPending() argument 633 CtContinuation(const std::string &name, utility::StateMachine &stateMachine, const RawAddress &rawAddr, utility::StateMachine::State &parent) CtContinuation() argument 673 CtDisable(const std::string &name, utility::StateMachine &stateMachine, const RawAddress &rawAddr, utility::StateMachine::State &parent) CtDisable() argument 721 BrConnecting( const std::string &name, utility::StateMachine &stateMachine, const RawAddress &rawAddr) BrConnecting() argument 772 BrConnected(const std::string &name, utility::StateMachine &stateMachine, const RawAddress &rawAddr, utility::StateMachine::State &parent) BrConnected() argument 825 BrDisconnecting(const std::string &name, utility::StateMachine &stateMachine, const RawAddress &rawAddr, utility::StateMachine::State &parent) BrDisconnecting() argument 870 BrPending(const std::string &name, utility::StateMachine &stateMachine, const RawAddress &rawAddr, utility::StateMachine::State &parent) BrPending() argument [all...] |
/foundation/multimedia/media_foundation/src/buffer/avsharedmemory/ |
H A D | avsharedmemorybase.cpp | 33 AVSharedMemoryBaseImpl(int32_t fd, int32_t size, uint32_t flags, const std::string &name) in AVSharedMemoryBaseImpl() 34 : AVSharedMemoryBase(fd, size, flags, name) {} in AVSharedMemoryBaseImpl() 38 int32_t size, uint32_t flags, const std::string &name) in CreateFromLocal() 40 std::shared_ptr<AVSharedMemoryBase> memory = std::make_shared<AVSharedMemoryBase>(size, flags, name); in CreateFromLocal() 51 int32_t fd, int32_t size, uint32_t flags, const std::string &name) in CreateFromRemote() 53 std::shared_ptr<AVSharedMemoryBase> memory = std::make_shared<AVSharedMemoryBaseImpl>(fd, size, flags, name); in CreateFromRemote() 63 AVSharedMemoryBase::AVSharedMemoryBase(int32_t size, uint32_t flags, const std::string &name) in AVSharedMemoryBase() argument 64 : base_(nullptr), capacity_(size), flags_(flags), name_(name), fd_(-1), size_(0) in AVSharedMemoryBase() 66 MEDIA_LOG_DD(LOGD_FREQUENCY, "enter ctor, instance: 0x%{public}06" PRIXPTR ", name = %{public}s", in AVSharedMemoryBase() 70 AVSharedMemoryBase::AVSharedMemoryBase(int32_t fd, int32_t size, uint32_t flags, const std::string &name) in AVSharedMemoryBase() argument 37 CreateFromLocal( int32_t size, uint32_t flags, const std::string &name) CreateFromLocal() argument 50 CreateFromRemote( int32_t fd, int32_t size, uint32_t flags, const std::string &name) CreateFromRemote() argument [all...] |
/foundation/multimodalinput/input/service/crown_transform_processor/test/src/ |
H A D | crown_transform_processor_test.cpp | 69 MMI_HILOGD("Device node name: %{public}s", vCrown_.GetDevPath().c_str()); in SetupCrown() 108 * @tc.name: CrownTransformProcessorTest_GetPointerEvent_001 121 * @tc.name: CrownTransformProcessorTest_IsCrownEvent_002 135 std::string name = libinput_device_get_name(dev); in HWTEST_F() local 136 MMI_HILOGD("Pointer device: %{public}s", name.c_str()); in HWTEST_F() 142 * @tc.name: CrownTransformProcessorTest_NormalizeRotateEvent_003 156 std::string name = libinput_device_get_name(dev); in HWTEST_F() local 157 MMI_HILOGD("Pointer device: %{public}s", name.c_str()); in HWTEST_F() 163 * @tc.name: CrownTransformProcessorTest_HandleCrownRotateBegin_004 177 std::string name in HWTEST_F() local 200 std::string name = libinput_device_get_name(dev); HWTEST_F() local 235 std::string name = libinput_device_get_name(dev); HWTEST_F() local [all...] |
/foundation/window/window_manager/test/systemtest/wms/ |
H A D | window_split_test.cpp | 51 .name = "", in SetUp() 61 .name = "", in SetUp() 83 * @tc.name: SplitWindow01 89 fullInfo_.name = "fullscreen.1"; in HWTEST_F() 91 splitInfo_.name = "primary.1"; in HWTEST_F() 126 * @tc.name: SplitWindow02 132 fullInfo_.name = "fullscreen.2"; in HWTEST_F() 134 splitInfo_.name = "secondary.2"; in HWTEST_F() 167 * @tc.name: SplitScreen03 173 fullInfo_.name in HWTEST_F() [all...] |
/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/cloud_disk/ |
H A D | file_operations_cloud.cpp | 82 childInode->fileName = metaBase.name; in InitInodeAttr() 169 static int32_t LookupRecycledFile(struct CloudDiskFuseData *data, const char *name, in LookupRecycledFile() argument 173 MetaBase metaBase(name); in LookupRecycledFile() 178 LOGE("file %{public}s not found in recyclebin", GetAnonyString(name).c_str()); in LookupRecycledFile() 184 string nameStr = name; in LookupRecycledFile() 186 metaBase.name = nameStr.substr(0, lastSlash); in LookupRecycledFile() 197 static int32_t DoCloudLookup(fuse_req_t req, fuse_ino_t parent, const char *name, in DoCloudLookup() argument 213 if (name == RECYCLE_NAME) { in DoCloudLookup() 217 int32_t ret = LookupRecycledFile(data, name, parentInode->bundleName, e); in DoCloudLookup() 224 MetaBase metaBase(name); in DoCloudLookup() 245 Lookup(fuse_req_t req, fuse_ino_t parent, const char *name) Lookup() argument 478 DoCreatFile(fuse_req_t req, fuse_ino_t parent, const char *name, mode_t mode, struct fuse_entry_param &e) DoCreatFile() argument 531 MkNod(fuse_req_t req, fuse_ino_t parent, const char *name, mode_t mode, dev_t rdev) MkNod() argument 549 Create(fuse_req_t req, fuse_ino_t parent, const char *name, mode_t mode, struct fuse_file_info *fi) Create() argument 731 CheckXattr(const char *name) CheckXattr() argument 749 HandleCloudLocation(fuse_req_t req, fuse_ino_t ino, const char *name, const char *value) HandleCloudLocation() argument 779 HandleCloudRecycle(fuse_req_t req, fuse_ino_t ino, const char *name, const char *value) HandleCloudRecycle() argument 823 HandleFavorite(fuse_req_t req, fuse_ino_t ino, const char *name, const char *value) HandleFavorite() argument 847 HandleExtAttribute(fuse_req_t req, fuse_ino_t ino, const char *name, const char *value) HandleExtAttribute() argument 869 SetXattr(fuse_req_t req, fuse_ino_t ino, const char *name, const char *value, size_t size, int flags) SetXattr() argument 972 GetXattr(fuse_req_t req, fuse_ino_t ino, const char *name, size_t size) GetXattr() argument 1020 MkDir(fuse_req_t req, fuse_ino_t parent, const char *name, mode_t mode) MkDir() argument 1073 DoCloudUnlink(fuse_req_t req, fuse_ino_t parent, const char *name) DoCloudUnlink() argument 1125 RmDir(fuse_req_t req, fuse_ino_t parent, const char *name) RmDir() argument 1176 Unlink(fuse_req_t req, fuse_ino_t parent, const char *name) Unlink() argument 1194 Rename(fuse_req_t req, fuse_ino_t parent, const char *name, fuse_ino_t newParent, const char *newName, unsigned int flags) Rename() argument [all...] |
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/applicationinfofromjson_fuzzer/ |
H A D | applicationinfofromjson_fuzzer.cpp | 28 const char NAME[] = "name"; 36 std::string name (reinterpret_cast<const char*>(data), size); in fuzzabilityinfromjson() 37 infoJson[NAME] = name; in fuzzabilityinfromjson() 39 return !applicationInfo.name.empty(); in fuzzabilityinfromjson()
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundleinfofromjson_fuzzer/ |
H A D | bundleinfofromjson_fuzzer.cpp | 28 const char NAME[] = "name"; 36 std::string name (reinterpret_cast<const char*>(data), size); in fuzzabilityinfromjson() 37 infoJson[NAME] = name; in fuzzabilityinfromjson() 39 return !bundleInfo.name.empty(); in fuzzabilityinfromjson()
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/abilityinfofromjson_fuzzer/ |
H A D | abilityinfofromjson_fuzzer.cpp | 28 const char NAME[] = "name"; 36 std::string name (reinterpret_cast<const char*>(data), size); in fuzzabilityinfromjson() 37 infoJson[NAME] = name; in fuzzabilityinfromjson() 39 return !abilityInfo.name.empty(); in fuzzabilityinfromjson()
|
/foundation/systemabilitymgr/samgr/services/dfx/source/ |
H A D | hicollie_helper.cpp | 21 int HicollieHelper::AddThread(const std::string& name, std::shared_ptr<AppExecFwk::EventHandler> handler, in AddThread() argument 22 std::function<void(const std::string& name, int waitState)> timeOutCallback, uint64_t interval) in AddThread() 25 return HiviewDFX::Watchdog::GetInstance().AddThread(name, handler, timeOutCallback, interval); in AddThread()
|
/foundation/communication/dsoftbus/sdk/transmission/session/cpp/src/ |
H A D | session_set_timer.cpp | 23 int SetTimer(const char *name, unsigned int timeout) in SetTimer() argument 25 if (name == NULL) { in SetTimer() 28 std::string timerName = std::string(name); in SetTimer()
|
/foundation/communication/dsoftbus/adapter/common/include/ |
H A D | softbus_adapter_xcollie.h | 29 * @param name Indicates the point to the name of the timer. 39 int32_t SoftBusSetWatchdogTimer(const char *name, uint32_t timeout, void(*func)(void*), void *args); 52 * @param name Indicates the point to the name of the task. 53 * @param task Indicates the point to a short function name. 59 void SoftBusRunOneShotTask(const char *name, void(*task)(void), uint64_t delay); 63 * @param name Indicates the point to the name of the task. 64 * @param task Indicates the point to a short function name [all...] |
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/common/ |
H A D | softbus_adapter_bt_common_virtual.c | 51 int SoftBusGetBtName(unsigned char *name, unsigned int *len) in SoftBusGetBtName() argument 53 (void)name; in SoftBusGetBtName() 58 int SoftBusSetBtName(const char *name) in SoftBusSetBtName() argument
|
/foundation/ability/idl_tool/idl_tool_2/codegen/SA/type/ |
H A D | sa_array_type_emitter.h | 38 void EmitCppWriteVar(const std::string &parcelName, const std::string &name, StringBuilder &sb, 41 void EmitCppReadVar(const std::string &parcelName, const std::string &name, StringBuilder &sb, 44 void EmitTsWriteVar(const std::string &parcelName, const std::string &name, StringBuilder &sb, 47 void EmitTsReadVar(const std::string &parcelName, const std::string &name, StringBuilder &sb, 61 void EmitCppWriteVar(const std::string &parcelName, const std::string &name, StringBuilder &sb,
|
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/ |
H A D | nnrt_client.cpp | 26 void LoadFunction(void* handle, const char* name, T* nnrtFunction) in LoadFunction() argument 28 if (name == nullptr) { in LoadFunction() 29 LOGE("LoadFunction error: the function %s does not exist.", name); in LoadFunction() 33 void* fn = dlsym(handle, name); in LoadFunction() 35 LOGE("LoadFunction error: unable to open function %{public}s", name); in LoadFunction()
|
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app_startup/ |
H A D | startup_manager.h | 35 int32_t RegisterStartupTask(const std::string &name, const std::shared_ptr<StartupTask> &startupTask); 50 int32_t RemoveResult(const std::string &name); 52 int32_t GetResult(const std::string &name, std::shared_ptr<StartupTaskResult> &result); 54 int32_t IsInitialized(const std::string &name, bool &isInitialized); 66 int32_t AddStartupTask(const std::string &name,
|