Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/textclassifier/
DIconsContentProvider.java33 import com.android.server.textclassifier.IconsUriHelper.ResourceInfo;
53 private final PipeDataWriter<Pair<ResourceInfo, Integer>> mWriter =
56 final ResourceInfo res = args.first;
68 final ResourceInfo res = IconsUriHelper.getInstance().getResourceInfo(uri); in openFile()
75 final Pair<ResourceInfo, Integer> args = new Pair(res, UserHandle.getCallingUserId()); in openFile()
DIconsUriHelper.java106 public ResourceInfo getResourceInfo(Uri uri) { in getResourceInfo()
121 return new ResourceInfo(packageName, resId); in getResourceInfo()
134 public static final class ResourceInfo { class in IconsUriHelper
139 private ResourceInfo(String packageName, int id) { in ResourceInfo() method in IconsUriHelper.ResourceInfo
/frameworks/av/services/mediaresourcemanager/
DResourceManagerServiceUtils.h154 struct ResourceInfo { struct
212 typedef std::map<int64_t, ResourceInfo> ResourceInfos;
248 ResourceInfo& getResourceInfoForEdit(
DResourceTracker.cpp110 ResourceInfo& info = getResourceInfoForEdit(clientInfo, client, infos); in addResource()
175 ResourceInfo& info = foundClient->second; in removeResource()
224 const ResourceInfo& info = foundClient->second; in removeResource()
296 ResourceInfo& info = foundClient->second; in markClientForPendingRemoval()
457 const ResourceInfo* info = getResourceInfo(client.mPid, client.mClientId); in getLowestPriorityPid()
540 const ResourceInfo* info = getResourceInfo(client.mPid, client.mClientId); in getBiggestClient()
599 const ResourceInfo* info = getResourceInfo(client.mPid, client.mClientId); in getLeastImportantBiggestClient()
743 const ResourceInfo* ResourceTracker::getResourceInfo(int pid, const int64_t& clientId) const { in getResourceInfo()
DResourceManagerServiceUtils.cpp177 ResourceInfo& getResourceInfoForEdit(const ClientInfoParcel& clientInfo, in getResourceInfoForEdit()
182 ResourceInfo info{.pid = clientInfo.pid, in getResourceInfoForEdit()
DResourceTracker.h225 const ResourceInfo* getResourceInfo(int pid, const int64_t& clientId) const;
DResourceManagerService.cpp322 ResourceInfo& info = getResourceInfoForEdit(clientInfo, client, infos); in addResource()
384 ResourceInfo& info = foundClient->second; in removeResource()
445 const ResourceInfo& info = foundClient->second; in removeResource()
854 ResourceInfo& info = foundClient->second; in markClientForPendingRemoval()
/frameworks/base/services/tests/servicestests/src/com/android/server/textclassifier/
DIconsUriHelperTest.java24 import com.android.server.textclassifier.IconsUriHelper.ResourceInfo;
90 final ResourceInfo res = mIconsUriHelper.getResourceInfo(uri); in testGetResourceInfo()
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerServiceTestUtils.h260 static void expectEqResourceInfo(const ResourceInfo &info, in expectEqResourceInfo()