/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | FrameRateOverrideMappingsTest.cpp | 39 mFrameRateOverrideByContent.emplace(0, 30.0_Hz); in TEST_F() 40 mFrameRateOverrideByContent.emplace(1, 60.0_Hz); in TEST_F() 99 mFrameRateOverrideByContent.emplace(0, 30.0_Hz); in TEST_F() 100 mFrameRateOverrideByContent.emplace(1, 60.0_Hz); in TEST_F() 101 mFrameRateOverrideByContent.emplace(2, 45.0_Hz); in TEST_F() 102 mFrameRateOverrideByContent.emplace(5, 120.0_Hz); in TEST_F()
|
D | TestableScheduler.h | 44 mVsyncSchedule.emplace(VsyncSchedule(std::move(tracker), nullptr, std::move(controller))); in TestableScheduler() 84 mTouchTimer.emplace( in replaceTouchTimer()
|
/frameworks/av/media/codec2/vndk/ |
D | C2Store.cpp | 1071 auto emplace = [this](const char *libPath) { in C2PlatformComponentStore() local 1072 mComponents.emplace(libPath, libPath); in C2PlatformComponentStore() 1076 emplace("libcodec2_soft_aacdec.so"); in C2PlatformComponentStore() 1077 emplace("libcodec2_soft_aacenc.so"); in C2PlatformComponentStore() 1078 emplace("libcodec2_soft_amrnbdec.so"); in C2PlatformComponentStore() 1079 emplace("libcodec2_soft_amrnbenc.so"); in C2PlatformComponentStore() 1080 emplace("libcodec2_soft_amrwbdec.so"); in C2PlatformComponentStore() 1081 emplace("libcodec2_soft_amrwbenc.so"); in C2PlatformComponentStore() 1083 emplace("libcodec2_soft_av1dec_gav1.so"); in C2PlatformComponentStore() 1084 emplace("libcodec2_soft_avcdec.so"); in C2PlatformComponentStore() [all …]
|
/frameworks/av/media/codec2/sfplugin/tests/ |
D | ReflectedParamUpdater_test.cpp | 150 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/inputflinger/dispatcher/ |
D | LatencyTracker.cpp | 81 mTimelines.emplace(inputEventId, InputEventTimeline(isDown, eventTime, readTime)); in trackListener() 82 mEventTimes.emplace(eventTime, inputEventId); in trackListener() 100 timeline.connectionTimelines.emplace(connectionToken, in trackFinishedEvent() 130 timeline.connectionTimelines.emplace(connectionToken, std::move(graphicsTimeline)); in trackGraphicsLatency()
|
/frameworks/native/libs/ftl/ |
D | small_map_test.cpp | 289 const auto [it, emplace] = map.emplace_or_replace(3, "c"); in TEST() 290 EXPECT_TRUE(emplace); in TEST() 299 const auto [it, emplace] = map.emplace_or_replace(2, 1u, static_cast<char>(std::tolower(*ref))); in TEST() 300 EXPECT_FALSE(emplace); in TEST() 311 const auto [it, emplace] = map.emplace_or_replace(5, "e"); in TEST() 312 EXPECT_TRUE(emplace); in TEST() 321 const auto [it, emplace] = map.emplace_or_replace(3, ref->get().str, 2u, 1u); in TEST() 322 EXPECT_FALSE(emplace); in TEST()
|
/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/av/services/camera/libcameraservice/api2/ |
D | CompositeStream.cpp | 97 mPendingCaptureResults.emplace(frameNumber, CameraMetadata()); in onBufferRequestForFrameNumber() 104 mFrameNumberMap.emplace(bufferInfo.mFrameNumber, bufferInfo.mTimestamp); in onBufferReleased() 134 mCaptureResults.emplace(ts, std::make_tuple(frameNumber, it->second)); in onResultAvailable() 157 mErrorFrameNumbers.emplace(frameNumber); in flagAnErrorFrameNumber()
|
/frameworks/native/services/surfaceflinger/Tracing/ |
D | RingBuffer.h | 76 std::vector<std::string> emplace(std::string&& serializedProto) { in emplace() function 92 std::vector<std::string> emplace(EntryProto&& proto) { in emplace() function 95 return emplace(std::move(serializedProto)); in emplace()
|
/frameworks/base/tools/aapt2/compile/ |
D | IdAssigner.cpp | 197 auto assign_result = pre_assigned_ids_.emplace(id, key); in ReserveId() 289 type = types_.emplace(key, TypeGroup(package_id_, id.type_id())).first; in ReserveId() 294 auto non_staged_type = non_staged_type_ids_.emplace(name.type.type, id.type_id()); in ReserveId() 323 non_staged_type = non_staged_type_ids_.emplace(name.type.type, *next_type_id).first; in NextId() 329 type = types_.emplace(key, TypeGroup(package_id_, key.id)).first; in NextId()
|
/frameworks/native/services/inputflinger/tests/ |
D | LatencyTracker_test.cpp | 47 t.connectionTimelines.emplace(new BBinder(), std::move(expectedCT)); in getTestTimeline() 207 timeline1.connectionTimelines.emplace(connection1, in TEST_F() 221 timeline2.connectionTimelines.emplace(connection2, in TEST_F() 271 expectedTimelines[0].connectionTimelines.emplace(token, std::move(expectedCT)); in TEST_F()
|
/frameworks/av/services/mediaresourcemanager/ |
D | ResourceObserverService.cpp | 186 mObserverInfoMap.emplace((uintptr_t)binder.get(), in registerObserver() 196 mObservableToSubscribersMap[key].emplace((uintptr_t)binder.get(), in_observer); in registerObserver() 205 sDeathRecipientMap.emplace( in registerObserver() 302 calleeList.emplace(subscriber.first, CalleeInfo{ in notifyObservers()
|
/frameworks/av/media/libstagefright/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 | 136 outputStreamIds.emplace(streamId); in monitorMetadata() 177 mMonitoringEvents.emplace(source, frameNumber, timestamp, camera_metadata_ro_entry_t{}, in monitorSingleMetadata() 183 mMonitoringEvents.emplace(source, frameNumber, timestamp, camera_metadata_ro_entry_t{}, in monitorSingleMetadata() 215 mMonitoringEvents.emplace(source, frameNumber, timestamp, entry, cameraId, in monitorSingleMetadata() 230 mMonitoringEvents.emplace(source, frameNumber, timestamp, entry, cameraId, in monitorSingleMetadata()
|
/frameworks/av/media/libmediatranscoding/transcoder/ |
D | PassthroughTrackTranscoder.cpp | 69 mAddressSizeMap.emplace(buffer, minimumBufferSize); in getBufferWithSize() 81 mFreeBufferMap.emplace(mAddressSizeMap[buffer], buffer); in returnBuffer()
|
/frameworks/native/services/inputflinger/reader/controller/ |
D | PeripheralController.cpp | 142 intensities.emplace(LightColor::RED, getRed(color)); in setLightColor() 143 intensities.emplace(LightColor::GREEN, getGreen(color)); in setLightColor() 144 intensities.emplace(LightColor::BLUE, getBlue(color)); in setLightColor() 400 rawRgbIds.emplace(LightColor::RED, rawId); in configureLights() 404 rawRgbIds.emplace(LightColor::GREEN, rawId); in configureLights() 408 rawRgbIds.emplace(LightColor::BLUE, rawId); in configureLights()
|
/frameworks/native/cmds/dumpstate/ |
D | TaskQueue.h | 51 tasks_.emplace([=](bool cancelled) { in add()
|
/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() 790 it = cache.emplace(needs, generateProgram(needs)).first; in useProgram()
|
/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/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()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWC2.cpp | 136 mLayers.emplace(layerId, layer); in createLayer() 181 outTypes->emplace(layer.get(), type); in getChangedCompositionTypes() 274 outLayerRequests->emplace(layer.get(), layerRequest); in getRequests() 373 releaseFences.emplace(layer.get(), fence); in getReleaseFences() 477 mDisplayCapabilities.emplace(); in setPowerMode() 479 mDisplayCapabilities->emplace(capability); in setPowerMode() 483 mDisplayCapabilities.emplace(); in setPowerMode() 485 mDisplayCapabilities->emplace(DisplayCapability::SKIP_CLIENT_COLOR_TRANSFORM); in setPowerMode() 490 mDisplayCapabilities->emplace(DisplayCapability::DOZE); in setPowerMode()
|
/frameworks/native/libs/renderengine/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() 813 it = cache.emplace(needs, generateProgram(needs)).first; in useProgram()
|
/frameworks/av/media/libmediatranscoding/include/media/ |
D | AdjustableMaxPriorityQueue.h | 78 bool emplace(Args&&... args); 146 bool AdjustableMaxPriorityQueue<T, Comparator>::emplace(Args&&... args) { in emplace() function
|
/frameworks/av/media/libmediaplayerservice/ |
D | DeathNotifier.cpp | 60 other.mService.emplace<0>();
|