/foundation/arkui/ace_engine/interfaces/inner_api/ace/ |
H A D | declarative_module_preloader.h | 31 static void Preload(NativeEngine& runtime);
|
H A D | declarative_module_preloader.cpp | 42 void DeclarativeModulePreloader::Preload(NativeEngine& runtime)
in Preload() function in OHOS::Ace::DeclarativeModulePreloader
|
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/ |
H A D | extension_plugin_info.h | 45 * @brief Preload extension plugin in app spawn. 48 void Preload();
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/ |
H A D | extension_plugin_info_test.cpp | 57 * @tc.name: Preload 58 * @tc.desc: Test whether Preload and are called normally. 63 ExtensionPluginInfo::GetInstance().Preload(); in HWTEST_F()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | extension_plugin_info.cpp | 50 void ExtensionPluginInfo::Preload() in Preload() function in OHOS::AbilityRuntime::ExtensionPluginInfo
|
H A D | main_thread.cpp | 2606 AbilityRuntime::ExtensionPluginInfo::GetInstance().Preload(); in PreloadExtensionPlugin()
|
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/common/ |
H A D | i_audio_renderer_sink.h | 91 virtual int32_t Preload(const std::string &usbInfoStr) in Preload() function in OHOS::AudioStandard::IAudioRendererSink
|
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/common/ |
H A D | i_audio_capturer_source.h | 106 virtual int32_t Preload(const std::string &usbInfoStr) in Preload() function in OHOS::AudioStandard::IAudioCapturerSource
|
/foundation/multimedia/audio_framework/services/audio_service/test/unittest/ |
H A D | audio_direct_sink_unit_test.cpp | 655 * @tc.desc : Test Usb sink Preload state success 671 ret = usbSink->Preload(CreateUsbAttrInfo("")); in HWTEST_F() 673 ret = usbSink->Preload(CreateUsbAttrInfo("sAUDIO_FORMAT_PCM_16_BIT")); in HWTEST_F() 675 ret = usbSink->Preload(CreateUsbAttrInfo("AUDIO_FORMAT_PCM_24_BIT")); in HWTEST_F() 677 ret = usbSink->Preload(CreateUsbAttrInfo("AUDIO_FORMAT_PCM_32_BIT")); in HWTEST_F()
|
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/multichannel/ |
H A D | multichannel_audio_renderer_sink.cpp | 101 int32_t Preload(const std::string &usbInfoStr) override; 1030 int32_t MultiChannelRendererSinkInner::Preload(const std::string &usbInfoStr) in Preload() function in OHOS::AudioStandard::MultiChannelRendererSinkInner 1032 CHECK_AND_RETURN_RET_LOG(halName_ == "usb", ERR_INVALID_OPERATION, "Preload only supported for usb"); in Preload() 1035 CHECK_AND_RETURN_RET_LOG(ret == SUCCESS, ret, "Preload failed when init attr"); in Preload() 1038 CHECK_AND_RETURN_RET_LOG(ret == SUCCESS, ret, "Preload failed when init adapter"); in Preload() 1041 CHECK_AND_RETURN_RET_LOG(ret == SUCCESS, ret, "Preload failed when init render"); in Preload()
|
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/primary/ |
H A D | audio_renderer_sink.cpp | 190 int32_t Preload(const std::string &usbInfoStr) override; 1315 int32_t AudioRendererSinkInner::Preload(const std::string &usbInfoStr) in Preload() function in OHOS::AudioStandard::AudioRendererSinkInner 1317 CHECK_AND_RETURN_RET_LOG(halName_ == "usb", ERR_INVALID_OPERATION, "Preload only supported for usb"); in Preload() 1320 CHECK_AND_RETURN_RET_LOG(ret == SUCCESS, ret, "Preload failed when init attr"); in Preload() 1323 CHECK_AND_RETURN_RET_LOG(ret == SUCCESS, ret, "Preload failed when init adapter"); in Preload() 1326 CHECK_AND_RETURN_RET_LOG(ret == SUCCESS, ret, "Preload failed when init render"); in Preload()
|
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/primary/ |
H A D | audio_capturer_source.cpp | 166 int32_t Preload(const std::string &usbInfoStr) override; 1461 int32_t AudioCapturerSourceInner::Preload(const std::string &usbInfoStr) in Preload() function in OHOS::AudioStandard::AudioCapturerSourceInner 1463 CHECK_AND_RETURN_RET_LOG(halName_ == "usb", ERR_INVALID_OPERATION, "Preload only supported for usb"); in Preload() 1467 CHECK_AND_RETURN_RET_LOG(ret == SUCCESS, ret, "Preload failed when init attr"); in Preload() 1470 CHECK_AND_RETURN_RET_LOG(ret == SUCCESS, ret, "Preload failed when init adapter and capture"); in Preload()
|
/foundation/multimedia/audio_framework/services/audio_service/server/src/ |
H A D | audio_server.cpp | 971 // Preload usb sink and source, make pa load module faster to avoid blocking client write in GetUsbParameter() 972 usbAudioRendererSinkInstance->Preload(usbInfoStr); in GetUsbParameter() 973 usbAudioCapturerSinkInstance->Preload(usbInfoStr); in GetUsbParameter()
|
/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | js_runtime.cpp | 824 OHOS::Ace::DeclarativeModulePreloader::Preload(*nativeEngine); in PreloadAce()
|