/base/telephony/sms_mms/frameworks/js/napi/src/ |
D | napi_sms.cpp | 211 static int32_t MatchSendMessageParameters(napi_env env, napi_value parameters[], size_t parameterCo… in MatchSendMessageParameters() argument 213 bool match = (parameterCount == 1) && NapiUtil::MatchParameters(env, parameters, {napi_object}); in MatchSendMessageParameters() 217 napi_value object = parameters[0]; in MatchSendMessageParameters() 302 napi_value parameters[1] = {0}; in SendMessage() local 306 napi_get_cb_info(env, info, ¶meterCount, parameters, &thisVar, &data); in SendMessage() 307 int32_t messageMatchResult = MatchSendMessageParameters(env, parameters, parameterCount); in SendMessage() 319 ParseMessageParameter(messageMatchResult, env, parameters[0], *asyncContext); in SendMessage() 393 static bool MatchCreateMessageParameter(napi_env env, const napi_value parameters[], size_t paramet… in MatchCreateMessageParameter() argument 398 typeMatch = NapiUtil::MatchParameters(env, parameters, {napi_object, napi_string}); in MatchCreateMessageParameter() 402 … typeMatch = NapiUtil::MatchParameters(env, parameters, {napi_object, napi_string, napi_function}); in MatchCreateMessageParameter() [all …]
|
D | napi_mms.cpp | 633 int32_t GetMatchDecodeMmsResult(napi_env env, const napi_value parameters[], size_t parameterCount) in GetMatchDecodeMmsResult() argument 636 bool filePathIsStr = NapiUtil::MatchValueType(env, parameters[0], napi_string); in GetMatchDecodeMmsResult() 637 bool filePathIsObj = NapiUtil::MatchValueType(env, parameters[0], napi_object); in GetMatchDecodeMmsResult() 640 napi_is_array(env, parameters[0], &filePathIsArray); in GetMatchDecodeMmsResult() 656 napi_value parameters[TWO_PARAMETERS] = { 0 }; in DecodeMms() local 659 napi_get_cb_info(env, info, ¶meterCount, parameters, &thisVar, &data); in DecodeMms() 660 int32_t messageMatchResult = GetMatchDecodeMmsResult(env, parameters, parameterCount); in DecodeMms() 673 ParseDecodeMmsParam(env, parameters[0], *context); in DecodeMms() 675 napi_create_reference(env, parameters[1], DEFAULT_REF_COUNT, &context->callbackRef); in DecodeMms() 682 bool MatchEncodeMms(napi_env env, const napi_value parameters[], size_t parameterCount) in MatchEncodeMms() argument [all …]
|
/base/telephony/cellular_data/frameworks/js/napi/src/ |
D | napi_cellular_data.cpp | 50 static bool MatchCellularDataParameters(napi_env env, const napi_value parameters[], const size_t p… in MatchCellularDataParameters() argument 56 return NapiUtil::MatchParameters(env, parameters, {napi_function}); in MatchCellularDataParameters() 63 napi_env env, const napi_value parameters[], const size_t parameterCount) in MatchEnableCellularDataRoamingParameters() argument 69 return NapiUtil::MatchParameters(env, parameters, {napi_number}); in MatchEnableCellularDataRoamingParameters() 71 return NapiUtil::MatchParameters(env, parameters, {napi_number, napi_function}); in MatchEnableCellularDataRoamingParameters() 162 napi_value parameters[1]; in GetCellularDataState() local 165 NAPI_CALL(env, napi_get_cb_info(env, info, ¶meterCount, parameters, &thisVar, &data)); in GetCellularDataState() 166 NAPI_ASSERT(env, MatchCellularDataParameters(env, parameters, parameterCount), "type mismatch"); in GetCellularDataState() 175 …NAPI_CALL(env, napi_create_reference(env, parameters[0], DEFAULT_REF_COUNT, &asyncContext->callbac… in GetCellularDataState() 224 napi_value parameters[1]; in IsCellularDataEnabled() local [all …]
|
/base/telephony/core_service/frameworks/js/network_search/src/ |
D | napi_radio.cpp | 155 static bool MatchGetRadioTechParameter(napi_env env, const napi_value parameters[], size_t paramete… in MatchGetRadioTechParameter() argument 159 return NapiUtil::MatchParameters(env, parameters, { napi_number }); in MatchGetRadioTechParameter() 162 return NapiUtil::MatchParameters(env, parameters, { napi_number, napi_function }); in MatchGetRadioTechParameter() 173 napi_value parameters[PARAMETER_COUNT_TWO] = { 0 }; in GetRadioTech() local 176 NAPI_CALL(env, napi_get_cb_info(env, info, ¶meterCount, parameters, &thisVar, &data)); in GetRadioTech() 177 if (!MatchGetRadioTechParameter(env, parameters, parameterCount)) { in GetRadioTech() 188 NAPI_CALL(env, napi_get_value_int32(env, parameters[0], &asyncContext->slotId)); in GetRadioTech() 190 …NAPI_CALL(env, napi_create_reference(env, parameters[1], DEFAULT_REF_COUNT, &asyncContext->callbac… in GetRadioTech() 267 napi_value parameters[PARAMETER_COUNT_TWO] = { 0 }; in GetSignalInfoList() local 270 NAPI_CALL(env, napi_get_cb_info(env, info, ¶meterCount, parameters, &thisVar, &data)); in GetSignalInfoList() [all …]
|
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/js/napi/ |
D | napi_faultlogger.cpp | 156 napi_value parameters[2] = {0}; in QuerySelfFaultLog() local 159 NAPI_CALL(env, napi_get_cb_info(env, info, ¶meterCount, parameters, &thisVar, &data)); in QuerySelfFaultLog() 167 if (!NapiUtil::IsMatchType(env, parameters[ONE_PARAMETER - 1], napi_number)) { in QuerySelfFaultLog() 178 napi_get_value_int32(env, parameters[ONE_PARAMETER - 1], &faultLogInfoContext->faultType); in QuerySelfFaultLog() 182 if (!NapiUtil::IsMatchType(env, parameters[TWO_PARAMETER - 1], napi_function)) { in QuerySelfFaultLog() 187 …NAPI_CALL(env, napi_create_reference(env, parameters[TWO_PARAMETER - 1], 1, &faultLogInfoContext->… in QuerySelfFaultLog() 202 napi_value parameters[4] = {0}; in AddFaultLog() local 205 NAPI_CALL(env, napi_get_cb_info(env, info, ¶meterCount, parameters, &thisVar, &data)); in AddFaultLog() 211 if (!NapiUtil::IsMatchType(env, parameters[ONE_PARAMETER - 1], napi_number)) { in AddFaultLog() 215 if (!NapiUtil::IsMatchType(env, parameters[TWO_PARAMETER - 1], napi_number)) { in AddFaultLog() [all …]
|
/base/telephony/core_service/services/network_search/src/ |
D | network_utils.cpp | 316 …uple<int32_t, RadioEvent, int32_t, const sptr<INetworkSearchCallback> *, RilFunc_Event> parameters( in SendBase() local 318 return Send<EventGetMode::GET_EVENT_BY_HANDLERID, RilFunc_Event>(parameters); in SendBase() 324 …<int32_t, RadioEvent, int32_t, const sptr<INetworkSearchCallback> *, RilFunc_Int_Event> parameters( in SendBase() local 326 return Send<EventGetMode::GET_EVENT_BY_PARAM, RilFunc_Int_Event, int32_t>(parameters, param); in SendBase() 332 …32_t, RadioEvent, int32_t, const sptr<INetworkSearchCallback> *, RilFunc_Int_Int_Event> parameters( in SendBase() local 335 parameters, firstParam, secondParam); in SendBase() 341 …t, RadioEvent, int32_t, const sptr<INetworkSearchCallback> *, RilFunc_Int_String_Event> parameters( in SendBase() local 344 parameters, firstParam, secondParam); in SendBase() 350 …uple<int32_t, RadioEvent, int32_t, const sptr<INetworkSearchCallback> *, RilFunc_Event> parameters( in SendCallback() local 352 return Send<EventGetMode::GET_EVENT_BY_INDEX, RilFunc_Event>(parameters); in SendCallback() [all …]
|
/base/account/os_account/frameworks/appaccount/native/src/ |
D | app_account_common.cpp | 82 …iteString(credentialType) && parcel.WriteString(credential) && parcel.WriteParcelable(¶meters); in Marshalling() 105 parameters = *wantParams; in ReadFromParcel() 111 return parcel.WriteParcelable(&properties) && parcel.WriteParcelable(¶meters); in Marshalling() 136 parameters = *paramsPtr; in ReadFromParcel() 201 parcel.WriteStringVector(requiredLabels) && parcel.WriteParcelable(¶meters); in Marshalling() 223 parameters = *params; in ReadFromParcel()
|
/base/useriam/user_auth_framework/services/core/src/ |
D | schedule_node_impl.cpp | 40 if (info_.parameters == nullptr) { in ScheduleNodeImpl() 41 info_.parameters = Common::MakeShared<Attributes>(); in ScheduleNodeImpl() 44 if (info_.parameters == nullptr) { in ScheduleNodeImpl() 48 info_.parameters->SetInt32Value(Attributes::ATTR_SCHEDULE_MODE, info_.scheduleMode); in ScheduleNodeImpl() 51 info_.parameters->SetUint32Value(Attributes::ATTR_ACCESS_TOKEN_ID, info_.tokenId.value()); in ScheduleNodeImpl() 55 info_.parameters->SetInt32Value(Attributes::ATTR_PIN_SUB_TYPE, info_.pinSubType); in ScheduleNodeImpl() 61 info_.parameters->SetUint64ArrayValue(Attributes::ATTR_TEMPLATE_ID_LIST, info_.templateIdList); in ScheduleNodeImpl() 63 … info_.parameters->SetUint64Value(Attributes::ATTR_TEMPLATE_ID, *info_.templateIdList.begin()); in ScheduleNodeImpl() 291 auto result = verifier->BeginExecute(info_.scheduleId, peerPk, *info_.parameters); in ProcessBeginVerifier()
|
D | schedule_node_builder.cpp | 96 …uilder> ScheduleNodeBuilder::SetParametersAttributes(const std::shared_ptr<Attributes> ¶meters) in SetParametersAttributes() argument 98 info_.parameters = parameters; in SetParametersAttributes()
|
D | schedule_node_builder.h | 43 …std::shared_ptr<Builder> SetParametersAttributes(const std::shared_ptr<Attributes> ¶meters) ov…
|
D | schedule_node_impl.h | 54 std::shared_ptr<Attributes> parameters; member
|
/base/telephony/call_manager/frameworks/js/napi/include/ |
D | napi_call_manager.h | 195 …static bool MatchEmptyParameter(napi_env env, const napi_value parameters[], const size_t paramete… 197 napi_env env, const napi_value parameters[], const size_t parameterCount); 198 …static bool MatchOneNumberParameter(napi_env env, const napi_value parameters[], const size_t para… 199 …static bool MatchOneStringParameter(napi_env env, const napi_value parameters[], const size_t para… 200 …static bool MatchTwoNumberParameters(napi_env env, const napi_value parameters[], const size_t par… 202 napi_env env, const napi_value parameters[], const size_t parameterCount); 203 …static bool MatchNumberAndBoolParameters(napi_env env, const napi_value parameters[], const size_t… 205 napi_env env, const napi_value parameters[], const size_t parameterCount); 206 …static bool MatchAudioDeviceParameters(napi_env env, const napi_value parameters[], const size_t p… 207 …static bool MatchRejectCallParameters(napi_env env, const napi_value parameters[], const size_t pa… [all …]
|
/base/telephony/state_registry/frameworks/js/napi/src/ |
D | napi_state_registry.cpp | 111 napi_value parameters[] = { nullptr, nullptr, nullptr }; in On() local 112 napi_get_cb_info(env, info, ¶meterCount, parameters, nullptr, nullptr); in On() 123 if (parameterCount == std::size(parameters)) { in On() 125 errCode = MatchParameters(env, parameters, parameterCount, paraTuple); in On() 135 errCode = MatchParameters(env, parameters, parameterCount, paraTuple); in On() 210 napi_value parameters[] = { nullptr, nullptr }; in Off() local 211 napi_get_cb_info(env, info, ¶meterCount, parameters, nullptr, nullptr); in Off() 221 std::optional<NapiError> errCode = MatchParameters(env, parameters, parameterCount, paraTuple); in Off()
|
/base/usb/usb_manager/frameworks/dialog/dialog_ui/usb_right_dialog/src/main/ets/pages/ |
D | UsbDialog.ets | 60 …usbManager.addRight(globalThis.want.parameters["bundleName"], globalThis.want.parameters["deviceNa… 95 …this.content = this.allow + globalThis.want.parameters["bundleName"] + this.use + globalThis.want.…
|
/base/account/os_account/frameworks/appaccount/native/include/ |
D | app_account_common.h | 57 AAFwk::WantParams parameters; member 65 AAFwk::WantParams parameters; member 83 AAFwk::Want parameters; member
|
/base/hiviewdfx/hiview_lite/ |
D | README.md | 17 1. The config component and core configuration parameters \(enabling or disabling the dump or event… 25 1. The log, dump, event, and output components are initialized as required based on the parameters …
|
/base/telephony/core_service/services/network_search/include/ |
D | network_utils.h | 256 …<int32_t, RadioEvent, int32_t, const sptr<INetworkSearchCallback> *, T> ¶meters, Args... args); 295 …std::tuple<int32_t, RadioEvent, int32_t, const sptr<INetworkSearchCallback> *, T> ¶meters, Arg… in Send() argument 306 std::tie(slotId, radioEvent, param, callback, rilFuncPointer) = parameters; in Send()
|
/base/startup/appspawn/ |
D | README.md | 16 ├── parameter # system parameters
|
/base/telephony/call_manager/frameworks/js/napi/src/ |
D | napi_call_manager.cpp | 796 napi_env env, const napi_value parameters[], const size_t parameterCount) in MatchStringAndVariableObjectParameters() argument 801 return NapiUtil::MatchParameters(env, parameters, { napi_string }); in MatchStringAndVariableObjectParameters() 803 return NapiUtil::MatchParameters(env, parameters, { napi_string, napi_function }) || in MatchStringAndVariableObjectParameters() 804 NapiUtil::MatchParameters(env, parameters, { napi_string, napi_object }); in MatchStringAndVariableObjectParameters() 806 … return NapiUtil::MatchParameters(env, parameters, { napi_string, napi_object, napi_function }); in MatchStringAndVariableObjectParameters() 1150 bool NapiCallManager::MatchEmptyParameter(napi_env env, const napi_value parameters[], const size_t… in MatchEmptyParameter() argument 1157 return NapiUtil::MatchParameters(env, parameters, { napi_function }); in MatchEmptyParameter() 1164 napi_env env, const napi_value parameters[], const size_t parameterCount) in MatchOneOptionalNumberParameter() argument 1171 return NapiUtil::MatchParameters(env, parameters, { napi_number }) || in MatchOneOptionalNumberParameter() 1172 NapiUtil::MatchParameters(env, parameters, { napi_function }); in MatchOneOptionalNumberParameter() [all …]
|
/base/notification/distributed_notification_service/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/pages/ |
D | notificationDialog.ets | 124 this.token_ = globalThis.abilityWant.parameters['tokenId'].value 125 globalThis.bundleName = globalThis.abilityWant.parameters['from']
|
/base/startup/syspara_lite/hals/parameter/ |
D | BUILD.gn | 32 "//base/startup/syspara_lite/adapter/native/syspara/src/parameters.cpp",
|
/base/global/system_resources/ |
D | README.md | 19 …es resources that are widely used by applications, such as the layered parameters, permission name…
|
/base/hiviewdfx/hitrace/ |
D | README.md | 68 <p id="p1270494114128"><a name="p1270494114128"></a><a name="p1270494114128"></a>Input parameters:<… 79 …4174141216"><a name="p17704174141216"></a><a name="p17704174141216"></a>Output parameters: none</p> 87 <p id="p7704174181215"><a name="p7704174181215"></a><a name="p7704174181215"></a>Input parameters:<… 89 …4104111215"><a name="p15704104111215"></a><a name="p15704104111215"></a>Output parameters: none</p>
|
/base/useriam/user_auth_framework/services/core/inc/ |
D | schedule_node.h | 90 …td::shared_ptr<Builder> SetParametersAttributes(const std::shared_ptr<Attributes> ¶meters) = 0;
|
/base/hiviewdfx/hisysevent/ |
D | README.md | 51 …67271525203213"><a name="p167271525203213"></a><a name="p167271525203213"></a>Input parameters:</p> 52 …parameters. It can be in the format of the basic data type, <strong id="b79851431194316"><a name="…
|