Home
last modified time | relevance | path

Searched refs:mClient1 (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/services/mediatranscoding/tests/
Dmediatranscodingservice_simulated_tests.cpp105 Status status = mService->registerClient(mClient1, kInvalidClientName, in TEST_F()
115 mService->registerClient(mClient1, kClientName, kInvalidClientOpPackageName, &client); in TEST_F()
122 Status status = mService->registerClient(mClient1, kClientName, kClientOpPackageName, &client); in TEST_F()
142 Status status = mService->registerClient(mClient1, kClientName, kClientOpPackageName, &client); in TEST_F()
150 status = mService->registerClient(mClient1, kClientName, kClientOpPackageName, &client1); in TEST_F()
167 EXPECT_TRUE(mClient1->submit(0, "test_source_file", "test_destination_file")); in TEST_F()
168 EXPECT_TRUE(mClient1->submit(1, "test_source_file", "test_destination_file")); in TEST_F()
175 EXPECT_TRUE(mClient1->cancel(0)); in TEST_F()
176 EXPECT_TRUE(mClient1->cancel(1)); in TEST_F()
187 EXPECT_TRUE(mClient1->submit(0, "test_source_file_0", "test_destination_file")); in TEST_F()
[all …]
Dmediatranscodingservice_real_tests.cpp63 mClient1->submit(0, srcPath, dstPath, TranscodingSessionPriority::kNormal, kBitRate)); in TEST_F()
66 EXPECT_EQ(mClient1->pop(kPaddingUs), EventTracker::Failed(CLIENT(1), 0)); in TEST_F()
67 EXPECT_EQ(mClient1->getLastError(), TranscodingErrorCode::kErrorIO); in TEST_F()
78 EXPECT_TRUE(mClient1->submit(0, kShortSrcPath, dstPath)); in TEST_F()
81 EXPECT_EQ(mClient1->pop(kPaddingUs), EventTracker::Start(CLIENT(1), 0)); in TEST_F()
82 EXPECT_EQ(mClient1->pop(kSessionWithPaddingUs), EventTracker::Finished(CLIENT(1), 0)); in TEST_F()
93 EXPECT_TRUE(mClient1->submit(0, kShortSrcPath, dstPath, TranscodingSessionPriority::kNormal, in TEST_F()
97 EXPECT_EQ(mClient1->pop(kPaddingUs), EventTracker::Start(CLIENT(1), 0)); in TEST_F()
98 EXPECT_EQ(mClient1->pop(kSessionWithPaddingUs), EventTracker::Finished(CLIENT(1), 0)); in TEST_F()
109 EXPECT_TRUE(mClient1->submit(0, kLongSrcPath, dstPath, TranscodingSessionPriority::kNormal, in TEST_F()
[all …]
Dmediatranscodingservice_resource_tests.cpp153 EXPECT_TRUE(mClient1->submit(0, srcPath0, dstPath0, TranscodingSessionPriority::kNormal, in TEST_F()
157 EXPECT_EQ(mClient1->pop(kPaddingUs), EventTracker::Start(CLIENT(1), 0)); in TEST_F()
169 EXPECT_TRUE(mClient1->waitForSpecificEventAndPop(EventTracker::Finished(CLIENT(1), 0), &events, in TEST_F()
DMediaTranscodingServiceTestHelper.h489 mClient1 = ::ndk::SharedRefBase::make<TestClientCallback>(kClientPackageA, 1); in SetUp()
511 EXPECT_TRUE(registerOneClient(mClient1).isOk()); in registerMultipleClients()
524 EXPECT_TRUE(mClient1->unregisterClient().isOk()); in unregisterMultipleClients()
548 std::shared_ptr<TestClientCallback> mClient1; variable
/frameworks/av/media/libmediatranscoding/tests/
DTranscodingClientManager_tests.cpp277 mClientManager->addClient(mClientCallback1, kClientName, kClientPackage, &mClient1), in addMultipleClients()
279 EXPECT_NE(mClient1, nullptr); in addMultipleClients()
295 EXPECT_TRUE(mClient1->unregister().isOk()); in unregisterMultipleClients()
303 std::shared_ptr<ITranscodingClient> mClient1; member in android::TranscodingClientManagerTest
399 EXPECT_TRUE(mClient1->submitRequest(request, &session, &result).isOk()); in TEST_F()
405 EXPECT_TRUE(mClient1->submitRequest(request, &session, &result).isOk()); in TEST_F()
411 EXPECT_TRUE(mClient1->submitRequest(request, &session, &result).isOk()); in TEST_F()
419 EXPECT_TRUE(mClient1->submitRequest(badRequest, &session, &result).isOk()); in TEST_F()
427 EXPECT_TRUE(mClient1->submitRequest(badRequest, &session, &result).isOk()); in TEST_F()
431 EXPECT_TRUE(mClient1->getSessionWithId(SESSION(2), &session, &result).isOk()); in TEST_F()
[all …]