Home
last modified time | relevance | path

Searched refs:infos (Results 51 - 73 of 73) sorted by relevance

123

/drivers/peripheral/camera/test/demo_3A/
H A Dohos_camera_demo_3a.h191 int32_t OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo>& infos) override;
192 int32_t OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo>& infos) override;
H A Dohos_camera_demo_3a.cpp1206 int32_t DemoStreamOperatorCallback::OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo>& infos) in OnCaptureEnded() argument
1213 int32_t DemoStreamOperatorCallback::OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo>& infos) in OnCaptureError() argument
/drivers/peripheral/camera/test/ut/v4l2/
H A Dtest_camera_base.h209 int32_t OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo>& infos) override;
210 int32_t OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo>& infos) override;
H A Dtest_camera_base.cpp789 int32_t DemoStreamOperatorCallback::OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo>& infos) in OnCaptureEnded() argument
815 int32_t DemoStreamOperatorCallback::OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo>& infos) in OnCaptureError() argument
/drivers/peripheral/camera/hdi_service/v1_0/src/
H A Dstream_operator_service.cpp37 const std::vector<StreamInfo> &infos, StreamSupportType &type) in IsStreamsSupported()
41 for (auto info : infos) { in IsStreamsSupported()
36 IsStreamsSupported(OperationMode mode, const std::vector<uint8_t> &modeSetting, const std::vector<StreamInfo> &infos, StreamSupportType &type) IsStreamsSupported() argument
/drivers/peripheral/camera/test/demo/
H A Dohos_camera_demo.h187 int32_t OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo>& infos) override;
188 int32_t OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo>& infos) override;
H A Dohos_camera_demo.cpp1200 int32_t DemoStreamOperatorCallback::OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo>& infos) in OnCaptureEnded() argument
1207 int32_t DemoStreamOperatorCallback::OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo>& infos) in OnCaptureError() argument
/drivers/peripheral/distributed_camera/hdi_service/test/sample/
H A Ddcamera_hdf_demo.h206 int32_t OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo>& infos) override;
207 int32_t OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo>& infos) override;
H A Ddcamera_hdf_demo.cpp1148 int32_t DemoStreamOperatorCallback::OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo>& infos) in OnCaptureEnded() argument
1150 DHLOGI("%{public}s, enter. captureId = %{public}d, infos size = %{public}zu", __func__, captureId, infos.size()); in OnCaptureEnded()
1154 int32_t DemoStreamOperatorCallback::OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo>& infos) in OnCaptureError() argument
1156 DHLOGI("%{public}s, enter. captureId = %{public}d, infos size = %{public}zu", __func__, captureId, infos.size()); in OnCaptureError()
/drivers/peripheral/camera/vdi_base/common/dump/src/
H A Dcamera_dump.cpp346 std::vector<std::string> infos; in CheckDiskInfo() local
349 infos.push_back(out); in CheckDiskInfo()
352 std::string userPerStr = infos[4].substr(0, infos[4].length() - 1); in CheckDiskInfo()
/drivers/peripheral/wlan/client/src/netlink/
H A Dnetlink_event_adapter.c406 networkInfo.infos[i].name, if_nametoindex(networkInfo.infos[i].name), networkInfo.infos[i].supportMode); in ProcessEvent()
407 if (ifidx == if_nametoindex(networkInfo.infos[i].name)) { in ProcessEvent()
408 DoProcessEvent(networkInfo.infos[i].name, hdr->cmd, attr); in ProcessEvent()
H A Dnetlink_cmd_adapter.c1032 ifName = infoResult->infos[infoResult->nums].name; in GetAllIfaceInfo()
1034 HILOG_ERROR(LOG_CORE, "%s: strncpy_s infoResult->infos failed", __FUNCTION__); in GetAllIfaceInfo()
1072 ret = memset_s(result->infos[i].supportMode, sizeof(result->infos[i].supportMode), 0, in GetUsableNetworkInfo()
1073 sizeof(result->infos[i].supportMode)); in GetUsableNetworkInfo()
1075 HILOG_ERROR(LOG_CORE, "%s: memset_s esult->infos failed", __FUNCTION__); in GetUsableNetworkInfo()
1078 if (strncmp(result->infos[i].name, STR_WLAN0, strlen(STR_WLAN0)) == 0) { in GetUsableNetworkInfo()
1079 result->infos[i].supportMode[WIFI_IFTYPE_STATION] = 1; in GetUsableNetworkInfo()
1080 result->infos[i].supportMode[WIFI_IFTYPE_AP] = NetLinkGetChipProp() ? 0 : 1; in GetUsableNetworkInfo()
1081 } else if (strncmp(result->infos[ in GetUsableNetworkInfo()
[all...]
/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/
H A Dwpa_p2p_cmd.c1488 infoList->infos = (struct HdiP2pNetworkInfo *)OsalMemCalloc(sizeof(struct HdiP2pNetworkInfo) * infoList->infoNum); in WpaInterfaceP2pListNetworks()
1489 if (infoList->infos == NULL) { in WpaInterfaceP2pListNetworks()
1491 HDF_LOGE("malloc infos failed!"); in WpaInterfaceP2pListNetworks()
1504 infoList->infos[index].ssid = (uint8_t *)OsalMemCalloc(sizeof(uint8_t) * WIFI_SSID_LENGTH); in WpaInterfaceP2pListNetworks()
1505 if (infoList->infos[index].ssid == NULL) { in WpaInterfaceP2pListNetworks()
1507 HdiP2pNetworkInfoFree(&(infoList->infos[index]), true); in WpaInterfaceP2pListNetworks()
1510 infoList->infos[index].ssidLen = WIFI_SSID_LENGTH; in WpaInterfaceP2pListNetworks()
1511 infoList->infos[index].bssid = (uint8_t *)OsalMemCalloc(sizeof(uint8_t) * (ETH_ADDR_LEN + 1)); in WpaInterfaceP2pListNetworks()
1512 if (infoList->infos[index].bssid == NULL) { in WpaInterfaceP2pListNetworks()
1514 HdiP2pNetworkInfoFree(&(infoList->infos[inde in WpaInterfaceP2pListNetworks()
[all...]
H A Dwpa_common_cmd.c291 WifiNetworkInfo *infos = (WifiNetworkInfo *)calloc(size, sizeof(WifiNetworkInfo)); in WpaInterfaceListNetworks() local
292 if (infos == NULL) { in WpaInterfaceListNetworks()
301 free(infos); in WpaInterfaceListNetworks()
304 int ret = pStaIfc->wpaCliCmdListNetworks(pStaIfc, infos, &size); in WpaInterfaceListNetworks()
308 free(infos); in WpaInterfaceListNetworks()
311 WifiNetworkInfo *infosTmp = infos; in WpaInterfaceListNetworks()
314 WpaFillWpaListNetworkParam(infos, networkInfo); in WpaInterfaceListNetworks()
315 infos++; in WpaInterfaceListNetworks()
/drivers/peripheral/display/composer/test/fuzztest/device_fuzzer/
H A Ddevice_fuzzer.cpp125 std::vector<DisplayModeInfo> infos; in TestGetDisplaySupportedModes() local
126 infos.push_back(info); in TestGetDisplaySupportedModes()
127 int32_t ret = g_composerInterface->GetDisplaySupportedModes(devId, infos); in TestGetDisplaySupportedModes()
/drivers/peripheral/distributed_camera/hdi_service/src/dstream_operator/
H A Ddstream_operator.cpp33 const std::vector<StreamInfo> &infos, StreamSupportType &type) in IsStreamsSupported()
35 if (IsStreamInfosInvalid(infos)) { in IsStreamsSupported()
36 DHLOGE("DStreamOperator::IsStreamsSupported, input stream infos is invalid."); in IsStreamsSupported()
44 for (const auto &it : infos) { in IsStreamsSupported()
55 const std::vector<StreamInfo_V1_1> &infos, StreamSupportType &type) in IsStreamsSupported_V1_1()
59 for (auto info_v1_1 : infos) { in IsStreamsSupported_V1_1()
315 bool DStreamOperator::IsStreamInfosInvalid(const std::vector<StreamInfo> &infos) in IsStreamInfosInvalid() argument
317 if (infos.empty() || infos.size() > CONTAINER_CAPACITY_MAX_SIZE) { in IsStreamInfosInvalid()
320 for (auto streamInfo : infos) { in IsStreamInfosInvalid()
32 IsStreamsSupported(OperationMode mode, const std::vector<uint8_t> &modeSetting, const std::vector<StreamInfo> &infos, StreamSupportType &type) IsStreamsSupported() argument
54 IsStreamsSupported_V1_1(OperationMode_V1_1 mode, const std::vector<uint8_t> &modeSetting, const std::vector<StreamInfo_V1_1> &infos, StreamSupportType &type) IsStreamsSupported_V1_1() argument
[all...]
/drivers/peripheral/user_auth/hdi_service/service/
H A Duser_auth_interface_service.cpp502 std::vector<HdiScheduleInfo> &infos) in BeginAuthentication()
505 infos.clear(); in BeginAuthentication()
533 infos.clear(); in BeginAuthentication()
538 infos.push_back(temp); in BeginAuthentication()
1066 int32_t UserAuthInterfaceService::GetCredential(int32_t userId, int32_t authType, std::vector<CredentialInfo> &infos) in GetCredential() argument
1076 infos.reserve(credList->getSize(credList)); in GetCredential()
1087 infos.push_back(credentialInfo); in GetCredential()
1095 std::vector<EnrolledInfo> &infos) in GetUserInfo()
1112 infos.push_back(enrolledInfo); in GetUserInfo()
501 BeginAuthentication(uint64_t contextId, const HdiAuthParam &param, std::vector<HdiScheduleInfo> &infos) BeginAuthentication() argument
1094 GetUserInfo(int32_t userId, uint64_t &secureUid, int32_t &pinSubType, std::vector<EnrolledInfo> &infos) GetUserInfo() argument
/drivers/peripheral/wlan/client/src/sbuf/
H A Dsbuf_cmd_adapter.c58 if (strncpy_s(result->infos[i].name, IFNAMSIZ, ifName, strlen(ifName)) != EOK) { in ParserNetworkInfo()
62 if (memcpy_s(result->infos[i].supportMode, WIFI_IFTYPE_MAX, mode, replayDataSize) != EOK) { in ParserNetworkInfo()
139 replayDataSize > sizeof(result->infos)) { in ParserAssociatedStas()
143 if (memcpy_s(result->infos, sizeof(result->infos), replayData, replayDataSize) != EOK) { in ParserAssociatedStas()
/drivers/peripheral/wlan/client/include/
H A Dwifi_driver_client.h230 struct NetworkInfo infos[MAX_IFACE_NUM]; member
248 struct AssocStaInfo infos[MAX_ASSOC_STA_NUM]; member
/drivers/peripheral/audio/supportlibs/alsa_adapter/src/
H A Dalsa_soundcard.c134 static int CfgGetAdapterInfo(const char* adapterName, struct AlsaAdapterCfgInfo infos[], int infoLen) in CfgGetAdapterInfo() argument
147 infos[index++] = *info; in CfgGetAdapterInfo()
297 static struct AlsaDevInfo *DevGetInfoByAdapter(struct AlsaAdapterCfgInfo infos[], int32_t size) in DevGetInfoByAdapter() argument
304 if (info->card == infos[j].cardId) { in DevGetInfoByAdapter()
/drivers/peripheral/camera/test/ut/usb_camera/
H A Dtest_camera_base.cpp810 int32_t DemoStreamOperatorCallback::OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo>& infos) in OnCaptureEnded() argument
836 int32_t DemoStreamOperatorCallback::OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo>& infos) in OnCaptureError() argument
/drivers/peripheral/audio/hdi_service/primary_impl/include/
H A Daudio_internal.h320 struct AudioRenderAndCaptureInfo infos; member
/drivers/peripheral/camera/test/mpi/src/
H A Dhdi_stream_test.cpp164 std::vector<std::shared_ptr<OHOS::Camera::StreamInfo>> infos = {}; in HWTEST_F() local
165 Test_->rc = Test_->streamOperator->IsStreamsSupported(NORMAL, Test_->ability, infos, pType); in HWTEST_F()

Completed in 34 milliseconds

123