Home
last modified time | relevance | path

Searched refs:PackageInfo (Results 1 – 17 of 17) sorted by relevance

/development/tools/apkcheck/src/com/android/apkcheck/
DApiList.java26 private HashMap<String,PackageInfo> mPackageList;
36 mPackageList = new HashMap<String,PackageInfo>(); in ApiList()
80 public PackageInfo getPackage(String name) { in getPackage()
88 public PackageInfo getOrCreatePackage(String name) { in getOrCreatePackage()
89 PackageInfo pkgInfo = mPackageList.get(name); in getOrCreatePackage()
91 pkgInfo = new PackageInfo(name); in getOrCreatePackage()
100 public Iterator<PackageInfo> getPackageIterator() { in getPackageIterator()
DApkCheck.java230 Iterator<PackageInfo> pkgIter = pubList.getPackageIterator(); in flattenInherited()
232 PackageInfo pubPkgInfo = pkgIter.next(); in flattenInherited()
252 Iterator<PackageInfo> pkgIter = apkDescr.getPackageIterator(); in check()
254 PackageInfo apkPkgInfo = pkgIter.next(); in check()
255 PackageInfo pubPkgInfo = pubList.getPackage(apkPkgInfo.getName()); in check()
294 static boolean checkClass(PackageInfo pubPkgInfo, ClassInfo classInfo) { in checkClass()
363 static boolean isIgnorable(PackageInfo pkgInfo) { in isIgnorable()
393 Iterator<PackageInfo> iter = apiList.getPackageIterator(); in dumpApi()
395 PackageInfo pkgInfo = iter.next(); in dumpApi()
400 private static void dumpPackage(PackageInfo pkgInfo) { in dumpPackage()
DPackageInfo.java25 public class PackageInfo { class
29 public PackageInfo(String name) { in PackageInfo() method in PackageInfo
DApiDescrHandler.java37 private PackageInfo mCurrentPackage = null;
DClassInfo.java352 PackageInfo pkg = apiList.getPackage(packageName); in lookupClass()
/development/apps/Development/src/com/android/development/
DPermissionDetails.java34 import android.content.pm.PackageInfo;
80 … ArrayList<PackageInfo> appList = msg.getData().getParcelableArrayList(KEY_APPS_USING_PERM);
93 private List<PackageInfo> mList;
95 AppListAdapter(List<PackageInfo> list) { in AppListAdapter()
111 public PackageInfo getPkg(int position) { in getPkg()
137 PackageInfo pInfo = mList.get(position); in getView()
143 private void createAppList(List<PackageInfo> list) { in createAppList()
145 for (PackageInfo pkg : list) { in createAppList()
158 List<PackageInfo> list = mPm.getInstalledPackages(PackageManager.GET_PERMISSIONS); in getAppsUsingPerm()
159 HashSet<PackageInfo> set = new HashSet<PackageInfo>(); in getAppsUsingPerm()
[all …]
DAppHwConfigList.java24 import android.content.pm.PackageInfo;
69 PackageInfo app = mAdapter.appForPosition(position); in onListItemClick()
84 PackageInfo pkgInfo = null; in AppListAdapter()
93 mList = new ArrayList<PackageInfo>(); in AppListAdapter()
103 public PackageInfo appForPosition(int position) { in appForPosition()
134 private final void bindView(View view, PackageInfo info) { in bindView()
141 protected List<PackageInfo> mList;
147 CharSequence sa = ((PackageInfo) a).applicationInfo.loadLabel(mPm);
148 CharSequence sb = ((PackageInfo) b).applicationInfo.loadLabel(mPm);
DPackageBrowser.java26 import android.content.pm.PackageInfo;
47 PackageInfo info;
60 List<PackageInfo> pkgs = context.getPackageManager().getInstalledPackages(0); in PackageListAdapter()
DPackageSummary.java27 import android.content.pm.PackageInfo;
87 PackageInfo info = null; in onCreate()
248 private final static void setItemText(Button item, PackageInfo pi, in setItemText()
DAppHwPref.java27 import android.content.pm.PackageInfo;
69 PackageInfo pInfo; in onCreate()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyPermissionUtil.java22 import android.content.pm.PackageInfo;
89 private boolean shouldTargetPackage(PackageInfo info) { in shouldTargetPackage()
119 PackageInfo info = (PackageInfo)o; in populatePermissionsMapping()
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
DSimpleWikiHelper.java30 import android.content.pm.PackageInfo;
123 PackageInfo info = manager.getPackageInfo(context.getPackageName(), 0); in prepareUserAgent()
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DSimpleWikiHelper.java30 import android.content.pm.PackageInfo;
116 PackageInfo info = manager.getPackageInfo(context.getPackageName(), 0); in prepareUserAgent()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DPackageValidator.java19 import android.content.pm.PackageInfo;
98 PackageInfo packageInfo; in isCallerAllowed()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DFlagUtils.java23 import android.content.pm.PackageInfo;
242 PackageInfo packInfo;
DIntentBuilderView.java23 import android.content.pm.PackageInfo;
108 PackageInfo packInfo; in setupViews()
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv2288 …tform/cts,fake_USh2Y-IWTduEsS0BhcKb-g@fakeemail.com,Add tests for Instant App access to PackageInfo
97300 …ase,fake_USh2Y-IWTduEsS0BhcKb-g@fakeemail.com,Allow Instant Apps access PackageInfo of exposed apps