Home
last modified time | relevance | path

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

12345678

/hardware/interfaces/graphics/composer/aidl/include/android/hardware/graphics/composer3/
DComposerClientWriter.h78 getDisplayCommand(display).colorTransformMatrix.emplace(std::move(matVec)); in setColorTransform()
82 getDisplayCommand(display).brightness.emplace( in setDisplayBrightness()
94 getDisplayCommand(display).clientTarget.emplace(std::move(clientTargetCommand)); in setClientTarget()
99 getDisplayCommand(display).virtualDisplayOutputBuffer.emplace( in setOutputBuffer()
140 getLayerCommand(display, layer).cursorPosition.emplace(std::move(cursorPosition)); in setLayerCursorPosition()
158 .bufferSlotsToClear.emplace(slotsToClear.begin(), slotsToClear.end()); in setLayerBufferSlotsToClear()
162 getLayerCommand(display, layer).damage.emplace(damage.begin(), damage.end()); in setLayerSurfaceDamage()
168 getLayerCommand(display, layer).blendMode.emplace(std::move(parcelableBlendMode)); in setLayerBlendMode()
172 getLayerCommand(display, layer).color.emplace(std::move(color)); in setLayerColor()
178 getLayerCommand(display, layer).composition.emplace(std::move(compositionPayload)); in setLayerCompositionType()
[all …]
/hardware/interfaces/biometrics/common/config/
DConfig.cpp33 res.emplace(true); in parseBool()
35 res.emplace(false); in parseBool()
43 if (!value.empty()) res.emplace(value); in parseString()
52 res.emplace(val); in parseInt32()
65 res.emplace(val); in parseInt64()
/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/graphics/common/libhwc2.1/libvrr/
DEventQueue.h35 mPriorityQueue.emplace(event); in postEvent()
42 mPriorityQueue.emplace(event); in postEvent()
/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()
DPowerStatsAidl.cpp205 entityNames->emplace(info.id, info.name); in getEntityStateNames()
206 stateNames->emplace(info.id, std::unordered_map<int32_t, std::string>()); in getEntityStateNames()
209 entityStateNames.emplace(state.id, state.name); in getEntityStateNames()
219 channelNames->emplace(info.id, "[" + info.name + "]:" + info.subsystem); in getChannelNames()
251 prevEnergyDataMap.emplace(data.id, data.energyUWs); in dumpEnergyMeter()
314 prevResultsMap.emplace(prevResult.id, std::unordered_map<int32_t, StateResidency>()); in dumpStateResidency()
316 prevResultsMap.at(prevResult.id).emplace(stateResidency.id, stateResidency); in dumpStateResidency()
/hardware/google/aemu/base/
DOptional_unittest.cpp310 o.emplace(3, 1); in TEST()
316 o.emplace({1,2}); in TEST()
441 o.emplace(counter2); in TEST()
466 o.emplace(counter); in TEST()
469 o.emplace(counter2); in TEST()
478 o.emplace({&counter}); in TEST()
482 o.emplace({&counter2}); in TEST()
/hardware/google/graphics/common/libhwc2.1/libvrr/RefreshRateCalculator/
DInstantRefreshRateCalculator.cpp64 mEventQueue->mPriorityQueue.emplace(mTimeoutEvent); in onPresentInternal()
77 mEventQueue->mPriorityQueue.emplace(mTimeoutEvent); in setEnabled()
DAODRefreshRateCalculator.h51 mEventQueue->mPriorityQueue.emplace(mResetRefreshRateEvent); in onPresentInternal()
112 mEventQueue->mPriorityQueue.emplace(mResetRefreshRateEvent); in changeRefreshRateDisplayState()
DPeriodRefreshRateCalculator.cpp85 mEventQueue->mPriorityQueue.emplace(mMeasureEvent); in setEnabled()
127 mEventQueue->mPriorityQueue.emplace(mMeasureEvent); in onMeasure()
/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()
/hardware/interfaces/bluetooth/audio/aidl/default/
DBluetoothAudioProviderFactory.cpp171 auto& provider_info = _aidl_return->emplace(); in getProviderInfo()
189 auto& provider_info = _aidl_return->emplace(); in getProviderInfo()
200 auto& provider_info = _aidl_return->emplace(); in getProviderInfo()
/hardware/google/camera/devices/EmulatedCamera/hwl/utils/
DHWLUtils.cpp151 sensor_chars->dynamic_range_profiles.emplace( in GetSensorCharacteristics()
163 .emplace(static_cast<DynamicRangeProfile>(current_profile)); in GetSensorCharacteristics()
189 sensor_chars->color_space_profiles.emplace( in GetSensorCharacteristics()
198 image_format_map.emplace(image_format, in GetSensorCharacteristics()
210 .emplace(static_cast<DynamicRangeProfile>(current_profile)); in GetSensorCharacteristics()
402 ret->emplace(it.first, std::make_pair(it.second.first, in ClonePhysicalDeviceMap()
/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/google/camera/common/hal/google_camera_hal/
Dpending_requests_tracker.cc62 stream_max_buffers_.emplace(hal_stream_id, hal_stream.max_buffers); in Initialize()
69 stream_pending_buffers_.emplace(hal_stream_id, /*pending_buffers=*/0); in Initialize()
70 stream_acquired_buffers_.emplace(hal_stream_id, /*pending_buffers=*/0); in Initialize()
269 requested_stream_ids_.emplace(stream_id); in UpdateRequestedStreamIdsLocked()
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedLogicalRequestState.cpp70 physical_request_states_.emplace(it.first, in Initialize()
196 logical_settings->emplace(physical_request_state.first, in InitializeLogicalSettings()
208 logical_settings->emplace(logical_camera_id_, sensor_settings); in InitializeLogicalSettings()
270 keys.emplace(ANDROID_LOGICAL_MULTI_CAMERA_ACTIVE_PHYSICAL_ID); in AdaptLogicalCharacteristics()
282 keys.emplace(ANDROID_LOGICAL_MULTI_CAMERA_PHYSICAL_IDS); in AdaptLogicalCharacteristics()
/hardware/google/gfxstream/guest/mesa/src/util/tests/vma/
Dvma_random_test.cpp137 heap_holes.emplace(allocation{hole.start_page, in alloc()
141 heap_holes.emplace(allocation{allocation_end_page(a), in alloc()
202 heap_holes.emplace(a); in dealloc()
/hardware/google/gfxstream/host/
DRenderThread.cpp93 mStream.emplace(0); in RenderThread()
116 mStream.emplace(0); in RenderThread()
133 mStream.emplace(); in pausePreSnapshot()
306 tInfo.m_vkInfo.emplace(); in main()
310 tInfo.m_magmaInfo.emplace(mContextId); in main()
/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/gfxstream/host/magma/
DConnection.cpp43 auto [_, emplaced] = mContexts.emplace(id, std::move(*context)); in createContext()
/hardware/libhardware/modules/sensors/dynamic_sensor/
DHidRawSensorDaemon.cpp57 mHidRawSensorDevices.emplace(deviceKey, device); in createSensor()

12345678