Home
last modified time | relevance | path

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

/external/chromium_org/build/android/pylib/
Dconstants.py21 PackageInfo = collections.namedtuple('PackageInfo', variable
26 'chrome': PackageInfo(
32 'chrome_beta': PackageInfo(
38 'chrome_stable': PackageInfo(
44 'chrome_dev': PackageInfo(
50 'legacy_browser': PackageInfo(
56 'content_shell': PackageInfo(
62 'chromium_test_shell': PackageInfo(
68 'android_webview_shell': PackageInfo(
74 'gtest': PackageInfo(
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
DRobolectricPackageManager.java12 import android.content.pm.PackageInfo;
21 private Map<String, PackageInfo> packageList;
38 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo()
61 PackageInfo info; in getApplicationInfo()
70 public List<PackageInfo> getInstalledPackages(int flags) { in getInstalledPackages()
71 return new ArrayList<PackageInfo>(packageList.values()); in getInstalledPackages()
156 public void addPackage( PackageInfo packageInfo ) { in addPackage()
161 PackageInfo info = new PackageInfo(); in addPackage()
185 PackageInfo packageInfo = new PackageInfo(); in initializePackageInfo()
189 packageList = new HashMap<String, PackageInfo>(); in initializePackageInfo()
/external/doclava/src/com/google/doclava/apicheck/
DApiInfo.java21 import com.google.doclava.PackageInfo;
28 private HashMap<String, PackageInfo> mPackages
29 = new HashMap<String, PackageInfo>();
59 for (PackageInfo pInfo : mPackages.values()) { in isConsistent()
69 for (PackageInfo pInfo : otherApi.mPackages.values()) { in isConsistent()
78 public HashMap<String, PackageInfo> getPackages() { in getPackages()
93 protected void addPackage(PackageInfo pInfo) { in addPackage()
DXmlApiFile.java24 import com.google.doclava.PackageInfo;
43 private PackageInfo mCurrentPackage;
73 new PackageInfo(attributes.getValue("name"), SourcePositionInfo.fromXml(attributes in startElement()
DApiFile.java24 import com.google.doclava.PackageInfo;
92 PackageInfo pkg; in parsePackage()
97 pkg = new PackageInfo(name, tokenizer.pos()); in parsePackage()
113 private static void parseClass(ApiInfo api, PackageInfo pkg, Tokenizer tokenizer, String token) in parseClass()
/external/doclava/src/com/google/doclava/
DStubs.java131 HashMap<PackageInfo, List<ClassInfo>> packages = new HashMap<PackageInfo, List<ClassInfo>>(); in writeStubsAndApi()
297 PackageInfo pkg = cl.containingPackage(); in javaFileName()
314 && cl.containingPackage().name().equals(PackageInfo.DEFAULT_PACKAGE)) { in writeClassFile()
336 PackageInfo pkg = cl.containingPackage(); in writeClassFile()
780 static void writeXML(PrintStream xmlWriter, HashMap<PackageInfo, List<ClassInfo>> allClasses, in writeXML() argument
783 Set<PackageInfo> allClassKeys = allClasses.keySet(); in writeXML()
784 PackageInfo[] allPackages = allClassKeys.toArray(new PackageInfo[allClassKeys.size()]); in writeXML()
785 Arrays.sort(allPackages, PackageInfo.comparator); in writeXML()
788 for (PackageInfo pack : allPackages) { in writeXML()
794 public static void writeXml(PrintStream xmlWriter, Collection<PackageInfo> pkgs) { in writeXml()
[all …]
DPackageInfo.java25 public class PackageInfo extends DocInfo implements ContainerInfo { class
28 public static final Comparator<PackageInfo> comparator = new Comparator<PackageInfo>() {
29 public int compare(PackageInfo a, PackageInfo b) {
34 public PackageInfo(PackageDoc pkg, String name, SourcePositionInfo position) { in PackageInfo() method in PackageInfo
46 public PackageInfo(String name) { in PackageInfo() method in PackageInfo
52 public PackageInfo(String name, SourcePositionInfo position) { in PackageInfo() method in PackageInfo
284 public boolean isConsistent(PackageInfo pInfo) { in isConsistent()
DNavTree.java30 for (PackageInfo pkg : Doclava.choosePackages()) { in writeNavTree()
72 PackageInfo pkg = cl.containingPackage(); in writeYamlTree()
93 if (o instanceof PackageInfo) { in makeYamlHDF()
94 PackageInfo pkg = (PackageInfo) o; in makeYamlHDF()
133 private static Node makePackageNode(PackageInfo pkg) { in makePackageNode()
DDoclava.java669 SortedMap<String, PackageInfo> sorted = new TreeMap<String, PackageInfo>(); in makePackageHDF()
671 PackageInfo pkg = cl.containingPackage(); in makePackageHDF()
683 PackageInfo pkg = sorted.get(s); in makePackageHDF()
830 PackageInfo pkg = cl.containingPackage(); in writeLists()
846 if (o instanceof PackageInfo) { in writeLists()
847 PackageInfo pkg = (PackageInfo) o; in writeLists()
1027 private static PackageInfo[] sVisiblePackages = null;
1029 public static PackageInfo[] choosePackages() { in choosePackages()
1035 SortedMap<String, PackageInfo> sorted = new TreeMap<String, PackageInfo>(); in choosePackages()
1037 PackageInfo pkg = cl.containingPackage(); in choosePackages()
[all …]
DDoclavaDiff.java113 PackageInfo packageInfo = new PackageInfo(pkg); in generateHdf()
196 Map<String, PackageInfo> packages = site.apiInfo().getPackages(); in knownPackages()
213 PackageInfo packageInfo = site.apiInfo().getPackages().get(pkg); in knownClassesForPackage()
DFederationTagger.java95 PackageInfo packageSpec in applyFederation()
148 private void federatePackage(FederatedSite source, PackageInfo pkg) { in federatePackage()
DSinceTagger.java107 PackageInfo packageSpec in applyVersionsFromSpec()
131 private void versionPackage(String versionName, PackageInfo doc) { in versionPackage()
DInfoBuilder.java42 private PackageInfo mPackage;
392 private PackageInfo buildPackage(ParseTree tree) { in buildPackage()
1691 PackageInfo pkg = Caches.obtainPackage(packageName); in resolveQualifiedName()
1961 private static HashMap<String, PackageInfo> mPackages
1962 = new HashMap<String, PackageInfo>();
1968 public static PackageInfo obtainPackage(String packageName) { in obtainPackage()
1969 PackageInfo pkg = mPackages.get(packageName); in obtainPackage()
1972 pkg = new PackageInfo(packageName); in obtainPackage()
2035 public PackageInfo getPackage() { in getPackage()
DConverter.java109 public static PackageInfo obtainPackage(String packageName) { in obtainPackage()
431 private static PackageInfo obtainPackage(PackageDoc o) { in obtainPackage()
432 return (PackageInfo) mPackagees.obtain(o); in obtainPackage()
439 return new PackageInfo(p, p.name(), Converter.convertSourcePosition(p.position()));
DTodoFile.java157 PackageInfo pkg = cl.containingPackage(); in writeTodoFile()
DClassInfo.java113 ArrayList<FieldInfo> enumConstants, PackageInfo containingPackage, in init()
218 public PackageInfo containingPackage() { in containingPackage()
573 void setPackage(PackageInfo pkg) { in setPackage()
577 public void setContainingPackage(PackageInfo pkg) { in setContainingPackage()
1211 PackageInfo pkg = cl.containingPackage(); in isHiddenImpl()
1470 private PackageInfo mContainingPackage;
DLinkReference.java47 public PackageInfo packageInfo;
/external/chromium_org/base/android/java/src/org/chromium/base/
DBuildInfo.java9 import android.content.pm.PackageInfo;
67 PackageInfo pi = pm.getPackageInfo(context.getPackageName(), 0); in getPackageVersionCode()
84 PackageInfo pi = pm.getPackageInfo(context.getPackageName(), 0); in getPackageVersionName()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/content/pm/
DStubPackageManager.java10 import android.content.pm.PackageInfo;
25 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo()
89 @Override public List<PackageInfo> getInstalledPackages(int flags) { in getInstalledPackages()
259 @Override public List<PackageInfo> getPreferredPackages(int flags) { in getPreferredPackages()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
DRobolectricPackageManagerTest.java16 import android.content.pm.PackageInfo;
50 PackageInfo packageInfo = new PackageInfo(); in getApplicationInfo__OtherApplication()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DPepperPluginManager.java10 import android.content.pm.PackageInfo;
113 PackageInfo pkgInfo; in getPlugins()
DResourceExtractor.java9 import android.content.pm.PackageInfo;
188 PackageInfo pi = null; in checkPakTimestamp()
/external/droiddriver/samples/testapp/src/com/google/android/apps/common/testing/ui/testapp/
DMainActivity.java6 import android.content.pm.PackageInfo;
52 PackageInfo info = null; in getData()
/external/chromium_org/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille/selfbraille/
DSelfBrailleClient.java23 import android.content.pm.PackageInfo;
160 PackageInfo pi; in verifyPackage()