Home
last modified time | relevance | path

Searched refs:mClient2 (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/module/service.mediatranscoding/tests/
Dmediatranscodingservice_real_tests.cpp267 mClient2->submit(0, srcPath1, dstPath1, TranscodingSessionPriority::kNormal, kBitRate)); in TEST_F()
271 EXPECT_EQ(mClient2->pop(kPaddingUs), EventTracker::Start(CLIENT(2), 0)); in TEST_F()
274 EXPECT_EQ(mClient2->pop(kSessionWithPaddingUs), EventTracker::Finished(CLIENT(2), 0)); in TEST_F()
340 EXPECT_TRUE(mClient2->submit(0, kLongSrcPath, dstPath0, TranscodingSessionPriority::kNormal, in TEST_F()
342 EXPECT_EQ(mClient2->pop(kPaddingUs), EventTracker::Start(CLIENT(2), 0)); in TEST_F()
343 EXPECT_TRUE(mClient2->submit(1, kLongSrcPath, dstPath1, TranscodingSessionPriority::kNormal, in TEST_F()
345 EXPECT_EQ(mClient2->pop(kPaddingUs), EventTracker::NoEvent); in TEST_F()
347 EXPECT_TRUE(mClient2->addClientUid(1, mClient1->mClientUid)); in TEST_F()
351 EXPECT_EQ(mClient2->pop(kPaddingUs), EventTracker::Pause(CLIENT(2), 0)); in TEST_F()
352 EXPECT_EQ(mClient2->pop(kPaddingUs), EventTracker::Start(CLIENT(2), 1)); in TEST_F()
[all …]
Dmediatranscodingservice_simulated_tests.cpp171 EXPECT_TRUE(mClient2->submit(0, "test_source_file", "test_destination_file")); in TEST_F()
172 EXPECT_TRUE(mClient2->submit(1, "test_source_file", "test_destination_file")); in TEST_F()
177 EXPECT_TRUE(mClient2->cancel(0)); in TEST_F()
178 EXPECT_TRUE(mClient2->cancel(1)); in TEST_F()
400 EXPECT_TRUE(mClient2->submit(0, "test_source_file_0", "test_destination_file_0")); in TEST_F()
404 EXPECT_EQ(mClient2->pop(kPaddingUs), EventTracker::Start(CLIENT(2), 0)); in TEST_F()
410 EXPECT_EQ(mClient2->pop(kPaddingUs), EventTracker::Pause(CLIENT(2), 0)); in TEST_F()
419 EXPECT_EQ(mClient2->pop(kPaddingUs), EventTracker::Resume(CLIENT(2), 0)); in TEST_F()
454 EXPECT_TRUE(mClient1->addClientUid(1, mClient2->mClientUid)); in TEST_F()
DMediaTranscodingServiceTestHelper.h490 mClient2 = ::ndk::SharedRefBase::make<TestClientCallback>(kClientPackageB, 2); in SetUp()
512 EXPECT_TRUE(registerOneClient(mClient2).isOk()); in registerMultipleClients()
525 EXPECT_TRUE(mClient2->unregisterClient().isOk()); in unregisterMultipleClients()
549 std::shared_ptr<TestClientCallback> mClient2; variable
/frameworks/av/media/module/libmediatranscoding/tests/
DTranscodingClientManager_tests.cpp282 mClientManager->addClient(mClientCallback2, kClientName, kClientPackage, &mClient2), in addMultipleClients()
284 EXPECT_NE(mClient2, nullptr); in addMultipleClients()
296 EXPECT_TRUE(mClient2->unregister().isOk()); in unregisterMultipleClients()
304 std::shared_ptr<ITranscodingClient> mClient2; member in android::TranscodingClientManagerTest
441 EXPECT_TRUE(mClient2->cancelSession(SESSION(100), &result).isOk()); in TEST_F()
463 EXPECT_TRUE(mClient2->submitRequest(request, &session, &result).isOk()); in TEST_F()
467 EXPECT_TRUE(mClient2->submitRequest(request, &session, &result).isOk()); in TEST_F()
500 EXPECT_TRUE(mClient2->submitRequest(request, &session, &result).isOk()); in TEST_F()