Home
last modified time | relevance | path

Searched refs:TranscodingErrorCode (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/media/module/libmediatranscoding/aidl/android/media/
DITranscodingClientCallback.aidl19 import android.media.TranscodingErrorCode;
80 oneway void onTranscodingFailed(in int sessionId, in TranscodingErrorCode errorCode); in onTranscodingFailed()
DTranscodingErrorCode.aidl25 enum TranscodingErrorCode { enum
/frameworks/av/media/module/libmediatranscoding/tests/
DTranscodingSessionController_tests.cpp146 void onFailed(ClientIdType clientId, SessionIdType sessionId, TranscodingErrorCode err) { in onFailed()
178 const TranscodingErrorCode err = TranscodingErrorCode::kNoError) { in append()
184 if (err != TranscodingErrorCode::kNoError) { in append()
208 TranscodingErrorCode getLastError() { in getLastError()
211 return TranscodingErrorCode::kNoError; in getLastError()
213 TranscodingErrorCode err = mLastErrorQueue.front(); in getLastError()
228 std::list<TranscodingErrorCode> mLastErrorQueue;
264 Status onTranscodingFailed(int32_t in_sessionId, TranscodingErrorCode in_errorCode) override { in onTranscodingFailed()
336 EXPECT_EQ(mTranscoder->getLastError(), TranscodingErrorCode::kWatchdogTimeout); in expectTimeout()
400 TranscodingErrorCode::kUnknown); in testPacerHelper()
[all …]
DTranscodingClientManager_tests.cpp40 using ::aidl::android::media::TranscodingErrorCode;
81 TranscodingErrorCode /*in_errorCode */) override { in onTranscodingFailed()
240 TranscodingErrorCode::kUnknown); in abortLastSession()
/frameworks/av/media/module/service.mediatranscoding/tests/
Dmediatranscodingservice_real_tests.cpp67 EXPECT_EQ(mClient1->getLastError(), TranscodingErrorCode::kErrorIO); in TEST_F()
315 EXPECT_EQ(mClient1->getLastError(), TranscodingErrorCode::kUidGoneCancelled); in TEST_F()
317 EXPECT_EQ(mClient1->getLastError(), TranscodingErrorCode::kUidGoneCancelled); in TEST_F()
361 EXPECT_EQ(mClient2->getLastError(), TranscodingErrorCode::kUidGoneCancelled); in TEST_F()
363 EXPECT_EQ(mClient2->getLastError(), TranscodingErrorCode::kUidGoneCancelled); in TEST_F()
402 EXPECT_EQ(mClient2->getLastError(), TranscodingErrorCode::kUidGoneCancelled); in TEST_F()
404 EXPECT_EQ(mClient2->getLastError(), TranscodingErrorCode::kUidGoneCancelled); in TEST_F()
445 EXPECT_EQ(mClient2->getLastError(), TranscodingErrorCode::kUidGoneCancelled); in TEST_F()
DMediaTranscodingServiceTestHelper.h205 const TranscodingErrorCode err = TranscodingErrorCode::kNoError) {
211 if (err != TranscodingErrorCode::kNoError) {
229 TranscodingErrorCode getLastError() { in getLastError()
232 return TranscodingErrorCode::kNoError; in getLastError()
234 TranscodingErrorCode err = mLastErrQueue.front(); in getLastError()
244 std::list<TranscodingErrorCode> mLastErrQueue;
322 ::aidl::android::media::TranscodingErrorCode in_errorCode) override { in onTranscodingFailed()
Dmediatranscodingservice_simulated_tests.cpp88 EXPECT_EQ(mClient3->getLastError(), TranscodingErrorCode::kDroppedByService); in testPacerHelper()
524 EXPECT_EQ(mClient1->getLastError(), TranscodingErrorCode::kWatchdogTimeout); in TEST_F()
/frameworks/av/media/module/libmediatranscoding/
DTranscoderWrapper.cpp33 using ::aidl::android::media::TranscodingErrorCode;
37 static TranscodingErrorCode toTranscodingError(media_status_t status) { in toTranscodingError()
40 return TranscodingErrorCode::kNoError; in toTranscodingError()
43 return TranscodingErrorCode::kInsufficientResources; in toTranscodingError()
45 return TranscodingErrorCode::kMalformed; in toTranscodingError()
47 return TranscodingErrorCode::kUnsupported; in toTranscodingError()
50 return TranscodingErrorCode::kInvalidParameter; in toTranscodingError()
52 return TranscodingErrorCode::kInvalidOperation; in toTranscodingError()
54 return TranscodingErrorCode::kErrorIO; in toTranscodingError()
57 return TranscodingErrorCode::kUnknown; in toTranscodingError()
DTranscodingSessionController.cpp185 TranscodingErrorCode::kWatchdogTimeout); in threadLoop()
553 topSession->key.second, TranscodingErrorCode::kDroppedByService); in updateCurrentSession_l()
959 TranscodingErrorCode err) { in onError()
961 if (err == TranscodingErrorCode::kWatchdogTimeout) { in onError()
1092 TranscodingErrorCode::kUidGoneCancelled); in onUidGone()
DAndroid.bp32 "aidl/android/media/TranscodingErrorCode.aidl",
/frameworks/av/media/module/libmediatranscoding/include/media/
DTranscoderInterface.h28 using ::aidl::android::media::TranscodingErrorCode;
60 TranscodingErrorCode err) = 0;
DTranscodingSessionController.h67 void onError(ClientIdType clientId, SessionIdType sessionId, TranscodingErrorCode err) override;