/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/hdi_adapter/ |
H A D | engine_host_manager.h | 24 using OHOS::HDI::IntelligentVoice::Engine::V1_0::IIntellVoiceEngineAdapter; 25 using OHOS::HDI::IntelligentVoice::Engine::V1_0::IntellVoiceEngineAdapterDescriptor; 26 using OHOS::HDI::IntelligentVoice::Engine::V1_1::IIntellVoiceDataOprCallback; 27 using OHOS::HDI::IntelligentVoice::Engine::V1_2::UploadHdiFile; 50 const sptr<OHOS::HDI::IntelligentVoice::Engine::V1_0::IIntellVoiceEngineManager> &GetEngineHostProxy1_0() const in GetEngineHostProxy1_0() 54 const sptr<OHOS::HDI::IntelligentVoice::Engine::V1_1::IIntellVoiceEngineManager> &GetEngineHostProxy1_1() const in GetEngineHostProxy1_1() 58 const sptr<OHOS::HDI::IntelligentVoice::Engine::V1_2::IIntellVoiceEngineManager> &GetEngineHostProxy1_2() const in GetEngineHostProxy1_2() 66 sptr<OHOS::HDI::IntelligentVoice::Engine::V1_0::IIntellVoiceEngineManager> engineHostProxy1_0_ = nullptr; 67 sptr<OHOS::HDI::IntelligentVoice::Engine::V1_1::IIntellVoiceEngineManager> engineHostProxy1_1_ = nullptr; 68 sptr<OHOS::HDI::IntelligentVoice::Engine [all...] |
H A D | i_adapter_host_manager.h | 25 using OHOS::HDI::IntelligentVoice::Engine::V1_0::IntellVoiceEngineAdapterDescriptor; 26 using OHOS::HDI::IntelligentVoice::Engine::V1_0::IIntellVoiceEngineCallback; 27 using OHOS::HDI::IntelligentVoice::Engine::V1_2::EvaluationResultInfo; 35 virtual int32_t Attach(const OHOS::HDI::IntelligentVoice::Engine::V1_0::IntellVoiceEngineAdapterInfo &info) = 0; 39 virtual int32_t Start(const OHOS::HDI::IntelligentVoice::Engine::V1_0::StartInfo &info) = 0; 42 virtual int32_t Read(OHOS::HDI::IntelligentVoice::Engine::V1_0::ContentType type, sptr<Ashmem> &buffer) = 0;
|
H A D | headset_host_manager.h | 24 using OHOS::HDI::IntelligentVoice::Engine::V1_0::IIntellVoiceEngineAdapter; 25 using OHOS::HDI::IntelligentVoice::Engine::V1_0::IntellVoiceEngineAdapterDescriptor; 42 const sptr<OHOS::HDI::IntelligentVoice::Engine::V1_0::IIntellVoiceEngineManager> &GetHeadsetHostProxy1_0() const in GetHeadsetHostProxy1_0() 50 sptr<OHOS::HDI::IntelligentVoice::Engine::V1_0::IIntellVoiceEngineManager> headsetHostProxy1_0_ = nullptr;
|
H A D | adapter_host_manager.h | 28 int32_t Attach(const OHOS::HDI::IntelligentVoice::Engine::V1_0::IntellVoiceEngineAdapterInfo &info) override; 32 int32_t Start(const OHOS::HDI::IntelligentVoice::Engine::V1_0::StartInfo &info) override; 35 int32_t Read(OHOS::HDI::IntelligentVoice::Engine::V1_0::ContentType type, sptr<Ashmem> &buffer) override; 40 sptr<OHOS::HDI::IntelligentVoice::Engine::V1_0::IIntellVoiceEngineAdapter> adapterProxy1_0_ = nullptr; 41 sptr<OHOS::HDI::IntelligentVoice::Engine::V1_2::IIntellVoiceEngineAdapter> adapterProxy1_2_ = nullptr;
|
H A D | headset_adapter_host_manager.h | 28 int32_t Attach(const OHOS::HDI::IntelligentVoice::Engine::V1_0::IntellVoiceEngineAdapterInfo &info) override; 32 int32_t Start(const OHOS::HDI::IntelligentVoice::Engine::V1_0::StartInfo &info) override; 35 int32_t Read(OHOS::HDI::IntelligentVoice::Engine::V1_0::ContentType type, sptr<Ashmem> &buffer) override; 40 sptr<OHOS::HDI::IntelligentVoice::Engine::V1_0::IIntellVoiceEngineAdapter> headsetAdapterProxy1_0_ = nullptr;
|
H A D | engine_host_manager.cpp | 43 engineHostProxy1_0_ = OHOS::HDI::IntelligentVoice::Engine::V1_0::IIntellVoiceEngineManager::Get(); in Init() 56 OHOS::HDI::IntelligentVoice::Engine::V1_1::IIntellVoiceEngineManager::CastFrom(engineHostProxy1_0_); in Init() 64 OHOS::HDI::IntelligentVoice::Engine::V1_2::IIntellVoiceEngineManager::CastFrom(engineHostProxy1_0_); in Init() 82 OHOS::HDI::IntelligentVoice::Engine::V1_0::IIntellVoiceEngineManager>(engineHostProxy1_0_); in RegisterEngineHDIDeathRecipient() 112 OHOS::HDI::IntelligentVoice::Engine::V1_0::IIntellVoiceEngineManager>(engineHostProxy1_0_); in DeregisterEngineHDIDeathRecipient() 134 dataOprCb_ = sptr<OHOS::HDI::IntelligentVoice::Engine::V1_1::IIntellVoiceDataOprCallback>( in SetDataOprCallback()
|
H A D | headset_host_manager.cpp | 42 OHOS::HDI::IntelligentVoice::Engine::V1_0::IIntellVoiceEngineManager::Get(HEADSET_SERVICE_NAME); in Init() 59 OHOS::HDI::IntelligentVoice::Engine::V1_0::IIntellVoiceEngineManager>(headsetHostProxy1_0_); in RegisterEngineHDIDeathRecipient() 89 OHOS::HDI::IntelligentVoice::Engine::V1_0::IIntellVoiceEngineManager>(headsetHostProxy1_0_); in DeregisterEngineHDIDeathRecipient()
|
/foundation/ai/ai_engine/services/server/server_executor/source/ |
H A D | engine.cpp | 29 Engine::Engine(std::shared_ptr<Plugin> &plugin, std::shared_ptr<Thread> &thread, in Engine() function in OHOS::AI::Engine 40 Engine::~Engine() in ~Engine() 54 std::shared_ptr<Plugin> Engine::GetPlugin() const in GetPlugin() 59 int Engine::GetEngineReference() const in GetEngineReference() 64 void Engine::AddEngineReference() in AddEngineReference() 69 void Engine::DelEngineReference() in DelEngineReference() 74 int Engine::Initialize() in Initialize() 85 HILOGE("[Engine]Allocat in Initialize() [all...] |
H A D | engine_manager.cpp | 66 std::shared_ptr<Engine> engine = FindEngine(engineKey); in StartEngine() 92 std::shared_ptr<Engine> engine = FindEngine(transactionId); in StopEngine() 133 std::shared_ptr<Engine> engine = FindEngine(transactionId); in SetOption() 149 std::shared_ptr<Engine> engine = FindEngine(transactionId); in GetOption() 162 std::shared_ptr<Engine> EngineManager::FindEngine(long long transactionId) in FindEngine() 173 void EngineManager::RecordClient(long long transactionId, const std::shared_ptr<Engine> &engine) in RecordClient() 185 int EngineManager::CreateEngine(const EngineKey &engineKey, std::shared_ptr<Engine> &engine) in CreateEngine() 218 Engine *newEngine = nullptr; in CreateEngine() 219 AIE_NEW(newEngine, Engine(plugin, thread, queue)); in CreateEngine() 238 int EngineManager::CreateEngineWithCheck(const EngineKey &engineKey, std::shared_ptr<Engine> [all...] |
/foundation/graphic/graphic_3d/lume/LumeEngine/src/ |
H A D | engine.cpp | 90 Engine::Engine(EngineCreateInfo const& createInfo) in Engine() function in Engine 106 Engine::~Engine() in ~Engine() 126 IEcs::Ptr Engine::CreateEcs() in CreateEcs() 137 IEcs::Ptr Engine::CreateEcs(IThreadPool& threadPool) in CreateEcs() 142 void Engine::Init() in Init() 144 CORE_LOG_D("Engine init."); in Init() 155 void Engine::RegisterDefaultPaths() in RegisterDefaultPaths() 176 void Engine [all...] |
/foundation/ai/ai_engine/services/server/server_executor/include/ |
H A D | engine_manager.h | 90 * @return Engine corresponding to transaction ID. 92 std::shared_ptr<Engine> FindEngine(long long transactionId); 118 void RecordClient(long long transactionId, const std::shared_ptr<Engine> &engine); 120 int CreateEngine(const EngineKey &engineKey, std::shared_ptr<Engine> &engine); 121 int CreateEngineWithCheck(const EngineKey &engineKey, std::shared_ptr<Engine> &engine); 122 std::shared_ptr<Engine> FindEngine(const EngineKey &engineKey); 127 using Engines = std::map<EngineKey, std::shared_ptr<Engine>>; 129 using ClientEngines = std::map<long long, std::shared_ptr<Engine>>;
|
H A D | engine.h | 35 class Engine { class 37 Engine(std::shared_ptr<Plugin> &plugin, std::shared_ptr<Thread> &thread, std::shared_ptr<Queue<Task>> &queue); 38 ~Engine(); 57 * Engine reference count increased by 1, which is called when the engine starts.
|
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/wakeup/ |
H A D | wakeup_adapter_listener.h | 27 const OHOS::HDI::IntelligentVoice::Engine::V1_0::IntellVoiceEngineCallBackEvent &)>; 36 const OHOS::HDI::IntelligentVoice::Engine::V1_0::IntellVoiceEngineCallBackEvent &event) override; 37 void Notify(const OHOS::HDI::IntelligentVoice::Engine::V1_0::IntellVoiceEngineCallBackEvent &event); 40 void BackupCallBackEvent(const OHOS::HDI::IntelligentVoice::Engine::V1_0::IntellVoiceEngineCallBackEvent &event); 44 std::shared_ptr<OHOS::HDI::IntelligentVoice::Engine::V1_0::IntellVoiceEngineCallBackEvent> historyEvent_ = nullptr;
|
H A D | wakeup_adapter_listener.cpp | 23 using namespace OHOS::HDI::IntelligentVoice::Engine::V1_2; 69 if ((event.msgId == OHOS::HDI::IntelligentVoice::Engine::V1_0::INTELL_VOICE_ENGINE_MSG_RECOGNIZE_COMPLETE) || in Notify() 70 (event.msgId == static_cast<OHOS::HDI::IntelligentVoice::Engine::V1_0::IntellVoiceEngineMessageType>( in Notify() 78 if ((event.msgId == OHOS::HDI::IntelligentVoice::Engine::V1_0::INTELL_VOICE_ENGINE_MSG_RECOGNIZE_COMPLETE) || ( in BackupCallBackEvent() 79 event.msgId == static_cast<OHOS::HDI::IntelligentVoice::Engine::V1_0::IntellVoiceEngineMessageType>( in BackupCallBackEvent()
|
/foundation/ai/intelligent_voice_framework/tests/unittest/intell_voice_test/src/ |
H A D | engine_event_callback.cpp | 38 const OHOS::HDI::IntelligentVoice::Engine::V1_0::IntellVoiceEngineCallBackEvent &event) in OnEvent() 45 if (event.msgId == HDI::IntelligentVoice::Engine::V1_0::INTELL_VOICE_ENGINE_MSG_INIT_DONE) { in OnEvent() 46 EXPECT_EQ(event.result, HDI::IntelligentVoice::Engine::V1_0::INTELL_VOICE_ENGINE_OK); in OnEvent() 52 if (event.msgId == HDI::IntelligentVoice::Engine::V1_0::INTELL_VOICE_ENGINE_MSG_ENROLL_COMPLETE) { in OnEvent() 53 EXPECT_EQ(event.result, HDI::IntelligentVoice::Engine::V1_0::INTELL_VOICE_ENGINE_OK); in OnEvent() 64 if (event.msgId == HDI::IntelligentVoice::Engine::V1_0::INTELL_VOICE_ENGINE_MSG_COMMIT_ENROLL_COMPLETE) { in OnEvent() 65 EXPECT_EQ(event.result, HDI::IntelligentVoice::Engine::V1_0::INTELL_VOICE_ENGINE_OK); in OnEvent()
|
/foundation/arkui/napi/test/fuzztest/loadarkmodule_fuzzer/ |
H A D | loadarkmodule_fuzzer.cpp | 27 class Engine { class 29 Engine() in Engine() function in Engine 42 ~Engine() in ~Engine() 58 static Engine g_nativeEngine;
|
/foundation/arkui/napi/test/fuzztest/runbufferscript_fuzzer/ |
H A D | runbufferscript_fuzzer.cpp | 27 class Engine { class 29 Engine() in Engine() function in Engine 42 ~Engine() in ~Engine() 58 static Engine g_nativeEngine;
|
/foundation/arkui/napi/test/fuzztest/runscriptpath_fuzzer/ |
H A D | runscriptpath_fuzzer.cpp | 27 class Engine { class 29 Engine() in Engine() function in Engine 42 ~Engine() in ~Engine() 58 static Engine g_nativeEngine;
|
/foundation/arkui/napi/test/fuzztest/executejsbin_fuzzer/ |
H A D | executejsbin_fuzzer.cpp | 27 class Engine { class 29 Engine() in Engine() function in Engine 42 ~Engine() in ~Engine() 58 static Engine g_nativeEngine;
|
/foundation/ai/intelligent_voice_framework/frameworks/js/napi/ |
H A D | enroll_intell_voice_engine_callback_napi.cpp | 24 using namespace OHOS::HDI::IntelligentVoice::Engine::V1_0; 67 int32_t eventId = HDI::IntelligentVoice::Engine::V1_0::INTELL_VOICE_ENGINE_MSG_NONE; in ConvertEventId() 70 eventId = HDI::IntelligentVoice::Engine::V1_0::INTELL_VOICE_ENGINE_MSG_INIT_DONE; in ConvertEventId() 73 eventId = HDI::IntelligentVoice::Engine::V1_0::INTELL_VOICE_ENGINE_MSG_ENROLL_COMPLETE; in ConvertEventId() 76 eventId = HDI::IntelligentVoice::Engine::V1_0::INTELL_VOICE_ENGINE_MSG_COMMIT_ENROLL_COMPLETE; in ConvertEventId() 128 case HDI::IntelligentVoice::Engine::V1_0::INTELL_VOICE_ENGINE_MSG_INIT_DONE: in OnEvent() 131 case HDI::IntelligentVoice::Engine::V1_0::INTELL_VOICE_ENGINE_MSG_ENROLL_COMPLETE: in OnEvent() 134 case HDI::IntelligentVoice::Engine::V1_0::INTELL_VOICE_ENGINE_MSG_COMMIT_ENROLL_COMPLETE: in OnEvent() 172 HDI::IntelligentVoice::Engine::V1_0::INTELL_VOICE_ENGINE_MSG_ENROLL_COMPLETE) { in UvWorkCallBack()
|
/foundation/arkui/napi/test/fuzztest/runactor_fuzzer/ |
H A D | runactor_fuzzer.cpp | 27 class Engine { class 29 Engine() in Engine() function in Engine 42 ~Engine() in ~Engine() 58 static Engine g_nativeEngine;
|
/foundation/arkui/napi/test/fuzztest/runscriptbuffer_fuzzer/ |
H A D | runscriptbuffer_fuzzer.cpp | 27 class Engine { class 29 Engine() in Engine() function in Engine 47 ~Engine() in ~Engine() 63 static Engine g_nativeEngine;
|
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/base/ |
H A D | data_operation_callback.cpp | 27 OHOS::HDI::IntelligentVoice::Engine::V1_1::IntellVoiceDataOprType type, in OnIntellVoiceDataOprEvent() 43 if ((type < OHOS::HDI::IntelligentVoice::Engine::V1_1::ENCRYPT_TYPE) || in OnIntellVoiceDataOprEvent() 44 (type > OHOS::HDI::IntelligentVoice::Engine::V1_1::DECRYPT_TYPE)) { in OnIntellVoiceDataOprEvent() 58 if (type == OHOS::HDI::IntelligentVoice::Engine::V1_1::ENCRYPT_TYPE) { in OnIntellVoiceDataOprEvent() 65 } else if (type == OHOS::HDI::IntelligentVoice::Engine::V1_1::DECRYPT_TYPE) { in OnIntellVoiceDataOprEvent()
|
H A D | engine_util.h | 30 using OHOS::HDI::IntelligentVoice::Engine::V1_0::IIntellVoiceEngineCallback; 73 OHOS::HDI::IntelligentVoice::Engine::V1_0::IntellVoiceEngineAdapterType type) in CreateAdapterInner() 94 void ProcDspModel(OHOS::HDI::IntelligentVoice::Engine::V1_0::ContentType type); 103 OHOS::HDI::IntelligentVoice::Engine::V1_0::IntellVoiceEngineAdapterDescriptor desc_;
|
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/update/ |
H A D | update_adapter_listener.h | 27 class UpdateAdapterListener : public HDI::IntelligentVoice::Engine::V1_0::IIntellVoiceEngineCallback { 33 const OHOS::HDI::IntelligentVoice::Engine::V1_0::IntellVoiceEngineCallBackEvent& event) override;
|