/base/useriam/user_auth_framework/test/unittest/services/src/ |
D | widget_context_test.cpp | 57 …<WidgetContext> CreateWidgetContext(uint64_t contextId, ContextFactory::AuthWidgetContextPara para) in CreateWidgetContext() argument 60 return Common::MakeShared<WidgetContext>(contextId, para, contextCallback); in CreateWidgetContext() 66 ContextFactory::AuthWidgetContextPara para; variable 67 auto widgetContext = CreateWidgetContext(contextId, para); 75 ContextFactory::AuthWidgetContextPara para; variable 76 auto widgetContext = CreateWidgetContext(contextId, para); 83 ContextFactory::AuthWidgetContextPara para; variable 84 auto widgetContext = CreateWidgetContext(contextId, para); 91 ContextFactory::AuthWidgetContextPara para; variable 92 auto widgetContext = CreateWidgetContext(contextId, para); [all …]
|
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 …]
|
D | widget_json_test.cpp | 65 void CreatePara(ContextFactory::AuthWidgetContextPara ¶) in CreatePara() argument 67 para.widgetParam.title = "widgetParam"; in CreatePara() 68 para.widgetParam.windowMode = DIALOG_BOX; in CreatePara() 69 para.widgetParam.navigationButtonText = "navigationButtonText"; in CreatePara() 71 …para.authProfileMap.insert(pair<AuthType, ContextFactory::AuthWidgetContextPara::AuthProfile>(ALL,… in CreatePara() 72 …para.authProfileMap.insert(pair<AuthType, ContextFactory::AuthWidgetContextPara::AuthProfile>(PIN,… in CreatePara() 73 …para.authProfileMap.insert(pair<AuthType, ContextFactory::AuthWidgetContextPara::AuthProfile>(FACE… in CreatePara() 74 para.authProfileMap.insert(pair<AuthType, in CreatePara() 149 ContextFactory::AuthWidgetContextPara para; variable 150 CreatePara(para); [all …]
|
D | widget_context_callback_impl_test.cpp | 61 ContextFactory::AuthWidgetContextPara para; variable 63 WidgetContext *widgetContext = new WidgetContext(contextId, para, callback); 71 ASSERT_EQ(para.tokenId, 0); 88 ContextFactory::AuthWidgetContextPara para; variable 90 WidgetContext *widgetContext = new WidgetContext(contextId, para, callback);
|
/base/update/updater/services/updater_binary/ |
D | update_image_patch.cpp | 53 int32_t USInstrImagePatch::GetParam(Uscript::UScriptContext &context, ImagePatchPara ¶) in GetParam() argument 61 uint32_t ret = static_cast<uint32_t>(context.GetParam(index++, para.partName)); in GetParam() 62 ret |= static_cast<uint32_t>(context.GetParam(index++, para.srcSize)); in GetParam() 63 ret |= static_cast<uint32_t>(context.GetParam(index++, para.srcHash)); in GetParam() 64 ret |= static_cast<uint32_t>(context.GetParam(index++, para.destSize)); in GetParam() 65 ret |= static_cast<uint32_t>(context.GetParam(index++, para.destHash)); in GetParam() 66 ret |= static_cast<uint32_t>(context.GetParam(index++, para.patchFile)); in GetParam() 71 para.devPath = GetBlockDeviceByMountPoint(para.partName); in GetParam() 72 if (para.devPath.empty()) { in GetParam() 73 LOG(ERROR) << "get " << para.partName << " dev path error"; in GetParam() [all …]
|
D | update_image_patch.h | 40 int32_t GetParam(Uscript::UScriptContext &context, ImagePatchPara ¶); 41 int32_t CreatePatchStream(Uscript::UScriptEnv &env, const ImagePatchPara ¶, 44 std::string GetSourceFile(const ImagePatchPara ¶); 45 int32_t ApplyPatch(const ImagePatchPara ¶, const UpdatePatch::MemMapInfo &srcData, 65 int32_t GetParam(Uscript::UScriptContext &context, CheckPara ¶); 66 int32_t CheckHash(const CheckPara ¶);
|
/base/useriam/user_auth_framework/services/context/src/ |
D | context_factory.cpp | 35 std::shared_ptr<Context> ContextFactory::CreateSimpleAuthContext(const AuthContextPara ¶, in CreateSimpleAuthContext() argument 40 … auth = Common::MakeShared<AuthenticationImpl>(newContextId, para.userId, para.authType, para.atl); in CreateSimpleAuthContext() 42 auth->SetChallenge(para.challenge); in CreateSimpleAuthContext() 43 auth->SetAccessTokenId(para.tokenId); in CreateSimpleAuthContext() 44 auth->SetEndAfterFirstFail(para.endAfterFirstFail); in CreateSimpleAuthContext() 48 std::shared_ptr<Context> ContextFactory::CreateIdentifyContext(const IdentifyContextPara ¶, in CreateIdentifyContext() argument 53 auto identify = Common::MakeShared<IdentificationImpl>(newContextId, para.authType); in CreateIdentifyContext() 55 identify->SetChallenge(para.challenge); in CreateIdentifyContext() 56 identify->SetAccessTokenId(para.tokenId); in CreateIdentifyContext() 60 std::shared_ptr<Context> ContextFactory::CreateEnrollContext(const EnrollContextPara ¶, in CreateEnrollContext() argument [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/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 = "telephony.para" 32 ohos_prebuilt_etc("telephony.para.dac") { 33 source = "telephony.para.dac"
|
/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/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" 25 ohos_prebuilt_etc("display.para.dac") { 26 source = "display.para.dac" 34 ":display.para", 35 ":display.para.dac",
|
/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() 83 ->SetEndAfterFirstFail(para.endAfterFirstFail.value_or(false)) in ScheduleInfoToScheduleNode()
|
D | auth_widget_helper.cpp | 30 const WidgetParam &widgetParam, ContextFactory::AuthWidgetContextPara ¶) in InitWidgetContextParam() argument 34 if (!GetUserAuthProfile(userId, authType, profile, para.callingUid)) { in InitWidgetContextParam() 38 para.authProfileMap[authType] = profile; in InitWidgetContextParam() 45 para.challenge = std::move(authParam.challenge); in InitWidgetContextParam() 46 para.authTypeList = authParam.authType; in InitWidgetContextParam() 47 para.atl = authParam.authTrustLevel; in InitWidgetContextParam() 48 para.widgetParam = widgetParam; in InitWidgetContextParam() 50 para.widgetParam.windowMode = WindowModeType::DIALOG_BOX; in InitWidgetContextParam()
|
/base/usb/usb_manager/etc/param/ |
D | BUILD.gn | 15 ohos_prebuilt_etc("usb_service.para") { 16 source = "usb_service.para" 22 ohos_prebuilt_etc("usb_service.para.dac") { 23 source = "usb_service.para.dac" 31 ":usb_service.para", 32 ":usb_service.para.dac",
|
/base/account/os_account/services/accountmgr/param/ |
D | BUILD.gn | 18 ":account.para", 19 ":account.para.dac", 23 ohos_prebuilt_etc("account.para") { 24 source = "account.para" 30 ohos_prebuilt_etc("account.para.dac") { 31 source = "account.para.dac"
|
/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/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/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") { 26 "${access_token_path}/services/accesstokenmanager/etc/access_token.para" 32 ohos_prebuilt_etc("access_token.para.dac") { 33 source = "${access_token_path}/services/accesstokenmanager/etc/access_token.para.dac"
|
/base/security/dlp_permission_service/services/dlp_permission/sa/etc/ |
D | BUILD.gn | 19 ":dlp_permission.para", 20 ":dlp_permission.para.dac", 25 ohos_prebuilt_etc("dlp_permission.para") { 26 source = "${dlp_root_dir}/services/dlp_permission/sa/etc/dlp_permission.para" 32 ohos_prebuilt_etc("dlp_permission.para.dac") { 34 "${dlp_root_dir}/services/dlp_permission/sa/etc/dlp_permission.para.dac"
|
/base/useriam/user_auth_framework/services/ipc/src/ |
D | user_auth_service.cpp | 382 ContextFactory::AuthContextPara para = {}; in Auth() local 383 para.tokenId = IpcCommon::GetAccessTokenId(*this); in Auth() 384 para.userId = userId; in Auth() 385 para.authType = authType; in Auth() 386 para.atl = authTrustLevel; in Auth() 387 para.challenge = std::move(challenge); in Auth() 388 para.endAfterFirstFail = true; in Auth() 389 auto context = ContextFactory::CreateSimpleAuthContext(para, contextCallback); in Auth() 428 ContextFactory::AuthContextPara para = {}; in AuthUser() local 429 para.tokenId = IpcCommon::GetAccessTokenId(*this); in AuthUser() [all …]
|
/base/update/updater/services/ |
D | updater_init.h | 93 #define BOOT_MODE(name, para) BootMode { MODE_CONDITION(name), STRINGFY(name), para, MODE_ENTRY(nam… argument 95 #define REGISTER_MODE(name, para, ...) \ argument 96 DEFINE_INIT_EVENT(name, UPDATER_MAIN_PRE_EVENT, RegisterMode(BOOT_MODE(name, para)))
|