Home
last modified time | relevance | path

Searched refs:resize (Results 1 – 25 of 91) sorted by relevance

1234

/hardware/interfaces/thermal/1.0/default/
DThermal.cpp62 list.resize(size); in getTemperatures()
65 temperatures.resize(list.size()); in getTemperatures()
118 list.resize(size); in getCpuUsages()
121 list.resize(size); in getCpuUsages()
122 cpuUsages.resize(size); in getCpuUsages()
156 list.resize(size); in getCoolingDevices()
159 list.resize(size); in getCoolingDevices()
160 coolingDevices.resize(list.size()); in getCoolingDevices()
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehicleUtils.cpp38 val->value.int32Values.resize(vecSize); in createVehiclePropValue()
42 val->value.floatValues.resize(vecSize); in createVehiclePropValue()
45 val->value.int64Values.resize(vecSize); in createVehiclePropValue()
48 val->value.bytes.resize(vecSize); in createVehiclePropValue()
100 dest->resize(0); in shallowCopyHidlVec()
DObd2SensorStore.cpp29 resize(numBits); in BitmaskInVector()
32 void Obd2SensorStore::BitmaskInVector::resize(size_t numBits) { in resize() function in android::hardware::automotive::vehicle::V2_0::Obd2SensorStore::BitmaskInVector
62 mSensorsBitmask.resize(mIntegerSensors.size() + mFloatSensors.size()); in Obd2SensorStore()
/hardware/libhardware/modules/sensors/dynamic_sensor/
DHidRawDevice.cpp150 info.descriptor.resize(descriptorSize); in populateDeviceInfo()
201 mIoBuffer.resize(size); in getFeature()
220 out->resize(size - 1); in getFeature()
246 mIoBuffer.resize(size); in setFeature()
281 mIoBuffer.resize(size); in sendReport()
315 data->resize(static_cast<size_t>(res - 1)); in receiveReport()
319 data->resize(static_cast<size_t>(res)); in receiveReport()
/hardware/interfaces/tests/baz/1.0/default/
DBaz.cpp77 out.resize(x.size()); in someBoolVectorMethod()
116 fooOutput.resize(2); in someMethodWithFooVectors()
133 out.addresses.resize(n); in someMethodWithVectorOfArray()
152 out.resize(n); in someMethodTakingAVectorOfArray()
262 out.resize(param.size()); in mapThisVector()
329 result.resize(2); in haveAStringVec()
359 result.resize(size); in getNestedStructs()
363 result[i].matrices.resize(6); in getNestedStructs()
/hardware/interfaces/tests/pointer/1.0/default/lib/
DPointerHelper.cpp10 g.nodes.resize(2); in simpleGraph()
11 g.edges.resize(1); in simpleGraph()
/hardware/interfaces/ir/1.0/vts/functional/
DVtsHalIrV1_0TargetTest.cpp61 vec.resize(len); in TEST_F()
74 vec.resize(len); in TEST_F()
/hardware/interfaces/graphics/composer/2.1/default/
DHwc.cpp93 caps.resize(count); in initCapabilities()
208 buf.resize(len + 1); in dumpDebugInfo()
379 outModes->resize(count); in getColorModes()
408 outConfigs->resize(count); in getDisplayConfigs()
432 buf.resize(count + 1); in getDisplayName()
471 outTypes->resize(count); in getHdrCapabilities()
562 outChangedLayers->resize(types_count); in validateDisplay()
563 outCompositionTypes->resize(types_count); in validateDisplay()
584 outRequestedLayers->resize(reqs_count); in validateDisplay()
585 outRequestMasks->resize(reqs_count); in validateDisplay()
[all …]
/hardware/interfaces/audio/effect/2.0/default/
DEffectsFactory.cpp101 result.resize(numEffects); in getAllDescriptors()
117 result.resize(i); in getAllDescriptors()
120 result.resize(0); in getAllDescriptors()
/hardware/interfaces/broadcastradio/1.0/default/
DUtils.cpp154 config->spacings.resize(halConfig->num_spacings); in convertBandConfigFromHal()
189 properties->bands.resize(halProperties->num_bands); in convertPropertiesFromHal()
271 newMetadata[outCount].rawValue.resize(size); in convertMetaDataFromHal()
287 metadata.resize(outCount); in convertMetaDataFromHal()
/hardware/interfaces/radio/1.1/vts/functional/
Dradio_hidl_hal_api.cpp50 specifier.geranBands.resize(2); in TEST_F()
53 specifier.channels.resize(2); in TEST_F()
56 request.specifiers.resize(1); in TEST_F()
/hardware/interfaces/wifi/1.1/default/
Dwifi_legacy_hal.cpp589 freqs.resize(kMaxGscanFrequenciesForBand); in getValidFrequenciesForBand()
599 freqs.resize(num_freqs); in getValidFrequenciesForBand()
791 tx_pkt_fates.resize(MAX_FATE_LOG_LEN); in getTxPktFates()
799 tx_pkt_fates.resize(num_fates); in getTxPktFates()
806 rx_pkt_fates.resize(MAX_FATE_LOG_LEN); in getRxPktFates()
814 rx_pkt_fates.resize(num_fates); in getRxPktFates()
820 stats.cmd_event_wake_cnt.resize(kMaxWakeReasonStatsArraySize); in getWakeReasonStats()
821 stats.driver_fw_local_wake_cnt.resize(kMaxWakeReasonStatsArraySize); in getWakeReasonStats()
841 stats.cmd_event_wake_cnt.resize( in getWakeReasonStats()
849 stats.driver_fw_local_wake_cnt.resize( in getWakeReasonStats()
[all …]
/hardware/interfaces/camera/device/3.2/default/
DCameraDeviceSession.cpp231 allBufs.resize(numBufs); in importRequest()
232 allBufIds.resize(numBufs); in importRequest()
233 allBufPtrs.resize(numBufs); in importRequest()
234 allFences.resize(numBufs); in importRequest()
484 results.resize(batchSize); in sendBatchBuffersLocked()
508 results[i].outputBuffers.resize(outBufs.size()); in sendBatchBuffersLocked()
647 result.result.resize(0); in invokeProcessCaptureResultCallback()
661 results.resize(1); in processOneCaptureResult()
711 nonBatchedResult.outputBuffers.resize(nonBatchedBuffers.size()); in processCaptureResult()
848 streams.resize(stream_list.num_streams); in configureStreams()
[all …]
/hardware/interfaces/audio/2.0/default/
DParametersUtil.cpp85 result.resize(halValues->size()); in getParametersImpl()
90 result.resize(0); in getParametersImpl()
/hardware/interfaces/power/1.0/default/
DPower.cpp114 states.resize(number_platform_modes); in getPlatformLowPowerStats()
123 state.voters.resize(voters[i]); in getPlatformLowPowerStats()
/hardware/interfaces/sensors/1.0/default/
DSensors.cpp121 out.resize(count); in getSensorsList()
222 dynamicSensorsAdded.resize(numDynamicSensors + 1); in poll()
226 out.resize(count); in poll()
/hardware/interfaces/tests/pointer/1.0/default/
DPointer.h200 p.a_ptr_vec.resize(5); in Pointer()
204 a_vec.resize(5); in Pointer()
248 hidl_vec<const IPointer::Sam *> v; v.resize(5); in bar10()
254 hidl_vec<IPointer::Sam> v; v.resize(5); in bar11()
302 hidl_vec<const IPointer::Sam *> v; v.resize(1026); in bar20()
/hardware/interfaces/tests/foo/1.0/default/
DFoo.cpp80 out.resize(param.size()); in mapThisVector()
213 result.resize(2); in haveAStringVec()
334 handles.resize(size); in createHandles()
/hardware/interfaces/graphics/mapper/2.0/default/
DGrallocBufferDescriptor.h41 descriptor.resize(grallocBufferDescriptorSize); in grallocEncodeBufferDescriptor()
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DObd2SensorStore.h63 void resize(size_t numBits);
/hardware/interfaces/audio/common/2.0/default/
DHidlUtils.cpp209 configs->resize(numHalConfigs); in audioPortConfigsFromHal()
229 port->sampleRates.resize(halPort.num_sample_rates); in audioPortFromHal()
233 port->channelMasks.resize(halPort.num_channel_masks); in audioPortFromHal()
237 port->formats.resize(halPort.num_formats); in audioPortFromHal()
241 port->gains.resize(halPort.num_gains); in audioPortFromHal()
/hardware/interfaces/camera/device/3.3/default/
Dconvert.cpp53 dst->streams.resize(src.num_streams); in convertToHidl()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DPipeComm.cpp65 msg.resize(numBytes); in read()
/hardware/interfaces/ir/1.0/default/
DConsumerIr.cpp56 rangeVec.resize(len); in getCarrierFreqs()
/hardware/interfaces/bluetooth/1.0/default/
Dhci_packetizer.cc69 packet_.resize(preamble_size_for_type[packet_type] + packet_length); in OnDataReady()

1234