Home
last modified time | relevance | path

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

12

/external/chromium-trace/catapult/devil/devil/android/constants/
Dchrome.py7 PackageInfo = collections.namedtuple( variable
12 'chrome_document': PackageInfo(
18 'chrome': PackageInfo(
24 'chrome_beta': PackageInfo(
30 'chrome_stable': PackageInfo(
36 'chrome_dev': PackageInfo(
42 'chrome_canary': PackageInfo(
48 'chrome_work': PackageInfo(
54 'chromium': PackageInfo(
/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;
45 private PackageInfo mCurrentPackage;
75 new PackageInfo(attributes.getValue("name"), SourcePositionInfo.fromXml(attributes in startElement()
DApiFile.java24 import com.google.doclava.PackageInfo;
94 PackageInfo pkg; in parsePackage()
99 pkg = new PackageInfo(name, tokenizer.pos()); in parsePackage()
115 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/v1/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() argument
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.java172 HashMap<PackageInfo, List<ClassInfo>> packages = new HashMap<PackageInfo, List<ClassInfo>>(); in writeStubsAndApi()
206 HashMap<PackageInfo, List<ClassInfo>> allPackageClassMap = in writeStubsAndApi()
207 new HashMap<PackageInfo, List<ClassInfo>>(); in writeStubsAndApi()
416 PackageInfo pkg = cl.containingPackage(); in javaFileName()
433 && cl.containingPackage().name().equals(PackageInfo.DEFAULT_PACKAGE)) { in writeClassFile()
455 PackageInfo pkg = cl.containingPackage(); in writeClassFile()
962 static void writeXML(PrintStream xmlWriter, HashMap<PackageInfo, List<ClassInfo>> allClasses, in writeXML() argument
965 Set<PackageInfo> allClassKeys = allClasses.keySet(); in writeXML()
966 PackageInfo[] allPackages = allClassKeys.toArray(new PackageInfo[allClassKeys.size()]); in writeXML()
967 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()
80 PackageInfo pkg = cl.containingPackage(); in writeYamlTree()
106 if (o instanceof PackageInfo) { in makeYamlHDF()
107 PackageInfo pkg = (PackageInfo) o; in makeYamlHDF()
147 private static Node makePackageNode(PackageInfo pkg) { in makePackageNode()
DDoclava.java762 SortedMap<String, PackageInfo> sorted = new TreeMap<String, PackageInfo>(); in makePackageHDF()
764 PackageInfo pkg = cl.containingPackage(); in makePackageHDF()
775 for (Map.Entry<String, PackageInfo> entry : sorted.entrySet()) { in makePackageHDF()
777 PackageInfo pkg = entry.getValue(); in makePackageHDF()
933 PackageInfo pkg = cl.containingPackage(); in writeLists()
959 if (o instanceof PackageInfo) { in writeLists()
960 PackageInfo pkg = (PackageInfo) o; in writeLists()
1142 private static PackageInfo[] sVisiblePackages = null;
1144 public static PackageInfo[] choosePackages() { in choosePackages()
1150 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.java43 private PackageInfo mPackage;
393 private PackageInfo buildPackage(ParseTree tree) { in buildPackage()
1693 PackageInfo pkg = Caches.obtainPackage(packageName); in resolveQualifiedName()
1970 private static HashMap<String, PackageInfo> mPackages
1971 = new HashMap<String, PackageInfo>();
1977 public static PackageInfo obtainPackage(String packageName) { in obtainPackage()
1978 PackageInfo pkg = mPackages.get(packageName); in obtainPackage()
1981 pkg = new PackageInfo(packageName); in obtainPackage()
2044 public PackageInfo getPackage() { in getPackage()
DConverter.java162 public static PackageInfo obtainPackage(String packageName) { in obtainPackage()
510 private static PackageInfo obtainPackage(PackageDoc o) { in obtainPackage()
511 return (PackageInfo) mPackagees.obtain(o); in obtainPackage()
518 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()
/external/sl4a/Common/src/com/googlecode/android_scripting/
DVersion.java20 import android.content.pm.PackageInfo;
31 PackageInfo info = context.getPackageManager().getPackageInfo(context.getPackageName(), 0); in getVersion()
/external/robolectric/v1/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/v1/src/test/java/com/xtremelabs/robolectric/res/
DRobolectricPackageManagerTest.java16 import android.content.pm.PackageInfo;
50 PackageInfo packageInfo = new PackageInfo(); in getApplicationInfo__OtherApplication()
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/
DInterpreterConfiguration.java24 import android.content.pm.PackageInfo;
151 PackageInfo packInfo; in buildInterpreter()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DAndroidFacade.java30 import android.content.pm.PackageInfo;
894 PackageInfo pInfo = null; in getPackageVersionCode()
909 PackageInfo packageInfo = null; in getPackageVersion()

12