Home
last modified time | relevance | path

Searched refs:ResourceInfos (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/services/mediaresourcemanager/
DResourceManagerService.cpp165 const ResourceInfos& infos) { in hasResourceType()
174 static ResourceInfos& getResourceInfosForEdit(int pid, PidResourceInfosMap& map) { in getResourceInfosForEdit()
178 ResourceInfos infosForPid; in getResourceInfosForEdit()
186 const std::shared_ptr<IResourceManagerClient>& client, ResourceInfos& infos) { in getResourceInfoForEdit()
268 const ResourceInfos &infos = mapCopy.valueAt(i); in dump()
453 ResourceInfos& infos = getResourceInfosForEdit(pid, mMap); in addResource()
514 ResourceInfos &infos = mMap.editValueAt(index); in removeResource()
582 ResourceInfos &infos = mMap.editValueAt(index); in removeResource()
740 ResourceInfos &infos = mMap.editValueAt(i); in reclaimUnconditionallyFrom()
891 ResourceInfos &infos = mMap.editValueAt(index); in markClientForPendingRemoval()
[all …]
DResourceManagerService.h61 typedef KeyedVector<int64_t, ResourceInfo> ResourceInfos; typedef
62 typedef KeyedVector<int, ResourceInfos> PidResourceInfosMap;
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp124 const ResourceInfos &infos1 = map[index1]; in addResource()
130 const ResourceInfos &infos2 = map[index2]; in addResource()
150 const ResourceInfos &infos1 = map[index1]; in testCombineResourceWithNegativeValues()
241 const ResourceInfos &infos1 = map[index1]; in testCombineResource()
280 const ResourceInfos &infos1 = map[index1]; in testRemoveResource()
425 const ResourceInfos &infos1 = map.valueFor(kTestPid1); in testRemoveClient()
426 const ResourceInfos &infos2 = map.valueFor(kTestPid2); in testRemoveClient()