Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 25 of 133) sorted by relevance

123456

/base/msdp/device_status/utils/common/include/
Dutil_napi.h32 #define CHKRV(state, desc) \ argument
35 FI_HILOGE("%{public}s failed", std::string(desc).c_str()); \
40 #define CHKRP(state, desc) \ argument
43 FI_HILOGE("%{public}s failed", std::string(desc).c_str()); \
48 #define CHKRF(state, desc) \ argument
51 FI_HILOGE("%{public}s failed", std::string(desc).c_str()); \
56 #define CHKRV_SCOPE(env, state, desc, scope) \ argument
59 FI_HILOGE("%{public}s failed", std::string(desc).c_str()); \
65 #define CHKRF_SCOPE(env, state, desc, scope) \ argument
68 FI_HILOGE("%{public}s failed", std::string(desc).c_str()); \
[all …]
/base/security/certificate_framework/frameworks/js/napi/certificate/src/
Dnapi_certificate_init.cpp45 napi_property_descriptor desc[] = { in DefineEncodingFormatProperties() local
48 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineEncodingFormatProperties()
74 napi_property_descriptor desc[] = { in DefineResultCodeProperties() local
77 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineResultCodeProperties()
96 napi_property_descriptor desc[] = { in DefineCertItemTypeProperties() local
99 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineCertItemTypeProperties()
116 napi_property_descriptor desc[] = { in DefineExtensionOidTypeProperties() local
119 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineExtensionOidTypeProperties()
137 napi_property_descriptor desc[] = { in DefineExtensionEntryTypeProperties() local
140 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineExtensionEntryTypeProperties()
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_init.cpp53 napi_property_descriptor desc[] = { in DefineCryptoModeProperties() local
56 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineCryptoModeProperties()
76 napi_property_descriptor desc[] = { in DefineResultCodeProperties() local
79 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineResultCodeProperties()
116 napi_property_descriptor desc[] = { in DefineAsyKeySpecItemProperties() local
119 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineAsyKeySpecItemProperties()
137 napi_property_descriptor desc[] = { in DefineAsyKeySpecTypeProperties() local
140 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineAsyKeySpecTypeProperties()
158 napi_property_descriptor desc[] = { in DefineCipherSpecItemProperties() local
161 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineCipherSpecItemProperties()
[all …]
/base/powermgr/power_manager/frameworks/napi/runninglock/
Drunninglock_module.cpp58 napi_property_descriptor desc[] = { in CreateRunningLockClass() local
71 sizeof(desc) / sizeof(*desc), desc, &result); in CreateRunningLockClass()
96 napi_property_descriptor desc[] = { in CreateRunningLockType() local
102 sizeof(desc) / sizeof(*desc), desc, &result); in CreateRunningLockType()
128 napi_property_descriptor desc[] = { in RunningLockInit() local
135 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in RunningLockInit()
/base/startup/hvb/libhvb/src/rvt/
Dhvb_rvt.c95 enum hvb_errno hvb_rvt_pubk_desc_parser(const struct hvb_buf *pubk, struct rvt_pubk_desc *desc) in hvb_rvt_pubk_desc_parser() argument
99 hvb_return_hvb_err_if_null(desc); in hvb_rvt_pubk_desc_parser()
101 if (pubk->size < sizeof(*desc)) { in hvb_rvt_pubk_desc_parser()
106 hvb_memcpy(desc, pubk->addr, sizeof(*desc)); in hvb_rvt_pubk_desc_parser()
111 …vb_rvt_get_pubk_buf(struct hvb_buf *key_buf, const struct hvb_buf *rvt, struct rvt_pubk_desc *desc) in hvb_rvt_get_pubk_buf() argument
116 hvb_return_hvb_err_if_null(desc); in hvb_rvt_get_pubk_buf()
118 key_buf->addr = rvt->addr + desc->pubkey_offset; in hvb_rvt_get_pubk_buf()
119 key_buf->size = desc->pubkey_len; in hvb_rvt_get_pubk_buf()
/base/powermgr/power_manager/frameworks/napi/power/
Dpower_module.cpp52 napi_property_descriptor desc[] = { in CreateDevicePowerMode() local
60 sizeof(desc) / sizeof(*desc), desc, &result); in CreateDevicePowerMode()
74 napi_property_descriptor desc[] = { in PowerInit() local
91 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in PowerInit()
/base/telephony/core_service/services/core/src/
Dcore_service_hisysevent.cpp79 …erviceHiSysEvent::WriteDialCallFaultEvent(int32_t slotId, int32_t errCode, const std::string &desc) in WriteDialCallFaultEvent() argument
82 …VALID_PARAMETER, VIDEO_STATE_KEY, INVALID_PARAMETER, ERROR_TYPE_KEY, errCode, ERROR_MSG_KEY, desc); in WriteDialCallFaultEvent()
85 …viceHiSysEvent::WriteAnswerCallFaultEvent(int32_t slotId, int32_t errCode, const std::string &desc) in WriteAnswerCallFaultEvent() argument
88 …VALID_PARAMETER, VIDEO_STATE_KEY, INVALID_PARAMETER, ERROR_TYPE_KEY, errCode, ERROR_MSG_KEY, desc); in WriteAnswerCallFaultEvent()
91 …eServiceHiSysEvent::WriteHangUpFaultEvent(int32_t slotId, int32_t errCode, const std::string &desc) in WriteHangUpFaultEvent() argument
94 INVALID_PARAMETER, ERROR_TYPE_KEY, errCode, ERROR_MSG_KEY, desc); in WriteHangUpFaultEvent()
98 int32_t slotId, SmsMmsMessageType type, SmsMmsErrorCode errorCode, const std::string &desc) in WriteSmsSendFaultEvent() argument
101 … static_cast<int32_t>(type), ERROR_TYPE_KEY, static_cast<int32_t>(errorCode), ERROR_MSG_KEY, desc); in WriteSmsSendFaultEvent()
105 int32_t slotId, SmsMmsMessageType type, SmsMmsErrorCode errorCode, const std::string &desc) in WriteSmsReceiveFaultEvent() argument
108 … static_cast<int32_t>(type), ERROR_TYPE_KEY, static_cast<int32_t>(errorCode), ERROR_MSG_KEY, desc); in WriteSmsReceiveFaultEvent()
/base/notification/distributed_notification_service/frameworks/js/napi/src/subscribe/
Dinit_module.cpp32 napi_property_descriptor desc[] = { in NotificationSubscribeInit() local
39 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in NotificationSubscribeInit()
/base/telephony/core_service/services/core/include/
Dcore_service_hisysevent.h41 static void WriteDialCallFaultEvent(int32_t slotId, int32_t errCode, const std::string &desc);
42 static void WriteAnswerCallFaultEvent(int32_t slotId, int32_t errCode, const std::string &desc);
43 static void WriteHangUpFaultEvent(int32_t slotId, int32_t errCode, const std::string &desc);
45 int32_t slotId, SmsMmsMessageType type, SmsMmsErrorCode errorCode, const std::string &desc);
47 int32_t slotId, SmsMmsMessageType type, SmsMmsErrorCode errorCode, const std::string &desc);
/base/powermgr/battery_manager/frameworks/napi/
Dbattery_info.cpp221 napi_property_descriptor desc[] = { in CreateEnumHealthState() local
231 sizeof(desc) / sizeof(*desc), desc, &result); in CreateEnumHealthState()
256 napi_property_descriptor desc[] = { in CreateEnumLevelState() local
267 sizeof(desc) / sizeof(*desc), desc, &result); in CreateEnumLevelState()
299 napi_property_descriptor desc[] = { in CreateEnumChargeState() local
308 sizeof(desc) / sizeof(*desc), desc, &result); in CreateEnumChargeState()
340 napi_property_descriptor desc[] = { in CreateEnumPluggedType() local
349 sizeof(desc) / sizeof(*desc), desc, &result); in CreateEnumPluggedType()
391 napi_property_descriptor desc[] = { in CreateEventBatteryChangedKey() local
405 sizeof(desc) / sizeof(*desc), desc, &result); in CreateEventBatteryChangedKey()
[all …]
Dcharger.cpp59 napi_property_descriptor desc[] = { in CreateEnumChargeType() local
71 sizeof(desc) / sizeof(*desc), desc, &result); in CreateEnumChargeType()
/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_action_hub_test.cpp230 std::string desc = ""; variable
237 thermalMgrClient.SubscribeThermalActionCallback(actionList, desc, cb1);
260 std::string desc = ""; variable
267 thermalMgrClient.SubscribeThermalActionCallback(actionList, desc, cb2);
292 std::string desc = ""; variable
299 thermalMgrClient.SubscribeThermalActionCallback(actionList, desc, cb3);
323 std::string desc = ""; variable
330 thermalMgrClient.SubscribeThermalActionCallback(actionList, desc, cb4);
355 std::string desc = ""; variable
362 thermalMgrClient.SubscribeThermalActionCallback(actionList, desc, cb5);
[all …]
/base/startup/init/services/begetctl/shell/
Dshell.h49 char *desc; member
55 char *desc; member
69 char *desc; member
74 char *desc; member
97 int BShellEnvSetParam(BShellHandle handle, const char *name, const char *desc, BShellParamType type…
/base/powermgr/battery_statistics/frameworks/napi/src/
Dbattery_stats_module.cpp113 napi_property_descriptor desc[] = { in CreateEnumStatsType() local
126 sizeof(desc) / sizeof(*desc), desc, &result); in CreateEnumStatsType()
138 napi_property_descriptor desc[] = { in BatteryStatsInit() local
145 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in BatteryStatsInit()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dinit.cpp42 napi_property_descriptor desc[] = { in NotificationInit() local
88 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in NotificationInit()
/base/telephony/call_manager/services/call_manager_service/src/
Dcall_manager_hisysevent.cpp72 const int32_t videoState, const int32_t errCode, const std::string &desc) in WriteIncomingCallFaultEvent() argument
78 ERROR_MSG_KEY, desc); in WriteIncomingCallFaultEvent()
81 …ALL_TYPE_KEY, callType, VIDEO_STATE_KEY, videoState, ERROR_TYPE_KEY, errCode, ERROR_MSG_KEY, desc); in WriteIncomingCallFaultEvent()
86 const int32_t videoState, const int32_t errCode, const std::string &desc) in WriteDialCallFaultEvent() argument
92 ERROR_MSG_KEY, desc); in WriteDialCallFaultEvent()
95 …ALL_TYPE_KEY, callType, VIDEO_STATE_KEY, videoState, ERROR_TYPE_KEY, errCode, ERROR_MSG_KEY, desc); in WriteDialCallFaultEvent()
100 const int32_t videoState, const int32_t errCode, const std::string &desc) in WriteAnswerCallFaultEvent() argument
106 ERROR_MSG_KEY, desc); in WriteAnswerCallFaultEvent()
109 … CALL_ID_KEY, callId, VIDEO_STATE_KEY, videoState, ERROR_TYPE_KEY, errCode, ERROR_MSG_KEY, desc); in WriteAnswerCallFaultEvent()
114 const int32_t slotId, const int32_t callId, const int32_t errCode, const std::string &desc) in WriteHangUpFaultEvent() argument
[all …]
/base/hiviewdfx/hichecker/interfaces/js/kits/napi/src/
Dnapi_hichecker.cpp101 napi_property_descriptor desc[] = { in DeclareHiCheckerInterface() local
110 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in DeclareHiCheckerInterface()
117 napi_property_descriptor desc[] = { in DeclareHiCheckerRuleEnum() local
129 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in DeclareHiCheckerRuleEnum()
/base/telephony/call_manager/services/call_manager_service/include/
Dcall_manager_hisysevent.h40 const int32_t errCode, const std::string &desc);
42 const int32_t errCode, const std::string &desc);
44 const int32_t errCode, const std::string &desc);
46 const int32_t slotId, const int32_t callId, const int32_t errCode, const std::string &desc);
/base/update/updateservice/frameworks/js/napi/client/
Dupdate_module.cpp34 napi_property_descriptor *desc; member
302 nativeClass.constructor, nullptr, nativeClass.descSize, nativeClass.desc, &result); in DefineClass()
316 napi_property_descriptor desc[] = { in DefineRestorer() local
324 .desc = desc, in DefineRestorer()
325 .descSize = COUNT_OF(desc) in DefineRestorer()
332 napi_property_descriptor desc[] = { in DefineLocalUpdater() local
344 .desc = desc, in DefineLocalUpdater()
345 .descSize = COUNT_OF(desc) in DefineLocalUpdater()
352 napi_property_descriptor desc[] = { in DefineUpdateClient() local
376 .desc = desc, in DefineUpdateClient()
[all …]
/base/web/webview/ohos_adapter/audio_adapter/src/
Daudio_system_manager_adapter_impl.cpp216 AudioAdapterDeviceDesc desc; in GetDevices() local
217 desc.deviceId = audioDevice->deviceId_; in GetDevices()
220 desc.deviceName = deviceTypeKey->second; in GetDevices()
222 audioAdapterDeviceList.emplace_back(desc); in GetDevices()
227 int32_t AudioSystemManagerAdapterImpl::SelectAudioDevice(AudioAdapterDeviceDesc desc, bool isInput)… in SelectAudioDevice() argument
237 if (!isInput && desc.deviceId == ADAPTER_AUDIO_DEFAULT_DEVICE_ID) { in SelectAudioDevice()
250 if (device->deviceId_ == desc.deviceId) { in SelectAudioDevice()
269 AudioAdapterDeviceDesc desc; in GetDefaultOutputDevice() local
271 desc.deviceId = defaultOutputDevice[0]->deviceId_; in GetDefaultOutputDevice()
273 desc.deviceName = deviceTypeKey->second; in GetDefaultOutputDevice()
[all …]
/base/telephony/call_manager/services/audio/src/
Daudio_proxy.cpp273 std::vector<sptr<AudioStandard::AudioDeviceDescriptor>> desc; in GetPreferredOutputAudioDevice() local
275 …d::AudioRoutingManager::GetInstance()->GetPreferredOutputDeviceForRendererInfo(rendererInfo, desc); in GetPreferredOutputAudioDevice()
280 if (desc.size() == NO_DEVICE_VALID) { in GetPreferredOutputAudioDevice()
284 switch (desc[0]->deviceType_) { in GetPreferredOutputAudioDevice()
291 if (memcpy_s(device.address, kMaxAddressLen, desc[0]->macAddress_.c_str(), in GetPreferredOutputAudioDevice()
292 desc[0]->macAddress_.length()) != EOK) { in GetPreferredOutputAudioDevice()
348 const std::vector<sptr<AudioStandard::AudioDeviceDescriptor>> &desc) in OnPreferredOutputDeviceUpdated() argument
351 if (desc.size() == NO_DEVICE_VALID) { in OnPreferredOutputDeviceUpdated()
355 switch (desc[0]->deviceType_) { in OnPreferredOutputDeviceUpdated()
362 if (memcpy_s(device.address, kMaxAddressLen, desc[0]->macAddress_.c_str(), in OnPreferredOutputDeviceUpdated()
[all …]
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
Dnative_module_manager.cpp29 napi_property_descriptor desc[] = { in ReminderAgentManagerInit() local
37 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in ReminderAgentManagerInit()
Dnative_module.cpp29 napi_property_descriptor desc[] = { in ReminderAgentInit() local
37 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in ReminderAgentInit()
/base/security/certificate_manager/interfaces/kits/napi/src/
Dcm_napi.cpp78 napi_property_descriptor desc[] = { in CMNapiRegister() local
109 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in CMNapiRegister()
/base/customization/enterprise_device_management/test/unittest/src/
Dpolicy_serializer_test.cpp201 { "desc", "hello" },
207 { "desc", "world" },
247 { "desc", "hello" },
252 { "desc", "world" },
276 { "desc", "hello" },
281 { "desc", "world" },
288 { "desc", "hello" },

123456