/frameworks/native/services/inputflinger/ |
D | InputDeviceMetricsSource.cpp | 61 sources.emplace(InputDeviceUsageSource::MOUSE); in getUsageSourcesForMotionArgs() 65 sources.emplace(InputDeviceUsageSource::TOUCHPAD); in getUsageSourcesForMotionArgs() 69 sources.emplace(InputDeviceUsageSource::STYLUS_INDIRECT); in getUsageSourcesForMotionArgs() 75 sources.emplace(InputDeviceUsageSource::MOUSE_CAPTURED); in getUsageSourcesForMotionArgs() 80 sources.emplace(InputDeviceUsageSource::TOUCHPAD_CAPTURED); in getUsageSourcesForMotionArgs() 85 sources.emplace(InputDeviceUsageSource::STYLUS_FUSED); in getUsageSourcesForMotionArgs() 89 sources.emplace(InputDeviceUsageSource::STYLUS_DIRECT); in getUsageSourcesForMotionArgs() 93 sources.emplace(InputDeviceUsageSource::TOUCH_NAVIGATION); in getUsageSourcesForMotionArgs() 97 sources.emplace(InputDeviceUsageSource::JOYSTICK); in getUsageSourcesForMotionArgs() 101 sources.emplace(InputDeviceUsageSource::ROTARY_ENCODER); in getUsageSourcesForMotionArgs() [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | Generic_bench.cpp | 31 map.emplace(i, vec); in prepare_map() 41 benchmark::DoNotOptimize(map.emplace(val, vec)); in BM_hashmap_emplace_same() 67 map.emplace(i++, vec); in BM_hashmap_emplace_diff() 85 map.emplace(i - 1, vec); in BM_hashmap_find_emplace_diff() 96 benchmark::DoNotOptimize(map.emplace(val, vec)); in BM_treemap_emplace_same() 122 map.emplace(i++, vec); in BM_treemap_emplace_diff() 140 map.emplace(i - 1, vec); in BM_treemap_find_emplace_diff()
|
/frameworks/av/media/codec2/vndk/ |
D | C2Store.cpp | 1171 auto emplace = [this](const char *libPath) { in C2PlatformComponentStore() local 1172 mComponents.emplace(libPath, libPath); in C2PlatformComponentStore() 1176 emplace("libcodec2_soft_aacdec.so"); in C2PlatformComponentStore() 1177 emplace("libcodec2_soft_aacenc.so"); in C2PlatformComponentStore() 1178 emplace("libcodec2_soft_amrnbdec.so"); in C2PlatformComponentStore() 1179 emplace("libcodec2_soft_amrnbenc.so"); in C2PlatformComponentStore() 1180 emplace("libcodec2_soft_amrwbdec.so"); in C2PlatformComponentStore() 1181 emplace("libcodec2_soft_amrwbenc.so"); in C2PlatformComponentStore() 1183 emplace("libcodec2_soft_av1dec_gav1.so"); in C2PlatformComponentStore() 1184 emplace("libcodec2_soft_av1dec_dav1d.so"); in C2PlatformComponentStore() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | FrameRateOverrideMappingsTest.cpp | 43 mFrameRateOverrideByContent.emplace(0, 30.0_Hz); in TEST_F() 44 mFrameRateOverrideByContent.emplace(1, 60.0_Hz); in TEST_F() 106 mFrameRateOverrideByContent.emplace(0, 30.0_Hz); in TEST_F() 107 mFrameRateOverrideByContent.emplace(1, 60.0_Hz); in TEST_F() 108 mFrameRateOverrideByContent.emplace(2, 45.0_Hz); in TEST_F() 109 mFrameRateOverrideByContent.emplace(5, 120.0_Hz); in TEST_F()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CompositeStream.cpp | 100 mPendingCaptureResults.emplace(frameNumber, CameraMetadata()); in onBufferRequestForFrameNumber() 102 mRequestTimeMap.emplace(frameNumber, ts); in onBufferRequestForFrameNumber() 109 mFrameNumberMap.emplace(bufferInfo.mFrameNumber, bufferInfo.mTimestamp); in onBufferReleased() 144 mCaptureResults.emplace(ts, std::make_tuple(frameNumber, it->second)); in onResultAvailable() 167 mErrorFrameNumbers.emplace(frameNumber); in flagAnErrorFrameNumber()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | LatencyTracker.cpp | 104 mTimelines.emplace(inputEventId, in trackListener() 107 mEventTimes.emplace(eventTime, inputEventId); in trackListener() 125 timeline.connectionTimelines.emplace(connectionToken, in trackFinishedEvent() 155 timeline.connectionTimelines.emplace(connectionToken, std::move(graphicsTimeline)); in trackGraphicsLatency()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | SmallAreaDetectionAllowMappings.cpp | 28 mMap.emplace(row.first, row.second); in update() 36 mMap.emplace(appId, threshold); in setThresholdForAppId()
|
/frameworks/minikin/libs/minikin/ |
D | LocaleListCache.cpp | 124 mLocaleListLookupTable.emplace(std::vector<Locale>(), kEmptyLocaleListId); in LocaleListCache() 125 mLocaleListStringCache.emplace("", kEmptyLocaleListId); in LocaleListCache() 135 mLocaleListStringCache.emplace(locales, id); in getIdInternal() 150 mLocaleListLookupTable.emplace(locales, nextId); in getIdInternal()
|
/frameworks/native/services/surfaceflinger/Tracing/ |
D | TransactionRingBuffer.h | 72 std::vector<std::string> emplace(std::string&& serializedProto) { in emplace() function 88 std::vector<std::string> emplace(EntryProto&& proto) { in emplace() function 91 return emplace(std::move(serializedProto)); in emplace()
|
/frameworks/native/libs/ftl/ |
D | small_map_test.cpp | 317 const auto [it, emplace] = map.emplace_or_replace(3, "c"); in TYPED_TEST() 318 EXPECT_TRUE(emplace); in TYPED_TEST() 327 const auto [it, emplace] = map.emplace_or_replace(2, 1u, static_cast<char>(std::tolower(*ref))); in TYPED_TEST() 328 EXPECT_FALSE(emplace); in TYPED_TEST() 344 const auto [it, emplace] = map.emplace_or_replace(5, "e"); in TYPED_TEST() 345 EXPECT_TRUE(emplace); in TYPED_TEST() 354 const auto [it, emplace] = map.emplace_or_replace(3, ref->get().str, 2u, 1u); in TYPED_TEST() 355 EXPECT_FALSE(emplace); in TYPED_TEST()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/ |
D | CachedSetTest.cpp | 347 clientComp1.emplace(); in TEST_F() 351 clientComp2.emplace(); in TEST_F() 396 clientComp1.emplace(); in TEST_F() 400 clientComp2.emplace(); in TEST_F() 446 clientComp1.emplace(); in TEST_F() 449 clientComp2.emplace(); in TEST_F() 496 clientComp1.emplace(); in TEST_F() 499 clientComp2.emplace(); in TEST_F() 543 clientComp1.emplace(); in TEST_F() 547 clientComp2.emplace(); in TEST_F() [all …]
|
/frameworks/base/tools/aapt2/compile/ |
D | IdAssigner.cpp | 202 auto assign_result = pre_assigned_ids_.emplace(id, key); in ReserveId() 306 type = types_.emplace(key, TypeGroup(package_id_, id.type_id())).first; in ReserveId() 311 auto non_staged_type = non_staged_type_ids_.emplace(name.type.type, id.type_id()); in ReserveId() 355 non_staged_type = non_staged_type_ids_.emplace(name.type.type, *next_type_id).first; in NextId() 361 type = types_.emplace(key, TypeGroup(package_id_, key.id)).first; in NextId()
|
/frameworks/av/services/mediaresourcemanager/ |
D | ResourceObserverService.cpp | 189 mObserverInfoMap.emplace((uintptr_t)binder.get(), in registerObserver() 199 mObservableToSubscribersMap[key].emplace((uintptr_t)binder.get(), in_observer); in registerObserver() 208 sDeathRecipientMap.emplace( in registerObserver() 305 calleeList.emplace(subscriber.first, CalleeInfo{ in notifyObservers()
|
/frameworks/av/media/module/foundation/include/media/stagefright/foundation/ |
D | AData.h | 100 inline static void NO_CFI emplace(size_t totalSize, T *addr, Args&&... args) { in emplace() function 123 HIDE inline void _AUnion_impl::emplace<void>(size_t totalSize, void *addr) { 167 inline void NO_CFI emplace(Args&&... args) { in emplace() function 168 _AUnion_impl::emplace( in emplace() 463 dst.template emplace<T>(src.template get<T>()); 501 dst.template emplace<T>(std::move(src.template get<T>())); 514 dst.template emplace<T>(src.template get<T>()); 926 this->get().template emplace<B>(data); 957 this->get().template emplace<B>(std::forward<T&&>(data));
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | TagMonitor.cpp | 137 outputStreamIds.emplace(streamId); in monitorMetadata() 178 mMonitoringEvents.emplace(source, frameNumber, timestamp, camera_metadata_ro_entry_t{}, in monitorSingleMetadata() 184 mMonitoringEvents.emplace(source, frameNumber, timestamp, camera_metadata_ro_entry_t{}, in monitorSingleMetadata() 216 mMonitoringEvents.emplace(source, frameNumber, timestamp, entry, cameraId, in monitorSingleMetadata() 231 mMonitoringEvents.emplace(source, frameNumber, timestamp, entry, cameraId, in monitorSingleMetadata()
|
/frameworks/native/services/inputflinger/tests/ |
D | LatencyTracker_test.cpp | 75 t.connectionTimelines.emplace(sp<BBinder>::make(), std::move(expectedCT)); in getTestTimeline() 247 timeline1.connectionTimelines.emplace(connection1, in TEST_F() 264 timeline2.connectionTimelines.emplace(connection2, in TEST_F() 316 expectedTimelines[0].connectionTimelines.emplace(token, std::move(expectedCT)); in TEST_F()
|
/frameworks/av/media/module/libmediatranscoding/transcoder/ |
D | PassthroughTrackTranscoder.cpp | 69 mAddressSizeMap.emplace(buffer, minimumBufferSize); in getBufferWithSize() 81 mFreeBufferMap.emplace(mAddressSizeMap[buffer], buffer); in returnBuffer()
|
/frameworks/av/services/camera/virtualcamera/ |
D | VirtualCameraStream.cc | 110 mBuffers.emplace(std::piecewise_construct, in importBuffer() 141 mEglFramebuffers.emplace(std::piecewise_construct, std::forward_as_tuple(key), in getEglFrameBuffer()
|
/frameworks/native/services/surfaceflinger/Scheduler/src/ |
D | PresentLatencyTracker.cpp | 46 mPendingFrames.emplace(compositeTime, std::move(presentFenceTime)); in trackPendingFrame()
|
/frameworks/native/cmds/dumpstate/ |
D | TaskQueue.h | 51 tasks_.emplace([=](bool cancelled) { in add()
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | TransactionHandler.cpp | 44 mPendingTransactionQueues[transaction.applyToken].emplace(std::move(transaction)); in collectTransactions() 194 mStalledTransactions.emplace(transactionId, std::move(stalledTransactionInfo)); in onTransactionQueueStalled()
|
/frameworks/av/camera/ndk/ndk_vendor/tests/ |
D | ACameraManagerTest.cpp | 84 thiz->mUnavailablePhysicalCameras.emplace(cameraId, physicalCameraId); in onPhysicalCameraUnavailable() 218 physicalCameraIdPairs.emplace(cameraId, physicalCameraIds[j]); in TEST_F()
|
/frameworks/base/libs/hwui/canvas/ |
D | CanvasOpRasterizer.h | 48 mCanvas = &(mOwnership.emplace<SkCanvas>(bitmap.getSkBitmap())); in ImmediateModeRasterizer()
|
/frameworks/av/media/libstagefright/renderfright/gl/ |
D | ProgramCache.cpp | 105 cache.emplace(shaderKey, generateProgram(shaderKey)); in primeCache() 126 cache.emplace(shaderKey, generateProgram(shaderKey)); in primeCache() 150 cache.emplace(shaderKey, generateProgram(shaderKey)); in primeCache() 794 it = cache.emplace(needs, generateProgram(needs)).first; in useProgram()
|
/frameworks/av/media/codec2/sfplugin/ |
D | ReflectedParamUpdater.cpp | 180 mMap.emplace(fieldName, FieldDesc { in addParamStructDesc() 207 mParamNames.emplace(desc->index(), paramName); in addParamDesc() 213 mMap.emplace(paramName, FieldDesc{ desc, nullptr, 0 /* offset */ }); in addParamDesc() 222 mWholeParams.emplace(name, index); in supportWholeParam() 524 ret.emplace(name, value); in getParams() 589 ret.emplace(name, value); in getParams()
|