Searched refs:TranscodingErrorCode (Results 1 – 12 of 12) sorted by relevance
/frameworks/av/media/module/libmediatranscoding/aidl/android/media/ |
D | ITranscodingClientCallback.aidl | 19 import android.media.TranscodingErrorCode; 80 oneway void onTranscodingFailed(in int sessionId, in TranscodingErrorCode errorCode); in onTranscodingFailed()
|
D | TranscodingErrorCode.aidl | 25 enum TranscodingErrorCode { enum
|
/frameworks/av/media/module/libmediatranscoding/tests/ |
D | TranscodingSessionController_tests.cpp | 146 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 …]
|
D | TranscodingClientManager_tests.cpp | 40 using ::aidl::android::media::TranscodingErrorCode; 81 TranscodingErrorCode /*in_errorCode */) override { in onTranscodingFailed() 240 TranscodingErrorCode::kUnknown); in abortLastSession()
|
/frameworks/av/media/module/service.mediatranscoding/tests/ |
D | mediatranscodingservice_real_tests.cpp | 67 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()
|
D | MediaTranscodingServiceTestHelper.h | 205 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()
|
D | mediatranscodingservice_simulated_tests.cpp | 88 EXPECT_EQ(mClient3->getLastError(), TranscodingErrorCode::kDroppedByService); in testPacerHelper() 524 EXPECT_EQ(mClient1->getLastError(), TranscodingErrorCode::kWatchdogTimeout); in TEST_F()
|
/frameworks/av/media/module/libmediatranscoding/ |
D | TranscoderWrapper.cpp | 33 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()
|
D | TranscodingSessionController.cpp | 185 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()
|
D | Android.bp | 32 "aidl/android/media/TranscodingErrorCode.aidl",
|
/frameworks/av/media/module/libmediatranscoding/include/media/ |
D | TranscoderInterface.h | 28 using ::aidl::android::media::TranscodingErrorCode; 60 TranscodingErrorCode err) = 0;
|
D | TranscodingSessionController.h | 67 void onError(ClientIdType clientId, SessionIdType sessionId, TranscodingErrorCode err) override;
|