/base/update/updater/services/updater_binary/ |
D | update_image_patch.cpp | 51 int32_t USInstrImagePatch::GetParam(Uscript::UScriptContext &context, ImagePatchPara ¶) in GetParam() argument 59 uint32_t ret = static_cast<uint32_t>(context.GetParam(index++, para.partName)); in GetParam() 60 ret |= static_cast<uint32_t>(context.GetParam(index++, para.srcSize)); in GetParam() 61 ret |= static_cast<uint32_t>(context.GetParam(index++, para.srcHash)); in GetParam() 62 ret |= static_cast<uint32_t>(context.GetParam(index++, para.destSize)); in GetParam() 63 ret |= static_cast<uint32_t>(context.GetParam(index++, para.destHash)); in GetParam() 64 ret |= static_cast<uint32_t>(context.GetParam(index++, para.patchFile)); in GetParam() 69 para.devPath = GetBlockDeviceByMountPoint(para.partName); in GetParam() 70 if (para.devPath.empty()) { in GetParam() 71 LOG(ERROR) << "get " << para.partName << " dev path error"; in GetParam() [all …]
|
D | update_image_patch.h | 39 int32_t GetParam(Uscript::UScriptContext &context, ImagePatchPara ¶); 40 std::string GetPatchFile(Uscript::UScriptEnv &env, const ImagePatchPara ¶); 42 std::string GetSourceFile(const ImagePatchPara ¶); 43 int32_t ApplyPatch(const ImagePatchPara ¶, const std::string &patchFile); 62 int32_t GetParam(Uscript::UScriptContext &context, CheckPara ¶); 63 int32_t CheckHash(const CheckPara ¶);
|
/base/useriam/user_auth_framework/services/context/src/ |
D | context_factory.cpp | 34 std::shared_ptr<Context> ContextFactory::CreateSimpleAuthContext(const AuthContextPara ¶, in CreateSimpleAuthContext() argument 39 … auth = Common::MakeShared<AuthenticationImpl>(newContextId, para.userId, para.authType, para.atl); in CreateSimpleAuthContext() 41 auth->SetChallenge(para.challenge); in CreateSimpleAuthContext() 42 auth->SetAccessTokenId(para.tokenId); in CreateSimpleAuthContext() 46 std::shared_ptr<Context> ContextFactory::CreateIdentifyContext(const IdentifyContextPara ¶, in CreateIdentifyContext() argument 51 auto identify = Common::MakeShared<IdentificationImpl>(newContextId, para.authType); in CreateIdentifyContext() 53 identify->SetChallenge(para.challenge); in CreateIdentifyContext() 54 identify->SetAccessTokenId(para.tokenId); in CreateIdentifyContext() 58 std::shared_ptr<Context> ContextFactory::CreateEnrollContext(const EnrollContextPara ¶, in CreateEnrollContext() argument 63 auto enroll = Common::MakeShared<EnrollmentImpl>(para.userId, para.authType); in CreateEnrollContext() [all …]
|
/base/security/device_auth/frameworks/deviceauth_lite/source/schedule/ |
D | build_object.c | 38 static bool check_param_is_valid(const struct operation_parameter *para); 198 struct operation_parameter para; in build_pake_client_object() local 200 (void)memset_s(¶, sizeof(para), 0, sizeof(para)); in build_pake_client_object() 201 hichain->cb.get_protocol_params(&hichain->identity, hichain->operation_code, &pin, ¶); in build_pake_client_object() 202 if (check_param_is_valid(¶) == false) { in build_pake_client_object() 210 …return build_pake_client(&hichain->identity, &pin, para.key_length, ¶.self_auth_id, ¶.peer… in build_pake_client_object() 217 struct operation_parameter para; in build_pake_server_object() local 219 (void)memset_s(¶, sizeof(para), 0, sizeof(para)); in build_pake_server_object() 220 hichain->cb.get_protocol_params(&hichain->identity, hichain->operation_code, &pin, ¶); in build_pake_server_object() 221 if (check_param_is_valid(¶) == false) { in build_pake_server_object() [all …]
|
/base/telephony/call_manager/services/call/src/ |
D | call_request_handler.cpp | 366 std::unique_ptr<AnswerCallPara> para = std::make_unique<AnswerCallPara>(); in AnswerCall() local 367 if (para.get() == nullptr) { in AnswerCall() 371 para->callId = callId; in AnswerCall() 372 para->videoState = videoState; in AnswerCall() 373 if (!handler_->SendEvent(HANDLER_ANSWER_CALL_REQUEST, std::move(para))) { in AnswerCall() 388 std::unique_ptr<RejectCallPara> para = std::make_unique<RejectCallPara>(); in RejectCall() local 389 if (para.get() == nullptr) { in RejectCall() 393 para->callId = callId; in RejectCall() 394 para->isSendSms = isSendSms; in RejectCall() 395 (void)memset_s(para->content, REJECT_CALL_MSG_MAX_LEN + 1, 0, REJECT_CALL_MSG_MAX_LEN + 1); in RejectCall() [all …]
|
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/ |
D | crypto_hash_to_point.c | 86 static void CurveInitConstPara(struct CurveConstPara *para) in CurveInitConstPara() argument 88 para->p = BN_new(); in CurveInitConstPara() 89 para->one = BN_new(); in CurveInitConstPara() 90 para->d = BN_new(); in CurveInitConstPara() 91 para->k = BN_new(); in CurveInitConstPara() 92 para->capitalA = BN_new(); in CurveInitConstPara() 93 para->minusA = BN_new(); in CurveInitConstPara() 94 para->u = BN_new(); in CurveInitConstPara() 95 para->q = BN_new(); in CurveInitConstPara() 98 static void CurveFreeConstPara(struct CurveConstPara *para) in CurveFreeConstPara() argument [all …]
|
/base/useriam/user_auth_framework/param/ |
D | BUILD.gn | 16 ## Install useriam.para to /system/etc/param/useriam.para 17 ## Install useriam.para.dac to /system/etc/param/useriam.para.dac 21 ":useriam.para", 22 ":useriam.para.dac", 26 ohos_prebuilt_etc("useriam.para") { 27 source = "useriam.para" 33 ohos_prebuilt_etc("useriam.para.dac") { 34 source = "useriam.para.dac"
|
/base/telephony/core_service/services/etc/param/ |
D | BUILD.gn | 15 ## Install telephony.para to /system/etc/param/telephony.para 16 ## Install telephony.para.dac to /system/etc/param/telephony.para.dac 20 ":telephony.para", 21 ":telephony.para.dac", 25 ohos_prebuilt_etc("telephony.para") { 26 source = "//base/telephony/core_service/services/etc/param/telephony.para" 32 ohos_prebuilt_etc("telephony.para.dac") { 33 source = "//base/telephony/core_service/services/etc/param/telephony.para.dac"
|
/base/telephony/call_manager/services/telephony_interaction/src/ |
D | report_call_info_handler.cpp | 229 std::unique_ptr<CallDetailInfo> para = std::make_unique<CallDetailInfo>(); in UpdateCallReportInfo() local 230 if (para.get() == nullptr) { in UpdateCallReportInfo() 234 *para = info; in UpdateCallReportInfo() 235 bool ret = handler_->SendEvent(HANDLER_UPDATE_CELLULAR_CALL_INFO, std::move(para)); in UpdateCallReportInfo() 248 std::unique_ptr<CallDetailsInfo> para = std::make_unique<CallDetailsInfo>(); in UpdateCallsReportInfo() local 249 if (para.get() == nullptr) { in UpdateCallsReportInfo() 253 *para = info; in UpdateCallsReportInfo() 254 bool ret = handler_->SendEvent(HANDLER_UPDATE_CALL_INFO_LIST, std::move(para)); in UpdateCallsReportInfo() 281 std::unique_ptr<DisconnectedDetails> para = std::make_unique<DisconnectedDetails>(); in UpdateDisconnectedCause() local 282 if (para.get() == nullptr) { in UpdateDisconnectedCause() [all …]
|
/base/startup/init/services/etc/ |
D | BUILD.gn | 15 copy("ohos.para") { 16 sources = [ "//base/startup/init/services/etc/param/ohos.para" ] 17 outputs = [ "$root_out_dir/system/etc/param/ohos.para" ] 20 copy("ohos.para.dac") { 21 sources = [ "//base/startup/init/services/etc/param/ohos.para.dac" ] 22 outputs = [ "$root_out_dir/system/etc/param/ohos.para.dac" ] 26 [ "//base/startup/init/services/etc_lite/param/ohos_const/ohos.para" ] 27 outputs = [ "$root_out_dir/system/etc/param/ohos_const/ohos.para" ] 42 ":ohos.para", 43 ":ohos.para.dac", [all …]
|
/base/security/device_security_level/baselib/utils/src/ |
D | utils_state_machine.c | 25 const void *para; member 51 static inline void PushPendingEvent(StateMachine *machine, uint32_t event, const void *para) in PushPendingEvent() argument 58 pending->para = para; in PushPendingEvent() 62 static inline bool PopPendingEvent(StateMachine *machine, uint32_t *event, const void **para) in PopPendingEvent() argument 71 *para = pending->para; in PopPendingEvent() 76 …(const StateNode *nodes, uint32_t nodeCnt, StateMachine *machine, uint32_t event, const void *para) in ScheduleMachine() argument 86 PushPendingEvent(machine, event, para); in ScheduleMachine() 97 result = node->process(machine, event, para); in ScheduleMachine()
|
/base/useriam/user_auth_framework/test/unittest/services/src/ |
D | context_factory_test.cpp | 62 ContextFactory::AuthContextPara para = {}; variable 63 auto context = factory->CreateSimpleAuthContext(para, contextCallback); 77 ContextFactory::AuthContextPara para = {}; variable 78 auto context = factory->CreateSimpleAuthContext(para, contextCallback); 90 ContextFactory::IdentifyContextPara para = {}; variable 91 auto context = factory->CreateIdentifyContext(para, contextCallback); 105 ContextFactory::IdentifyContextPara para = {}; variable 106 auto context = factory->CreateIdentifyContext(para, contextCallback); 118 ContextFactory::EnrollContextPara para = {}; variable 119 auto context = factory->CreateEnrollContext(para, contextCallback); [all …]
|
/base/useriam/user_auth_framework/services/core/src/ |
D | schedule_node_helper.cpp | 29 NodeOptionalPara para; in BuildFromHdi() local 30 return BuildFromHdi(infos, callback, nodes, para); in BuildFromHdi() 35 const NodeOptionalPara ¶) in BuildFromHdi() argument 41 if (!ScheduleInfoToScheduleNode(info, node, para, callback)) { in BuildFromHdi() 53 const NodeOptionalPara ¶, const std::shared_ptr<ScheduleNodeCallback> &callback) in ScheduleInfoToScheduleNode() argument 72 if (para.tokenId.has_value()) { in ScheduleInfoToScheduleNode() 73 builder->SetAccessTokenId(para.tokenId.value()); in ScheduleInfoToScheduleNode() 80 ->SetExpiredTime(para.expire.value_or(0)) in ScheduleInfoToScheduleNode() 81 ->SetPinSubType(para.pinSubType.value_or(PinSubType::PIN_MAX)) in ScheduleInfoToScheduleNode()
|
/base/theme/screenlock_mgr/etc/param/ |
D | BUILD.gn | 20 ":screenlock.para", 21 ":screenlock.para.dac", 25 ohos_prebuilt_etc("screenlock.para") { 26 source = "screenlock.para" 32 ohos_prebuilt_etc("screenlock.para.dac") { 33 source = "screenlock.para.dac"
|
/base/security/device_security_level/services/dslm/ |
D | dslm_fsm_process.c | 59 static bool ProcessDeviceOnline(const StateMachine *machine, uint32_t event, const void *para); 60 static bool ProcessSendCredRequest(const StateMachine *machine, uint32_t event, const void *para); 61 static bool ProcessSdkRequest(const StateMachine *machine, uint32_t event, const void *para); 62 static bool ProcessSendRequestFailed(const StateMachine *machine, uint32_t event, const void *para); 63 static bool ProcessDeviceOffline(const StateMachine *machine, uint32_t event, const void *para); 64 static bool ProcessVerifyCredMessage(const StateMachine *machine, uint32_t event, const void *para); 65 static bool ProcessSdkTimeout(const StateMachine *machine, uint32_t event, const void *para); 187 static bool ProcessDeviceOnline(const StateMachine *machine, uint32_t event, const void *para) in ProcessDeviceOnline() argument 190 if (para != NULL) { in ProcessDeviceOnline() 191 info->deviceType = *(uint32_t *)para; in ProcessDeviceOnline() [all …]
|
/base/inputmethod/imf/etc/para/ |
D | BUILD.gn | 17 ohos_prebuilt_etc("inputmethod.para") { 18 source = "//base/inputmethod/imf/etc/para/inputmethod.para" 23 ohos_prebuilt_etc("inputmethod.para.dac") { 24 source = "//base/inputmethod/imf/etc/para/inputmethod.para.dac"
|
/base/hiviewdfx/hilog/services/hilogd/etc/ |
D | BUILD.gn | 18 ":hilog.para", 19 ":hilog.para.dac", 31 ohos_prebuilt_etc("hilog.para") { 32 source = "hilog.para" 38 ohos_prebuilt_etc("hilog.para.dac") { 39 source = "hilog.para.dac"
|
/base/security/access_token/services/accesstokenmanager/etc/ |
D | BUILD.gn | 19 ":access_token.para", 20 ":access_token.para.dac", 24 ohos_prebuilt_etc("access_token.para") { 25 source = "//base/security/access_token/services/accesstokenmanager/etc/access_token.para" 31 ohos_prebuilt_etc("access_token.para.dac") { 32 source = "//base/security/access_token/services/accesstokenmanager/etc/access_token.para.dac"
|
/base/useriam/user_auth_framework/services/ipc/src/ |
D | user_auth_service.cpp | 255 ContextFactory::AuthContextPara para = {}; in Auth() local 256 para.tokenId = IpcCommon::GetAccessTokenId(*this); in Auth() 257 para.userId = userId; in Auth() 258 para.authType = authType; in Auth() 259 para.atl = authTrustLevel; in Auth() 260 para.challenge = std::move(challenge); in Auth() 261 auto context = ContextFactory::CreateSimpleAuthContext(para, contextCallback); in Auth() 300 ContextFactory::AuthContextPara para = {}; in AuthUser() local 301 para.tokenId = IpcCommon::GetAccessTokenId(*this); in AuthUser() 302 para.userId = userId; in AuthUser() [all …]
|
/base/hiviewdfx/hitrace/interfaces/native/innerkits/ |
D | BUILD.gn | 72 ohos_prebuilt_etc("hitrace.para") { 73 source = "hitrace.para" 83 ohos_prebuilt_etc("hitrace.para.dac") { 84 source = "hitrace.para.dac" 96 ":hitrace.para", 97 ":hitrace.para.dac",
|
/base/useriam/user_auth_framework/test/fuzztest/services/useridmservice_fuzzer/ |
D | user_idm_service_fuzzer.cpp | 180 UserIdmInterface::CredentialPara para = {}; in FuzzAddCredential() local 181 para.authType = static_cast<AuthType>(parcel.ReadInt32()); in FuzzAddCredential() 182 para.pinType = static_cast<PinSubType>(parcel.ReadInt32()); in FuzzAddCredential() 183 FillFuzzUint8Vector(parcel, para.token); in FuzzAddCredential() 185 g_UserIdmService.AddCredential(userId, para, callback, false); in FuzzAddCredential() 193 UserIdmInterface::CredentialPara para = {}; in FuzzUpdateCredential() local 194 para.authType = static_cast<AuthType>(parcel.ReadInt32()); in FuzzUpdateCredential() 195 para.pinType = static_cast<PinSubType>(parcel.ReadInt32()); in FuzzUpdateCredential() 196 FillFuzzUint8Vector(parcel, para.token); in FuzzUpdateCredential() 198 g_UserIdmService.UpdateCredential(userId, para, callback); in FuzzUpdateCredential()
|
/base/powermgr/display_manager/service/etc/ |
D | BUILD.gn | 17 ## Install display.para to /system/etc/param/display.para 18 ohos_prebuilt_etc("display.para") { 19 source = "display.para"
|
/base/time/time_service/services/etc/ |
D | BUILD.gn | 16 ohos_prebuilt_etc("time.para") { 17 source = "//base/time/time_service/services/etc/time.para" 22 ohos_prebuilt_etc("time.para.dac") { 23 source = "//base/time/time_service/services/etc/time.para.dac"
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
D | hks_mbedtls_x25519.c | 407 static void HksCurveInitConstPara(struct HksCurveConstPara *para) in HksCurveInitConstPara() argument 409 mbedtls_mpi_init(&(para->mpiP)); in HksCurveInitConstPara() 410 mbedtls_mpi_init(&(para->mpiOne)); in HksCurveInitConstPara() 411 mbedtls_mpi_init(&(para->mpiD)); in HksCurveInitConstPara() 412 mbedtls_mpi_init(&(para->mpiK)); in HksCurveInitConstPara() 413 mbedtls_mpi_init(&(para->mpiCapitalA)); in HksCurveInitConstPara() 414 mbedtls_mpi_init(&(para->mpiMinusA)); in HksCurveInitConstPara() 415 mbedtls_mpi_init(&(para->mpiU)); in HksCurveInitConstPara() 416 mbedtls_mpi_init(&(para->mpiQ)); in HksCurveInitConstPara() 419 static void HksCurveFreeConstPara(struct HksCurveConstPara *para) in HksCurveFreeConstPara() argument [all …]
|
/base/update/sys_installer/frameworks/ipc_server/etc/ |
D | sys_installer_sa.cfg | 8 "mkdir /data/cota/para 0775 update update", 9 "chown update update /data/cota/para", 10 "chmod 0775 /data/cota/para",
|