Home
last modified time | relevance | path

Searched refs:addClientUid (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libmediatranscoding/tests/
DTranscodingSessionController_tests.cpp374 mController->addClientUid(client->clientId(), SESSION(i), additionalUid); in testPacerHelper()
532 EXPECT_TRUE(mController->addClientUid(CLIENT(0), SESSION(2), UID(1))); in TEST_F()
537 EXPECT_TRUE(mController->addClientUid(CLIENT(0), SESSION(1), UID(1))); in TEST_F()
567 EXPECT_TRUE(mController->addClientUid(CLIENT(0), SESSION(0), UID(1))); in TEST_F()
568 EXPECT_TRUE(mController->addClientUid(CLIENT(0), SESSION(1), UID(1))); in TEST_F()
569 EXPECT_TRUE(mController->addClientUid(CLIENT(0), SESSION(2), UID(1))); in TEST_F()
658 EXPECT_TRUE(mController->addClientUid(CLIENT(0), SESSION(1), UID(1))); in TEST_F()
663 EXPECT_TRUE(mController->addClientUid(CLIENT(0), SESSION(2), UID(1))); in TEST_F()
664 EXPECT_TRUE(mController->addClientUid(CLIENT(0), SESSION(2), UID(2))); in TEST_F()
758 EXPECT_TRUE(mController->addClientUid(CLIENT(0), SESSION(1), UID(1))); in TEST_F()
[all …]
DTranscodingClientManager_tests.cpp165 bool addClientUid(ClientIdType clientId, SessionIdType sessionId, uid_t clientUid) override { in addClientUid() function
586 EXPECT_TRUE(mClient1->addClientUid(-1, ownUid, &result).isOk()); in TEST_F()
588 EXPECT_TRUE(mClient1->addClientUid(SESSION(0), ownUid, &result).isOk()); in TEST_F()
621 EXPECT_TRUE(mClient1->addClientUid(SESSION(0), kInvalidClientUid, &result).isOk()); in TEST_F()
625 EXPECT_TRUE(mClient1->addClientUid(SESSION(0), ownUid, &result).isOk()); in TEST_F()
642 mClient1->addClientUid(SESSION(1), IMediaTranscodingService::USE_CALLING_UID, &result) in TEST_F()
652 EXPECT_TRUE(mClient1->addClientUid(SESSION(1), kFakeUid, &result).isOk()); in TEST_F()
/frameworks/av/media/libmediatranscoding/aidl/android/media/
DITranscodingClient.aidl65 boolean addClientUid(in int sessionId, int clientUid); in addClientUid() method
/frameworks/av/services/mediatranscoding/tests/
Dmediatranscodingservice_simulated_tests.cpp276 EXPECT_TRUE(mClient1->addClientUid<fail>(0, kInvalidClientUid)); in TEST_F()
279 EXPECT_TRUE(mClient1->addClientUid<fail>(0, mClient1->mClientUid)); in TEST_F()
290 EXPECT_TRUE(mClient1->addClientUid(1, IMediaTranscodingService::USE_CALLING_UID)); in TEST_F()
296 EXPECT_TRUE(mClient1->addClientUid(1, mClient1->mClientUid)); in TEST_F()
454 EXPECT_TRUE(mClient1->addClientUid(1, mClient2->mClientUid)); in TEST_F()
Dmediatranscodingservice_real_tests.cpp347 EXPECT_TRUE(mClient2->addClientUid(1, mClient1->mClientUid)); in TEST_F()
434 EXPECT_TRUE(mClient2->addClientUid(1, mClient1->mClientUid)); in TEST_F()
DMediaTranscodingServiceTestHelper.h436 bool addClientUid(int32_t sessionId, uid_t clientUid) { in addClientUid() function
439 Status status = mClient->addClientUid(sessionId, clientUid, &result); in addClientUid()
/frameworks/av/media/libmediatranscoding/include/media/
DControllerClientInterface.h69 virtual bool addClientUid(ClientIdType clientId, SessionIdType sessionId, uid_t clientUid) = 0;
DTranscodingSessionController.h57 bool addClientUid(ClientIdType clientId, SessionIdType sessionId, uid_t clientUid) override;
/frameworks/av/media/libmediatranscoding/
DTranscodingClientManager.cpp97 Status addClientUid(int32_t /*in_sessionId*/, int32_t /*in_clientUid*/,
226 Status TranscodingClientManager::ClientImpl::addClientUid(int32_t in_sessionId, in addClientUid() function in android::TranscodingClientManager::ClientImpl
258 *_aidl_return = owner->mSessionController->addClientUid(mClientId, in_sessionId, in_clientUid); in addClientUid()
DTranscodingSessionController.cpp824 bool TranscodingSessionController::addClientUid(ClientIdType clientId, SessionIdType sessionId, in addClientUid() function in android::TranscodingSessionController