/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_image_cache.cpp | 32 if (img && uniqueId > 0) { in CacheDrawingImage() 41 auto it = drawingImageCache_.find(uniqueId); in GetDrawingImageCache() 51 auto it = drawingImageCache_.find(uniqueId); in IncreaseDrawingImageCacheRefCount() 61 auto it = drawingImageCache_.find(uniqueId); in ReleaseDrawingImageCache() 72 if (pixelMap && uniqueId > 0) { in CachePixelMap() 91 auto it = pixelMapCache_.find(uniqueId); in GetPixelMapCache() 101 auto it = pixelMapCache_.find(uniqueId); in IncreasePixelMapCacheRefCount() 110 uniqueIdList_.push_back(uniqueId); in CollectUniqueId() 120 for (const auto& uniqueId : clearList) { in ReleaseUniqueIdList() local 121 ReleasePixelMapCache(uniqueId); in ReleaseUniqueIdList() [all …]
|
H A D | rs_typeface_cache.cpp | 84 if (AddIfFound(uniqueId, hash)) { in HasTypeface() 104 if (!(typeface && uniqueId > 0)) { in CacheDrawingTypeface() 121 pid_t pid = GetTypefacePid(uniqueId); in CacheDrawingTypeface() 129 typefaceHashCode_[uniqueId] = uniqueId; in CacheDrawingTypeface() 146 if (back != uniqueId) { in CacheDrawingTypeface() 209 if (uniqueId > 0) { in GetDrawingTypefaceCache() 254 uint64_t uniqueId = it->first; in RemoveDrawingTypefacesByPid() local 333 uint64_t uniqueId; in ReplayDeserialize() local 339 ss.read(reinterpret_cast<char*>(&uniqueId), sizeof(uniqueId)); in ReplayDeserialize() 353 uniqueId |= replayMask; in ReplayDeserialize() [all …]
|
H A D | rs_image_base.cpp | 276 RSImageCache::Instance().CacheDrawingImage(uniqueId, img); in UnmarshallingAndCacheDrawingImage() 295 RSImageCache::Instance().CachePixelMap(uniqueId, pixelMap); in UnmarshallingAndCachePixelMap() 305 if (!RSMarshallingHelper::Unmarshalling(parcel, uniqueId)) { in UnmarshallingIdAndRect() 309 RS_PROFILER_PATCH_NODE_ID(parcel, uniqueId); in UnmarshallingIdAndRect() 328 img = RSImageCache::Instance().GetDrawingImageCache(uniqueId); in UnmarshallingDrawingImageAndPixelMap() 340 pixelMap = RSImageCache::Instance().GetPixelMapCache(uniqueId); in UnmarshallingDrawingImageAndPixelMap() 343 if (!UnmarshallingAndCachePixelMap(parcel, pixelMap, uniqueId)) { in UnmarshallingDrawingImageAndPixelMap() 375 uint64_t uniqueId; in Unmarshalling() local 378 if (!UnmarshallingIdAndRect(parcel, uniqueId, srcRect, dstRect)) { in Unmarshalling() 397 rsImage->uniqueId_ = uniqueId; in Unmarshalling() [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/src/buffer/avbuffer_queue/ |
H A D | avbuffer_queue.cpp | 130 auto uniqueId = buffer->GetUniqueId(); in IsBufferInQueue() local 183 cachedBufferMap_[uniqueId] = ele; in AllocBuffer() 193 auto uniqueId = buffer->GetUniqueId(); in RequestReuseBuffer() local 201 DeleteCachedBufferById(uniqueId); in RequestReuseBuffer() 325 if ((*it != uniqueId) && in InsertFreeBufferInOrder() 342 InsertFreeBufferInOrder(uniqueId); in CancelBuffer() 469 return ReleaseBuffer(uniqueId); in SetQueueSizeAndAttachBuffer() 499 cachedBufferMap_[uniqueId] = ele; in AttachAvailableBufferLocked() 510 DetachBuffer(uniqueId, true); in PushBufferOnFilled() 549 return ReleaseBuffer(uniqueId); in AttachBuffer() [all …]
|
H A D | avbuffer_queue_producer.cpp | 42 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 D | avbuffer_queue_producer_stub.cpp | 95 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()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/lume/ |
H A D | Log.h | 24 #define LUME_ONCE(uniqueId, runOnce) { if (lume::CheckOnce(uniqueId)) { runOnce; } } argument 62 #define LUME_LOG_ONCE_I(uniqueId, ...) LUME_ONCE(uniqueId, LUME_LOG_I(__VA_ARGS__)) argument 63 #define LUME_LOG_ONCE_W(uniqueId, ...) LUME_ONCE(uniqueId, LUME_LOG_W(__VA_ARGS__)) argument 64 #define LUME_LOG_ONCE_E(uniqueId, ...) LUME_ONCE(uniqueId, LUME_LOG_E(__VA_ARGS__)) argument 65 #define LUME_LOG_ONCE_F(uniqueId, ...) LUME_ONCE(uniqueId, LUME_LOG_F(__VA_ARGS__)) argument 88 #define LUME_LOG_ONCE_V(uniqueId, ...) LUME_ONCE(uniqueId, LUME_LOG_V(__VA_ARGS__)) argument 89 #define LUME_LOG_ONCE_D(uniqueId, ...) LUME_ONCE(uniqueId, LUME_LOG_D(__VA_ARGS__)) argument 90 #define LUME_LOG_ONCE_I(uniqueId, ...) LUME_ONCE(uniqueId, LUME_LOG_I(__VA_ARGS__)) argument 91 #define LUME_LOG_ONCE_W(uniqueId, ...) LUME_ONCE(uniqueId, LUME_LOG_W(__VA_ARGS__)) argument 92 #define LUME_LOG_ONCE_E(uniqueId, ...) LUME_ONCE(uniqueId, LUME_LOG_E(__VA_ARGS__)) argument [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/ |
H A D | rs_image_cache.h | 40 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 CheckRefCntAndReleaseImageCache(uint64_t uniqueId, std::shared_ptr<Media::PixelMap>& pixelMapI… 58 void CollectUniqueId(uint64_t uniqueId); [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/ |
H A D | log.h | 81 #define CORE_LOG_ONCE_I(uniqueId, ...) \ argument 83 CORE_NS::LogOnce(uniqueId, CORE_NS::ILogger::LogLevel::LOG_INFO, "", 0, __VA_ARGS__) 85 #define CORE_LOG_ONCE_W(uniqueId, ...) \ argument 89 #define CORE_LOG_ONCE_E(uniqueId, ...) \ argument 93 #define CORE_LOG_ONCE_F(uniqueId, ...) \ argument 133 #define CORE_LOG_ONCE_V(uniqueId, ...) \ argument 140 #define CORE_LOG_ONCE_D(uniqueId, ...) \ argument 147 #define CORE_LOG_ONCE_I(uniqueId, ...) \ argument 154 #define CORE_LOG_ONCE_W(uniqueId, ...) \ argument 161 #define CORE_LOG_ONCE_E(uniqueId, ...) \ argument [all …]
|
/ohos5.0/base/print/print_fwk/services/scan_service/src/ |
H A D | scan_system_data.cpp | 69 std::string uniqueId = scanDeviceInfo.discoverMode + scanDeviceInfo.uniqueId; in ParseScannerListJsonV1() local 205 auto iter = addedScannerMap_.find(uniqueId); in UpdateScannerIdByUsbDevicePort() 225 auto iter = addedScannerMap_.find(uniqueId); in InsertScannerInfo() 237 iter->second->uniqueId = scannerInfo.uniqueId; in InsertScannerInfo() 245 auto iter = addedScannerMap_.find(uniqueId); in DeleteScannerInfo() 247 addedScannerMap_.erase(uniqueId); in DeleteScannerInfo() 258 auto iter = addedScannerMap_.find(uniqueId); in UpdateScannerNameByUniqueId() 278 iter->second->uniqueId = scannerInfo.uniqueId; in UpdateScannerInfoByUniqueId() 307 if (uniqueId == iterSn || uniqueId == iterUniqueId) { in QueryScannerInfoByUniqueId() 315 scannerInfo.uniqueId = info->uniqueId; in QueryScannerInfoByUniqueId() [all …]
|
/ohos5.0/base/security/access_token/services/tokensyncmanager/src/remote/ |
H A D | remote_command_executor.cpp | 65 const std::string uniqueId = ptrCommand->remoteProtocol_.uniqueId; in ProcessOneCommand() local 67 ConstantCommon::EncryptDevId(targetNodeId_).c_str(), uniqueId.c_str()); in ProcessOneCommand() 75 uniqueId.c_str(), status); in ProcessOneCommand() 111 const std::string uniqueId = ptrCommand->remoteProtocol_.uniqueId; in AddCommand() local 119 …[uniqueId](const auto& buffCommand) {return buffCommand->remoteProtocol_.uniqueId == uniqueId; }))… in AddCommand() 123 uniqueId.c_str()); in AddCommand() 246 std::string uniqueId = ptrCommand->remoteProtocol_.uniqueId; in ExecuteRemoteCommand() local 315 std::string uniqueId = ptrCommand->remoteProtocol_.uniqueId; in ClientProcessResult() local 322 uniqueId.c_str()); in ClientProcessResult() 332 uniqueId.c_str(), in ClientProcessResult() [all …]
|
/ohos5.0/foundation/graphic/graphic_surface/surface/src/ |
H A D | surface_utils.cpp | 46 if (surfaceCache_.count(uniqueId) == 0) { in GetSurface() 64 if (surfaceCache_.count(uniqueId) == 0) { in Add() 65 surfaceCache_[uniqueId] = surface; in Add() 72 SurfaceError SurfaceUtils::Remove(uint64_t uniqueId) in Remove() argument 75 if (surfaceCache_.count(uniqueId) == 0) { in Remove() 79 surfaceCache_.erase(uniqueId); in Remove() 302 if (nativeWindowCache_.count(uniqueId) == 0) { in GetNativeWindow() 306 return nativeWindowCache_[uniqueId]; in GetNativeWindow() 315 if (nativeWindowCache_.count(uniqueId) == 0) { in AddNativeWindow() 316 nativeWindowCache_[uniqueId] = nativeWidow; in AddNativeWindow() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/util/ |
H A D | log.h | 82 #define PLUGIN_LOG_ONCE_V(uniqueId, ...) \ argument 84 …RENDER_NS::PluginLogOnce(uniqueId, CORE_NS::ILogger::LogLevel::LOG_VERBOSE, PLUGIN_FILE_INFO, __VA… 88 #define PLUGIN_LOG_ONCE_D(uniqueId, ...) \ argument 90 …RENDER_NS::PluginLogOnce(uniqueId, CORE_NS::ILogger::LogLevel::LOG_DEBUG, PLUGIN_FILE_INFO, __VA_A… 116 #define PLUGIN_LOG_ONCE_I(uniqueId, ...) \ argument 118 …RENDER_NS::PluginLogOnce(uniqueId, CORE_NS::ILogger::LogLevel::LOG_INFO, PLUGIN_FILE_INFO, __VA_AR… 123 #define PLUGIN_LOG_ONCE_W(uniqueId, ...) \ argument 130 #define PLUGIN_LOG_ONCE_E(uniqueId, ...) \ argument 132 …RENDER_NS::PluginLogOnce(uniqueId, CORE_NS::ILogger::LogLevel::LOG_ERROR, PLUGIN_FILE_INFO, __VA_A… 137 #define PLUGIN_LOG_ONCE_F(uniqueId, ...) \ argument [all …]
|
/ohos5.0/base/print/print_fwk/services/scan_service/include/ |
H A D | scan_system_data.h | 35 void InsertScannerInfo(const std::string &uniqueId, const ScanDeviceInfo &scannerInfo); 36 bool DeleteScannerInfo(const std::string &uniqueId); 37 bool UpdateScannerNameByUniqueId(const std::string &uniqueId, const std::string &deviceName); 38 … bool UpdateScannerInfoByUniqueId(const std::string &uniqueId, const ScanDeviceInfo &scannerInfo); 39 …bool UpdateScannerIdByUsbDevicePort(const std::string &uniqueId, const std::string &usbDevicePort); 40 bool QueryScannerNameByUniqueId(const std::string &uniqueId, std::string &deviceName); 41 bool QueryScannerInfoByUniqueId(const std::string &uniqueId, ScanDeviceInfo &scannerInfo); 45 bool IsContainScanner(const std::string &uniqueId);
|
/ohos5.0/foundation/graphic/graphic_surface/surface/test/systemtest/ |
H A D | native_window_test.cpp | 376 uint64_t uniqueId = cSurface->GetUniqueId(); variable 377 std::thread thread([this, pipeFd, uniqueId]() { in __anon282a31f20302() 529 uint64_t uniqueId = cSurface->GetUniqueId(); variable 530 std::thread thread([this, pipeFd, uniqueId]() { in __anon282a31f20402() 667 uint64_t uniqueId = cSurface->GetUniqueId(); variable 668 std::thread thread([this, pipeFd, uniqueId]() { in __anon282a31f20502() 757 uint64_t uniqueId = cSurface->GetUniqueId(); variable 758 std::thread thread([this, pipeFd, uniqueId]() { in __anon282a31f20602() 874 uint64_t uniqueId = 0; in __anon282a31f20702() local 877 EXPECT_EQ(uniqueId, cUniqueId); in __anon282a31f20702() [all …]
|
/ohos5.0/base/hiviewdfx/hiview/plugins/performance/scene_data_processor/ |
H A D | AnimatorSceneDataProcessor.cpp | 85 AnimatorRecord* record = GetRecord(evt->animatorInfo.basicInfo.uniqueId); in ProcessSceneData() 92 DeleteRecord(evt->animatorInfo.basicInfo.uniqueId); in ProcessSceneData() 104 …db.insert(std::map<int32_t, AnimatorRecord*>::value_type(evt->animatorInfo.basicInfo.uniqueId, ani… in CreateRecord() 113 AnimatorRecord* record = GetRecord(evt->animatorInfo.basicInfo.uniqueId); in HasStartPoint() 125 AnimatorRecord* record = GetRecord(evt->animatorInfo.basicInfo.uniqueId); in AllPointsReceived() 141 AnimatorRecord* record = GetRecord(evt->animatorInfo.basicInfo.uniqueId); in SaveAnimatorPoint() 182 AnimatorRecord* AnimatorSceneDataProcessor::GetRecord(const int32_t uniqueId) in GetRecord() argument 185 if (db.find(uniqueId) != db.end()) { in GetRecord() 186 record = db[uniqueId]; in GetRecord() 191 void AnimatorSceneDataProcessor::DeleteRecord(const int32_t uniqueId) in DeleteRecord() argument [all …]
|
/ohos5.0/foundation/graphic/graphic_surface/interfaces/inner_api/surface/ |
H A D | surface_utils.h | 29 sptr<Surface> GetSurface(uint64_t uniqueId); 31 SurfaceError Add(uint64_t uniqueId, const wptr<Surface> &surface); 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);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/render/ |
H A D | rs_image_cache_test.cpp | 77 for (uint64_t uniqueId = 1;uniqueId < 16;uniqueId++) { variable 79 instance.CacheDrawingImage(uniqueId, img); 80 imgMap[uniqueId] = img; 159 for (uint64_t uniqueId = 1;uniqueId < 16;uniqueId++) { variable 161 instance.CachePixelMap(uniqueId, pixel); 162 pixelMap[uniqueId] = pixel;
|
/ohos5.0/base/print/print_fwk/frameworks/helper/scan_helper/src/ |
H A D | scanner_info.cpp | 216 uniqueId = ""; in ScanDeviceInfo() 230 uniqueId = right.uniqueId; in ScanDeviceInfo() 245 uniqueId = right.uniqueId; in operator =() 332 void ScanDeviceInfo::SetUniqueId(const std::string& uniqueId) in SetUniqueId() argument 334 this->uniqueId = uniqueId; in SetUniqueId() 339 return uniqueId; in GetUniqueId() 374 parcel.WriteString(uniqueId); in Marshalling() 484 void ScanDeviceInfoSync::SetUniqueId(const std::string& uniqueId) in SetUniqueId() argument 486 this->uniqueId = uniqueId; in SetUniqueId() 491 return uniqueId; in GetUniqueId()
|
/ohos5.0/foundation/multimedia/media_foundation/src/buffer/avbuffer_queue/include/ |
H A D | avbuffer_queue_impl.h | 73 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); 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 D | avbuffer_queue_producer_impl.h | 46 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;
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ads-kit/ |
H A D | js-apis-adsserviceextensionability-sys.md | 50 uniqueId: '111111', 58 uniqueId: '222222', 105 uniqueId: '111111', 113 uniqueId: '222222', 124 uniqueId: '333333', 132 uniqueId: '444444',
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | observer_handler.h | 73 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()
|
/ohos5.0/base/hiviewdfx/hiview/base/event_store/store/ |
H A D | sys_event_repeat_guard.cpp | 79 bool SysEventRepeatGuard::GetEventUniqueId(SysEvent& event, std::string& uniqueId) in GetEventUniqueId() argument 81 uniqueId = event.GetEventValue("FINGERPRINT"); in GetEventUniqueId() 82 if (!uniqueId.empty()) { in GetEventUniqueId() 92 if (!GetShaStr(eventData, uniqueId) || uniqueId.empty()) { in GetEventUniqueId()
|
/ohos5.0/foundation/graphic/graphic_surface/utils/frame_report/src/ |
H A D | frame_report.cpp | 103 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 queue… in SetQueueBufferTime() argument 124 activelyUniqueId_.store(uniqueId); in SetQueueBufferTime()
|