Home
last modified time | relevance | path

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

123456

/frameworks/av/media/codec2/vndk/
DC2Store.cpp868 auto emplace = [this](const char *libPath) { in C2PlatformComponentStore() local
869 mComponents.emplace(libPath, libPath); in C2PlatformComponentStore()
873 emplace("libcodec2_soft_aacdec.so"); in C2PlatformComponentStore()
874 emplace("libcodec2_soft_aacenc.so"); in C2PlatformComponentStore()
875 emplace("libcodec2_soft_amrnbdec.so"); in C2PlatformComponentStore()
876 emplace("libcodec2_soft_amrnbenc.so"); in C2PlatformComponentStore()
877 emplace("libcodec2_soft_amrwbdec.so"); in C2PlatformComponentStore()
878 emplace("libcodec2_soft_amrwbenc.so"); in C2PlatformComponentStore()
880 emplace("libcodec2_soft_av1dec_gav1.so"); in C2PlatformComponentStore()
881 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/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()
91 void SurfaceTracing::LayersTraceBuffer::emplace(LayersTraceProto&& proto) { in emplace() function in android::SurfaceTracing::LayersTraceBuffer
101 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.cpp270 mConfigMappers.emplace(cm.mediaKey(), eqs); in add()
897 mSupportedIndices.emplace(desc->index()); in initialize()
946 mSubscribedIndices.emplace(C2PortSuggestedBufferCountTuning::input::PARAM_TYPE); in initialize()
947 mSubscribedIndices.emplace(C2PortSuggestedBufferCountTuning::output::PARAM_TYPE); in initialize()
948 mSubscribedIndices.emplace(C2ActualPipelineDelayTuning::PARAM_TYPE); in initialize()
949 mSubscribedIndices.emplace(C2PortActualDelayTuning::input::PARAM_TYPE); in initialize()
950 mSubscribedIndices.emplace(C2PortActualDelayTuning::output::PARAM_TYPE); in initialize()
952 mSubscribedIndices.emplace(C2StreamMaxBufferSizeInfo::output::PARAM_TYPE); in initialize()
954 mSubscribedIndices.emplace(C2StreamInitDataInfo::output::PARAM_TYPE); in initialize()
1005 auto insertion = mCurrentConfig.emplace(p->index(), nullptr); in updateConfiguration()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableScheduler.h41 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/ml/nn/common/
DGraphDump.cpp152 modelIO.emplace(model.main.inputIndexes[i], i); in graphDump()
155 modelIO.emplace(model.main.outputIndexes[i], i); in graphDump()
/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.cpp65 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/ml/nn/runtime/
DExecutionPlan.cpp85 cacheToken.emplace(token->getCacheToken()); in compile()
159 mOperandToOperations.emplace(operandIndex, operationIndex); in OperandTracker()
208 mOperandMap.emplace(sourceOperandIndex, *stepOperandIndex); in addOperand()
424 mTempsAsStepModelOutputs.emplace(stepOperandIndex, it->second); in recordTempAsStepModelOutput()
879 sourceOperandToOffsetOfTemporary->emplace(sourceOperandIndex, offset); in makeController()
967 sourceOperandToOffsetOfTemporary.emplace(sourceOperandIndex, offset); in makeController()
1206 mSourceOperandToOffsetOfTemporary.emplace(innerOperand, it->second); in setInput()
1209 mSourceOperandToInputIndex.emplace(innerOperand, it->second); in setInput()
1212 mSourceOperandToOutputIndex.emplace(innerOperand, it->second); in setInput()
1215 mSourceOperandToConstantReference.emplace(innerOperand, it->second); in setInput()
[all …]
DTypeManager.cpp206 std::tie(it, isNew) = mExtensionNameToExtension.emplace(extension.name, extension); in registerExtension()
209 mExtensionNameToFirstDevice.emplace(extension.name, deviceName); in registerExtension()
/frameworks/av/media/libnblog/
DMerger.cpp100 timestamps.emplace(abstractEntry->timestamp(), i); in merge()
113 timestamps.emplace(ts, index); in merge()

123456