Home
last modified time | relevance | path

Searched refs:PlayerAdapterErrorType (Results 1 – 3 of 3) sorted by relevance

/base/web/webview/test/unittest/ohos_adapter/media_adapter_test/
Dplayer_framework_adapter_impl_test.cpp34 void OnError(PlayerAdapterErrorType errorType) override in OnError()
39 PlayerAdapterErrorType errorType_ = PlayerAdapterErrorType::INVALID_CODE;
165 EXPECT_EQ(callbackImpl->errorType_, PlayerAdapterErrorType::INVALID_CODE);
173 … public testing::WithParamInterface<std::tuple<PlayerAdapterErrorType, int32_t>> {
185 PlayerAdapterErrorType errorType = std::get<0>(GetParam());
192 testing::Combine(testing::Values(PlayerAdapterErrorType::UNSUPPORT_TYPE),
201 …testing::Combine(testing::Values(PlayerAdapterErrorType::FATAL_ERROR), testing::ValuesIn(fatalErro…
204 testing::Combine(testing::Values(PlayerAdapterErrorType::INVALID_CODE),
/base/web/webview/ohos_adapter/interfaces/
Dmedia_adapter.h24 enum class PlayerAdapterErrorType : int32_t { enum
61 virtual void OnError(PlayerAdapterErrorType errorType) = 0;
/base/web/webview/ohos_adapter/media_adapter/src/
Dplayer_framework_adapter_impl.cpp161 auto errorType = PlayerAdapterErrorType::INVALID_CODE; in OnError()
163 errorType = PlayerAdapterErrorType::UNSUPPORT_TYPE; in OnError()
165 errorType = PlayerAdapterErrorType::FATAL_ERROR; in OnError()