Home
last modified time | relevance | path

Searched refs:packages (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DPackageTest.java25 private static final List<Package> packages = Arrays.asList(Package.getPackages()); field in PackageTest
41 assertTrue(packages.contains(getClass().getPackage())); in testGetPackages()
/libcore/libart/src/main/java/java/lang/
DClassLoader.java92 private Map<String, Package> packages = new HashMap<String, Package>(); field in ClassLoader
595 synchronized (packages) { in getPackage()
596 return packages.get(name); in getPackage()
606 synchronized (packages) { in getPackages()
607 Collection<Package> col = packages.values(); in getPackages()
644 synchronized (packages) { in definePackage()
645 if (packages.containsKey(name)) { in definePackage()
652 packages.put(name, newPackage); in definePackage()