Home
last modified time | relevance | path

Searched refs:uniqueId (Results 1 - 25 of 152) sorted by relevance

1234567

/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_image_cache.cpp30 void RSImageCache::CacheDrawingImage(uint64_t uniqueId, std::shared_ptr<Drawing::Image> img) in CacheDrawingImage() argument
32 if (img && uniqueId > 0) { in CacheDrawingImage()
34 drawingImageCache_.emplace(uniqueId, std::make_pair(img, 0)); in CacheDrawingImage()
38 std::shared_ptr<Drawing::Image> RSImageCache::GetDrawingImageCache(uint64_t uniqueId) const in GetDrawingImageCache()
41 auto it = drawingImageCache_.find(uniqueId); in GetDrawingImageCache()
48 void RSImageCache::IncreaseDrawingImageCacheRefCount(uint64_t uniqueId) in IncreaseDrawingImageCacheRefCount() argument
51 auto it = drawingImageCache_.find(uniqueId); in IncreaseDrawingImageCacheRefCount()
57 void RSImageCache::ReleaseDrawingImageCache(uint64_t uniqueId) in ReleaseDrawingImageCache() argument
61 auto it = drawingImageCache_.find(uniqueId); in ReleaseDrawingImageCache()
70 void RSImageCache::CachePixelMap(uint64_t uniqueId, st argument
98 IncreasePixelMapCacheRefCount(uint64_t uniqueId) IncreasePixelMapCacheRefCount() argument
107 CollectUniqueId(uint64_t uniqueId) CollectUniqueId() argument
137 ReleasePixelMapCache(uint64_t uniqueId) ReleasePixelMapCache() argument
166 ReleasePixelMapCacheUnique(uint64_t uniqueId) ReleasePixelMapCacheUnique() argument
196 CacheRenderDrawingImageByPixelMapId(uint64_t uniqueId, std::shared_ptr<Drawing::Image> img, pid_t tid) CacheRenderDrawingImageByPixelMapId() argument
205 GetRenderDrawingImageCacheByPixelMapId(uint64_t uniqueId, pid_t tid) const GetRenderDrawingImageCacheByPixelMapId() argument
218 ReleaseDrawingImageCacheByPixelMapId(uint64_t uniqueId) ReleaseDrawingImageCacheByPixelMapId() argument
[all...]
H A Drs_typeface_cache.cpp47 pid_t RSTypefaceCache::GetTypefacePid(uint64_t uniqueId) in GetTypefacePid() argument
50 return static_cast<uint32_t>(uniqueId >> 32); in GetTypefacePid()
53 uint32_t RSTypefaceCache::GetTypefaceId(uint64_t uniqueId) in GetTypefaceId() argument
55 return static_cast<uint32_t>(0xFFFFFFFF & uniqueId); in GetTypefaceId()
58 bool RSTypefaceCache::AddIfFound(uint64_t uniqueId, uint32_t hash) in AddIfFound() argument
62 typefaceHashCode_[uniqueId] = hash; in AddIfFound()
64 pid_t pid = GetTypefacePid(uniqueId); in AddIfFound()
73 bool RSTypefaceCache::HasTypeface(uint64_t uniqueId, uint32_t hash) in HasTypeface() argument
76 if (typefaceHashCode_.find(uniqueId) != typefaceHashCode_.end()) { in HasTypeface()
84 if (AddIfFound(uniqueId, has in HasTypeface()
101 CacheDrawingTypeface(uint64_t uniqueId, std::shared_ptr<Drawing::Typeface> typeface) CacheDrawingTypeface() argument
255 uint64_t uniqueId = it->first; RemoveDrawingTypefacesByPid() local
334 uint64_t uniqueId; ReplayDeserialize() local
[all...]
H A Drs_image_base.cpp274 Parcel& parcel, std::shared_ptr<Drawing::Image>& img, uint64_t uniqueId, void*& imagepixelAddr) in UnmarshallingAndCacheDrawingImage()
284 RSImageCache::Instance().CacheDrawingImage(uniqueId, img); in UnmarshallingAndCacheDrawingImage()
294 uint64_t uniqueId, uint32_t versionId) in UnmarshallingAndCachePixelMap()
303 RSImageCache::Instance().ReleasePixelMapCache(uniqueId); in UnmarshallingAndCachePixelMap()
308 RSImageCache::Instance().CachePixelMap(uniqueId, pixelMap); in UnmarshallingAndCachePixelMap()
313 RSImageCache::Instance().CachePixelMap(uniqueId, pixelMap); in UnmarshallingAndCachePixelMap()
321 static bool UnmarshallingIdAndRect(Parcel& parcel, uint64_t& uniqueId, RectF& srcRect, RectF& dstRect) in UnmarshallingIdAndRect() argument
323 if (!RSMarshallingHelper::Unmarshalling(parcel, uniqueId)) { in UnmarshallingIdAndRect()
324 RS_LOGE("RSImage::Unmarshalling uniqueId fail"); in UnmarshallingIdAndRect()
327 RS_PROFILER_PATCH_NODE_ID(parcel, uniqueId); in UnmarshallingIdAndRect()
273 UnmarshallingAndCacheDrawingImage( Parcel& parcel, std::shared_ptr<Drawing::Image>& img, uint64_t uniqueId, void*& imagepixelAddr) UnmarshallingAndCacheDrawingImage() argument
293 UnmarshallingAndCachePixelMap(Parcel& parcel, std::shared_ptr<Media::PixelMap>& pixelMap, uint64_t uniqueId, uint32_t versionId) UnmarshallingAndCachePixelMap() argument
339 UnmarshallingDrawingImageAndPixelMap(Parcel& parcel, uint64_t uniqueId, bool& useSkImage, std::shared_ptr<Drawing::Image>& img, std::shared_ptr<Media::PixelMap>& pixelMap, void*& imagepixelAddr) UnmarshallingDrawingImageAndPixelMap() argument
373 IncreaseCacheRefCount(uint64_t uniqueId, bool useSkImage, std::shared_ptr<Media::PixelMap> pixelMap) IncreaseCacheRefCount() argument
399 uint64_t uniqueId; Unmarshalling() local
[all...]
H A Drs_resource_manager.cpp25 const std::shared_ptr<Media::PixelMap>& pixelMap, uint64_t uniqueId) in UploadTexture()
28 hookFunction_(paraUpload, image, pixelMap, uniqueId); in UploadTexture()
24 UploadTexture(bool paraUpload, const std::shared_ptr<Drawing::Image>& image, const std::shared_ptr<Media::PixelMap>& pixelMap, uint64_t uniqueId) UploadTexture() argument
H A Drs_image.cpp315 .uniqueId = 0, in GetAdaptiveImageInfoWithCustomizedFrameRect()
576 static bool UnmarshallingIdAndSize(Parcel& parcel, uint64_t& uniqueId, int& width, int& height) in UnmarshallingIdAndSize() argument
578 if (!RSMarshallingHelper::Unmarshalling(parcel, uniqueId)) { in UnmarshallingIdAndSize()
579 RS_LOGE("RSImage::Unmarshalling uniqueId fail"); in UnmarshallingIdAndSize()
582 RS_PROFILER_PATCH_NODE_ID(parcel, uniqueId); in UnmarshallingIdAndSize()
644 uint64_t uniqueId; in Unmarshalling() local
648 if (!UnmarshalIdSizeAndNodeId(parcel, uniqueId, width, height, nodeId)) { in Unmarshalling()
655 if (!UnmarshallingDrawingImageAndPixelMap(parcel, uniqueId, useSkImage, img, pixelMap, imagepixelAddr)) { in Unmarshalling()
675 rsImage->SetCompressData(compressData, uniqueId, width, height); in Unmarshalling()
685 ProcessImageAfterCreation(rsImage, uniqueId, useSkImag in Unmarshalling()
689 UnmarshalIdSizeAndNodeId(Parcel& parcel, uint64_t& uniqueId, int& width, int& height, NodeId& nodeId) UnmarshalIdSizeAndNodeId() argument
741 ProcessImageAfterCreation( RSImage* rsImage, const uint64_t uniqueId, const bool useSkImage, const std::shared_ptr<Media::PixelMap>& pixelMap) ProcessImageAfterCreation() argument
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/
H A Drs_image_cache.h40 void CacheDrawingImage(uint64_t uniqueId, std::shared_ptr<Drawing::Image> img);
41 std::shared_ptr<Drawing::Image> GetDrawingImageCache(uint64_t uniqueId) const;
42 void IncreaseDrawingImageCacheRefCount(uint64_t uniqueId);
43 void ReleaseDrawingImageCache(uint64_t uniqueId);
45 void CachePixelMap(uint64_t uniqueId, std::shared_ptr<Media::PixelMap> pixelMap);
46 std::shared_ptr<Media::PixelMap> GetPixelMapCache(uint64_t uniqueId) const;
47 void IncreasePixelMapCacheRefCount(uint64_t uniqueId);
48 void ReleasePixelMapCache(uint64_t uniqueId);
49 int ReleasePixelMapCacheUnique(uint64_t uniqueId);
51 void CacheRenderDrawingImageByPixelMapId(uint64_t uniqueId, st
[all...]
/foundation/multimedia/media_foundation/src/buffer/avbuffer_queue/
H A Davbuffer_queue.cpp130 auto uniqueId = buffer->GetUniqueId(); in IsBufferInQueue() local
131 return cachedBufferMap_.find(uniqueId) != cachedBufferMap_.end(); in IsBufferInQueue()
176 auto uniqueId = bufferImpl->GetUniqueId(); in AllocBuffer() local
183 cachedBufferMap_[uniqueId] = ele; in AllocBuffer()
193 auto uniqueId = buffer->GetUniqueId(); in RequestReuseBuffer() local
194 FALSE_RETURN_V(cachedBufferMap_.find(uniqueId) != cachedBufferMap_.end(), Status::ERROR_CREATE_BUFFER); in RequestReuseBuffer()
196 if (config <= cachedBufferMap_[uniqueId].config) { in RequestReuseBuffer()
198 cachedBufferMap_[uniqueId].config.size = config.size; in RequestReuseBuffer()
201 DeleteCachedBufferById(uniqueId); in RequestReuseBuffer()
205 // 注意这里的uniqueId可能因为重新分配buffe in RequestReuseBuffer()
242 DeleteCachedBufferById(uint64_t uniqueId) DeleteCachedBufferById() argument
321 InsertFreeBufferInOrder(uint64_t uniqueId) InsertFreeBufferInOrder() argument
333 CancelBuffer(uint64_t uniqueId) CancelBuffer() argument
352 PushBuffer(uint64_t uniqueId, bool available) PushBuffer() argument
396 ReturnBuffer(uint64_t uniqueId, bool available) ReturnBuffer() argument
453 auto uniqueId = buffer->GetUniqueId(); SetQueueSizeAndAttachBuffer() local
474 auto uniqueId = buffer->GetUniqueId(); AttachAvailableBufferLocked() local
504 PushBufferOnFilled(uint64_t uniqueId, bool isFilled) PushBufferOnFilled() argument
532 auto uniqueId = buffer->GetUniqueId(); AttachBuffer() local
551 DetachBuffer(uint64_t uniqueId, bool force) DetachBuffer() argument
574 DetachBuffer(uint64_t uniqueId) DetachBuffer() argument
601 ReleaseBuffer(uint64_t uniqueId) ReleaseBuffer() argument
[all...]
H A Davbuffer_queue_producer.cpp42 Status AVBufferQueueProducerImpl::PushBuffer(uint64_t uniqueId, bool available) in PushBuffer() argument
44 return bufferQueue_->PushBuffer(uniqueId, available); in PushBuffer()
52 Status AVBufferQueueProducerImpl::ReturnBuffer(uint64_t uniqueId, bool available) in ReturnBuffer() argument
54 return bufferQueue_->ReturnBuffer(uniqueId, available); in ReturnBuffer()
67 Status AVBufferQueueProducerImpl::DetachBuffer(uint64_t uniqueId) in DetachBuffer() argument
69 return bufferQueue_->DetachBuffer(uniqueId); in DetachBuffer()
H A Davbuffer_queue_producer_stub.cpp95 auto uniqueId = arguments.ReadUint64(); in OnPushBuffer() local
98 auto ret = PushBuffer(uniqueId, available); in OnPushBuffer()
107 auto uniqueId = arguments.ReadUint64(); in OnReturnBuffer() local
110 auto ret = ReturnBuffer(uniqueId, available); in OnReturnBuffer()
136 auto uniqueId = arguments.ReadUint64(); in OnDetachBuffer() local
138 auto ret = DetachBuffer(uniqueId); in OnDetachBuffer()
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/lume/
H A DLog.h24 #define LUME_ONCE(uniqueId, runOnce) { if (lume::checkOnce(uniqueId)) { runOnce; } }
62 #define LUME_LOG_ONCE_I(uniqueId, ...) LUME_ONCE(uniqueId, LUME_LOG_I(__VA_ARGS__))
63 #define LUME_LOG_ONCE_W(uniqueId, ...) LUME_ONCE(uniqueId, LUME_LOG_W(__VA_ARGS__))
64 #define LUME_LOG_ONCE_E(uniqueId, ...) LUME_ONCE(uniqueId, LUME_LOG_E(__VA_ARGS__))
65 #define LUME_LOG_ONCE_F(uniqueId, ...) LUME_ONCE(uniqueId, LUME_LOG_
[all...]
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/
H A Dlog.h81 #define CORE_LOG_ONCE_I(uniqueId, ...) \
83 CORE_NS::LogOnce(uniqueId, CORE_NS::ILogger::LogLevel::LOG_INFO, "", 0, __VA_ARGS__)
85 #define CORE_LOG_ONCE_W(uniqueId, ...) \
87 CORE_NS::LogOnce(uniqueId, CORE_NS::ILogger::LogLevel::LOG_WARNING, "", 0, __VA_ARGS__);
89 #define CORE_LOG_ONCE_E(uniqueId, ...) \
91 CORE_NS::LogOnce(uniqueId, CORE_NS::ILogger::LogLevel::LOG_ERROR, "", 0, __VA_ARGS__)
93 #define CORE_LOG_ONCE_F(uniqueId, ...) \
95 CORE_NS::LogOnce(uniqueId, CORE_NS::ILogger::LogLevel::LOG_FATAL, "", 0, __VA_ARGS__)
133 #define CORE_LOG_ONCE_V(uniqueId, ...) \
135 CORE_NS::LogOnce(uniqueId, CORE_N
[all...]
/foundation/graphic/graphic_surface/interfaces/inner_api/surface/
H A Dsurface_utils.h28 // get surface by uniqueId.
29 sptr<Surface> GetSurface(uint64_t uniqueId);
30 // maintenance map with uniqueId and surface.
31 SurfaceError Add(uint64_t uniqueId, const wptr<Surface> &surface);
32 // remove surface by uniqueId.
33 SurfaceError Remove(uint64_t uniqueId);
40 void* GetNativeWindow(uint64_t uniqueId);
41 SurfaceError AddNativeWindow(uint64_t uniqueId, void *nativeWidow);
42 SurfaceError RemoveNativeWindow(uint64_t uniqueId);
/foundation/graphic/graphic_3d/lume/LumeRender/src/util/
H A Dlog.h82 #define PLUGIN_LOG_ONCE_V(uniqueId, ...) \
84 RENDER_NS::PluginLogOnce(uniqueId, CORE_NS::ILogger::LogLevel::LOG_VERBOSE, PLUGIN_FILE_INFO, __VA_ARGS__)
88 #define PLUGIN_LOG_ONCE_D(uniqueId, ...) \
90 RENDER_NS::PluginLogOnce(uniqueId, CORE_NS::ILogger::LogLevel::LOG_DEBUG, PLUGIN_FILE_INFO, __VA_ARGS__)
116 #define PLUGIN_LOG_ONCE_I(uniqueId, ...) \
118 RENDER_NS::PluginLogOnce(uniqueId, CORE_NS::ILogger::LogLevel::LOG_INFO, PLUGIN_FILE_INFO, __VA_ARGS__)
123 #define PLUGIN_LOG_ONCE_W(uniqueId, ...) \
125 RENDER_NS::PluginLogOnce(uniqueId, CORE_NS::ILogger::LogLevel::LOG_WARNING, PLUGIN_FILE_INFO, __VA_ARGS__)
130 #define PLUGIN_LOG_ONCE_E(uniqueId, ...) \
132 RENDER_NS::PluginLogOnce(uniqueId, CORE_N
[all...]
/foundation/graphic/graphic_surface/surface/test/systemtest/
H A Dnative_window_test.cpp46 int32_t ThreadNativeWindowProcess003(int32_t *pipeFd, uint64_t uniqueId);
47 int32_t CreateNativeWindowAndRequestBuffer003(uint64_t uniqueId, NativeWindow **nativeWindow);
50 int32_t ThreadNativeWindowProcess004(int32_t *pipeFd, uint64_t uniqueId);
51 int32_t CreateNativeWindowAndRequestBuffer004(uint64_t uniqueId, NativeWindow **nativeWindow);
55 int32_t ThreadNativeWindowProcess005(int32_t *pipeFd, uint64_t uniqueId);
56 int32_t CreateNativeWindowAndRequestBuffer005(uint64_t uniqueId, NativeWindow **nativeWindow);
59 int32_t ThreadNativeWindowProcess006(int32_t *pipeFd, uint64_t uniqueId);
62 int32_t ThreadNativeWindowProcess007(int32_t *pipeFd, sptr<IBufferProducer> producer, uint64_t *uniqueId);
66 int32_t ThreadNativeWindowProcess008(int32_t *pipeFd, uint64_t uniqueId);
67 int32_t CreateNativeWindowAndRequestBuffer008(uint64_t uniqueId, NativeWindo
300 CreateNativeWindowAndRequestBuffer003(uint64_t uniqueId, NativeWindow **nativeWindow) CreateNativeWindowAndRequestBuffer003() argument
344 ThreadNativeWindowProcess003(int32_t *pipeFd, uint64_t uniqueId) ThreadNativeWindowProcess003() argument
376 uint64_t uniqueId = cSurface->GetUniqueId(); HWTEST_F() local
445 CreateNativeWindowAndRequestBuffer004(uint64_t uniqueId, NativeWindow **nativeWindow) CreateNativeWindowAndRequestBuffer004() argument
489 ThreadNativeWindowProcess004(int32_t *pipeFd, uint64_t uniqueId) ThreadNativeWindowProcess004() argument
529 uint64_t uniqueId = cSurface->GetUniqueId(); HWTEST_F() local
570 CreateNativeWindowAndRequestBuffer005(uint64_t uniqueId, NativeWindow **nativeWindow) CreateNativeWindowAndRequestBuffer005() argument
628 ThreadNativeWindowProcess005(int32_t *pipeFd, uint64_t uniqueId) ThreadNativeWindowProcess005() argument
667 uint64_t uniqueId = cSurface->GetUniqueId(); HWTEST_F() local
708 ThreadNativeWindowProcess006(int32_t *pipeFd, uint64_t uniqueId) ThreadNativeWindowProcess006() argument
757 uint64_t uniqueId = cSurface->GetUniqueId(); HWTEST_F() local
837 ThreadNativeWindowProcess007(int32_t *pipeFd, sptr<IBufferProducer> producer, uint64_t *uniqueId) ThreadNativeWindowProcess007() argument
969 CreateNativeWindowAndRequestBuffer008(uint64_t uniqueId, NativeWindow **nativeWindow) CreateNativeWindowAndRequestBuffer008() argument
987 ThreadNativeWindowProcess008(int32_t *pipeFd, uint64_t uniqueId) ThreadNativeWindowProcess008() argument
1036 uint64_t uniqueId = cSurface->GetUniqueId(); HWTEST_F() local
[all...]
/foundation/graphic/graphic_surface/surface/src/
H A Dsurface_utils.cpp43 sptr<Surface> SurfaceUtils::GetSurface(uint64_t uniqueId) in GetSurface() argument
46 auto iter = surfaceCache_.find(uniqueId); in GetSurface()
48 BLOGE("Cannot find surface, uniqueId: %{public}" PRIu64 ".", uniqueId); in GetSurface()
53 BLOGE("surface is nullptr, uniqueId: %{public}" PRIu64 ".", uniqueId); in GetSurface()
59 SurfaceError SurfaceUtils::Add(uint64_t uniqueId, const wptr<Surface> &surface) in Add() argument
65 if (surfaceCache_.count(uniqueId) == 0) { in Add()
66 surfaceCache_[uniqueId] = surface; in Add()
69 BLOGD("the surface already existed, uniqueId in Add()
73 Remove(uint64_t uniqueId) Remove() argument
301 GetNativeWindow(uint64_t uniqueId) GetNativeWindow() argument
312 AddNativeWindow(uint64_t uniqueId, void *nativeWidow) AddNativeWindow() argument
326 RemoveNativeWindow(uint64_t uniqueId) RemoveNativeWindow() argument
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/render/
H A Drs_image_cache_test.cpp77 for (uint64_t uniqueId = 1;uniqueId < 16;uniqueId++) { in HWTEST_F()
79 instance.CacheDrawingImage(uniqueId, img); in HWTEST_F()
80 imgMap[uniqueId] = img; in HWTEST_F()
159 for (uint64_t uniqueId = 1;uniqueId < 16;uniqueId++) { in HWTEST_F()
161 instance.CachePixelMap(uniqueId, pixel); in HWTEST_F()
162 pixelMap[uniqueId] in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/
H A Drs_typeface_cache_test.cpp186 uint64_t uniqueId = 2; in HWTEST_F() local
187 pid_t pid = static_cast<pid_t>(uniqueId >> 32); in HWTEST_F()
188 RSTypefaceCache::Instance().RemoveDrawingTypefacesByPid(uniqueId); in HWTEST_F()
200 uint64_t uniqueId = 1; in HWTEST_F() local
201 RSTypefaceCache::Instance().AddDelayDestroyQueue(uniqueId); in HWTEST_F()
230 uint64_t uniqueId = 1; in HWTEST_F() local
231 RSTypefaceCache::Instance().CacheDrawingTypeface(uniqueId, typeface); in HWTEST_F()
247 uint64_t uniqueId = 1; in HWTEST_F() local
252 EXPECT_NE(RSTypefaceCache::Instance().typefaceHashCode_.find(uniqueId | replayMask), in HWTEST_F()
263 uint64_t uniqueId in HWTEST_F() local
277 uint64_t uniqueId = 1; HWTEST_F() local
[all...]
/foundation/multimedia/media_foundation/src/buffer/avbuffer_queue/include/
H A Davbuffer_queue_impl.h73 virtual Status PushBuffer(uint64_t uniqueId, bool available);
75 virtual Status ReturnBuffer(uint64_t uniqueId, bool available);
79 virtual Status DetachBuffer(uint64_t uniqueId);
115 Status PushBufferOnFilled(uint64_t uniqueId, bool isFilled);
123 std::list<uint64_t> freeBufferList_; // 记录已分配的且处于空闲状态的buffer uniqueId,按bufferSize升序排列
134 void InsertFreeBufferInOrder(uint64_t uniqueId);
135 Status CancelBuffer(uint64_t uniqueId);
136 Status DetachBuffer(uint64_t uniqueId, bool force);
137 Status ReleaseBuffer(uint64_t uniqueId);
H A Davbuffer_queue_producer_impl.h46 virtual Status PushBuffer(uint64_t uniqueId, bool available) = 0;
47 virtual Status ReturnBuffer(uint64_t uniqueId, bool available) = 0;
48 virtual Status DetachBuffer(uint64_t uniqueId) = 0;
95 Status PushBuffer(uint64_t uniqueId, bool available) override;
96 Status ReturnBuffer(uint64_t uniqueId, bool available) override;
97 Status DetachBuffer(uint64_t uniqueId) override;
/foundation/graphic/graphic_2d/frameworks/surfaceimage/test/systemtest/
H A Dnative_image_system_test.cpp57 int32_t CreateNativeWindowAndRequestBuffer001(uint64_t uniqueId, NativeWindow **nativeWindow);
58 int32_t ThreadNativeWindowProcess001(int32_t *pipeFd, uint64_t uniqueId);
227 int32_t NativeImageSystemTest::CreateNativeWindowAndRequestBuffer001(uint64_t uniqueId, NativeWindow **nativeWindow) in CreateNativeWindowAndRequestBuffer001() argument
229 int32_t ret = OH_NativeWindow_CreateNativeWindowFromSurfaceId(uniqueId, nativeWindow); in CreateNativeWindowAndRequestBuffer001()
271 int32_t NativeImageSystemTest::ThreadNativeWindowProcess001(int32_t *pipeFd, uint64_t uniqueId) in ThreadNativeWindowProcess001() argument
275 int32_t ret = CreateNativeWindowAndRequestBuffer001(uniqueId, &nativeWindow); in ThreadNativeWindowProcess001()
300 uint64_t uniqueId; in HWTEST_F() local
301 int32_t ret = OH_NativeImage_GetSurfaceId(consumerSurface, &uniqueId); in HWTEST_F()
310 std::thread thread([this, pipeFd, uniqueId]() { in HWTEST_F()
311 int32_t ret = this->ThreadNativeWindowProcess001((int32_t*)(pipeFd), uniqueId); in HWTEST_F()
[all...]
/foundation/graphic/graphic_surface/utils/frame_report/src/
H A Dframe_report.cpp103 bool FrameReport::IsActiveGameWithUniqueId(uint64_t uniqueId) in IsActiveGameWithUniqueId() argument
105 if (uniqueId <= FR_DEFAULT_UNIQUEID) { in IsActiveGameWithUniqueId()
108 return uniqueId == activelyUniqueId_.load(); in IsActiveGameWithUniqueId()
121 void FrameReport::SetQueueBufferTime(uint64_t uniqueId, const std::string& layerName, int64_t queueBufferTime) in SetQueueBufferTime() argument
124 activelyUniqueId_.store(uniqueId); in SetQueueBufferTime()
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dobserver_handler.h73 int32_t uniqueId; member
77 ScrollEventInfo(std::string id, int32_t uniqueId, ScrollEventType scrollEvent, float offset) in ScrollEventInfo()
78 : id(std::move(id)), uniqueId(uniqueId), scrollEvent(scrollEvent), offset(offset) in ScrollEventInfo()
133 int32_t uniqueId = 0; member
136 std::string id, int32_t uniqueId) in TabContentInfo()
138 id(std::move(id)), uniqueId(uniqueId) in TabContentInfo()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/parallel_render/resource/
H A Drs_resource_helper_skia.cpp27 const std::shared_ptr<Media::PixelMap>& pixelMapUp, uint64_t uniqueId) in UploadTextureWithSkia()
47 RSUploadResourceThread::Instance().PostTask(uploadTexturetask, std::to_string(uniqueId)); in UploadTextureWithSkia()
26 UploadTextureWithSkia(bool paraUpload, const sk_sp<SkImage>& imageUp, const std::shared_ptr<Media::PixelMap>& pixelMapUp, uint64_t uniqueId) UploadTextureWithSkia() argument
H A Drs_resource_helper_drawing.cpp25 const std::shared_ptr<Media::PixelMap>& pixelMapUp, uint64_t uniqueId) in UploadTextureWithDrawing()
47 RSUploadResourceThread::Instance().PostTask(uploadTexturetask, std::to_string(uniqueId)); in UploadTextureWithDrawing()
24 UploadTextureWithDrawing(bool paraUpload, const std::shared_ptr<Drawing::Image>& imageUp, const std::shared_ptr<Media::PixelMap>& pixelMapUp, uint64_t uniqueId) UploadTextureWithDrawing() argument
/foundation/graphic/graphic_surface/utils/frame_report/export/
H A Dframe_report.h38 bool IsActiveGameWithUniqueId(uint64_t uniqueId);
41 void SetQueueBufferTime(uint64_t uniqueId, const std::string& layerName, int64_t queueBufferTime);

Completed in 12 milliseconds

1234567