Home
last modified time | relevance | path

Searched refs:queryResult (Results 1 – 9 of 9) sorted by relevance

/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetpkinfolist_fuzzer/
Ddevauthservgetpkinfolist_fuzzer.cpp102 char *queryResult = nullptr; in FuzzDoGetPkInfoList() local
104 gmInstance->getPkInfoList(0, appId.c_str(), reqJsonStr, &queryResult, &resultNum); in FuzzDoGetPkInfoList()
105 if (queryResult != nullptr) { in FuzzDoGetPkInfoList()
106 gmInstance->destroyInfo(&queryResult); in FuzzDoGetPkInfoList()
/base/hiviewdfx/hiview/plugins/faultlogger/service/
Dfaultlog_database.cpp135 std::list<FaultLogInfo> queryResult; in GetFaultInfoList() local
138 return queryResult; in GetFaultInfoList()
156 queryResult.push_back(info); in GetFaultInfoList()
160 queryResult.sort( in GetFaultInfoList()
164 if (queryResult.size() > static_cast<size_t>(maxNum)) { in GetFaultInfoList()
165 queryResult.resize(maxNum); in GetFaultInfoList()
169 return queryResult; in GetFaultInfoList()
/base/hiviewdfx/hiview/plugins/faultlogger/service/idl/
Dfaultlogger_service_ohos.cpp149 auto queryResult = service->QuerySelfFaultLog(uid, pid, faultType, maxNum); in QuerySelfFaultLog() local
150 if (queryResult == nullptr) { in QuerySelfFaultLog()
156 new FaultLogQueryResultOhos(std::move(queryResult)); in QuerySelfFaultLog()
/base/usb/usb_manager/interfaces/kits/js/napi/src/
Dusb_info.cpp535 napi_value queryResult = nullptr; in __anonda14e13b0202() local
536 napi_get_boolean(env, asyncContext->status == napi_ok, &queryResult); in __anonda14e13b0202()
538 ProcessPromise(env, *asyncContext, queryResult); in __anonda14e13b0202()
634 napi_value queryResult = nullptr; in __anonda14e13b0402() local
638 napi_get_boolean(env, true, &queryResult); in __anonda14e13b0402()
641 queryResult = CreateBusinessError((env), USB_SYSAPI_PERMISSION_DENIED, ""); in __anonda14e13b0402()
644 queryResult = CreateBusinessError((env), USB_HDC_PERMISSION_DENIED, ""); in __anonda14e13b0402()
647 napi_get_boolean(env, false, &queryResult); in __anonda14e13b0402()
649 ProcessPromise(env, *asyncContext, queryResult); in __anonda14e13b0402()
788 napi_value queryResult = nullptr; in __anonda14e13b0602() local
[all …]
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
Devent_query_wrapper_builder.cpp183 int32_t& queryResult) in Query() argument
186 queryResult = ERR_LISTENER_NOT_EXIST; in Query()
197 [&queryResult] (EventStore::DbQueryStatus status) { in Query()
204 queryResult = statusToCode[status]; in Query()
206 if (queryResult != IPC_CALL_SUCCEED) { in Query()
207 eventQueryCallback->OnComplete(queryResult, totalEventCnt, maxSeq); in Query()
217 eventQueryCallback->OnComplete(queryResult, totalEventCnt, maxSeq); in Query()
Ddata_publisher.cpp251 int32_t queryResult = 0; in AddExportTask() local
252 queryWrapper->Query(exportCallback, queryResult); in AddExportTask()
258 int32_t queryResult = 0; in AddExportTask() local
259 queryWrapper->Query(exportCallback, queryResult); in AddExportTask()
/base/telephony/cellular_call/services/control/src/
Dcellular_call_supplement.cpp656 for (auto queryResult : cFQueryList.calls) { in EventGetCallTransferInfo() local
657 … TELEPHONY_LOGI("data: status %{public}d, classx %{public}d, type %{public}d", queryResult.status, in EventGetCallTransferInfo()
658 queryResult.classx, queryResult.type); in EventGetCallTransferInfo()
659 BuildCallForwardQueryInfo(queryResult, message, flag); in EventGetCallTransferInfo()
664 const CallForwardQueryResult &queryResult, const std::string &message, int32_t flag) in BuildCallForwardQueryInfo() argument
673 size_t cpyLen = strlen(queryResult.number.c_str()) + 1; in BuildCallForwardQueryInfo()
674 if (strcpy_s(response.number, cpyLen, queryResult.number.c_str()) != EOK) { in BuildCallForwardQueryInfo()
678 response.result = queryResult.result; in BuildCallForwardQueryInfo()
682 response.status = queryResult.status; in BuildCallForwardQueryInfo()
694 response.classx = queryResult.classx; in BuildCallForwardQueryInfo()
[all …]
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/
Devent_query_wrapper_builder.h58 …y(const OHOS::sptr<OHOS::HiviewDFX::IQueryBaseCallback>& eventQueryCallback, int32_t& queryResult);
/base/telephony/cellular_call/services/control/include/
Dcellular_call_supplement.h594 …void BuildCallForwardQueryInfo(const CallForwardQueryResult &queryResult, const std::string &messa…