Home
last modified time | relevance | path

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

/external/doclava/src/com/google/doclava/apicheck/
DApiInfo.java21 import com.google.doclava.PackageInfo;
32 private HashMap<String, PackageInfo> mPackages
33 = new HashMap<String, PackageInfo>();
70 public boolean isConsistent(ApiInfo otherApi, List<PackageInfo> pkgInfoDiff) { in isConsistent()
83 public boolean isConsistent(ApiInfo otherApi, List<PackageInfo> pkgInfoDiff, in isConsistent()
87 for (PackageInfo pInfo : mPackages.values()) { in isConsistent()
105 PackageInfo info = new PackageInfo(pInfo.name(), pInfo.position()); in isConsistent()
118 for (PackageInfo pInfo : otherApi.mPackages.values()) { in isConsistent()
132 Collections.sort(pkgInfoDiff, PackageInfo.comparator); in isConsistent()
137 public HashMap<String, PackageInfo> getPackages() { in getPackages()
[all …]
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()
DApiCheck.java32 import com.google.doclava.PackageInfo;
314 List<PackageInfo> pkgInfoDiff = new ArrayList<>(); in newApi()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
DRobolectricPackageManager.java13 import android.content.pm.PackageInfo;
22 private Map<String, PackageInfo> packageList;
39 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo()
62 PackageInfo info; in getApplicationInfo()
71 public List<PackageInfo> getInstalledPackages(int flags) { in getInstalledPackages()
72 return new ArrayList<PackageInfo>(packageList.values()); in getInstalledPackages()
166 public void addPackage( PackageInfo packageInfo ) { in addPackage()
171 PackageInfo info = new PackageInfo(); in addPackage()
204 PackageInfo packageInfo = new PackageInfo(); in initializePackageInfo()
208 packageList = new HashMap<String, PackageInfo>(); in initializePackageInfo()
/external/deqp/framework/common/
DtcuTestPackage.hpp90 struct PackageInfo struct in tcu::TestPackageRegistry
92PackageInfo (std::string name_, TestPackageCreateFunc createFunc_) : name(name_), createFunc(creat… in PackageInfo() function
102 const std::vector<PackageInfo*>& getPackageInfos (void) const;
103 PackageInfo* getPackageInfoByName (const char* name) const;
113 std::vector<PackageInfo*> m_packageInfos;
DtcuTestPackage.cpp98 m_packageInfos.push_back(new PackageInfo(name, createFunc)); in registerPackage()
101 const std::vector<TestPackageRegistry::PackageInfo*>& TestPackageRegistry::getPackageInfos (void) c… in getPackageInfos()
106 TestPackageRegistry::PackageInfo* TestPackageRegistry::getPackageInfoByName (const char* packageNam… in getPackageInfoByName()
119 PackageInfo* info = getPackageInfoByName(name); in createPackage()
150 const vector<TestPackageRegistry::PackageInfo*>& packageInfos = packageRegistry->getPackageInfos(); in TestPackageRoot()
/external/doclava/src/com/google/doclava/
DStubs.java165 HashMap<PackageInfo, List<ClassInfo>> packages = new HashMap<PackageInfo, List<ClassInfo>>(); in writeStubsAndApi()
199 HashMap<PackageInfo, List<ClassInfo>> allPackageClassMap = in writeStubsAndApi()
200 new HashMap<PackageInfo, List<ClassInfo>>(); in writeStubsAndApi()
408 PackageInfo pkg = cl.containingPackage(); in javaFileName()
425 && cl.containingPackage().name().equals(PackageInfo.DEFAULT_PACKAGE)) { in writeClassFile()
447 PackageInfo pkg = cl.containingPackage(); in writeClassFile()
895 static void writeXML(PrintStream xmlWriter, HashMap<PackageInfo, List<ClassInfo>> allClasses, in writeXML() argument
898 Set<PackageInfo> allClassKeys = allClasses.keySet(); in writeXML()
899 PackageInfo[] allPackages = allClassKeys.toArray(new PackageInfo[allClassKeys.size()]); in writeXML()
900 Arrays.sort(allPackages, PackageInfo.comparator); 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
397 public boolean isConsistent(PackageInfo pInfo) { in isConsistent()
457 public boolean isConsistent(PackageInfo pInfo, List<ClassInfo> clsInfoDiff) { in isConsistent()
472 public boolean isConsistent(PackageInfo pInfo, List<ClassInfo> clsInfoDiff, 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.java708 SortedMap<String, PackageInfo> sorted = new TreeMap<String, PackageInfo>(); in makePackageHDF()
710 PackageInfo pkg = cl.containingPackage(); in makePackageHDF()
721 for (Map.Entry<String, PackageInfo> entry : sorted.entrySet()) { in makePackageHDF()
723 PackageInfo pkg = entry.getValue(); in makePackageHDF()
874 PackageInfo pkg = cl.containingPackage(); in writeLists()
890 if (o instanceof PackageInfo) { in writeLists()
891 PackageInfo pkg = (PackageInfo) o; in writeLists()
1072 private static PackageInfo[] sVisiblePackages = null;
1074 public static PackageInfo[] choosePackages() { in choosePackages()
1080 SortedMap<String, PackageInfo> sorted = new TreeMap<String, PackageInfo>(); 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.java162 public static PackageInfo obtainPackage(String packageName) { in obtainPackage()
494 private static PackageInfo obtainPackage(PackageDoc o) { in obtainPackage()
495 return (PackageInfo) mPackagees.obtain(o); in obtainPackage()
502 return new PackageInfo(p, p.name(), Converter.convertSourcePosition(p.position()));
DClassInfo.java144 ArrayList<FieldInfo> enumConstants, PackageInfo containingPackage, in init()
262 public PackageInfo containingPackage() { in containingPackage()
891 void setPackage(PackageInfo pkg) { in setPackage()
895 public void setContainingPackage(PackageInfo pkg) { in setContainingPackage()
1551 PackageInfo pkg = cl.containingPackage(); in isHiddenImpl()
1582 PackageInfo pkg = cl.containingPackage(); in isRemovedImpl()
1887 private PackageInfo mContainingPackage;
DTodoFile.java157 PackageInfo pkg = cl.containingPackage(); in writeTodoFile()
DLinkReference.java47 public PackageInfo packageInfo;
/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()
302 …@Override public List<PackageInfo> getPackagesHoldingPermissions(String[] permissions, int flags) { in getPackagesHoldingPermissions()
/external/glide/library/src/main/java/com/bumptech/glide/signature/
DApplicationVersionSignature.java4 import android.content.pm.PackageInfo;
44 PackageInfo pInfo = null; in obtainVersionSignature()
/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/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/chromium-trace/trace-viewer/tracing/test_data/
Dddms_calculator_start.trace877 0x71085cd8 android.content.pm.PackageInfo <init> (Landroid/os/Parcel;)V PackageInfo.java
878 0x71085d08 android.content.pm.PackageInfo <init> (Landroid/os/Parcel;Landroid/content/pm/PackageInf…
2108 …er$Stub$Proxy getPackageInfo (Ljava/lang/String;II)Landroid/content/pm/PackageInfo; IPackageManage…
2110 0x7113b928 android.content.pm.PackageInfo$1 createFromParcel (Landroid/os/Parcel;)Ljava/lang/Object…
2111 …7113b988 android.content.pm.PackageInfo$1 createFromParcel (Landroid/os/Parcel;)Landroid/content/p…