Home
last modified time | relevance | path

Searched refs:asrWhisperDetectionMode (Results 1 - 10 of 10) sorted by relevance

/foundation/multimedia/audio_framework/frameworks/js/napi/asrcontroller/
H A Dnapi_asr_processing_controller.cpp347 int32_t asrWhisperDetectionMode = 0; in SetAsrWhisperDetectionMode() local
348 int32_t retMode = NapiParamUtils::GetValueInt32(env, asrWhisperDetectionMode, argv[PARAM0]); in SetAsrWhisperDetectionMode()
351 CHECK_AND_RETURN_RET_LOG(asrWhisperDetectionMode == 0 || asrWhisperDetectionMode == 1, in SetAsrWhisperDetectionMode()
356 static_cast<AsrWhisperDetectionMode>(asrWhisperDetectionMode)); in SetAsrWhisperDetectionMode()
369 AsrWhisperDetectionMode asrWhisperDetectionMode; in GetAsrWhisperDetectionMode() local
372 int32_t res = napiAsrController->audioMngr_->GetAsrWhisperDetectionMode(asrWhisperDetectionMode); in GetAsrWhisperDetectionMode()
375 NapiParamUtils::SetValueInt32(env, int32_t(asrWhisperDetectionMode), result); in GetAsrWhisperDetectionMode()
/foundation/multimedia/audio_framework/services/audio_service/client/include/
H A Daudio_manager_proxy.h84 int32_t SetAsrWhisperDetectionMode(AsrWhisperDetectionMode asrWhisperDetectionMode) override;
85 int32_t GetAsrWhisperDetectionMode(AsrWhisperDetectionMode &asrWhisperDetectionMode) override;
H A Daudio_manager_base.h114 virtual int32_t SetAsrWhisperDetectionMode(AsrWhisperDetectionMode asrWhisperDetectionMode) = 0;
123 virtual int32_t GetAsrWhisperDetectionMode(AsrWhisperDetectionMode &asrWhisperDetectionMode) = 0;
/foundation/multimedia/audio_framework/services/audio_service/test/unittest/audio_server_unit_test/src/
H A Daudio_server_unit_test.cpp158 AsrWhisperDetectionMode asrWhisperDetectionMode; in HWTEST_F() local
159 int32_t ret = audioServer->GetAsrWhisperDetectionMode(asrWhisperDetectionMode); in HWTEST_F()
168 ret = audioServer->GetAsrWhisperDetectionMode(asrWhisperDetectionMode); in HWTEST_F()
/foundation/multimedia/audio_framework/services/audio_service/server/src/
H A Daudio_manager_stub.cpp198 AsrWhisperDetectionMode asrWhisperDetectionMode = (static_cast<AsrWhisperDetectionMode>(data.ReadInt32())); in HandleSetAsrWhisperDetectionMode() local
199 int32_t result = SetAsrWhisperDetectionMode(asrWhisperDetectionMode); in HandleSetAsrWhisperDetectionMode()
206 AsrWhisperDetectionMode asrWhisperDetectionMode = (static_cast<AsrWhisperDetectionMode>(data.ReadInt32())); in HandleGetAsrWhisperDetectionMode() local
207 int32_t ret = GetAsrWhisperDetectionMode(asrWhisperDetectionMode); in HandleGetAsrWhisperDetectionMode()
209 reply.WriteInt32(int32_t(asrWhisperDetectionMode)); in HandleGetAsrWhisperDetectionMode()
H A Daudio_server.cpp693 int32_t AudioServer::SetAsrWhisperDetectionMode(AsrWhisperDetectionMode asrWhisperDetectionMode) in SetAsrWhisperDetectionMode() argument
701 auto it = WHISPER_DETECTION_MODE_MAP_VERSE.find(asrWhisperDetectionMode); in SetAsrWhisperDetectionMode()
716 int32_t AudioServer::GetAsrWhisperDetectionMode(AsrWhisperDetectionMode& asrWhisperDetectionMode) in GetAsrWhisperDetectionMode() argument
741 asrWhisperDetectionMode = it->second; in GetAsrWhisperDetectionMode()
/foundation/multimedia/audio_framework/services/audio_service/server/include/
H A Daudio_server.h91 int32_t SetAsrWhisperDetectionMode(AsrWhisperDetectionMode asrWhisperDetectionMode) override;
92 int32_t GetAsrWhisperDetectionMode(AsrWhisperDetectionMode &asrWhisperDetectionMode) override;
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiomanager/include/
H A Daudio_system_manager.h731 int32_t SetAsrWhisperDetectionMode(const AsrWhisperDetectionMode asrWhisperDetectionMode);
739 int32_t GetAsrWhisperDetectionMode(AsrWhisperDetectionMode &asrWhisperDetectionMode);
/foundation/multimedia/audio_framework/services/audio_service/client/src/
H A Daudio_manager_proxy.cpp321 int32_t AudioManagerProxy::SetAsrWhisperDetectionMode(AsrWhisperDetectionMode asrWhisperDetectionMode) in SetAsrWhisperDetectionMode() argument
329 data.WriteInt32(static_cast<int32_t>(asrWhisperDetectionMode)); in SetAsrWhisperDetectionMode()
338 int32_t AudioManagerProxy::GetAsrWhisperDetectionMode(AsrWhisperDetectionMode &asrWhisperDetectionMode) in GetAsrWhisperDetectionMode() argument
346 data.WriteInt32(static_cast<int32_t>(asrWhisperDetectionMode)); in GetAsrWhisperDetectionMode()
352 asrWhisperDetectionMode = static_cast<AsrWhisperDetectionMode>(result); in GetAsrWhisperDetectionMode()
H A Daudio_system_manager.cpp349 int32_t AudioSystemManager::SetAsrWhisperDetectionMode(const AsrWhisperDetectionMode asrWhisperDetectionMode) in SetAsrWhisperDetectionMode() argument
353 return gasp->SetAsrWhisperDetectionMode(asrWhisperDetectionMode); in SetAsrWhisperDetectionMode()
356 int32_t AudioSystemManager::GetAsrWhisperDetectionMode(AsrWhisperDetectionMode &asrWhisperDetectionMode) in GetAsrWhisperDetectionMode() argument
360 int32_t ret = gasp->GetAsrWhisperDetectionMode(asrWhisperDetectionMode); in GetAsrWhisperDetectionMode()

Completed in 17 milliseconds