Searched refs:kTestPid1 (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/services/mediaresourcemanager/test/ |
D | ResourceManagerService_test.cpp | 101 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in addResource() 105 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources11); in addResource() 122 ssize_t index1 = map.indexOfKey(kTestPid1); in addResource() 141 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in testCombineResourceWithNegativeValues() 148 ssize_t index1 = map.indexOfKey(kTestPid1); in testCombineResourceWithNegativeValues() 158 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in testCombineResourceWithNegativeValues() 162 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in testCombineResourceWithNegativeValues() 173 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in testCombineResourceWithNegativeValues() 185 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in testCombineResourceWithNegativeValues() 231 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in testCombineResource() [all …]
|
D | ResourceObserverService_test.cpp | 257 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources); in TEST_F() 258 EXPECT_EQ(mTestObserver1->pop(), EventTracker::Busy(kTestUid1, kTestPid1, observables1)); in TEST_F() 260 EXPECT_EQ(mTestObserver3->pop(), EventTracker::Busy(kTestUid1, kTestPid1, observables1)); in TEST_F() 280 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources); in TEST_F() 281 EXPECT_EQ(mTestObserver1->pop(), EventTracker::Busy(kTestUid1, kTestPid1, observables1)); in TEST_F() 282 EXPECT_EQ(mTestObserver2->pop(), EventTracker::Busy(kTestUid1, kTestPid1, observables2)); in TEST_F() 283 EXPECT_EQ(mTestObserver3->pop(), EventTracker::Busy(kTestUid1, kTestPid1, observables3)); in TEST_F() 324 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources); in TEST_F() 325 EXPECT_EQ(mTestObserver1->pop(), EventTracker::Busy(kTestUid1, kTestPid1, observables1)); in TEST_F() 327 EXPECT_EQ(mTestObserver3->pop(), EventTracker::Busy(kTestUid1, kTestPid1, observables1)); in TEST_F() [all …]
|
D | ResourceManagerServiceTestUtils.h | 155 static const int kTestPid1 = 30; variable 199 mTestClient1(::ndk::SharedRefBase::make<TestClient>(kTestPid1, mService)), in ResourceManagerServiceTestBase()
|
/frameworks/av/media/libmediaplayerservice/tests/ |
D | DrmSessionManager_test.cpp | 142 static const int kTestPid1 = 30; variable 164 mDrmSessionManager->addSession(kTestPid1, mTestDrm1, mTestDrm1->mSessionId); in addSession() 209 EXPECT_FALSE(mDrmSessionManager->reclaimSession(kTestPid1)); in TEST_F() 238 EXPECT_FALSE(mDrmSessionManager->reclaimSession(kTestPid1)); in TEST_F()
|