Home
last modified time | relevance | path

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

12345678910

/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()
46 val->value.int64Values.resize(vecSize); in createVehiclePropValue()
49 val->value.bytes.resize(vecSize); in createVehiclePropValue()
102 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/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DLinearFakeValueGenerator.cpp53 value.int32Values.resize(1); in nextEvent()
57 value.int64Values.resize(1); in nextEvent()
61 value.floatValues.resize(1); in nextEvent()
DJsonFakeValueGenerator.cpp115 value.int32Values.resize(1); in parseFakeValueJson()
119 value.int64Values.resize(1); in parseFakeValueJson()
123 value.floatValues.resize(1); in parseFakeValueJson()
154 dest.resize(jsonArray.size()); in copyJsonArray()
/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()
290 out.resize(param.size()); in mapThisVector()
357 result.resize(2); in haveAStringVec()
393 result.resize(size); in getNestedStructs()
397 result[i].matrices.resize(6); in getNestedStructs()
/hardware/interfaces/secure_element/1.0/vts/functional/
DVtsHalSecureElementV1_0TargetTest.cpp108 response.selectResponse.resize(channelResponse.selectResponse.size()); in TEST_P()
121 transmitResponse.resize(res.size()); in TEST_P()
146 response.resize(selectResponse.size()); in TEST_P()
166 atr.resize(atrReturned.size()); in TEST_P()
195 response.selectResponse.resize(channelResponse.selectResponse.size()); in TEST_P()
/hardware/interfaces/graphics/composer/2.3/utils/passthrough/include/composer-passthrough/2.3/
DHwcHal.h140 data.resize(size); in getDisplayIdentificationData()
211 sampleComponent0.resize(size[0]); in getDisplayedContentSample()
212 sampleComponent1.resize(size[1]); in getDisplayedContentSample()
213 sampleComponent2.resize(size[2]); in getDisplayedContentSample()
214 sampleComponent3.resize(size[3]); in getDisplayedContentSample()
230 outCapabilities->resize(count); in getDisplayCapabilities()
258 blobs.resize(blobs.size() + metadataBlob.blob.size()); in setLayerPerFrameMetadataBlobs()
341 mChangedLayersCache[display].resize(typesCount); in getChangedCompositionTypes()
342 mCompositionTypesCache[display].resize(typesCount); in getChangedCompositionTypes()
/hardware/interfaces/ir/1.0/vts/functional/
DVtsHalIrV1_0TargetTest.cpp62 vec.resize(len); in TEST_P()
75 vec.resize(len); in TEST_P()
/hardware/interfaces/tv/cec/1.0/default/
DHdmiCecMock.cpp58 mLogicalAddresses.resize(size + 1); in addLogicalAddress()
239 message.body.resize(length); in handleCecMessage()
303 mPortInfo.resize(mTotalPorts); in HdmiCecMock()
304 mPortConnectionStatus.resize(mTotalPorts); in HdmiCecMock()
/hardware/interfaces/bluetooth/audio/2.0/default/
DBluetoothAudioProvidersFactory.cpp77 audio_capabilities.resize(db_codec_capabilities.size()); in getProviderCapabilities()
86 audio_capabilities.resize(1); in getProviderCapabilities()
/hardware/google/av/codec2/hidl/1.0/utils/
Dtypes.cpp67 d->resize(s.size()); in copyVector()
124 d->values.resize(0); in objcpy()
129 d->values.resize(0); in objcpy()
144 d->values.resize(s.values.size()); in objcpy()
170 d->values.resize(0); in objcpy()
289 d->aliases.resize(s.aliases.size()); in objcpy()
332 (*aliasesBuffer)->resize(s.aliases.size()); in objcpy()
347 d->values.resize(1); in objcpy()
350 d->values.resize(0); in objcpy()
409 d->conflicts.resize(s.conflicts.size()); in objcpy()
[all …]
/hardware/qcom/sdm845/gps/sdm845/utils/
DLocIpc.cpp104 msg.resize(LOC_MSG_BUF_LEN); in startListeningBlocking()
119 msg.resize(nBytes); in startListeningBlocking()
125 msg.resize(msgLen); in startListeningBlocking()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DValidateRequest.cpp57 vec->resize(vec->size() - 1); in hidl_vec_removeAt()
65 vec->resize(index + 1); in hidl_vec_push_back()
/hardware/interfaces/gnss/1.1/vts/functional/
Dgnss_hal_test_cases.cpp262 sources.resize(1); in TEST_F()
294 sources.resize(0); in TEST_F()
372 sources.resize(1); in TEST_F()
399 sources.resize(0); in TEST_F()
434 sources.resize(1); in TEST_F()
465 sources.resize(0); in TEST_F()
/hardware/interfaces/identity/support/src/
DIdentityCredentialSupport.cpp95 ret.resize(dataLen * 2); in encodeHex()
133 out.resize(hexSize / 2); in decodeHex()
357 output.resize(numBytes); in getRandom()
378 plainText.resize(cipherTextSize); in decryptAes128Gcm()
461 encryptedData.resize(data.size() + kAesGcmIvSize + kAesGcmTagSize); in encryptAes128Gcm()
675 parsedCertificates.resize(0); in parseX509Certificates()
765 ret.resize(SHA256_DIGEST_LENGTH); in sha256()
794 signature.resize(len); in signEcDsa()
813 hmac.resize(32); in hmacSha256()
989 keyPair.resize(size); in createEcKeyPair()
[all …]
/hardware/interfaces/tv/tuner/1.0/default/
DFilter.cpp183 mFilterEvent.events.resize(0); in filterThreadLoop()
219 mFilterEvent.events.resize(0); in filterThreadLoop()
396 mFilterEvent.events.resize(size + 1); in startPesFilterHandler()
420 mFilterEvent.events.resize(1); in startMediaFilterHandler()
467 mFilterEvent.events.resize(size + 1); in writeSectionsAndCreateEvent()
DTuner.cpp40 mFrontends.resize(mFrontendSize); in Tuner()
57 frontendIds.resize(mFrontendSize); in getFrontendIds()
/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/audio/effect/all-versions/default/
DEffectsFactory.cpp103 result.resize(numEffects); in getAllDescriptors()
119 result.resize(i); in getAllDescriptors()
123 result.resize(0); in getAllDescriptors()
/hardware/libhardware/modules/camera/3_4/arc/
Djpeg_compressor.cpp54 buffer.resize(kBlockSize); in InitDestination()
63 buffer.resize(oldsize + kBlockSize); in EmptyOutputBuffer()
72 buffer.resize(buffer.size() - dest->mgr.free_in_buffer); in TerminateDestination()
/hardware/interfaces/camera/device/3.4/default/
DCameraDeviceSession.cpp178 streams->resize(stream_list->num_streams); in preProcessConfigurationLocked_3_4()
354 settingsFmq.resize(request.v3_2.fmqSettingsSize); in processOneCaptureRequest_3_4()
396 outHalBufs.resize(numOutputBufs); in processOneCaptureRequest_3_4()
549 result.physicalCameraMetadata.resize(shadowResult.num_physcam_metadata); in sProcessCaptureResult_3_4()
672 nonBatchedResult.v3_2.outputBuffers.resize(nonBatchedBuffers.size()); in processCaptureResult_3_4()
702 results.resize(1); in processOneCaptureResult_3_4()
725 result.v3_2.result.resize(0); in invokeProcessCaptureResultCallback_3_4()
736 onePhysMetadata.metadata.resize(0); in invokeProcessCaptureResultCallback_3_4()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/include/1.0/
DUtils.h109 vec->resize(vec->size() - 1); in hidl_vec_removeAt()
125 vec->resize(index + 1); in hidl_vec_push_back()
/hardware/interfaces/radio/1.1/vts/functional/
Dradio_hidl_hal_api.cpp96 specifier.geranBands.resize(2); in TEST_P()
99 specifier.channels.resize(2); in TEST_P()
102 request.specifiers.resize(1); in TEST_P()

12345678910