Searched refs:ResourceInfos (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/services/mediaresourcemanager/ |
D | ResourceTracker.cpp | 83 ResourceInfos& ResourceTracker::getResourceInfosForEdit(int pid) { in getResourceInfosForEdit() 84 std::map<int, ResourceInfos>::iterator found = mMap.find(pid); in getResourceInfosForEdit() 87 ResourceInfos infosForPid; in getResourceInfosForEdit() 109 ResourceInfos& infos = getResourceInfosForEdit(pid); in addResource() 140 ResourceInfos& infos = getResourceInfosForEdit(clientInfo.pid); in updateResource() 142 ResourceInfos::iterator found = infos.find(clientInfo.id); in updateResource() 162 std::map<int, ResourceInfos>::iterator found = mMap.find(pid); in removeResource() 168 ResourceInfos& infos = found->second; in removeResource() 169 ResourceInfos::iterator foundClient = infos.find(clientId); in removeResource() 211 std::map<int, ResourceInfos>::iterator found = mMap.find(pid); in removeResource() [all …]
|
D | ResourceManagerServiceUtils.h | 212 typedef std::map<int64_t, ResourceInfo> ResourceInfos; typedef 215 typedef std::map<int, ResourceInfos> PidResourceInfosMap; 239 const ResourceInfos& infos); 243 ResourceInfos& getResourceInfosForEdit(int pid, PidResourceInfosMap& map); 251 ResourceInfos& infos);
|
D | ResourceManagerServiceUtils.cpp | 153 const ResourceInfos& infos) { in hasResourceType() 162 ResourceInfos& getResourceInfosForEdit(int pid, PidResourceInfosMap& map) { in getResourceInfosForEdit() 166 ResourceInfos infosForPid; in getResourceInfosForEdit() 179 ResourceInfos& infos) { in getResourceInfoForEdit() 180 ResourceInfos::iterator found = infos.find(clientInfo.id); in getResourceInfoForEdit()
|
D | ResourceTracker.h | 210 const std::map<int, ResourceInfos>& getResourceMap() const { in getResourceMap() 217 ResourceInfos& getResourceInfosForEdit(int pid); 240 std::map<int, ResourceInfos> mMap;
|
D | ResourceManagerService.cpp | 321 ResourceInfos& infos = getResourceInfosForEdit(pid, mMap); in addResource() 376 ResourceInfos& infos = found->second; in removeResource() 378 ResourceInfos::iterator foundClient = infos.find(clientId); in removeResource() 437 ResourceInfos& infos = found->second; in removeResource() 439 ResourceInfos::iterator foundClient = infos.find(clientId); in removeResource() 641 std::map<int, ResourceInfos>::const_iterator found = mMap.find(pid); in getClient_l() 647 const ResourceInfos& infos = found->second; in getClient_l() 648 ResourceInfos::const_iterator foundClient = infos.find(clientId); in getClient_l() 658 std::map<int, ResourceInfos>::iterator found = mMap.find(pid); in removeClient_l() 664 ResourceInfos& infos = found->second; in removeClient_l() [all …]
|
D | ResourceManagerServiceNew.h | 137 const std::map<int, ResourceInfos>& getResourceMap() const override;
|
D | ResourceManagerService.h | 233 virtual const std::map<int, ResourceInfos>& getResourceMap() const { in getResourceMap()
|
D | ResourceManagerServiceNew.cpp | 371 const std::map<int, ResourceInfos>& ResourceManagerServiceNew::getResourceMap() const { in getResourceMap()
|
/frameworks/av/services/mediaresourcemanager/test/ |
D | ResourceManagerService_test.cpp | 148 const ResourceInfos &infos1 = mapIndex1->second; in addResource() 154 const ResourceInfos &infos2 = mapIndex2->second; in addResource() 178 const ResourceInfos &infos1 = mapIndex1->second; in testCombineResourceWithNegativeValues() 254 const ResourceInfos &infos1 = mapIndex1->second; in testCombineResource() 299 const ResourceInfos &infos1 = mapIndex1->second; in testRemoveResource() 463 const ResourceInfos &infos1 = map.at(kTestPid1); in testRemoveClient() 464 const ResourceInfos &infos2 = map.at(kTestPid2); in testRemoveClient()
|