Home
last modified time | relevance | path

Searched refs:requestResult (Results 1 – 17 of 17) sorted by relevance

/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/src/
Ddlp_permission_proxy.cpp64 int32_t requestResult = remote->SendRequest( in GenerateDlpCertificate() local
66 if (requestResult != DLP_OK) { in GenerateDlpCertificate()
67 DLP_LOG_ERROR(LABEL, "Request fail, result: %{public}d", requestResult); in GenerateDlpCertificate()
68 return requestResult; in GenerateDlpCertificate()
110 int32_t requestResult = remote->SendRequest( in ParseDlpCertificate() local
112 if (requestResult != DLP_OK) { in ParseDlpCertificate()
113 DLP_LOG_ERROR(LABEL, "Request fail, result: %{public}d", requestResult); in ParseDlpCertificate()
114 return requestResult; in ParseDlpCertificate()
161 int32_t requestResult = remote->SendRequest( in InstallDlpSandbox() local
163 if (requestResult != DLP_OK) { in InstallDlpSandbox()
[all …]
/base/security/security_component_manager/interfaces/inner_api/security_component/src/
Dsec_comp_proxy.cpp59 int32_t requestResult = remote->SendRequest( in RegisterSecurityComponent() local
62 if (requestResult != SC_OK) { in RegisterSecurityComponent()
63 SC_LOG_ERROR(LABEL, "Register request fail, result: %{public}d", requestResult); in RegisterSecurityComponent()
64 return requestResult; in RegisterSecurityComponent()
103 int32_t requestResult = remote->SendRequest( in UpdateSecurityComponent() local
105 if (requestResult != SC_OK) { in UpdateSecurityComponent()
106 SC_LOG_ERROR(LABEL, "Update request fail, result: %{public}d", requestResult); in UpdateSecurityComponent()
107 return requestResult; in UpdateSecurityComponent()
137 int32_t requestResult = remote->SendRequest( in UnregisterSecurityComponent() local
140 if (requestResult != SC_OK) { in UnregisterSecurityComponent()
[all …]
/base/security/access_token/interfaces/innerkits/tokensync/src/
Dtoken_sync_manager_proxy.cpp55 int32_t requestResult = remote->SendRequest(static_cast<uint32_t>( in GetRemoteHapTokenInfo() local
57 if (requestResult != NO_ERROR) { in GetRemoteHapTokenInfo()
58 ACCESSTOKEN_LOG_ERROR(LABEL, "send request fail, result: %{public}d", requestResult); in GetRemoteHapTokenInfo()
83 int32_t requestResult = remote->SendRequest(static_cast<uint32_t>( in DeleteRemoteHapTokenInfo() local
85 if (requestResult != NO_ERROR) { in DeleteRemoteHapTokenInfo()
86 ACCESSTOKEN_LOG_ERROR(LABEL, "send request fail, result: %{public}d", requestResult); in DeleteRemoteHapTokenInfo()
115 int32_t requestResult = remote->SendRequest(static_cast<uint32_t>( in UpdateRemoteHapTokenInfo() local
117 if (requestResult != NO_ERROR) { in UpdateRemoteHapTokenInfo()
118 ACCESSTOKEN_LOG_ERROR(LABEL, "send request fail, result: %{public}d", requestResult); in UpdateRemoteHapTokenInfo()
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_main/
Ddlp_permission_async_proxy.cpp55 int32_t requestResult = remote->SendRequest( in OnGenerateDlpCertificate() local
57 if (requestResult != DLP_OK) { in OnGenerateDlpCertificate()
58 DLP_LOG_ERROR(LABEL, "SendRequest fail, result: %{public}d", requestResult); in OnGenerateDlpCertificate()
98 int32_t requestResult = remote->SendRequest( in OnParseDlpCertificate() local
100 if (requestResult != DLP_OK) { in OnParseDlpCertificate()
101 DLP_LOG_ERROR(LABEL, "SendRequest fail, result: %{public}d", requestResult); in OnParseDlpCertificate()
/base/security/access_token/services/privacymanager/src/active/
Dperm_active_status_change_callback_proxy.cpp56 int32_t requestResult = remote->SendRequest( in ActiveStatusChangeCallback() local
58 if (requestResult != NO_ERROR) { in ActiveStatusChangeCallback()
59 ACCESSTOKEN_LOG_ERROR(LABEL, "send request fail, result: %{public}d", requestResult); in ActiveStatusChangeCallback()
Dstate_change_callback_proxy.cpp59 int32_t requestResult = remote->SendRequest( in StateChangeNotify() local
61 if (requestResult != NO_ERROR) { in StateChangeNotify()
62 ACCESSTOKEN_LOG_ERROR(LABEL, "send request fail, result: %{public}d", requestResult); in StateChangeNotify()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/callback/
Dpermission_state_change_callback_proxy.cpp57 int32_t requestResult = remote->SendRequest( in PermStateChangeCallback() local
59 if (requestResult != NO_ERROR) { in PermStateChangeCallback()
60 ACCESSTOKEN_LOG_ERROR(LABEL, "send request fail, result: %{public}d", requestResult); in PermStateChangeCallback()
/base/security/dlp_permission_service/services/dlp_permission/sa/callback/dlp_sandbox_change_callback/
Ddlp_sandbox_change_callback_proxy.cpp56 int32_t requestResult = remote->SendRequest( in DlpSandboxStateChangeCallback() local
58 if (requestResult != NO_ERROR) { in DlpSandboxStateChangeCallback()
59 DLP_LOG_ERROR(LABEL, "send request fail, result: %{public}d", requestResult); in DlpSandboxStateChangeCallback()
/base/security/dlp_permission_service/services/dlp_permission/sa/callback/open_dlp_file_callback/
Dopen_dlp_file_callback_proxy.cpp57 int32_t requestResult = in OnOpenDlpFile() local
59 if (requestResult != NO_ERROR) { in OnOpenDlpFile()
60 DLP_LOG_ERROR(LABEL, "send request fail, result: %{public}d", requestResult); in OnOpenDlpFile()
/base/security/access_token/services/privacymanager/src/record/
Don_permission_used_record_callback_proxy.cpp60 int32_t requestResult = remote->SendRequest( in OnQueried() local
62 if (requestResult != NO_ERROR) { in OnQueried()
63 ACCESSTOKEN_LOG_ERROR(LABEL, "send request fail, result: %{public}d", requestResult); in OnQueried()
/base/security/access_token/interfaces/innerkits/accesstoken/src/
Daccesstoken_manager_proxy.cpp52 int32_t requestResult = remote->SendRequest( in SendRequest() local
54 if (requestResult != NO_ERROR) { in SendRequest()
55 ACCESSTOKEN_LOG_ERROR(LABEL, "request fail, result: %{public}d", requestResult); in SendRequest()
81 int32_t requestResult = remote->SendRequest( in VerifyAccessToken() local
83 if (requestResult != NO_ERROR) { in VerifyAccessToken()
84 ACCESSTOKEN_LOG_ERROR(LABEL, "request fail, result: %{public}d", requestResult); in VerifyAccessToken()
417 int32_t requestResult = remote->SendRequest( in AllocHapToken() local
419 if (requestResult != NO_ERROR) { in AllocHapToken()
420 ACCESSTOKEN_LOG_ERROR(LABEL, "request fail, result: %{public}d", requestResult); in AllocHapToken()
519 int32_t requestResult = remote->SendRequest( in GetHapTokenID() local
[all …]
/base/security/device_security_level/services/dfx/
Ddslm_hidumper.c136 static void GetDefaultStatus(int32_t *requestResult, int32_t *verifyResult, uint32_t *credLevel) in GetDefaultStatus() argument
138 if (requestResult == NULL || verifyResult == NULL || credLevel == NULL) { in GetDefaultStatus()
150 *requestResult = DefaultRequestDslmCred(&identify, &object, &cred); in GetDefaultStatus()
249 int32_t requestResult = 0; in PrintDefaultStatus() local
253 GetDefaultStatus(&requestResult, &verifyResult, &credLevel); in PrintDefaultStatus()
261 …dprintf(fd, "REQUEST_TEST : %s" END_LINE, requestResult == SUCCESS ? "success" : "fai… in PrintDefaultStatus()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dget_active.cpp146 napi_value requestResult = nullptr; in AsyncCompleteCallbackGetActiveNotifications() local
147 napi_create_object(env, &requestResult); in AsyncCompleteCallbackGetActiveNotifications()
148 if (!Common::SetNotificationRequest(env, vec.GetRefPtr(), requestResult)) { in AsyncCompleteCallbackGetActiveNotifications()
152 napi_set_element(env, arr, count, requestResult); in AsyncCompleteCallbackGetActiveNotifications()
Dsubscribe.cpp66 napi_value requestResult = nullptr; in SetSubscribeCallbackData() local
67 napi_create_object(env, &requestResult); in SetSubscribeCallbackData()
68 if (!Common::SetNotification(env, request.get(), requestResult)) { in SetSubscribeCallbackData()
72 napi_set_named_property(env, result, "request", requestResult); in SetSubscribeCallbackData()
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
Dnapi_get_active.cpp149 napi_value requestResult = nullptr; in AsyncCompleteCallbackNapiGetActiveNotifications() local
150 napi_create_object(env, &requestResult); in AsyncCompleteCallbackNapiGetActiveNotifications()
151 if (!Common::SetNotificationRequest(env, vec.GetRefPtr(), requestResult)) { in AsyncCompleteCallbackNapiGetActiveNotifications()
155 napi_set_element(env, arr, count, requestResult); in AsyncCompleteCallbackNapiGetActiveNotifications()
/base/security/access_token/interfaces/kits/accesstoken/napi/src/
Dnapi_atmanager.cpp1076 …napi_value requestResult = WrapRequestResult(context->env, retCB->permissions, retCB->grantResults… in ResultCallbackJSThreadWorker() local
1077 if (requestResult == nullptr) { in ResultCallbackJSThreadWorker()
1083 ReturnPromiseResult(context->env, result, context->deferred, requestResult); in ResultCallbackJSThreadWorker()
1085 ReturnCallbackResult(context->env, result, context->callbackRef, requestResult); in ResultCallbackJSThreadWorker()
1224 napi_value requestResult = WrapRequestResult( in RequestPermissionsFromUserComplete() local
1226 if (requestResult == nullptr) { in RequestPermissionsFromUserComplete()
1230 asyncContext->requestResult = requestResult; in RequestPermissionsFromUserComplete()
1233 …eturnPromiseResult(env, asyncContext->result, asyncContext->deferred, asyncContext->requestResult); in RequestPermissionsFromUserComplete()
1235 …nCallbackResult(env, asyncContext->result, asyncContext->callbackRef, asyncContext->requestResult); in RequestPermissionsFromUserComplete()
/base/security/access_token/interfaces/kits/accesstoken/napi/include/
Dnapi_atmanager.h119 napi_value requestResult = nullptr; member