Home
last modified time | relevance | path

Searched refs:resultInfo (Results 1 – 25 of 49) sorted by relevance

12

/base/telephony/call_manager/services/telephony_interaction/src/
Dcall_status_callback.cpp132 AppExecFwk::PacMap resultInfo; in StartDtmfResult() local
133 resultInfo.PutIntValue("result", result); in StartDtmfResult()
135 … DelayedSingleton<CallAbilityReportProxy>::GetInstance()->ReportAsyncResults(reportId, resultInfo); in StartDtmfResult()
141 AppExecFwk::PacMap resultInfo; in StopDtmfResult() local
142 resultInfo.PutIntValue("result", result); in StopDtmfResult()
144 … DelayedSingleton<CallAbilityReportProxy>::GetInstance()->ReportAsyncResults(reportId, resultInfo); in StopDtmfResult()
150 AppExecFwk::PacMap resultInfo; in SendUssdResult() local
151 resultInfo.PutIntValue("result", result); in SendUssdResult()
153 … DelayedSingleton<CallAbilityReportProxy>::GetInstance()->ReportAsyncResults(reportId, resultInfo); in SendUssdResult()
171 AppExecFwk::PacMap resultInfo; in GetImsCallDataResult() local
[all …]
/base/telephony/call_manager/test/unittest/ui_client/
Dcall_manager_callback_test.cpp47 …agerCallbackTest::OnReportAsyncResults(CallResultReportId reportId, AppExecFwk::PacMap &resultInfo) in OnReportAsyncResults() argument
53 std::cout << "result:" << (int32_t)resultInfo.GetIntValue("result", -1) << std::endl in OnReportAsyncResults()
54 << "status:" << (int32_t)resultInfo.GetIntValue("status", -1) << std::endl in OnReportAsyncResults()
55 << "classCw:" << (int32_t)resultInfo.GetIntValue("classCw", -1) << std::endl; in OnReportAsyncResults()
58 std::cout << "result:" << (int32_t)resultInfo.GetIntValue("result", -1) << std::endl; in OnReportAsyncResults()
61 std::cout << "result:" << (int32_t)resultInfo.GetIntValue("result", -1) << std::endl in OnReportAsyncResults()
62 << "status:" << (int32_t)resultInfo.GetIntValue("status", -1) << std::endl in OnReportAsyncResults()
63 << "classCw:" << (int32_t)resultInfo.GetIntValue("classCw", -1) << std::endl; in OnReportAsyncResults()
66 std::cout << "result:" << (int32_t)resultInfo.GetIntValue("result", -1) << std::endl; in OnReportAsyncResults()
69 std::cout << "result:" << (int32_t)resultInfo.GetIntValue("result", -1) << std::endl; in OnReportAsyncResults()
[all …]
/base/useriam/user_auth_framework/services/context/src/
Dsimple_auth_context.cpp109 Authentication::AuthResultInfo resultInfo = {}; in OnResult() local
110 bool updateRet = UpdateScheduleResult(scheduleResultAttr, resultInfo); in OnResult()
116 resultInfo.result = resultCode; in OnResult()
118 if (NeedSetFreezingTimeAndRemainTimes(resultInfo.result)) { in OnResult()
120 ResultCode result = SetFreezingTimeAndRemainTimes(resultInfo.freezingTime, in OnResult()
121 resultInfo.remainTimes); in OnResult()
126 InvokeResultCallback(resultInfo); in OnResult()
148 Authentication::AuthResultInfo &resultInfo) in UpdateScheduleResult() argument
155 bool updateRet = auth_->Update(scheduleResult, resultInfo); in UpdateScheduleResult()
164 void SimpleAuthContext::InvokeResultCallback(const Authentication::AuthResultInfo &resultInfo) const in InvokeResultCallback()
[all …]
Didentify_context.cpp65 Identification::IdentifyResultInfo resultInfo = {}; in OnResult() local
66 bool updateRet = UpdateScheduleResult(scheduleResultAttr, resultInfo); in OnResult()
72 resultInfo.result = resultCode; in OnResult()
74 InvokeResultCallback(resultInfo); in OnResult()
96 Identification::IdentifyResultInfo &resultInfo) in UpdateScheduleResult() argument
103 bool updateRet = identify_->Update(scheduleResult, resultInfo); in UpdateScheduleResult()
112 void IdentifyContext::InvokeResultCallback(const Identification::IdentifyResultInfo &resultInfo) co… in InvokeResultCallback()
117 …bool setResultCodeRet = finalResult.SetInt32Value(Attributes::ATTR_RESULT_CODE, resultInfo.result); in InvokeResultCallback()
119 bool setUserIdRet = finalResult.SetInt32Value(Attributes::ATTR_USER_ID, resultInfo.userId); in InvokeResultCallback()
121 if (resultInfo.token.size() != 0) { in InvokeResultCallback()
[all …]
/base/telephony/call_manager/frameworks/js/napi/include/
Dnapi_call_ability_callback.h72 … int32_t UpdateAsyncResultsInfo(const CallResultReportId reportId, AppExecFwk::PacMap &resultInfo);
87 int32_t ReportGetWaitingInfo(AppExecFwk::PacMap &resultInfo);
88 int32_t ReportSetWaitingInfo(AppExecFwk::PacMap &resultInfo);
89 int32_t ReportGetRestrictionInfo(AppExecFwk::PacMap &resultInfo);
90 int32_t ReportSetRestrictionInfo(AppExecFwk::PacMap &resultInfo);
91 int32_t ReportSetRestrictionPassword(AppExecFwk::PacMap &resultInfo);
92 int32_t ReportGetTransferInfo(AppExecFwk::PacMap &resultInfo);
93 int32_t ReportSetTransferInfo(AppExecFwk::PacMap &resultInfo);
95 … static void ReportWaitAndLimitInfo(AppExecFwk::PacMap &resultInfo, EventCallback supplementInfo);
97 static void ReportSupplementInfo(AppExecFwk::PacMap &resultInfo, EventCallback supplementInfo);
[all …]
/base/telephony/call_manager/frameworks/native/src/
Dcall_ability_callback_stub.cpp137 AppExecFwk::PacMap resultInfo; in OnUpdateAysncResults() local
139 resultInfo.PutIntValue("result", data.ReadInt32()); in OnUpdateAysncResults()
143 resultInfo.PutIntValue("status", data.ReadInt32()); in OnUpdateAysncResults()
144 resultInfo.PutIntValue("classCw", data.ReadInt32()); in OnUpdateAysncResults()
147 resultInfo.PutIntValue("status", data.ReadInt32()); in OnUpdateAysncResults()
148 resultInfo.PutIntValue("classx", data.ReadInt32()); in OnUpdateAysncResults()
149 resultInfo.PutStringValue("number", data.ReadString()); in OnUpdateAysncResults()
150 resultInfo.PutIntValue("type", data.ReadInt32()); in OnUpdateAysncResults()
151 resultInfo.PutIntValue("reason", data.ReadInt32()); in OnUpdateAysncResults()
152 resultInfo.PutIntValue("time", data.ReadInt32()); in OnUpdateAysncResults()
[all …]
/base/useriam/user_auth_framework/services/core/src/
Dauthentication_impl.cpp118 … AuthenticationImpl::Update(const std::vector<uint8_t> &scheduleResult, AuthResultInfo &resultInfo) in Update() argument
137 resultInfo.result = static_cast<decltype(resultInfo.result)>(info.result); in Update()
138 resultInfo.freezingTime = info.lockoutDuration; in Update()
139 resultInfo.remainTimes = info.remainAttempts; in Update()
140 resultInfo.token = info.token; in Update()
141 resultInfo.rootSecret = info.rootSecret; in Update()
143 if (resultInfo.result != SUCCESS) { in Update()
144 SetLatestError(resultInfo.result); in Update()
147 return result == HDF_SUCCESS && resultInfo.result == SUCCESS; in Update()
Didentification_impl.cpp103 …ntificationImpl::Update(const std::vector<uint8_t> &scheduleResult, IdentifyResultInfo &resultInfo) in Update() argument
119 resultInfo.result = info.result; in Update()
120 resultInfo.userId = info.userId; in Update()
121 resultInfo.token = info.token; in Update()
Denrollment_impl.cpp160 HdiEnrollResultInfo resultInfo = {}; in Update() local
161 auto result = hdi->UpdateEnrollmentResult(userId_, scheduleResult, resultInfo); in Update()
169 credentialId = resultInfo.credentialId; in Update()
170 rootSecret = resultInfo.rootSecret; in Update()
183 info = Common::MakeShared<CredentialInfoImpl>(userId_, resultInfo.oldInfo); in Update()
/base/telephony/call_manager/services/call_report/src/
Dcall_ability_callback_proxy.cpp111 …ityCallbackProxy::OnReportAsyncResults(CallResultReportId reportId, AppExecFwk::PacMap &resultInfo) in OnReportAsyncResults() argument
120 PackDataParcel(reportId, resultInfo, dataParcel); in OnReportAsyncResults()
162 CallResultReportId reportId, AppExecFwk::PacMap &resultInfo, MessageParcel &dataParcel) in PackDataParcel() argument
165 dataParcel.WriteInt32(resultInfo.GetIntValue("result")); in PackDataParcel()
169 dataParcel.WriteInt32(resultInfo.GetIntValue("status")); in PackDataParcel()
170 dataParcel.WriteInt32(resultInfo.GetIntValue("classCw")); in PackDataParcel()
173 dataParcel.WriteInt32(resultInfo.GetIntValue("status")); in PackDataParcel()
174 dataParcel.WriteInt32(resultInfo.GetIntValue("classx")); in PackDataParcel()
175 dataParcel.WriteString(resultInfo.GetStringValue("number")); in PackDataParcel()
176 dataParcel.WriteInt32(resultInfo.GetIntValue("type")); in PackDataParcel()
[all …]
/base/telephony/cellular_data/services/src/state_machine/
Dactivating.cpp56 …std::shared_ptr<SetupDataCallResultInfo> resultInfo = event->GetSharedObject<SetupDataCallResultIn… in RilActivatePdpContextDone() local
57 if (resultInfo == nullptr) { in RilActivatePdpContextDone()
62 resultInfo->active, resultInfo->flag, resultInfo->cid, resultInfo->reason); in RilActivatePdpContextDone()
63 if (stateMachine->connectId_ != resultInfo->flag) { in RilActivatePdpContextDone()
64 …NY_LOGE("connectId is %{public}d, flag is %{public}d", stateMachine->connectId_, resultInfo->flag); in RilActivatePdpContextDone()
67 if (resultInfo->reason != 0) { in RilActivatePdpContextDone()
69 DisConnectionReason disReason = DataCallPdpError(resultInfo->reason); in RilActivatePdpContextDone()
75 if (resultInfo->active == 0) { in RilActivatePdpContextDone()
82 stateMachine->SetCid(resultInfo->cid); in RilActivatePdpContextDone()
/base/telephony/cellular_call/services/ims_service_interaction/src/
Dims_call_callback_stub.cpp379 SsBaseResult resultInfo; in OnSetClipResponseInner() local
380 resultInfo.index = data.ReadInt32(); in OnSetClipResponseInner()
381 resultInfo.result = data.ReadInt32(); in OnSetClipResponseInner()
382 resultInfo.reason = data.ReadInt32(); in OnSetClipResponseInner()
383 resultInfo.message = data.ReadString(); in OnSetClipResponseInner()
384 if (resultInfo.index == INVALID_INDEX) { in OnSetClipResponseInner()
387 reply.WriteInt32(SetClipResponse(slotId, resultInfo)); in OnSetClipResponseInner()
431 SsBaseResult resultInfo; in OnSetClirResponseInner() local
432 resultInfo.index = data.ReadInt32(); in OnSetClirResponseInner()
433 resultInfo.result = data.ReadInt32(); in OnSetClirResponseInner()
[all …]
Dims_call_callback_proxy.cpp255 int32_t ImsCallCallbackProxy::SetClipResponse(int32_t slotId, const SsBaseResult &resultInfo) in SetClipResponse() argument
258 int32_t ret = WriteSsBaseResultCommonInfo(slotId, __FUNCTION__, in, resultInfo); in SetClipResponse()
300 int32_t ImsCallCallbackProxy::SetClirResponse(int32_t slotId, const SsBaseResult &resultInfo) in SetClirResponse() argument
303 int32_t ret = WriteSsBaseResultCommonInfo(slotId, __FUNCTION__, in, resultInfo); in SetClirResponse()
336 …t32_t ImsCallCallbackProxy::SetCallTransferResponse(int32_t slotId, const SsBaseResult &resultInfo) in SetCallTransferResponse() argument
339 int32_t ret = WriteSsBaseResultCommonInfo(slotId, __FUNCTION__, in, resultInfo); in SetCallTransferResponse()
364 …_t ImsCallCallbackProxy::SetCallRestrictionResponse(int32_t slotId, const SsBaseResult &resultInfo) in SetCallRestrictionResponse() argument
367 int32_t ret = WriteSsBaseResultCommonInfo(slotId, __FUNCTION__, in, resultInfo); in SetCallRestrictionResponse()
392 int32_t ImsCallCallbackProxy::SetCallWaitingResponse(int32_t slotId, const SsBaseResult &resultInfo) in SetCallWaitingResponse() argument
395 int32_t ret = WriteSsBaseResultCommonInfo(slotId, __FUNCTION__, in, resultInfo); in SetCallWaitingResponse()
[all …]
/base/telephony/cellular_call/interfaces/innerkits/ims/
Dims_call_callback_interface.h230 virtual int32_t SetClipResponse(int32_t slotId, const SsBaseResult &resultInfo) = 0;
260 virtual int32_t SetClirResponse(int32_t slotId, const SsBaseResult &resultInfo) = 0;
280 virtual int32_t SetCallTransferResponse(int32_t slotId, const SsBaseResult &resultInfo) = 0;
300 virtual int32_t SetCallRestrictionResponse(int32_t slotId, const SsBaseResult &resultInfo) = 0;
320 virtual int32_t SetCallWaitingResponse(int32_t slotId, const SsBaseResult &resultInfo) = 0;
330 virtual int32_t SetColrResponse(int32_t slotId, const SsBaseResult &resultInfo) = 0;
350 virtual int32_t SetColpResponse(int32_t slotId, const SsBaseResult &resultInfo) = 0;
Dims_call_callback_proxy.h57 int32_t SetClipResponse(int32_t slotId, const SsBaseResult &resultInfo) override;
60 int32_t SetClirResponse(int32_t slotId, const SsBaseResult &resultInfo) override;
62 int32_t SetCallTransferResponse(int32_t slotId, const SsBaseResult &resultInfo) override;
64 int32_t SetCallRestrictionResponse(int32_t slotId, const SsBaseResult &resultInfo) override;
66 int32_t SetCallWaitingResponse(int32_t slotId, const SsBaseResult &resultInfo) override;
67 int32_t SetColrResponse(int32_t slotId, const SsBaseResult &resultInfo) override;
69 int32_t SetColpResponse(int32_t slotId, const SsBaseResult &resultInfo) override;
Dims_call_callback_stub.h60 int32_t SetClipResponse(int32_t slotId, const SsBaseResult &resultInfo) override;
63 int32_t SetClirResponse(int32_t slotId, const SsBaseResult &resultInfo) override;
65 int32_t SetCallTransferResponse(int32_t slotId, const SsBaseResult &resultInfo) override;
67 int32_t SetCallRestrictionResponse(int32_t slotId, const SsBaseResult &resultInfo) override;
69 int32_t SetCallWaitingResponse(int32_t slotId, const SsBaseResult &resultInfo) override;
70 int32_t SetColrResponse(int32_t slotId, const SsBaseResult &resultInfo) override;
72 int32_t SetColpResponse(int32_t slotId, const SsBaseResult &resultInfo) override;
131 int32_t SendEvent(int32_t slotId, int32_t eventId, const SsBaseResult &resultInfo);
/base/print/print_fwk/test/unittest/service_test/
Dprint_bms_helper_test.cpp90 std::vector<AppExecFwk::ExtensionAbilityInfo> resultInfo; variable
92 EXPECT_FALSE(DelayedSingleton<PrintBMSHelper>::GetInstance()->QueryExtensionInfos(resultInfo));
103 std::vector<AppExecFwk::ExtensionAbilityInfo> resultInfo; variable
108 EXPECT_FALSE(DelayedSingleton<PrintBMSHelper>::GetInstance()->QueryExtensionInfos(resultInfo));
119 std::vector<AppExecFwk::ExtensionAbilityInfo> resultInfo; variable
128 EXPECT_FALSE(DelayedSingleton<PrintBMSHelper>::GetInstance()->QueryExtensionInfos(resultInfo));
139 std::vector<AppExecFwk::ExtensionAbilityInfo> resultInfo; variable
153 EXPECT_FALSE(DelayedSingleton<PrintBMSHelper>::GetInstance()->QueryExtensionInfos(resultInfo));
166 std::vector<AppExecFwk::ExtensionAbilityInfo> resultInfo; variable
186 EXPECT_TRUE(DelayedSingleton<PrintBMSHelper>::GetInstance()->QueryExtensionInfos(resultInfo));
/base/telephony/call_manager/test/unittest/call_manager_gtest/include/
Dcall_manager_connect.h315 int32_t OnReportAsyncResults(CallResultReportId reportId, AppExecFwk::PacMap &resultInfo) in OnReportAsyncResults() argument
398 AppExecFwk::PacMap resultInfo; in OnUpdateAsyncResultRequest() local
400 resultInfo.PutIntValue("result", data.ReadInt32()); in OnUpdateAsyncResultRequest()
404 resultInfo.PutIntValue("status", data.ReadInt32()); in OnUpdateAsyncResultRequest()
405 resultInfo.PutIntValue("classCw", data.ReadInt32()); in OnUpdateAsyncResultRequest()
408 resultInfo.PutIntValue("status", data.ReadInt32()); in OnUpdateAsyncResultRequest()
409 resultInfo.PutIntValue("classx", data.ReadInt32()); in OnUpdateAsyncResultRequest()
410 resultInfo.PutStringValue("number", data.ReadString()); in OnUpdateAsyncResultRequest()
411 resultInfo.PutIntValue("type", data.ReadInt32()); in OnUpdateAsyncResultRequest()
412 resultInfo.PutIntValue("reason", data.ReadInt32()); in OnUpdateAsyncResultRequest()
[all …]
/base/useriam/user_auth_framework/services/context/inc/
Didentify_context.h43 Identification::IdentifyResultInfo &resultInfo);
44 void InvokeResultCallback(const Identification::IdentifyResultInfo &resultInfo) const;
Dsimple_auth_context.h43 Authentication::AuthResultInfo &resultInfo);
44 void InvokeResultCallback(const Authentication::AuthResultInfo &resultInfo) const;
/base/telephony/call_manager/frameworks/js/napi/src/
Dnapi_call_ability_callback.cpp317 int32_t NapiCallAbilityCallback::ReportStartRttInfo(AppExecFwk::PacMap &resultInfo) in ReportStartRttInfo() argument
332 dataWorker->info = resultInfo; in ReportStartRttInfo()
347 int32_t NapiCallAbilityCallback::ReportStopRttInfo(AppExecFwk::PacMap &resultInfo) in ReportStopRttInfo() argument
362 dataWorker->info = resultInfo; in ReportStopRttInfo()
377 int32_t NapiCallAbilityCallback::ReportCallMediaModeInfo(AppExecFwk::PacMap &resultInfo) in ReportCallMediaModeInfo() argument
392 dataWorker->info = resultInfo; in ReportCallMediaModeInfo()
643 const CallResultReportId reportId, AppExecFwk::PacMap &resultInfo) in UpdateAsyncResultsInfo() argument
650 result = (this->*memberFunc)(resultInfo); in UpdateAsyncResultsInfo()
854 int32_t NapiCallAbilityCallback::ReportGetWaitingInfo(AppExecFwk::PacMap &resultInfo) in ReportGetWaitingInfo() argument
869 dataWorker->info = resultInfo; in ReportGetWaitingInfo()
[all …]
/base/security/device_security_level/oem_property/ohos/common/
Ddslm_ohos_verify.c234 struct DslmInfoInCertChain resultInfo; in VerifyStandardDslmCred() local
235 int32_t ret = InitDslmInfoInCertChain(&resultInfo); in VerifyStandardDslmCred()
243 ret = ValidateCertChainAdapter(credBuff->credVal, credBuff->credLen, &resultInfo); in VerifyStandardDslmCred()
250 ret = VerifyNonceOfCertChain(resultInfo.nonceStr, device, challenge); in VerifyStandardDslmCred()
257 ret = VerifyDslmCredential(resultInfo.credStr, credInfo, NULL); in VerifyStandardDslmCred()
269 DestroyDslmInfoInCertChain(&resultInfo); in VerifyStandardDslmCred()
/base/telephony/call_manager/services/call_report/include/
Dcall_ability_callback_proxy.h35 …int32_t OnReportAsyncResults(CallResultReportId reportId, AppExecFwk::PacMap &resultInfo) override;
42 …void PackDataParcel(CallResultReportId reportId, AppExecFwk::PacMap &resultInfo, MessageParcel &da…
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
Dremote_token_kit_test.cpp247 HapTokenInfo resultInfo; variable
248 ret = AccessTokenKit::GetHapTokenInfo(mapID, resultInfo);
250 ASSERT_EQ(resultInfo.apl, remoteTokenInfo.baseInfo.apl);
251 ASSERT_EQ(resultInfo.ver, remoteTokenInfo.baseInfo.ver);
252 ASSERT_EQ(resultInfo.userID, remoteTokenInfo.baseInfo.userID);
253 ASSERT_EQ(resultInfo.bundleName, remoteTokenInfo.baseInfo.bundleName);
254 ASSERT_EQ(resultInfo.instIndex, remoteTokenInfo.baseInfo.instIndex);
255 ASSERT_EQ(resultInfo.appID, remoteTokenInfo.baseInfo.appID);
256 ASSERT_EQ(resultInfo.deviceID, remoteTokenInfo.baseInfo.deviceID);
257 … ASSERT_NE(resultInfo.tokenID, remoteTokenInfo.baseInfo.tokenID); // tokenID already is map tokenID
[all …]
/base/telephony/sms_mms/test/fuzztest/getsmssegmentsinfo_fuzzer/
Dgetsmssegmentsinfo_fuzzer.cpp151 SendSmsResultInfo resultInfo; in ImsSendMessageResponseInner() local
152 resultInfo.msgRef = static_cast<uint32_t>(size); in ImsSendMessageResponseInner()
154 resultInfo.pdu = pdu; in ImsSendMessageResponseInner()
155 resultInfo.errCode = static_cast<uint32_t>(size); in ImsSendMessageResponseInner()
156 resultInfo.flag = static_cast<int64_t>(size); in ImsSendMessageResponseInner()
157 dataParcel.WriteRawData((const void *)&resultInfo, sizeof(SendSmsResultInfo)); in ImsSendMessageResponseInner()

12