Home
last modified time | relevance | path

Searched refs:emplace_back (Results 1 – 25 of 245) sorted by relevance

12345678910

/frameworks/native/services/surfaceflinger/tests/unittests/
DSetFrameRateTest.cpp195 auto layer = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P()
206 auto parent = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P()
207 auto child1 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P()
208 auto child2 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P()
231 auto parent = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P()
232 auto child1 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P()
233 auto child2 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P()
270 auto parent = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P()
271 auto child1 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P()
272 auto child2 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P()
[all …]
/frameworks/native/libs/ftl/
Dsmall_vector_test.cpp190 EXPECT_EQ(pairs.emplace_back(a, a + 1), Pair(a, a + 1)); in TEST()
197 EXPECT_EQ(pairs.emplace_back(10, 11), Pair(10, 11)); in TEST()
234 EXPECT_EQ(strings.emplace_back("cakewalk", 4u), "cake"s); in TEST()
282 words.emplace_back("cake"); in TEST()
340 sorted.emplace_back(str); in TEST()
385 counts.emplace_back(live, dead); in TEST()
386 counts.emplace_back(live, dead); in TEST()
387 counts.emplace_back(live, dead); in TEST()
397 counts.emplace_back(live, dead); in TEST()
398 counts.emplace_back(live, dead); in TEST()
[all …]
Dstatic_vector_test.cpp187 const auto it = pairs.emplace_back(a, a + 1); in TEST()
196 const auto it = pairs.emplace_back(10, 11); in TEST()
233 it = strings.emplace_back("cakewalk", 4u); in TEST()
303 sorted.emplace_back(str); in TEST()
347 counts.emplace_back(live, dead); in TEST()
348 counts.emplace_back(live, dead); in TEST()
349 counts.emplace_back(live, dead); in TEST()
357 counts.emplace_back(live, dead); in TEST()
358 counts.emplace_back(live, dead); in TEST()
359 counts.emplace_back(live, dead); in TEST()
[all …]
/frameworks/native/libs/gui/
DBatchBufferOps.cpp38 RequestBufferOutput& output = outputs->emplace_back(); in requestBuffers()
51 DequeueBufferOutput& output = outputs->emplace_back(); in dequeueBuffers()
71 results->emplace_back(detachBuffer(slot)); in detachBuffers()
82 AttachBufferOutput& output = outputs->emplace_back(); in attachBuffers()
94 QueueBufferOutput& output = outputs->emplace_back(); in queueBuffers()
106 results->emplace_back() = cancelBuffer(input.slot, input.fence); in cancelBuffers()
116 QueryOutput& output = outputs->emplace_back(); in query()
/frameworks/av/media/codec2/tests/
DC2ComponentInterface_test.cpp334 validValues->emplace_back(C2Component::DOMAIN_VIDEO); in getTestValues()
335 validValues->emplace_back(C2Component::DOMAIN_AUDIO); in getTestValues()
336 validValues->emplace_back(C2Component::DOMAIN_OTHER); in getTestValues()
365 invalidValues->emplace_back(TField(0)); in getTestValues()
380 validValues->emplace_back(v); in getTestValues()
383 invalidValues->emplace_back(TField(rmin - 1)); in getTestValues()
386 invalidValues->emplace_back(TField(rmax + 1)); in getTestValues()
391 … invalidValues->emplace_back(TField((validValues->at(0) + validValues->at(1)) / 2)); in getTestValues()
392 … invalidValues->emplace_back(TField((validValues->at(N - 2) + validValues->at(N - 1)) / 2)); in getTestValues()
395 invalidValues->emplace_back(TField(validValues->at(0) + 1)); in getTestValues()
[all …]
/frameworks/base/libs/hwui/canvas/
DCanvasFrontend.cpp32 mSaveStack.emplace_back(); in resetState()
33 mClipStack.emplace_back().setRect(mInitialBounds); in resetState()
34 mTransformStack.emplace_back(); in resetState()
44 mTransformStack.emplace_back() = transform(); in internalSave()
50 mClipStack.emplace_back() = clip(); in internalSave()
/frameworks/native/cmds/lshal/
DTextTable.h60 void add() { mTable.emplace_back(); } in add()
63 mTable.emplace_back(std::move(v)); in add()
65 void add(const std::string& s) { mTable.emplace_back(s); } in add()
66 void add(std::string&& s) { mTable.emplace_back(std::move(s)); } in add()
/frameworks/base/core/jni/
Dcom_android_internal_content_om_OverlayConfig.cpp51 argv.emplace_back("--overlay-apk-path"); in createIdmap()
52 argv.emplace_back(overlayApkPath); in createIdmap()
60 argv.emplace_back("--policy"); in createIdmap()
61 argv.emplace_back(policy); in createIdmap()
66 argv.emplace_back("--ignore-overlayable"); in createIdmap()
/frameworks/base/tools/aapt2/cmd/
DCommand.cpp61 flags_.emplace_back(Flag(name, description, /* required */ true, /* num_args */ 1, func)); in AddRequiredFlag()
71 flags_.emplace_back(Flag(name, description, /* required */ true, /* num_args */ 1, func)); in AddRequiredFlagList()
81 flags_.emplace_back(Flag(name, description, /* required */ false, /* num_args */ 1, func)); in AddOptionalFlag()
91 flags_.emplace_back(Flag(name, description, /* required */ false, /* num_args */ 1, func)); in AddOptionalFlagList()
101 flags_.emplace_back(Flag(name, description, /* required */ false, /* num_args */ 1, func)); in AddOptionalFlagList()
111 flags_.emplace_back(Flag(name, description, /* required */ false, /* num_args */ 0, func)); in AddOptionalSwitch()
/frameworks/minikin/tests/stresstest/
DMultithreadTest.cpp53 text.emplace_back(' '); in generateTestText()
56 text.emplace_back(dist(*mt)); in generateTestText()
96 threads.emplace_back(&thread_main, i); in TEST()
/frameworks/av/media/codec2/fuzzer/
DC2Fuzzer.cpp99 mFrameList.emplace_back(std::make_tuple(framePtr, frameSize, flags)); in parse()
109 mFrameList.emplace_back( in parse()
111 mFrameList.emplace_back( in parse()
151 codec2FactoryFunc.emplace_back( in initDecoder()
176 mWorkQueue.emplace_back(new C2Work); in initDecoder()
286 work->input.buffers.emplace_back(new LinearBuffer(block, frameSize)); in decodeFrames()
288 work->worklets.emplace_back(new C2Worklet); in decodeFrames()
/frameworks/av/media/libstagefright/
DMediaAppender.cpp122 mSampleCountVect.emplace_back(0); in init()
123 mMaxTimestampVect.emplace_back(0); in init()
124 mLastSyncSampleTimeVect.emplace_back(0); in init()
144 mSampleSizeVect.emplace_back(sampleSize); in init()
152 mSampleTimeVect.emplace_back(sampleTime); in init()
159 mSampleIndexVect.emplace_back(exTrackIndex); in init()
169 mSampleMetaVect.emplace_back(sampleMeta); in init()
175 mSDI.emplace_back(tmpSDI); in init()
/frameworks/av/services/mediametrics/
DTransactionLog.h233 stale.emplace_back(std::move(eraseEnd->second)); in gc()
244 stale.emplace_back(std::move(eraseEnd->second)); in gc()
255 garbage.emplace_back(std::move(keyHist)); // directly move keyhist to garbage in gc()
259 stale.emplace_back(std::move(it3->second)); in gc()
267 garbage.emplace_back(std::move(stale)); in gc()
DStringUtils.cpp47 result.emplace_back(std::move(flag)); in split()
83 result.emplace_back(std::move(device), std::move(address)); in getDeviceAddressPairs()
/frameworks/base/cmds/idmap2/libidmap2/
DPolicyUtils.cpp39 unknown_policies.emplace_back(policy.empty() ? "empty" : policy); in PoliciesToBitmaskResult()
56 policies.emplace_back(policy.first.to_string()); in BitmaskToPolicies()
/frameworks/native/libs/adbd_auth/
Dadbd_auth.cpp134 this->output_queue_.emplace_back( in DispatchPendingPrompt()
415 pending_prompts_.emplace_back(id, public_key, arg); in PromptUser()
424 output_queue_.emplace_back( in NotifyAuthenticated()
436 output_queue_.emplace_back(AdbdAuthPacketDisconnected{.public_key = std::move(it->second)}); in NotifyDisconnected()
445 output_queue_.emplace_back(AdbdPacketTlsDeviceConnected{ in NotifyTlsDeviceConnected()
460 output_queue_.emplace_back(AdbdPacketTlsDeviceDisconnected{ in NotifyTlsDeviceDisconnected()
480 framework_handlers_.emplace_back( in InitFrameworkHandlers()
485 framework_handlers_.emplace_back( in InitFrameworkHandlers()
490 framework_handlers_.emplace_back( in InitFrameworkHandlers()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DTexturePoolTest.cpp74 textures.emplace_back(mTexturePool.borrowTexture()); in TEST_F()
82 textures.emplace_back(mTexturePool.borrowTexture()); in TEST_F()
93 textures.emplace_back(mTexturePool.borrowTexture()); in TEST_F()
/frameworks/base/tools/aapt2/xml/
DXmlActionExecutor.cpp40 actions_.emplace_back(std::bind(wrapper_one, std::move(f), std::placeholders::_1, in Action()
45 actions_.emplace_back(std::bind(wrapper_two, std::move(f), std::placeholders::_1, in Action()
50 actions_.emplace_back(std::bind(wrapper_three, std::move(f), std::placeholders::_1, in Action()
/frameworks/base/tools/aapt2/test/
DFixture.cpp103 link_args.emplace_back(arg); in Link()
119 link_args.emplace_back(arg); in Link()
133 link_args.emplace_back(std::move(compile_file)); in Link()
/frameworks/base/libs/hwui/tests/unit/
DFatVectorTests.cpp99 v.emplace_back(&count); in TEST()
112 v.emplace_back(&count); in TEST()
/frameworks/native/libs/cputimeinstate/
Dcputimeinstate.cpp76 ret.emplace_back(n); in readNumbersFromFile()
107 policyFileNames.emplace_back(dirlist[i]->d_name); in initGlobals()
123 gPolicyFreqs.emplace_back(freqs); in initGlobals()
130 gPolicyCpus.emplace_back(*cpus); in initGlobals()
269 out.emplace_back(freqList.size(), 0); in getTotalCpuFreqTimes()
299 out.emplace_back(freqList.size(), 0); in getUidCpuFreqTimes()
364 for (const auto &freqList : gPolicyFreqs) mapFormat.emplace_back(freqList.size(), 0); in getUidsUpdatedCpuFreqTimes()
413 for (const auto &cpuList : gPolicyCpus) ret.policy.emplace_back(cpuList.size(), 0); in getUidConcurrentTimes()
474 for (const auto &cpuList : gPolicyCpus) retFormat.policy.emplace_back(cpuList.size(), 0); in getUidsUpdatedConcurrentTimes()
613 mapFormat.emplace_back(freqList.size(), 0); in getAggregatedTaskCpuFreqTimes()
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dnative_handle_wrapper.h33 fds_.emplace_back(FileHandleType::AsDuplicate(handle->data[i])); in NativeHandleWrapper()
56 fds.emplace_back(fd.Duplicate()); in DuplicateHandle()
/frameworks/native/libs/vr/libpdx/
Dencoder_performance_test.cpp221 tests_.emplace_back(name, std::move(serialize_test), in AddTestFunc()
233 tests_.emplace_back(name, std::move(serialize_test), in AddSerializationTest()
245 tests_.emplace_back(name, std::function<SerializeTestSignature>{}, in AddDeserializationTest()
268 tests_.emplace_back(name, std::move(serialize_test), in AddTest()
483 data_buffers.emplace_back(len); in main()
494 buffers.emplace_back("Non-TLS Buffer", &buffer, &buffer, in main()
500 buffers.emplace_back( in main()
506 buffers.emplace_back( in main()
/frameworks/native/include/ftl/
Dsmall_vector.h187 reference emplace_back(Args&&... args) { in emplace_back() function
188 constexpr auto kInsertStatic = &Static::template emplace_back<Args...>; in emplace_back()
189 constexpr auto kInsertDynamic = &Dynamic::template emplace_back<Args...>; in emplace_back()
334 iterator emplace_back(Args&&... args) { in emplace_back() function
335 return &Impl::emplace_back(std::forward<Args>(args)...); in emplace_back()
/frameworks/av/media/libmedia/
DMediaProfiles.cpp264 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mVideoCodecs.emplace_back(videoCodec); in createVideoCodec()
294 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mAudioCodecs.emplace_back(audioCodec); in createAudioCodec()
612 mCamcorderProfiles[i]->mVideoCodecs.emplace_back( in checkAndAddRequiredProfilesIfNecessary()
617 mCamcorderProfiles[i]->mAudioCodecs.emplace_back( in checkAndAddRequiredProfilesIfNecessary()
797 profile->mVideoCodecs.emplace_back( in createDefaultCamcorderTimeLapseQcifProfile()
800 profile->mAudioCodecs.emplace_back( in createDefaultCamcorderTimeLapseQcifProfile()
815 profile->mVideoCodecs.emplace_back( in createDefaultCamcorderTimeLapse480pProfile()
818 profile->mAudioCodecs.emplace_back( in createDefaultCamcorderTimeLapse480pProfile()
852 profile->mVideoCodecs.emplace_back( in createDefaultCamcorderQcifProfile()
855 profile->mAudioCodecs.emplace_back( in createDefaultCamcorderQcifProfile()
[all …]

12345678910