Home
last modified time | relevance | path

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

1234

/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/interfaces/automotive/can/1.0/default/libnl++/protocols/
DNetlinkProtocol.cpp46 map.emplace(mtype, descr); in toMap()
57 map.emplace(mtype, descr); in toMap()
/hardware/google/pixel/pwrstats_util/dataproviders/
DPowerEntityResidencyDataProvider.cpp47 entityNames.emplace(info.powerEntityId, info.powerEntityName); in getImpl()
59 stateNames.emplace(stateSpace.powerEntityId, in getImpl()
63 entityStateNames.emplace(state.powerEntityStateId, state.powerEntityStateName); in getImpl()
/hardware/google/pixel/powerstats/
DPowerStatsAidl.cpp188 entityNames->emplace(info.id, info.name); in getEntityStateNames()
189 stateNames->emplace(info.id, std::unordered_map<int32_t, std::string>()); in getEntityStateNames()
192 entityStateNames.emplace(state.id, state.name); in getEntityStateNames()
202 channelNames->emplace(info.id, "[" + info.name + "]:" + info.subsystem); in getChannelNames()
234 prevEnergyDataMap.emplace(data.id, data.energyUWs); in dumpEnergyMeter()
297 prevResultsMap.emplace(prevResult.id, std::unordered_map<int32_t, StateResidency>()); in dumpStateResidency()
299 prevResultsMap.at(prevResult.id).emplace(stateResidency.id, stateResidency); in dumpStateResidency()
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/google/pixel/powerstats/dataproviders/
DWlanStateResidencyDataProvider.cpp53 residencies->emplace(mName, result); in getStateResidencies()
95 residencies->emplace(mName, result); in getStateResidencies()
DIioEnergyMeterDataSelector.cpp51 deviceConfigs->emplace(deviceName, deviceConfig); in parseConfigData()
66 deviceConfigs->emplace(deviceName, deviceConfig); in parseConfigData()
DPixelStateResidencyDataProvider.cpp91 residencies->emplace(entry.mName, residency); in getStateResidencies()
104 ret.emplace(entry.mName, entry.mStates); in getInfo()
DPowerStatsEnergyAttribution.cpp70 attrStats->uidTimeInStats.emplace(uid, uidStats); in readUidTimeInState()
/hardware/google/camera/common/hal/google_camera_hal/
Dpending_requests_tracker.cc58 stream_max_buffers_.emplace(hal_stream_id, hal_stream.max_buffers); in Initialize()
65 stream_pending_buffers_.emplace(hal_stream_id, /*pending_buffers=*/0); in Initialize()
66 stream_acquired_buffers_.emplace(hal_stream_id, /*pending_buffers=*/0); in Initialize()
236 requested_stream_ids_.emplace(stream_id); in UpdateRequestedStreamIdsLocked()
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedLogicalRequestState.cpp69 physical_request_states_.emplace(it.first, in Initialize()
162 logical_settings->emplace(physical_request_state.first, in InitializeLogicalSettings()
174 logical_settings->emplace(logical_camera_id_, sensor_settings); in InitializeLogicalSettings()
236 keys.emplace(ANDROID_LOGICAL_MULTI_CAMERA_ACTIVE_PHYSICAL_ID); in AdaptLogicalCharacteristics()
248 keys.emplace(ANDROID_LOGICAL_MULTI_CAMERA_PHYSICAL_IDS); in AdaptLogicalCharacteristics()
DEmulatedCameraDeviceSessionHWLImpl.cpp169 logical_chars_.emplace(camera_id_, sensor_chars_); in Initialize()
174 logical_chars_.emplace(it.first, physical_chars); in Initialize()
182 physical_stream_configuration_map_.emplace( in Initialize()
185 physical_stream_configuration_map_max_resolution_.emplace( in Initialize()
271 emulated_pipeline.streams.emplace( in ConfigurePipeline()
DEmulatedCameraDeviceHWLImpl.cpp87 physical_stream_configuration_map_.emplace( in Initialize()
90 physical_stream_configuration_map_max_resolution_.emplace( in Initialize()
/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/libhardware/modules/sensors/dynamic_sensor/
DHidRawSensorDaemon.cpp57 mHidRawSensorDevices.emplace(deviceKey, device); in createSensor()
DBaseDynamicSensorDaemon.cpp37 auto result = mDeviceKeySensorMap.emplace(deviceKey, std::move(sensors)); in onConnectionChange()
DDynamicSensorManager.cpp147 mMap.emplace(handle, sensor); in registerSensor()
148 mReverseMap.emplace(sensor.get(), handle); in registerSensor()
151 auto entry = mPendingReport.emplace( in registerSensor()
/hardware/interfaces/power/stats/1.0/default/
DPowerStats.cpp112 mPm.railsInfo.emplace( in parsePowerRails()
302 mPowerEntityStateSpaces.emplace(stateSpace.powerEntityId, stateSpace); in addStateResidencyDataProvider()
303 mStateResidencyDataProviders.emplace(stateSpace.powerEntityId, p); in addStateResidencyDataProvider()
417 entityNames.emplace(info.powerEntityId, info.powerEntityName); in DumpResidencyDataToFd()
423 stateNames.emplace(stateSpace.powerEntityId, std::unordered_map<uint32_t, std::string>()); in DumpResidencyDataToFd()
426 .emplace(state.powerEntityStateId, state.powerEntityStateName); in DumpResidencyDataToFd()
/hardware/google/pixel/perfstatsd/include/
Dperfstats_buffer.h69 void emplace(StatsData &&data);
Dstatstype.h45 mBuffer.emplace(std::forward<StatsData>(data)); in append()
/hardware/google/pixel/thermal/utils/
Dpower_files.cpp52 power_status_pair.second.power_history[i].emplace(power_sample); in setPowerDataToDefault()
103 power_history[i].emplace(power_sample); in registerPowerRailsToWatch()
111 power_history[0].emplace(power_sample); in registerPowerRailsToWatch()
158 energy_path_set_.emplace( in findEnergySourceToWatch()
Dthermal_files.cpp41 return thermal_name_to_path_map_.emplace(thermal_name, path).second; in addThermalFile()
/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/interfaces/automotive/can/1.0/default/libnl++/
DAttributes.cpp32 index.emplace(attr->nla_type, attr); in index()
/hardware/interfaces/power/stats/aidl/default/
DFakeStateResidencyDataProvider.h51 residencies->emplace(mName, mResidencies); in getStateResidencies()

1234