HomeSort by relevance Sort by last modified time
    Searched refs:kTestPid1 (Results 1 - 3 of 3) sorted by null

  /frameworks/av/media/libmediaplayerservice/tests/
DrmSessionManager_test.cpp 69 static const int kTestPid1 = 30;
101 mDrmSessionManager->addSession(kTestPid1, mTestDrm1, mSessionId1);
106 ssize_t index1 = map.indexOfKey(kTestPid1);
132 EXPECT_EQ(kTestPid1, pid);
135 processInfo.getPriority(kTestPid1, &priority1);
142 EXPECT_FALSE(mDrmSessionManager->getLeastUsedSession_l(kTestPid1, &drm, &sessionId));
146 EXPECT_TRUE(mDrmSessionManager->getLeastUsedSession_l(kTestPid1, &drm, &sessionId));
180 const SessionInfos& infos1 = map.valueFor(kTestPid1);
193 const SessionInfos& infos1 = map.valueFor(kTestPid1);
220 EXPECT_FALSE(mDrmSessionManager->reclaimSession(kTestPid1));
    [all...]
  /frameworks/av/services/mediadrm/tests/
DrmSessionManager_test.cpp 65 static const int kTestPid1 = 30;
97 mDrmSessionManager->addSession(kTestPid1, mTestDrm1, mSessionId1);
102 ssize_t index1 = map.indexOfKey(kTestPid1);
128 EXPECT_EQ(kTestPid1, pid);
131 processInfo.getPriority(kTestPid1, &priority1);
138 EXPECT_FALSE(mDrmSessionManager->getLeastUsedSession_l(kTestPid1, &drm, &sessionId));
142 EXPECT_TRUE(mDrmSessionManager->getLeastUsedSession_l(kTestPid1, &drm, &sessionId));
176 const SessionInfos& infos1 = map.valueFor(kTestPid1);
189 const SessionInfos& infos1 = map.valueFor(kTestPid1);
216 EXPECT_FALSE(mDrmSessionManager->reclaimSession(kTestPid1));
    [all...]
  /frameworks/av/services/mediaresourcemanager/test/
ResourceManagerService_test.cpp 88 static const int kTestPid1 = 30;
99 mTestClient1(new TestClient(kTestPid1, mService)),
142 // kTestPid1(30) 30 mTestClient1 secure codec 1
153 // kTestPid1 mTestClient1
156 mService->addResource(kTestPid1, getId(mTestClient1), mTestClient1, resources1);
160 mService->addResource(kTestPid1, getId(mTestClient1), mTestClient1, resources11);
177 ssize_t index1 = map.indexOfKey(kTestPid1);
229 const ResourceInfos &infos1 = map.valueFor(kTestPid1);
455 // kTestPid1 is the lowest priority process with MediaResource::kGraphicMemory.
456 // mTestClient1 has the largest MediaResource::kGraphicMemory within kTestPid1
    [all...]

Completed in 67 milliseconds