Home
last modified time | relevance | path

Searched refs:addResource (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp97 void addResource() { in addResource() function in android::ResourceManagerServiceTest
101 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in addResource()
105 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources11); in addResource()
111 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient2), mTestClient2, resources2); in addResource()
115 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient3), mTestClient3, resources3); in addResource()
118 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient3), mTestClient3, resources3); in addResource()
141 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); 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()
[all …]
DResourceObserverService_test.cpp257 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources); in TEST_F()
264 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient2), mTestClient2, resources); in TEST_F()
272 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient3), mTestClient3, resources); in TEST_F()
280 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources); in TEST_F()
306 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient3), mTestClient3, resources); in TEST_F()
324 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources); in TEST_F()
346 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient2), mTestClient2, resources); in TEST_F()
371 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient3), mTestClient3, resources); in TEST_F()
413 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient3), mTestClient3, resources); in TEST_F()
468 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient3), mTestClient3, resources); in TEST_F()
/frameworks/av/services/mediaresourcemanager/aidl/android/media/
DIResourceManagerService.aidl53 void addResource( in addResource() method
/frameworks/av/services/mediaresourcemanager/fuzzer/
Dmediaresourcemanager_fuzzer.cpp176 static void* addResource(void* arg) { in addResource() function in ResourceManagerServiceFuzzer
180 ->addResource(tArgs->pid, tArgs->uid, tArgs->testClientId, tArgs->testClient, in addResource()
250 pthread_create(&pt[2 * k], nullptr, addResource, &threadArgs[k]); in setResources()
/frameworks/av/drm/libmediadrm/
DDrmSessionManager.cpp140 mService->addResource(pid, uid, clientId++, drm, toResourceVec(sessionId, INT64_MAX)); in addSession()
153 mService->addResource(info.pid, info.uid, info.clientId, NULL, toResourceVec(sessionId, -1)); in useSession()
/frameworks/av/services/mediaresourcemanager/
DResourceManagerService.h88 Status addResource(int32_t pid, int32_t uid, int64_t clientId,
DResourceManagerService.cpp437 Status ResourceManagerService::addResource(int32_t pid, int32_t uid, int64_t clientId, in addResource() function in android::ResourceManagerService
/frameworks/av/media/libstagefright/
DMediaCodec.cpp283 void addResource(const MediaResourceParcel &resource);
390 void MediaCodec::ResourceManagerServiceProxy::addResource( in addResource() function in android::MediaCodec::ResourceManagerServiceProxy
399 mService->addResource(mPid, mUid, getId(mClient), mClient, resources); in addResource()
1386 mResourceManagerProxy->addResource(MediaResource::VideoBatteryResource()); in statsBufferSent()
1460 mResourceManagerProxy->addResource(MediaResource::VideoBatteryResource()); in statsBufferReceived()
3101 mResourceManagerProxy->addResource(MediaResource::CpuBoostResource()); in requestCpuBoostIfNeeded()
3486 mResourceManagerProxy->addResource(MediaResource::CodecResource( in onMessageReceived()
3655 mResourceManagerProxy->addResource( in onMessageReceived()
/frameworks/base/tools/aapt/
DAaptAssets.h535 void addResource(const String8& leafName,
DAaptAssets.cpp954 void AaptAssets::addResource(const String8& leafName, const String8& path, in addResource() function in AaptAssets
DResource.cpp335 assets->addResource(it.getLeafName(), resPath, it.getFile(), type8); in makeFileResources()
1718 assets->addResource(workItem.resPath.getPathLeaf(), in buildResources()