Home
last modified time | relevance | path

Searched refs:reclaimResource (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp59 virtual bool reclaimResource() { in reclaimResource() function
265 EXPECT_FALSE(mService->reclaimResource(kLowPriorityPid, resources)); in testReclaimResourceSecure()
266 EXPECT_FALSE(mService->reclaimResource(kMidPriorityPid, resources)); in testReclaimResourceSecure()
269 EXPECT_TRUE(mService->reclaimResource(kHighPriorityPid, resources)); in testReclaimResourceSecure()
273 EXPECT_TRUE(mService->reclaimResource(kHighPriorityPid, resources)); in testReclaimResourceSecure()
277 EXPECT_FALSE(mService->reclaimResource(kHighPriorityPid, resources)); in testReclaimResourceSecure()
287 EXPECT_FALSE(mService->reclaimResource(kLowPriorityPid, resources)); in testReclaimResourceSecure()
288 EXPECT_FALSE(mService->reclaimResource(kMidPriorityPid, resources)); in testReclaimResourceSecure()
291 EXPECT_TRUE(mService->reclaimResource(kHighPriorityPid, resources)); in testReclaimResourceSecure()
295 EXPECT_FALSE(mService->reclaimResource(kHighPriorityPid, resources)); in testReclaimResourceSecure()
[all …]
/frameworks/av/media/libmedia/
DIResourceManagerClient.cpp39 virtual bool reclaimResource() { in reclaimResource() function in android::BpResourceManagerClient
75 bool ret = reclaimResource(); in onTransact()
DIResourceManagerService.cpp97 virtual bool reclaimResource(int callingPid, const Vector<MediaResource> &resources) { in reclaimResource() function in android::BpResourceManagerService
157 bool ret = reclaimResource(callingPid, resources); in onTransact()
/frameworks/av/include/media/
DIResourceManagerClient.h32 virtual bool reclaimResource() = 0;
DIResourceManagerService.h48 virtual bool reclaimResource(
/frameworks/av/services/mediaresourcemanager/
DResourceManagerService.h71 virtual bool reclaimResource(int callingPid, const Vector<MediaResource> &resources);
DResourceManagerService.cpp261 bool ResourceManagerService::reclaimResource( in reclaimResource() function in android::ResourceManagerService
341 if (!clients[i]->reclaimResource()) { in reclaimResource()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp70 virtual bool reclaimResource() { in reclaimResource() function
162 bool MediaCodec::ResourceManagerServiceProxy::reclaimResource( in reclaimResource() function in android::MediaCodec::ResourceManagerServiceProxy
168 return mService->reclaimResource(mPid, resources); in reclaimResource()
410 if (!mResourceManagerService->reclaimResource(resources)) { in init()
484 if (!mResourceManagerService->reclaimResource(resources)) { in configure()
583 if (!mResourceManagerService->reclaimResource(resources)) { in start()
/frameworks/av/include/media/stagefright/
DMediaCodec.h282 bool reclaimResource(const Vector<MediaResource> &resources);