Home
last modified time | relevance | path

Searched refs:para (Results 1 – 25 of 41) sorted by relevance

12

/base/security/deviceauth/frameworks/deviceauth_lite/source/schedule/
Dbuild_object.c38 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(&para, sizeof(para), 0, sizeof(para)); in build_pake_client_object()
201 hichain->cb.get_protocol_params(&hichain->identity, hichain->operation_code, &pin, &para); in build_pake_client_object()
202 if (check_param_is_valid(&para) == false) { in build_pake_client_object()
210 …return build_pake_client(&hichain->identity, &pin, para.key_length, &para.self_auth_id, &para.peer… in build_pake_client_object()
217 struct operation_parameter para; in build_pake_server_object() local
219 (void)memset_s(&para, sizeof(para), 0, sizeof(para)); in build_pake_server_object()
220 hichain->cb.get_protocol_params(&hichain->identity, hichain->operation_code, &pin, &para); in build_pake_server_object()
221 if (check_param_is_valid(&para) == false) { in build_pake_server_object()
[all …]
/base/telephony/call_manager/services/call/src/
Dcall_request_handler.cpp364 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/
Dcrypto_hash_to_point.c86 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/
Dreport_call_info_handler.cpp228 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/
Dutils_state_machine.c25 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/
Ddslm_fsm_process.c47 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 …]
Ddslm_fsm_process.h48 void ScheduleDslmStateMachine(DslmDeviceInfo *info, uint32_t event, const void *para);
/base/hiviewdfx/hilog/services/hilogd/etc/
DBUILD.gn18 ":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/
DBUILD.gn15 ## 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/
Dhks_mbedtls_x25519.c427 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/
Dprepare_testdata.sh106 …_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/
Dcall_records_handler.cpp101 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/
DBUILD.gn22 "etc/para:inputmethod.para",
23 "etc/para:inputmethod_para",
/base/security/deviceauth/frameworks/deviceauth_lite/unittest/
Ddeviceauth_test.cpp62 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/
Dutils_state_machine.h27 …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/
DBUILD.gn38 ohos_prebuilt_etc("inputmethod.para") {
39 source = "//base/miscservices/inputmethod/etc/para/inputmethod.para"
/base/security/selinux/interfaces/policycoreutils/src/
Dparaperm_checker.cpp89 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/
Dnapi_sim.cpp77 napi_value NapiCreateAsyncWork2(const AsyncPara &para, 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 &para, 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/
Dmessenger.c50 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/
Dtest.cpp60 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/
Dhichain.c64 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(&para, sizeof(para), 0, sizeof(para)); in delete_local_auth_info()
485 hichain->cb.get_protocol_params(&hichain->identity, REMOVE_ALL_AUTHINFO, &pin, &para); 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/
Dtest.cpp55 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/
DBUILD.gn260 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/
Ddslm_msg_interface_mock.h43 … 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/
Dmessenger.h40 typedef int32_t (*DeviceProcessor)(const DeviceIdentify *devId, uint32_t devType, void *para);
87 void ForEachDeviceProcess(const Messenger *messenger, const DeviceProcessor processor, void *para);

12