/foundation/graphic/graphic_3d/lume/LumeRender/src/perf/ |
H A D | cpu_perf_scope.h | 33 const BASE_NS::string_view category, const BASE_NS::string_view subCategory, const BASE_NS::string_view name); 46 const BASE_NS::string_view category, const BASE_NS::string_view subCategory, const BASE_NS::string_view name) in CpuPerfScopeInternal() 51 manager_ = inst->Get(category); in CpuPerfScopeInternal() 76 #define RENDER_CPU_PERF_BEGIN(timerName, category, subCategory, name) \ 77 RENDER_NS::CpuPerfScopeInternal timerName(category, subCategory, name); 79 #define RENDER_CPU_PERF_SCOPE(category, subCategory, name) \ 80 RENDER_NS::CpuPerfScopeInternal RENDER_CONCAT(cpuPerfScope_, __LINE__)(category, subCategory, name) 83 #define RENDER_CPU_PERF_BEGIN(timerName, category, subCategory, name) 85 #define RENDER_CPU_PERF_SCOPE(category, subCategory, name) 45 CpuPerfScopeInternal( const BASE_NS::string_view category, const BASE_NS::string_view subCategory, const BASE_NS::string_view name) CpuPerfScopeInternal() argument
|
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/perf/ |
H A D | cpu_perf_scope.h | 32 const BASE_NS::string_view category, const BASE_NS::string_view subCategory, const BASE_NS::string_view name); 44 const BASE_NS::string_view category, const BASE_NS::string_view subCategory, const BASE_NS::string_view name) in CpuPerfScope() 48 manager_ = inst->Get(category); in CpuPerfScope() 73 #define CORE_CPU_PERF_BEGIN(timerName, category, subCategory, name) \ 74 CORE_NS::CpuPerfScope timerName(category, subCategory, name); 76 #define CORE_CPU_PERF_SCOPE(category, subCategory, name) \ 77 CORE_NS::CpuPerfScope CORE_CONCAT(cpuPerfScope_, __LINE__)(category, subCategory, name) 80 #define CORE_CPU_PERF_BEGIN(timerName, category, subCategory, name) 82 #define CORE_CPU_PERF_SCOPE(category, subCategory, name) 43 CpuPerfScope( const BASE_NS::string_view category, const BASE_NS::string_view subCategory, const BASE_NS::string_view name) CpuPerfScope() argument
|
/foundation/multimedia/av_codec/test/unittest/codeclist_test/ |
H A D | codeclist_unit_test.cpp | 58 AVCodecCategory category; in HWTEST_F() local 60 category = AVCodecCategory::AVCODEC_HARDWARE; in HWTEST_F() 61 capability_ = CodecListMockFactory::GetCapabilityByCategory(DEFAULT_VIDEO_MIME, false, category); in HWTEST_F() 64 capability_ = CodecListMockFactory::GetCapabilityByCategory(DEFAULT_VIDEO_MIME, true, category); in HWTEST_F() 67 category = AVCodecCategory::AVCODEC_SOFTWARE; in HWTEST_F() 68 capability_ = CodecListMockFactory::GetCapabilityByCategory(DEFAULT_AUDIO_MIME, false, category); in HWTEST_F() 71 capability_ = CodecListMockFactory::GetCapabilityByCategory(DEFAULT_AUDIO_MIME, true, category); in HWTEST_F() 74 capability_ = CodecListMockFactory::GetCapabilityByCategory(DEFAULT_VIDEO_MIME, false, category); in HWTEST_F() 118 AVCodecCategory category = AVCodecCategory::AVCODEC_SOFTWARE; in HWTEST_F() local 119 capability_ = CodecListMockFactory::GetCapabilityByCategory(DEFAULT_AUDIO_MIME, false, category); in HWTEST_F() 153 AVCodecCategory category = AVCodecCategory::AVCODEC_SOFTWARE; HWTEST_F() local 164 AVCodecCategory category = AVCodecCategory::AVCODEC_SOFTWARE; HWTEST_F() local 210 AVCodecCategory category = AVCodecCategory::AVCODEC_SOFTWARE; HWTEST_F() local 321 AVCodecCategory category = AVCodecCategory::AVCODEC_SOFTWARE; HWTEST_F() local 337 AVCodecCategory category = AVCodecCategory::AVCODEC_SOFTWARE; HWTEST_F() local 353 AVCodecCategory category = AVCodecCategory::AVCODEC_SOFTWARE; HWTEST_F() local 370 AVCodecCategory category = AVCodecCategory::AVCODEC_SOFTWARE; HWTEST_F() local 387 AVCodecCategory category = AVCodecCategory::AVCODEC_SOFTWARE; HWTEST_F() local 404 AVCodecCategory category = AVCodecCategory::AVCODEC_SOFTWARE; HWTEST_F() local 421 AVCodecCategory category = AVCodecCategory::AVCODEC_SOFTWARE; HWTEST_F() local 466 AVCodecCategory category = AVCodecCategory::AVCODEC_SOFTWARE; HWTEST_F() local 507 AVCodecCategory category = AVCodecCategory::AVCODEC_SOFTWARE; HWTEST_F() local 524 AVCodecCategory category = AVCodecCategory::AVCODEC_SOFTWARE; HWTEST_F() local 548 AVCodecCategory category = AVCodecCategory::AVCODEC_SOFTWARE; HWTEST_F() local 582 AVCodecCategory category = AVCodecCategory::AVCODEC_SOFTWARE; HWTEST_F() local 605 AVCodecCategory category = AVCodecCategory::AVCODEC_SOFTWARE; HWTEST_F() local 636 AVCodecCategory category = AVCodecCategory::AVCODEC_SOFTWARE; HWTEST_F() local 652 AVCodecCategory category = AVCodecCategory::AVCODEC_SOFTWARE; HWTEST_F() local 668 AVCodecCategory category = AVCodecCategory::AVCODEC_SOFTWARE; HWTEST_F() local 684 AVCodecCategory category = AVCodecCategory::AVCODEC_SOFTWARE; HWTEST_F() local 701 AVCodecCategory category = AVCodecCategory::AVCODEC_SOFTWARE; HWTEST_F() local [all...] |
/foundation/multimedia/av_session/services/session/server/remote/ |
H A D | remote_session_sink_impl.cpp | 64 ret = syncer_->RegisterDataNotifier([this](const SessionDataCategory category, const std::string& deviceId) { in CastSessionFromRemote() 65 SLOGI("device %{public}s category %{public}d changed", deviceId.c_str(), category); in CastSessionFromRemote() 68 return HandleSessionDataCategory(category); in CastSessionFromRemote() 74 int32_t RemoteSessionSinkImpl::HandleSessionDataCategory(const SessionDataCategory category) in HandleSessionDataCategory() argument 76 if (category == SESSION_DATA_META) { in HandleSessionDataCategory() 83 } else if (category == SESSION_DATA_PLAYBACK_STATE) { in HandleSessionDataCategory() 90 } else if (category == SESSION_DATA_SET_EVENT) { in HandleSessionDataCategory() 98 } else if (category == SESSION_DATA_QUEUE_ITEMS) { in HandleSessionDataCategory() 105 } else if (category in HandleSessionDataCategory() [all...] |
H A D | remote_session_capability_set.cpp | 60 SessionDataCategory category, int32_t key) in HasCapability() 67 CHECK_AND_RETURN_RET_LOG(capability[category].size() > 0, false, "Don't have Capability"); in HasCapability() 68 for (const auto &item : capability[category]) { in HasCapability() 59 HasCapability(const std::string& sessionId, const std::string& sinkDevice, SessionDataCategory category, int32_t key) HasCapability() argument
|
H A D | remote_session_source_impl.cpp | 71 ret = sessionSyncer->RegisterDataNotifier([this] (const SessionDataCategory category, in CastSessionToRemote() 74 SLOGI("device %{public}s category %{public}d changed", deviceId.c_str(), category); in CastSessionToRemote() 78 return HandleSourceSessionDataCategory(category, deviceId); in CastSessionToRemote() 85 int32_t RemoteSessionSourceImpl::HandleSourceSessionDataCategory(const SessionDataCategory category, in HandleSourceSessionDataCategory() argument 88 if (category == SESSION_DATA_CONTROL_COMMAND) { in HandleSourceSessionDataCategory() 95 } else if (category == SESSION_DATA_COMMON_COMMAND) { in HandleSourceSessionDataCategory()
|
/foundation/multimedia/player_framework/interfaces/inner_api/native/system_sound_manager/include/ |
H A D | tone_attrs.h | 40 int32_t category) : title_(title), fileName_(fileName), uri_(uri), custType_(custType), category_(category) {}
in ToneAttrs() 84 void SetCategory(const int32_t category)
in SetCategory() argument 86 category_ = category;
in SetCategory() 39 ToneAttrs(std::string title, std::string fileName, std::string uri, ToneCustomizedType custType, int32_t category) ToneAttrs() argument
|
/foundation/graphic/graphic_3d/lume/metaobject/src/ |
H A D | class_registry.cpp | 85 ObjectCategoryBits category, bool strict, bool excludeDeprecated) const in GetAllTypes() 91 if (excludeDeprecated && (factory->GetClassInfo().category & ObjectCategoryBits::DEPRECATED)) { in GetAllTypes() 95 if (CheckCategoryBits(factory->GetClassInfo().category, category, strict)) { in GetAllTypes() 109 if (factory->GetClassInfo().category & ObjectCategoryBits::INTERNAL) { in GetAllTypes() 113 if (excludeDeprecated && (factory->GetClassInfo().category & ObjectCategoryBits::DEPRECATED)) { in GetAllTypes() 84 GetAllTypes( ObjectCategoryBits category, bool strict, bool excludeDeprecated) const GetAllTypes() argument
|
/foundation/arkui/ui_lite/frameworks/font/ |
H A D | ui_line_break.cpp | 64 uint16_t category = UCPTRIE_FAST_GET(trie, UCPTRIE_8, static_cast<int32_t>(str[index]));
in GetNextBreakPos() local 66 if ((category & 0x4000) != 0) {
in GetNextBreakPos() 68 category &= ~0x4000;
in GetNextBreakPos() 70 state = row->fNextState[category];
in GetNextBreakPos() 229 uint16_t category = UCPTRIE_FAST_GET(reinterpret_cast<UCPTrie*>(lineBreakTrie_), UCPTRIE_8, utf16);
in IsBreakPos() local 231 if ((category & 0x4000) != 0) {
in IsBreakPos() 233 category &= ~0x4000;
in IsBreakPos() 235 state = row->fNextState[category];
in IsBreakPos() 240 uint16_t category = UCPTRIE_FAST_GET(reinterpret_cast<UCPTrie*>(lineBreakTrie_), UCPTRIE_8, utf16);
in IsBreakPos() local 242 if ((category in IsBreakPos() [all...] |
/foundation/arkui/ace_engine_lite/frameworks/module_manager/ |
H A D | module_manager.cpp | 32 char* category = nullptr; in RequireModule() local 34 if (!ParseModuleName(moduleName, &category, &name)) { in RequireModule() 40 if (!strcmp(category, CATEGORY_SYSTEM) || !strcmp(category, CATEGORY_OHOS)) { in RequireModule() 58 HILOG_ERROR(HILOG_MODULE_ACE, "ModuleManager:RequireModule category %{public}s does not exists!", category); in RequireModule() 61 ace_free(category); in RequireModule() 62 category = nullptr; in RequireModule() 77 bool ModuleManager::ParseModuleName(const char * const moduleName, char** category, char** name) const in ParseModuleName() argument 79 if ((moduleName == nullptr) || (category in ParseModuleName() [all...] |
/foundation/multimedia/av_codec/test/unittest/codeclist_test/capi/ |
H A D | codeclist_capi_mock_factory.cpp | 30 AVCodecCategory category) in GetCapabilityByCategory() 32 if (category == AVCodecCategory::AVCODEC_NONE) { in GetCapabilityByCategory() 36 OH_AVCodec_GetCapabilityByCategory(mime.c_str(), isEncoder, static_cast<OH_AVCodecCategory>(category)); in GetCapabilityByCategory() 29 GetCapabilityByCategory(const std::string &mime, bool isEncoder, AVCodecCategory category) GetCapabilityByCategory() argument
|
/foundation/multimedia/av_codec/test/unittest/codeclist_test/inner/ |
H A D | codeclist_inner_mock_factory.cpp | 31 AVCodecCategory category) in GetCapabilityByCategory() 35 CapabilityData *capabilityData = codeclist->GetCapability(mime, isEncoder, category); in GetCapabilityByCategory() 30 GetCapabilityByCategory(const std::string &mime, bool isEncoder, AVCodecCategory category) GetCapabilityByCategory() argument
|
/foundation/multimedia/av_codec/services/services/codeclist/server/ |
H A D | codeclist_server.cpp | 63 const AVCodecCategory &category) in GetCapability() 65 return codecListCore_->GetCapability(capabilityData, mime, isEncoder, category); in GetCapability() 62 GetCapability(CapabilityData &capabilityData, const std::string &mime, const bool isEncoder, const AVCodecCategory &category) GetCapability() argument
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/ |
H A D | intf_object_registry.h | 35 * @brief Information for an object category. 38 ObjectCategoryBits category; member 179 * objects that can be created with Create() for a specific category. 184 * @param category The category to list. If category is ObjectCategoryBits::ANY, all 185 * registered object type infos are returned, regardless of category. 187 BASE_NS::vector<IClassInfo::ConstPtr> GetAllTypes(ObjectCategoryBits category) const in GetAllTypes() 189 return GetAllTypes(category, true, true); in GetAllTypes() 195 * @brief Returns a type information list of all registered object types for a given category [all...] |
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/ |
H A D | audio_device_parser.cpp | 231 for (const auto &category : buf) { in ParseDeviceCategory() 232 if (category == "HEADPHONE") { in ParseDeviceCategory() 234 } else if (category == "GLASSES") { in ParseDeviceCategory() 236 } else if (category == "SOUNDBOX") { in ParseDeviceCategory() 238 } else if (category == "CAR") { in ParseDeviceCategory() 240 } else if (category == "HEADPHONE_UNWEAR") { in ParseDeviceCategory() 242 } else if (category == "WATCH") { in ParseDeviceCategory()
|
/foundation/multimedia/av_codec/services/services/codeclist/ipc/ |
H A D | codeclist_service_stub.cpp | 130 const bool isEncoder, const AVCodecCategory &category) in GetCapability() 135 return codecListServer_->GetCapability(capabilityData, mime, isEncoder, category); in GetCapability() 158 AVCodecCategory category = static_cast<AVCodecCategory>(data.ReadInt32()); in DoGetCapability() local 160 (void)GetCapability(capabilityData, mime, isEncoder, category); in DoGetCapability() 129 GetCapability(CapabilityData &capabilityData, const std::string &mime, const bool isEncoder, const AVCodecCategory &category) GetCapability() argument
|
/foundation/arkui/ace_engine/frameworks/core/common/recorder/ |
H A D | event_controller.h | 41 void NotifyEvent(EventCategory category, int32_t eventType, 44 void NotifyEventSync(EventCategory category, int32_t eventType,
|
H A D | event_controller.cpp | 208 void EventController::NotifyEvent(EventCategory category, int32_t eventType, in NotifyEvent() argument 217 BackgroundTaskExecutor::GetInstance().PostTask([category, eventType, eventParams]() { in NotifyEvent() 218 EventController::Get().NotifyEventSync(category, eventType, eventParams); in NotifyEvent() 222 void EventController::NotifyEventSync(EventCategory category, int32_t eventType, in NotifyEventSync() argument 227 if (client.config.IsEnable() && client.config.IsCategoryEnable(category)) { in NotifyEventSync()
|
H A D | event_config.cpp | 117 bool EventConfig::IsCategoryEnable(EventCategory category) const in IsCategoryEnable() 119 auto iter = switches_->find(category); in IsCategoryEnable()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/perf/ |
H A D | performance_data_manager.cpp | 125 PerformanceDataManager::PerformanceDataManager(const string_view category) : category_(category) {} in PerformanceDataManager() argument 224 IPerformanceDataManager* PerformanceDataManagerFactory::Get([[maybe_unused]] const string_view category) in Get() argument 228 if (auto pos = managers_.find(category); pos != managers_.end()) { in Get() 231 auto inserted = managers_.insert({ category, make_unique<PerformanceDataManager>(category) }); in Get()
|
/foundation/multimedia/av_codec/frameworks/native/avcodeclist/ |
H A D | avcodeclist_impl.cpp | 99 const AVCodecCategory &category) in GetCapability() 102 bool isVendor = (category == AVCodecCategory::AVCODEC_SOFTWARE) ? false : true; in GetCapability() 121 int32_t ret = codecListService_->GetCapability(capaDataIn, mime, isEncoder, category); in GetCapability() 125 if (category == AVCodecCategory::AVCODEC_NONE && nameAddrMap_.find(name) != nameAddrMap_.end()) { in GetCapability() 98 GetCapability(const std::string &mime, const bool isEncoder, const AVCodecCategory &category) GetCapability() argument
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | event_converter.cpp | 569 event->category = static_cast<int32_t>(NODE_EVENT_CATEGORY_COMPONENT_EVENT); in ConvertEvent() 575 event->category = static_cast<int32_t>(NODE_EVENT_CATEGORY_STRING_ASYNC_EVENT); in ConvertEvent() 581 event->category = static_cast<int32_t>(NODE_EVENT_CATEGORY_INPUT_EVENT); in ConvertEvent() 587 event->category = static_cast<int32_t>(NODE_EVENT_CATEGORY_INPUT_EVENT); in ConvertEvent() 593 event->category = static_cast<int32_t>(NODE_EVENT_CATEGORY_MIXED_EVENT); in ConvertEvent() 599 event->category = static_cast<int32_t>(NODE_EVENT_CATEGORY_COMPONENT_EVENT); in ConvertEvent() 775 if (!event || event->category != static_cast<int32_t>(NODE_EVENT_CATEGORY_INPUT_EVENT)) { in OH_ArkUI_NodeEvent_GetInputEvent() 783 if (!event || event->category != static_cast<int32_t>(NODE_EVENT_CATEGORY_COMPONENT_EVENT)) { in OH_ArkUI_NodeEvent_GetNodeComponentEvent() 796 if (!event || event->category != static_cast<int32_t>(NODE_EVENT_CATEGORY_STRING_ASYNC_EVENT)) { in OH_ArkUI_NodeEvent_GetStringAsyncEvent() 817 if (!event || event->category ! in OH_ArkUI_NodeEvent_GetNumberValue() [all...] |
/foundation/multimedia/av_codec/services/services/codeclist/client/ |
H A D | codeclist_client.cpp | 74 const AVCodecCategory &category) in GetCapability() 79 return codecListProxy_->GetCapability(capabilityData, mime, isEncoder, category); in GetCapability() 73 GetCapability(CapabilityData &capabilityData, const std::string &mime, const bool isEncoder, const AVCodecCategory &category) GetCapability() argument
|
/foundation/multimedia/av_codec/services/include/ |
H A D | i_codeclist_service.h | 29 const AVCodecCategory &category) = 0;
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/ |
H A D | a2dp_def.h | 165 AvdtCatetory category; member 175 AvdtCatetory category; member
|