/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetpkinfolist_fuzzer/ |
D | devauthservgetpkinfolist_fuzzer.cpp | 102 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/ |
D | faultlog_database.cpp | 135 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/ |
D | faultlogger_service_ohos.cpp | 149 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/ |
D | usb_info.cpp | 535 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/ |
D | event_query_wrapper_builder.cpp | 183 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()
|
D | data_publisher.cpp | 251 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/ |
D | cellular_call_supplement.cpp | 656 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/ |
D | event_query_wrapper_builder.h | 58 …y(const OHOS::sptr<OHOS::HiviewDFX::IQueryBaseCallback>& eventQueryCallback, int32_t& queryResult);
|
/base/telephony/cellular_call/services/control/include/ |
D | cellular_call_supplement.h | 594 …void BuildCallForwardQueryInfo(const CallForwardQueryResult &queryResult, const std::string &messa…
|