Home
last modified time | relevance | path

Searched refs:infos (Results 1 – 25 of 37) sorted by relevance

12

/hardware/google/gfxstream/host/gl/gl-host-common/opengl/
Dgpuinfo.cpp60 infos.push_back(GpuInfo()); in addGpu()
63 if (infos.empty()) { addGpu(); } in currGpu()
64 return infos.back(); in currGpu()
69 for (unsigned int i = 0; i < infos.size(); i++) { in dump()
72 if (!infos[i].make.empty()) { in dump()
73 ss << " Make: " << infos[i].make << std::endl; in dump()
75 if (!infos[i].model.empty()) { in dump()
76 ss << " Model: " << infos[i].model << std::endl; in dump()
78 if (!infos[i].device_id.empty()) { in dump()
79 ss << " Device ID: " << infos[i].device_id << std::endl; in dump()
[all …]
Dgpuinfo_unittest.cpp398 EXPECT_EQ(2, (int)gpulist.infos.size()); in TEST()
407 EXPECT_TRUE(gpulist.infos.size() == 1); in TEST()
409 GpuInfo& nvidia_info = gpulist.infos[0]; in TEST()
436 EXPECT_TRUE(gpulist.infos.size() == 2); in TEST()
438 GpuInfo& ati_info = gpulist.infos[0]; in TEST()
468 GpuInfo& intel_info = gpulist.infos[1]; in TEST()
496 EXPECT_TRUE(gpulist.infos.size() == 0); in TEST()
505 EXPECT_TRUE(gpulist.infos.size() == 1); in TEST()
514 EXPECT_TRUE(gpulist.infos.size() == 0); in TEST()
523 EXPECT_TRUE(gpulist.infos.size() == 1); in TEST()
[all …]
Demugl_config.cpp74 res.num_gpus = gpulist.infos.size(); in emuglConfig_get_host_gpu_props()
77 const std::vector<GpuInfo>& infos = gpulist.infos; in emuglConfig_get_host_gpu_props() local
79 res.props[i].make = strdup(infos[i].make.c_str()); in emuglConfig_get_host_gpu_props()
80 res.props[i].model = strdup(infos[i].model.c_str()); in emuglConfig_get_host_gpu_props()
81 res.props[i].device_id = strdup(infos[i].device_id.c_str()); in emuglConfig_get_host_gpu_props()
82 res.props[i].revision_id = strdup(infos[i].revision_id.c_str()); in emuglConfig_get_host_gpu_props()
83 res.props[i].version = strdup(infos[i].version.c_str()); in emuglConfig_get_host_gpu_props()
84 res.props[i].renderer = strdup(infos[i].renderer.c_str()); in emuglConfig_get_host_gpu_props()
DNativeGpuInfo_darwin.cpp104 out->infos.emplace_back( in getGpuInfoListNative()
Demugl_config_unittest.cpp470 EXPECT_TRUE(gpulist->infos.size() == 0); in TEST()
541 EXPECT_TRUE(gpulist->infos.size() == 0); in TEST()
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_cmd_enqueue.c303 void *infos = (void *)count_info->infos.hostAddress; in dispatch_graph_amdx_free() local
306 VkDispatchGraphInfoAMDX *info = (void *)((const uint8_t *)infos + i * count_info->stride); in dispatch_graph_amdx_free()
310 vk_free(queue->alloc, infos); in dispatch_graph_amdx_free()
346 void *infos = vk_zalloc(alloc, infos_size, 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in vk_cmd_enqueue_CmdDispatchGraphAMDX() local
347 cmd->u.dispatch_graph_amdx.count_info->infos.hostAddress = infos; in vk_cmd_enqueue_CmdDispatchGraphAMDX()
348 memcpy(infos, pCountInfo->infos.hostAddress, infos_size); in vk_cmd_enqueue_CmdDispatchGraphAMDX()
351 VkDispatchGraphInfoAMDX *info = (void *)((const uint8_t *)infos + i * pCountInfo->stride); in vk_cmd_enqueue_CmdDispatchGraphAMDX()
/hardware/interfaces/power/stats/1.0/vts/functional/
DVtsHalPowerStatsV1_0TargetTest.cpp64 void getInfos(hidl_vec<PowerEntityInfo>& infos);
74 void PowerStatsHidlTest::getInfos(hidl_vec<PowerEntityInfo>& infos) { in getInfos() argument
76 Return<void> ret = service_->getPowerEntityInfo([&status, &infos](auto rInfos, auto rStatus) { in getInfos()
78 infos = rInfos; in getInfos()
83 ASSERT_NE(infos.size(), 0) << "powerEntityInfos must have entries if supported"; in getInfos()
86 ASSERT_EQ(infos.size(), 0); in getInfos()
151 hidl_vec<PowerEntityInfo> infos; in TEST_P() local
152 getInfos(infos); in TEST_P()
153 for (auto info : infos) { in TEST_P()
160 hidl_vec<PowerEntityInfo> infos; in TEST_P() local
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/tests/
Du_printf_test.cpp108 std::vector<u_printf_info> infos; in parse() local
116 infos.push_back(info); in parse()
119 u_printf(out, buffer.data(), buffer.size(), infos.data(), infos.size()); in parse()
/hardware/interfaces/sensors/common/utils/
DconvertV2_1.h71 const hidl_vec<V1_0::SensorInfo>& infos) { in convertToNewSensorInfos() argument
72 return reinterpret_cast<const hidl_vec<V2_1::SensorInfo>&>(infos); in convertToNewSensorInfos()
76 const hidl_vec<V2_1::SensorInfo>& infos) { in convertToOldSensorInfos() argument
77 return reinterpret_cast<const hidl_vec<V1_0::SensorInfo>&>(infos); in convertToOldSensorInfos()
/hardware/qcom/sm7250/display/sde-drm/
Ddrm_manager.cpp152 int DRMManager::GetConnectorsInfo(DRMConnectorsInfo *infos) { in GetConnectorsInfo() argument
153 *infos = {}; in GetConnectorsInfo()
162 (*infos)[iter] = info; in GetConnectorsInfo()
176 int DRMManager::GetEncodersInfo(DRMEncodersInfo *infos) { in GetEncodersInfo() argument
177 *infos = {}; in GetEncodersInfo()
185 (*infos)[iter] = info; in GetEncodersInfo()
Ddrm_manager.h58 virtual int GetConnectorsInfo(DRMConnectorsInfo *infos);
60 virtual int GetEncodersInfo(DRMEncodersInfo *infos);
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dexecutiongraphs.adoc400 pname:pCountInfo->infos must: be a host pointer to a memory allocation
402 * [[VUID-vkCmdDispatchGraphAMDX-infos-09146]]
403 Host memory locations at indexes in the range [pname:infos, pname:infos
409 pname:pCountInfo->infos, pname:payloads must: be a host pointer to a
414 pname:pCountInfo->infos, pname:nodeIndex must: be a valid node index in
419 pname:pCountInfo->infos, host memory locations at indexes in the range
472 pname:pCountInfo->infos must: be a device pointer to a memory allocation
476 pname:pCountInfo->infos must: be a device address within a
480 pname:pCountInfo->infos must: be a multiple of
483 * [[VUID-vkCmdDispatchGraphIndirectAMDX-infos-09153]]
[all …]
/hardware/interfaces/radio/aidl/compat/libradiocompat/network/
DRadioNetwork.cpp255 int32_t serial, const std::vector<aidl::SignalThresholdInfo>& infos) { in setSignalStrengthReportingCriteria() argument
257 if (infos.size() == 0) { in setSignalStrengthReportingCriteria()
261 if (infos.size() > 1) { in setSignalStrengthReportingCriteria()
264 if (infos[0].signalMeasurement == aidl::SignalThresholdInfo::SIGNAL_MEASUREMENT_TYPE_ECNO) { in setSignalStrengthReportingCriteria()
269 mHal1_5->setSignalStrengthReportingCriteria_1_5(serial, toHidl(infos[0]), in setSignalStrengthReportingCriteria()
270 V1_5::AccessNetwork(infos[0].ran)); in setSignalStrengthReportingCriteria()
/hardware/google/pixel/powerstats/
DPowerStatsAidl.cpp201 std::vector<PowerEntity> infos; in getEntityStateNames() local
202 getPowerEntityInfo(&infos); in getEntityStateNames()
204 for (const auto &info : infos) { in getEntityStateNames()
215 std::vector<Channel> infos; in getChannelNames() local
216 getEnergyMeterInfo(&infos); in getChannelNames()
218 for (const auto &info : infos) { in getChannelNames()
/hardware/google/pixel/pwrstats_util/dataproviders/
DPowerEntityResidencyDataProvider.cpp45 ret = powerStatsService->getPowerEntityInfo([&entityNames](auto infos, auto /* status */) { in getImpl() argument
46 for (auto const& info : infos) { in getImpl()
/hardware/interfaces/power/stats/1.0/default/
DPowerStats.cpp411 bool DumpResidencyDataToFd(const hidl_vec<PowerEntityInfo>& infos, in DumpResidencyDataToFd() argument
416 for (auto info : infos) { in DumpResidencyDataToFd()
463 hidl_vec<PowerEntityInfo> infos; in debug() local
466 getPowerEntityInfo([&status, &infos](auto rInfos, auto rStatus) { in debug()
468 infos = rInfos; in debug()
499 if (!DumpResidencyDataToFd(infos, stateSpaces, results, fd)) { in debug()
/hardware/google/gfxstream/host/gl/gl-host-common/include/host-common/opengl/
Dgpuinfo.h102 std::vector<GpuInfo> infos; variable
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
Dsupplicant_hidl_test_utils.cpp94 hidl_vec<ISupplicant::IfaceInfo> infos) { in findIfaceOfType() argument
99 iface_infos = infos; in findIfaceOfType()
/hardware/qcom/sm8150/gps/geofence/
DGeofenceAdapter.cpp208 GeofenceInfo* infos) in addGeofencesCommand() argument
226 GeofenceInfo* infos) : in addGeofencesCommand()
234 mInfos(infos) {} in addGeofencesCommand()
303 if (infos == NULL) { in addGeofencesCommand()
311 COPY_IF_NOT_NULL(infosCopy, infos, count); in addGeofencesCommand()
/hardware/qcom/sm8150p/gps/geofence/
DGeofenceAdapter.cpp208 GeofenceInfo* infos) in addGeofencesCommand() argument
226 GeofenceInfo* infos) : in addGeofencesCommand()
234 mInfos(infos) {} in addGeofencesCommand()
303 if (infos == NULL) { in addGeofencesCommand()
311 COPY_IF_NOT_NULL(infosCopy, infos, count); in addGeofencesCommand()
/hardware/qcom/sm7250/gps/geofence/
DGeofenceAdapter.cpp208 GeofenceInfo* infos) in addGeofencesCommand() argument
226 GeofenceInfo* infos) : in addGeofencesCommand()
234 mInfos(infos) {} in addGeofencesCommand()
303 if (infos == NULL) { in addGeofencesCommand()
311 COPY_IF_NOT_NULL(infosCopy, infos, count); in addGeofencesCommand()
/hardware/qcom/sm7150/gps/geofence/
DGeofenceAdapter.cpp208 GeofenceInfo* infos) in addGeofencesCommand() argument
226 GeofenceInfo* infos) : in addGeofencesCommand()
234 mInfos(infos) {} in addGeofencesCommand()
303 if (infos == NULL) { in addGeofencesCommand()
311 COPY_IF_NOT_NULL(infosCopy, infos, count); in addGeofencesCommand()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/commonvalidity/
Dcompute_graph_pipeline_create_info_common.adoc6 // Common to all compute and execution graph create infos
/hardware/interfaces/power/stats/aidl/vts/
DVtsHalPowerStatsTargetTest.cpp149 std::vector<PowerEntity> infos; in TEST_P() local
150 ASSERT_OK(powerstats->getPowerEntityInfo(&infos)); in TEST_P()
152 for (auto info : infos) { in TEST_P()
/hardware/interfaces/tv/cec/1.0/
DIHdmiCec.hal119 * @return infos The list of HDMI port information
122 getPortInfo() generates (vec<HdmiPortInfo> infos);

12