Searched defs:TestClientCallback (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/services/mediatranscoding/tests/ |
D | MediaTranscodingServiceTestHelper.h | 262 struct TestClientCallback : public BnTranscodingClientCallback, struct 265 TestClientCallback(const char* packageName, int32_t id) in TestClientCallback() function 276 virtual ~TestClientCallback() { ALOGI("TestClientCallback %d destroyed", mClientId); } in ~TestClientCallback() argument 278 Status openFileDescriptor(const std::string& in_fileUri, const std::string& in_mode, in openFileDescriptor() 301 Status onTranscodingStarted(int32_t in_sessionId) override { in onTranscodingStarted() 306 Status onTranscodingPaused(int32_t in_sessionId) override { in onTranscodingPaused() 311 Status onTranscodingResumed(int32_t in_sessionId) override { in onTranscodingResumed() 316 Status onTranscodingFinished( in onTranscodingFinished() 323 Status onTranscodingFailed(int32_t in_sessionId, in onTranscodingFailed() 329 Status onAwaitNumberOfSessionsChanged(int32_t /* in_sessionId */, in onAwaitNumberOfSessionsChanged() [all …]
|
/frameworks/av/media/libmediatranscoding/tests/ |
D | TranscodingClientManager_tests.cpp | 57 struct TestClientCallback : public BnTranscodingClientCallback { struct 58 TestClientCallback() { ALOGI("TestClientCallback Created"); } in TestClientCallback() function 60 virtual ~TestClientCallback() { ALOGI("TestClientCallback destroyed"); }; in ~TestClientCallback() 62 Status openFileDescriptor(const std::string& /*in_fileUri*/, const std::string& /*in_mode*/, in openFileDescriptor() 67 Status onTranscodingStarted(int32_t /*in_sessionId*/) override { return Status::ok(); } in onTranscodingStarted() 69 Status onTranscodingPaused(int32_t /*in_sessionId*/) override { return Status::ok(); } in onTranscodingPaused() 71 Status onTranscodingResumed(int32_t /*in_sessionId*/) override { return Status::ok(); } in onTranscodingResumed() 73 Status onTranscodingFinished(int32_t in_sessionId, in onTranscodingFinished() 80 Status onTranscodingFailed(int32_t in_sessionId, in onTranscodingFailed() 86 Status onAwaitNumberOfSessionsChanged(int32_t /* in_sessionId */, in onAwaitNumberOfSessionsChanged() [all …]
|
D | TranscodingSessionController_tests.cpp | 236 struct TestClientCallback : public BnTranscodingClientCallback { struct 237 TestClientCallback(TestTranscoder* owner, ClientIdType clientId, uid_t clientUid) in TestClientCallback() function 242 ClientIdType clientId() const { return mClientId; } in clientId() 243 uid_t clientUid() const { return mClientUid; } in clientUid() 245 Status openFileDescriptor(const std::string& /*in_fileUri*/, const std::string& /*in_mode*/, in openFileDescriptor() 250 Status onTranscodingStarted(int32_t /*in_sessionId*/) override { return Status::ok(); } in onTranscodingStarted() 252 Status onTranscodingPaused(int32_t /*in_sessionId*/) override { return Status::ok(); } in onTranscodingPaused() 254 Status onTranscodingResumed(int32_t /*in_sessionId*/) override { return Status::ok(); } in onTranscodingResumed() 256 Status onTranscodingFinished(int32_t in_sessionId, in onTranscodingFinished() 264 Status onTranscodingFailed(int32_t in_sessionId, TranscodingErrorCode in_errorCode) override { in onTranscodingFailed() [all …]
|