/base/security/deviceauth/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 | 364 std::unique_ptr<AnswerCallPara> para = std::make_unique<AnswerCallPara>(); in AnswerCall() local 365 if (para.get() == nullptr) { in AnswerCall() 369 para->callId = callId; in AnswerCall() 370 para->videoState = videoState; in AnswerCall() 371 if (!handler_->SendEvent(HANDLER_ANSWER_CALL_REQUEST, std::move(para))) { in AnswerCall() 384 std::unique_ptr<RejectCallPara> para = std::make_unique<RejectCallPara>(); in RejectCall() local 385 if (para.get() == nullptr) { in RejectCall() 389 para->callId = callId; in RejectCall() 390 para->isSendSms = isSendSms; in RejectCall() 391 (void)memset_s(para->content, REJECT_CALL_MSG_MAX_LEN + 1, 0, REJECT_CALL_MSG_MAX_LEN + 1); in RejectCall() [all …]
|
/base/security/deviceauth/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/telephony/call_manager/services/telephony_interaction/src/ |
D | report_call_info_handler.cpp | 228 std::unique_ptr<CallDetailInfo> para = std::make_unique<CallDetailInfo>(); in UpdateCallReportInfo() local 229 if (para.get() == nullptr) { in UpdateCallReportInfo() 233 *para = info; in UpdateCallReportInfo() 234 bool ret = handler_->SendEvent(HANDLER_UPDATE_CELLULAR_CALL_INFO, std::move(para)); in UpdateCallReportInfo() 247 std::unique_ptr<CallDetailsInfo> para = std::make_unique<CallDetailsInfo>(); in UpdateCallsReportInfo() local 248 if (para.get() == nullptr) { in UpdateCallsReportInfo() 252 *para = info; in UpdateCallsReportInfo() 253 bool ret = handler_->SendEvent(HANDLER_UPDATE_CALL_INFO_LIST, std::move(para)); in UpdateCallsReportInfo() 266 std::unique_ptr<int32_t> para = std::make_unique<int32_t>(); in UpdateDisconnectedCause() local 267 if (para.get() == nullptr) { in UpdateDisconnectedCause() [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/security/device_security_level/services/dslm/ |
D | dslm_fsm_process.c | 47 static bool ProcessDeviceOnline(const StateMachine *machine, uint32_t event, const void *para); 48 static bool ProcessSendCredRequest(const StateMachine *machine, uint32_t event, const void *para); 49 static bool ProcessSdkRequest(const StateMachine *machine, uint32_t event, const void *para); 50 static bool ProcessSendRequestFailed(const StateMachine *machine, uint32_t event, const void *para); 51 static bool ProcessDeviceOffline(const StateMachine *machine, uint32_t event, const void *para); 52 static bool ProcessVerifyCredMessage(const StateMachine *machine, uint32_t event, const void *para); 53 static bool ProcessSdkTimeout(const StateMachine *machine, uint32_t event, const void *para); 144 static bool ProcessDeviceOnline(const StateMachine *machine, uint32_t event, const void *para) in ProcessDeviceOnline() argument 147 if (para != NULL) { in ProcessDeviceOnline() 148 info->deviceType = *(uint32_t *)para; in ProcessDeviceOnline() [all …]
|
D | dslm_fsm_process.h | 48 void ScheduleDslmStateMachine(DslmDeviceInfo *info, uint32_t event, const void *para);
|
/base/hiviewdfx/hilog/services/hilogd/etc/ |
D | BUILD.gn | 18 ":hilog.para", 19 ":hilog.para.dac", 38 ohos_prebuilt_etc("hilog.para") { 39 source = "hilog.para" 45 ohos_prebuilt_etc("hilog.para.dac") { 46 source = "hilog.para.dac"
|
/base/telephony/core_service/services/etc/param/ |
D | BUILD.gn | 15 ## Install telephony.para to /system/etc/param/telephony.para 17 ohos_prebuilt_etc("telephony.para") { 18 source = "telephony.para"
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
D | hks_mbedtls_x25519.c | 427 static void HksCurveInitConstPara(struct HksCurveConstPara *para) in HksCurveInitConstPara() argument 429 mbedtls_mpi_init(&(para->mpiP)); in HksCurveInitConstPara() 430 mbedtls_mpi_init(&(para->mpiOne)); in HksCurveInitConstPara() 431 mbedtls_mpi_init(&(para->mpiD)); in HksCurveInitConstPara() 432 mbedtls_mpi_init(&(para->mpiK)); in HksCurveInitConstPara() 433 mbedtls_mpi_init(&(para->mpiCapitalA)); in HksCurveInitConstPara() 434 mbedtls_mpi_init(&(para->mpiMinusA)); in HksCurveInitConstPara() 435 mbedtls_mpi_init(&(para->mpiU)); in HksCurveInitConstPara() 436 mbedtls_mpi_init(&(para->mpiQ)); in HksCurveInitConstPara() 439 static void HksCurveFreeConstPara(struct HksCurveConstPara *para) in HksCurveFreeConstPara() argument [all …]
|
/base/startup/init_lite/test/unittest/tools/ |
D | prepare_testdata.sh | 106 …_lite/test/unittest/test_data/system/etc/param/ohos.para ${ut_target_path}/system/etc/param/ohos.p… 107 …ite/test/unittest/test_data/system/etc/param/ohos.para.dac ${ut_target_path}/system/etc/param/ohos… 108 …e/test/unittest/test_data/system/etc/param/ohos.para.selinux ${ut_target_path}/system/etc/param/oh…
|
/base/telephony/call_manager/services/call/call_state_observer/src/ |
D | call_records_handler.cpp | 101 std::unique_ptr<CallRecordInfo> para = std::make_unique<CallRecordInfo>(); in StoreCallRecord() local 102 if (para.get() == nullptr) { in StoreCallRecord() 106 *para = info; in StoreCallRecord() 107 handler_->SendEvent(HANDLER_ADD_CALL_RECORD_INFO, std::move(para)); in StoreCallRecord()
|
/base/miscservices/inputmethod/ |
D | BUILD.gn | 22 "etc/para:inputmethod.para", 23 "etc/para:inputmethod_para",
|
/base/security/deviceauth/frameworks/deviceauth_lite/unittest/ |
D | deviceauth_test.cpp | 62 struct hc_pin *pin, struct operation_parameter *para) in GetProtocolParams() argument 68 para->self_auth_id = g_testServerAuthId; in GetProtocolParams() 69 para->peer_auth_id = g_testClientAuthId; in GetProtocolParams() 70 para->key_length = KEY_LEN; in GetProtocolParams()
|
/base/security/device_security_level/baselib/utils/include/ |
D | utils_state_machine.h | 27 …def bool (*StateMachineProcessFunc)(const StateMachine *machine, uint32_t event, const void *para); 47 …const StateNode *nodes, uint32_t nodeCnt, StateMachine *machine, uint32_t event, const void *para);
|
/base/miscservices/inputmethod/etc/para/ |
D | BUILD.gn | 38 ohos_prebuilt_etc("inputmethod.para") { 39 source = "//base/miscservices/inputmethod/etc/para/inputmethod.para"
|
/base/security/selinux/interfaces/policycoreutils/src/ |
D | paraperm_checker.cpp | 89 std::string para = paraName; in CheckParaNameValid() local 90 …if (para.empty() || para[0] == '.' || para[para.size() - 1] == '.' || para.find("..") != std::stri… in CheckParaNameValid() 94 if (std::regex_match(para, paraReg)) { in CheckParaNameValid()
|
/base/telephony/core_service/frameworks/js/sim/src/ |
D | napi_sim.cpp | 77 napi_value NapiCreateAsyncWork2(const AsyncPara ¶, AsyncContextType *asyncContext, std::tuple<T… in NapiCreateAsyncWork2() argument 79 napi_env env = para.env; in NapiCreateAsyncWork2() 84 NAPI_CALL(env, napi_get_cb_info(env, para.info, &argc, argv, nullptr, nullptr)); in NapiCreateAsyncWork2() 101 …NAPI_CALL(env, napi_create_string_utf8(env, para.funcName.c_str(), para.funcName.length(), &resour… in NapiCreateAsyncWork2() 102 NAPI_CALL(env, napi_create_async_work(env, nullptr, resourceName, para.execute, para.complete, in NapiCreateAsyncWork2() 107 napi_value NapiCreateAsyncWork4(const AsyncPara ¶, AsyncContextPIN *context, napi_ref *ref) in NapiCreateAsyncWork4() argument 109 napi_env env = para.env; in NapiCreateAsyncWork4() 113 NAPI_CALL(env, napi_get_cb_info(env, para.info, &argc, argv, nullptr, nullptr)); in NapiCreateAsyncWork4() 129 …NAPI_CALL(env, napi_create_string_utf8(env, para.funcName.c_str(), para.funcName.length(), &resour… in NapiCreateAsyncWork4() 131 napi_create_async_work(env, nullptr, resourceName, para.execute, para.complete, in NapiCreateAsyncWork4() [all …]
|
/base/security/device_security_level/baselib/msglib/src/ |
D | messenger.c | 50 void ForEachDeviceProcess(const Messenger *messenger, const DeviceProcessor processor, void *para) in ForEachDeviceProcess() argument 52 ForEachDeviceProcessImpl(messenger, processor, para); in ForEachDeviceProcess()
|
/base/security/selinux/interfaces/tools/hap_restorecon/ |
D | test.cpp | 60 int para = 0; in SetOptions() local 61 while ((para = getopt_long(argc, argv, optStr, options, &index)) != -1) { in SetOptions() 62 switch (para) { in SetOptions()
|
/base/security/deviceauth/frameworks/deviceauth_lite/source/ |
D | hichain.c | 64 static int32_t delete_base_key(struct service_id service_id, struct operation_parameter para); 482 struct operation_parameter para; in delete_local_auth_info() local 483 (void)memset_s(¶, sizeof(para), 0, sizeof(para)); in delete_local_auth_info() 485 hichain->cb.get_protocol_params(&hichain->identity, REMOVE_ALL_AUTHINFO, &pin, ¶); in delete_local_auth_info() 486 if (para.self_auth_id.length > 0) { in delete_local_auth_info() 487 …if (memcmp(para.self_auth_id.auth_id, user_info->auth_id.auth_id, para.self_auth_id.length) == 0) { in delete_local_auth_info() 488 int32_t ret_base = delete_base_key(service_id, para); in delete_local_auth_info() 1122 static int32_t delete_base_key(struct service_id service_id, struct operation_parameter para) in delete_base_key() argument 1131 …struct hc_key_alias base_alias = generate_key_alias(&service_id, &(para.peer_auth_id), KEY_ALIAS_K… in delete_base_key() 1134 base_alias = generate_key_alias(&service_id, &(para.peer_auth_id), KEY_ALIAS_DEK); in delete_base_key() [all …]
|
/base/security/selinux/interfaces/tools/service_check/ |
D | test.cpp | 55 int para = 0; in SetOptions() local 56 while ((para = getopt_long(argc, argv, optStr, options, &index)) != -1) { in SetOptions() 57 switch (para) { in SetOptions()
|
/base/startup/init_lite/services/ |
D | BUILD.gn | 260 ohos_prebuilt_etc("ohos.para") { 261 source = "//base/startup/init_lite/services/etc/param/ohos.para" 266 ohos_prebuilt_etc("ohos.para.dac") { 267 source = "//base/startup/init_lite/services/etc/param/ohos.para.dac" 282 ohos_prebuilt_etc("syscap.para") { 284 "${preloader_output_dir}/${product_name}/system/etc/param/syscap.para" 318 ":ohos.para", 319 ":ohos.para.dac", 323 ":syscap.para",
|
/base/security/device_security_level/test/ |
D | dslm_msg_interface_mock.h | 43 … ForEachDeviceProcess(const Messenger *messenger, const DeviceProcessor processor, void *para) = 0; 56 …rEachDeviceProcess, void(const Messenger *messenger, const DeviceProcessor processor, void *para));
|
/base/security/device_security_level/baselib/msglib/include/ |
D | messenger.h | 40 typedef int32_t (*DeviceProcessor)(const DeviceIdentify *devId, uint32_t devType, void *para); 87 void ForEachDeviceProcess(const Messenger *messenger, const DeviceProcessor processor, void *para);
|