Home
last modified time | relevance | path

Searched refs:emplace (Results 1 – 25 of 68) sorted by relevance

123

/hardware/google/av/codec2/vndk/
DC2Store.cpp789 auto emplace = [this](const char *alias, const char *libPath) { in C2PlatformComponentStore() local
794 mComponents.emplace( in C2PlatformComponentStore()
801 emplace("c2.android.avc.decoder", "libstagefright_soft_c2avcdec.so"); in C2PlatformComponentStore()
802 emplace("c2.android.avc.encoder", "libstagefright_soft_c2avcenc.so"); in C2PlatformComponentStore()
803 emplace("c2.android.aac.decoder", "libstagefright_soft_c2aacdec.so"); in C2PlatformComponentStore()
804 emplace("c2.android.aac.encoder", "libstagefright_soft_c2aacenc.so"); in C2PlatformComponentStore()
805 emplace("c2.android.amrnb.decoder", "libstagefright_soft_c2amrnbdec.so"); in C2PlatformComponentStore()
806 emplace("c2.android.amrnb.encoder", "libstagefright_soft_c2amrnbenc.so"); in C2PlatformComponentStore()
807 emplace("c2.android.amrwb.decoder", "libstagefright_soft_c2amrwbdec.so"); in C2PlatformComponentStore()
808 emplace("c2.android.amrwb.encoder", "libstagefright_soft_c2amrwbenc.so"); in C2PlatformComponentStore()
[all …]
/hardware/google/av/media/sfplugin/tests/
DReflectedParamUpdater_test.cpp150 msg.emplace("int.value", int32_t(12)); in TEST_F()
151 msg.emplace("vendor.long.value", int64_t(34)); in TEST_F()
197 msg.emplace("string.value", AString("56")); in TEST_F()
198 msg.emplace("flex-string.value", AString("Some string")); in TEST_F()
252 msg.emplace("composite.i32", int32_t(78)); in TEST_F()
253 msg.emplace("composite.u64", int64_t(910)); in TEST_F()
254 msg.emplace("composite.str", AString("1112")); in TEST_F()
255 msg.emplace("composite.blob", ABuffer::CreateAsCopy("buffer08", 8)); in TEST_F()
256 msg.emplace("composite.flex-blob", ABuffer::CreateAsCopy("flex-buffer-14", 14)); in TEST_F()
295 msg.emplace("composite.blob", ABuffer::CreateAsCopy("buf05", 5)); in TEST_F()
[all …]
/hardware/google/pixel/perfstatsd/
Dperfstats_buffer.cpp23 void PerfstatsBuffer::emplace(StatsData &&data) { in emplace() function in PerfstatsBuffer
30 mStorage.emplace(std::forward<StatsData>(data)); in emplace()
/hardware/google/pixel/powerstats/
DPowerStats.cpp83 mPowerEntityStateSpaces.emplace(stateSpace.powerEntityId, stateSpace); in addStateResidencyDataProvider()
84 mStateResidencyDataProviders.emplace(stateSpace.powerEntityId, p); in addStateResidencyDataProvider()
262 prevResultsMap.emplace(prevResult.powerEntityId, in DumpResidencyDataDiffToFd()
266 .emplace(stateResidency.powerEntityStateId, stateResidency); in DumpResidencyDataDiffToFd()
345 stateNames.emplace(stateSpace.powerEntityId, std::unordered_map<uint32_t, std::string>()); in debugStateResidency()
348 entityStateNames.emplace(state.powerEntityStateId, state.powerEntityStateName); in debugStateResidency()
436 prevEnergyDataMap.emplace(data.index, data.energy); in DumpEnergyDataDiffToFd()
472 railNames.emplace(info.index, std::make_pair(info.subsysName, info.railName)); in debugEnergyData()
540 entityNames.emplace(info.powerEntityId, info.powerEntityName); in debug()
DAidlStateResidencyDataProvider.cpp39 mEntityInfos.emplace(entityName, StateSpace{.powerEntityId = id, .stateInfos = {}}); in addEntity()
45 stateInfos.emplace(stateName, stateId++); in addEntity()
106 mCallbacks.emplace(entityName, callback); in registerCallback()
186 results.emplace(result.powerEntityId, result); in getResults()
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DSubscriptionManager.cpp55 mSubscriptions.emplace(opts.propId, opts); in addOrUpdateSubscription()
61 mSubscriptions.emplace(opts.propId, updatedOptions); in addOrUpdateSubscription()
176 mHalEventSubscribeOptions.emplace(opts.propId, opts); in updateHalEventSubscriptionLocked()
183 mHalEventSubscribeOptions.emplace(opts.propId, *outUpdated); in updateHalEventSubscriptionLocked()
/hardware/interfaces/power/stats/1.0/default/
DPowerStats.cpp112 mPm.railsInfo.emplace(words[0], RailData{.devicePath = path, in parsePowerRails()
301 mPowerEntityStateSpaces.emplace(stateSpace.powerEntityId, stateSpace); in addStateResidencyDataProvider()
302 mStateResidencyDataProviders.emplace(stateSpace.powerEntityId, p); in addStateResidencyDataProvider()
416 entityNames.emplace(info.powerEntityId, info.powerEntityName); in DumpResidencyDataToFd()
422 stateNames.emplace(stateSpace.powerEntityId, std::unordered_map<uint32_t, std::string>()); in DumpResidencyDataToFd()
425 .emplace(state.powerEntityStateId, state.powerEntityStateName); in DumpResidencyDataToFd()
Dservice.cpp64 results.emplace(mPowerEntityId, result); in getResults()
/hardware/libhardware/modules/sensors/dynamic_sensor/
DDynamicSensorManager.cpp143 mMap.emplace(handle, sensor); in registerSensor()
144 mReverseMap.emplace(sensor.get(), handle); in registerSensor()
147 auto entry = mPendingReport.emplace( in registerSensor()
DHidRawSensorDaemon.cpp56 mHidRawSensorDevices.emplace(deviceKey, device); in createSensor()
DBaseDynamicSensorDaemon.cpp37 auto result = mDeviceKeySensorMap.emplace(deviceKey, std::move(sensors)); in onConnectionChange()
DHidRawSensorDevice.cpp68 mSensors.emplace(packet.id/* report id*/, s); in HidRawSensorDevice()
/hardware/google/pixel/thermal/utils/
Dthermal_files.cpp40 return thermal_name_to_path_map_.emplace(thermal_name, path).second; in addThermalFile()
Dthermal_watcher.cpp49 watch_to_file_path_map_.emplace(fd.get(), path); in registerFilesToWatch()
/hardware/google/av/media/sfplugin/
DReflectedParamUpdater.cpp192 mMap.emplace(fieldName, FieldDesc { in addParamStructDesc()
212 mParamNames.emplace(desc->index(), paramName); in addParamDesc()
218 mMap.emplace(paramName, FieldDesc{ desc, nullptr, 0 /* offset */ }); in addParamDesc()
227 mWholeParams.emplace(name, index); in supportWholeParam()
501 ret.emplace(name, value); in getParams()
566 ret.emplace(name, value); in getParams()
DCCodecConfig.h160 mSubscribedIndices.emplace(index);
182 mLocalParams.emplace(index, validator);
DCCodecConfig.cpp267 mConfigMappers.emplace(cm.mediaKey(), eqs); in add()
887 mSupportedIndices.emplace(desc->index()); in initialize()
936 mSubscribedIndices.emplace(C2PortSuggestedBufferCountTuning::input::PARAM_TYPE); in initialize()
937 mSubscribedIndices.emplace(C2PortSuggestedBufferCountTuning::output::PARAM_TYPE); in initialize()
938 mSubscribedIndices.emplace(C2ActualPipelineDelayTuning::PARAM_TYPE); in initialize()
939 mSubscribedIndices.emplace(C2PortActualDelayTuning::input::PARAM_TYPE); in initialize()
940 mSubscribedIndices.emplace(C2PortActualDelayTuning::output::PARAM_TYPE); in initialize()
942 mSubscribedIndices.emplace(C2StreamMaxBufferSizeInfo::output::PARAM_TYPE); in initialize()
944 mSubscribedIndices.emplace(C2StreamInitDataInfo::output::PARAM_TYPE); in initialize()
995 auto insertion = mCurrentConfig.emplace(p->index(), nullptr); in updateConfiguration()
[all …]
/hardware/libhardware/modules/camera/3_4/metadata/
Dmetadata_test.cpp118 static_tags.emplace(ANDROID_REQUEST_AVAILABLE_REQUEST_KEYS); in TEST_F()
119 static_tags.emplace(ANDROID_REQUEST_AVAILABLE_RESULT_KEYS); in TEST_F()
120 static_tags.emplace(ANDROID_REQUEST_AVAILABLE_CHARACTERISTICS_KEYS); in TEST_F()
/hardware/google/pixel/perfstatsd/include/
Dperfstats_buffer.h69 void emplace(StatsData &&data);
Dstatstype.h45 mBuffer.emplace(std::forward<StatsData>(data)); in append()
/hardware/google/av/codec2/hidl/1.0/utils/
DComponentStore.cpp184 mComponentRoster.emplace( in createComponent()
245 mLoadedInterfaces.emplace(intf->getName()); in onInterfaceLoaded()
265 mUnsupportedStructDescriptors.emplace(coreIndex); in getStructDescriptors()
/hardware/interfaces/atrace/1.0/vts/functional/
DVtsHalAtraceV1_0TargetTest.cpp68 categories_set.emplace(name); in getVendorCategoryName()
/hardware/libhardware/modules/camera/3_4/
Drequest_tracker.cpp36 buffers_in_flight_.emplace(config.streams[i], 0); in SetStreamConfiguration()
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.cpp206 mDescriptors.emplace(descriptorId, std::make_shared<Descriptor>()); in createDescriptor()
283 mBuffers.emplace(handle, std::move(buffer)); in allocate()
420 mBuffers.emplace(bufferHandle, std::move(buffer)); in retain()
/hardware/nxp/secure_element/libese-spi/p73/utils/
Dconfig.cpp112 values_.emplace(key, value); in parseFromString()

123