Home
last modified time | relevance | path

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

12345

/frameworks/av/media/codec2/vndk/
DC2Store.cpp840 auto emplace = [this](const char *libPath) { in C2PlatformComponentStore() local
841 mComponents.emplace(libPath, libPath); in C2PlatformComponentStore()
845 emplace("libcodec2_soft_aacdec.so"); in C2PlatformComponentStore()
846 emplace("libcodec2_soft_aacenc.so"); in C2PlatformComponentStore()
847 emplace("libcodec2_soft_amrnbdec.so"); in C2PlatformComponentStore()
848 emplace("libcodec2_soft_amrnbenc.so"); in C2PlatformComponentStore()
849 emplace("libcodec2_soft_amrwbdec.so"); in C2PlatformComponentStore()
850 emplace("libcodec2_soft_amrwbenc.so"); in C2PlatformComponentStore()
851 emplace("libcodec2_soft_av1dec.so"); in C2PlatformComponentStore()
852 emplace("libcodec2_soft_avcdec.so"); in C2PlatformComponentStore()
[all …]
/frameworks/av/media/codec2/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 …]
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.h81 mRefreshRates.emplace(RefreshRateType::POWER_SAVING, in populate()
108 mRefreshRates.emplace(RefreshRateType::DEFAULT, in populate()
125 mRefreshRates.emplace(RefreshRateType::PERFORMANCE, in populate()
/frameworks/av/services/camera/libcameraservice/api2/
DCompositeStream.cpp89 mPendingCaptureResults.emplace(frameNumber, CameraMetadata()); in onBufferRequestForFrameNumber()
96 mFrameNumberMap.emplace(bufferInfo.mFrameNumber, bufferInfo.mTimestamp); in onBufferReleased()
126 mCaptureResults.emplace(ts, std::make_tuple(frameNumber, it->second)); in onResultAvailable()
149 mErrorFrameNumbers.emplace(frameNumber); in flagAnErrorFrameNumber()
/frameworks/native/services/surfaceflinger/
DSurfaceTracing.cpp63 mBuffer.emplace(std::move(entry)); in addTraceToBuffer()
90 void SurfaceTracing::LayersTraceBuffer::emplace(LayersTraceProto&& proto) { in emplace() function in android::SurfaceTracing::LayersTraceBuffer
100 mStorage.emplace(); in emplace()
DSurfaceTracing.h75 void emplace(LayersTraceProto&& proto);
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAData.h96 inline static void emplace(size_t totalSize, T *addr, Args&&... args) { in emplace() function
119 HIDE inline void _AUnion_impl::emplace<void>(size_t totalSize, void *addr) {
163 inline void emplace(Args&&... args) { in emplace() function
164 _AUnion_impl::emplace( in emplace()
459 dst.template emplace<T>(src.template get<T>());
497 dst.template emplace<T>(std::move(src.template get<T>()));
510 dst.template emplace<T>(src.template get<T>());
922 this->get().template emplace<B>(data);
953 this->get().template emplace<B>(std::forward<T&&>(data));
/frameworks/base/libs/hwui/pipeline/skia/
DVectorDrawableAtlas.cpp169 auto eraseIt = mRects.emplace(mRects.end(), result.rect, result.rect, nullptr); in requestNewEntry()
184 auto eraseIt = mRects.emplace(mRects.end(), result.rect, freeRect, nullptr); in requestNewEntry()
205 auto eraseIt = mRects.emplace(mRects.end(), result.rect, result.rect, result.surface); in requestNewEntry()
245 mFreeRects.emplace(rectArea, removedRect); in releaseEntry()
/frameworks/native/services/bufferhub/
DBufferHubService.cpp66 mClientSet.emplace(client); in allocateBuffer()
161 mClientSet.emplace(client); in importBuffer()
213 clientCount.emplace(node->id(), in debug()
290 tokenCount.emplace(node->id(), 1U); in debug()
345 mTokenMap.emplace(mLastTokenId, std::pair(hmacVec, client)); in registerToken()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.cpp149 mDisplays.emplace(displayId, std::move(display)); in createVirtualDisplay()
187 mDisplays.emplace(displayId, std::move(newDisplay)); in onHotplug()
216 mCapabilities.emplace(static_cast<Capability>(capability)); in loadCapabilities()
306 mLayers.emplace(layerId, std::move(layer)); in createLayer()
390 outTypes->emplace(layer, type); in getChangedCompositionTypes()
492 outLayerRequests->emplace(layer, layerRequest); in getRequests()
569 releaseFences.emplace(layer, fence); in getReleaseFences()
655 mDisplayCapabilities.emplace(static_cast<DisplayCapability>(capability)); in setPowerMode()
659 mDisplayCapabilities.emplace(DisplayCapability::SkipClientColorTransform); in setPowerMode()
664 mDisplayCapabilities.emplace(DisplayCapability::Doze); in setPowerMode()
[all …]
/frameworks/av/media/codec2/sfplugin/
DReflectedParamUpdater.cpp192 mMap.emplace(fieldName, FieldDesc { in addParamStructDesc()
219 mParamNames.emplace(desc->index(), paramName); in addParamDesc()
225 mMap.emplace(paramName, FieldDesc{ desc, nullptr, 0 /* offset */ }); in addParamDesc()
234 mWholeParams.emplace(name, index); in supportWholeParam()
508 ret.emplace(name, value); in getParams()
573 ret.emplace(name, value); in getParams()
DCCodecConfig.cpp267 mConfigMappers.emplace(cm.mediaKey(), eqs); in add()
898 mSupportedIndices.emplace(desc->index()); in initialize()
947 mSubscribedIndices.emplace(C2PortSuggestedBufferCountTuning::input::PARAM_TYPE); in initialize()
948 mSubscribedIndices.emplace(C2PortSuggestedBufferCountTuning::output::PARAM_TYPE); in initialize()
949 mSubscribedIndices.emplace(C2ActualPipelineDelayTuning::PARAM_TYPE); in initialize()
950 mSubscribedIndices.emplace(C2PortActualDelayTuning::input::PARAM_TYPE); in initialize()
951 mSubscribedIndices.emplace(C2PortActualDelayTuning::output::PARAM_TYPE); in initialize()
953 mSubscribedIndices.emplace(C2StreamMaxBufferSizeInfo::output::PARAM_TYPE); in initialize()
955 mSubscribedIndices.emplace(C2StreamInitDataInfo::output::PARAM_TYPE); in initialize()
1006 auto insertion = mCurrentConfig.emplace(p->index(), nullptr); in updateConfiguration()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableScheduler.h39 mConnections.emplace(id, in addConnection()
DAsyncCallRecorder.h120 result.emplace(std::move(mCalls.front()));
/frameworks/base/cmds/statsd/src/external/
DSubsystemSleepStatePuller.cpp129 gEntityNames.emplace(info.powerEntityId, info.powerEntityName); in initializePowerStats()
146 stateNames.emplace(state.powerEntityStateId, in initializePowerStats()
149 gStateNames.emplace(stateSpace.powerEntityId, stateNames); in initializePowerStats()
/frameworks/native/libs/binderthreadstate/
DIPCThreadStateBase.cpp64 mCallStateStack.emplace(callState); in pushCurrentState()
/frameworks/av/media/libstagefright/foundation/tests/
DAData_test.cpp55 u.emplace<int>(4); in TEST_F()
60 u.emplace<const char *>("hello"); in TEST_F()
66 u.emplace<void>(); in TEST_F()
69 u.emplace<int>(~0); in TEST_F()
72 u.emplace<char>(0x15); in TEST_F()
81 d.emplace<EventCounter>(&destructions); in TEST_F()
86 d.emplace<EventCounter *>(ctr); in TEST_F()
94 md.emplace<std::shared_ptr<EventCounter>>(new EventCounter(&destructions)); in TEST_F()
105 md.emplace<std::unique_ptr<EventCounter>>(new EventCounter(&destructions)); in TEST_F()
114 md.emplace<std::unique_ptr<EventCounter>>(std::move(unique)); in TEST_F()
/frameworks/av/media/libmediaplayerservice/
DDeathNotifier.cpp60 other.mService.emplace<0>();
/frameworks/native/libs/vr/libpdx_uds/
Dchannel_manager.cpp30 channels_.emplace( in CreateHandle()
/frameworks/ml/nn/runtime/test/fuzzing/
DOperationManager.cpp63 mOperationSignatures.emplace(name, signature); in addSignature()
/frameworks/native/libs/renderengine/gl/
DProgramCache.cpp97 cache.emplace(shaderKey, generateProgram(shaderKey)); in primeCache()
121 cache.emplace(shaderKey, generateProgram(shaderKey)); in primeCache()
720 it = cache.emplace(needs, generateProgram(needs)).first; in useProgram()
DGLExtensions.cpp43 mExtensions.emplace(curr, len); in ExtensionSet()
/frameworks/av/media/codec2/hidl/1.0/utils/
DComponentStore.cpp237 mLoadedInterfaces.emplace(intf->getName()); in onInterfaceLoaded()
257 mUnsupportedStructDescriptors.emplace(coreIndex); in getStructDescriptors()
308 mComponentRoster.emplace(component, componentStatus); in reportComponentBirth()
/frameworks/av/media/libnblog/
DMerger.cpp100 timestamps.emplace(abstractEntry->timestamp(), i); in merge()
113 timestamps.emplace(ts, index); in merge()
/frameworks/base/cmds/idmap2/libidmap2/
DXml.cpp67 map->emplace(std::make_pair(key, value)); in FindTag()

12345