/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | DumpsysPackageReceiverTest.java | 39 PackageInfo pkg = p.getPackages().get("com.android.soundrecorder"); in testParse_classic() local 40 assertEquals("com.android.soundrecorder", pkg.getPackageName()); in testParse_classic() 41 assertTrue(pkg.isSystemApp()); in testParse_classic() 42 assertFalse(pkg.isUpdatedSystemApp()); in testParse_classic() 43 assertEquals("3.1.36 (88)", pkg.getVersionName()); in testParse_classic() 59 PackageInfo pkg = p.getPackages().get("com.android.soundrecorder"); in testParse_future() local 60 assertNotNull("failed to parse package data", pkg); in testParse_future() 61 assertEquals("com.android.soundrecorder", pkg.getPackageName()); in testParse_future() 62 assertTrue(pkg.isSystemApp()); in testParse_future() 63 assertFalse(pkg.isUpdatedSystemApp()); in testParse_future() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiPackageItem.kt | 57 val pkg = codebase.findPackage(parentPackage) in containingPackage() constant 58 if (pkg != null) { in containingPackage() 59 containingPackageField = pkg in containingPackage() 60 return pkg in containingPackage() 140 val pkg = PsiPackageItem( in create() constant 147 pkg.modifiers.setOwner(pkg) in create() 148 return pkg in create() 152 val pkg = PsiPackageItem( in create() constant 159 pkg.modifiers.setOwner(pkg) in create() 160 return pkg in create()
|
D | PsiCompilationUnit.kt | 42 val pkg = file.packageStatement ?: return null in getHeaderComments() constant 43 return file.text.substring(0, pkg.startOffset) in getHeaderComments()
|
D | PsiItem.kt | 273 val pkg = packageName() ?: return false in samePackage() constant 274 return cls.qualifiedName == "$pkg.${cls.name}" in samePackage()
|
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/ |
D | ApiPredicate.kt | 79 var pkg: PackageItem? = clazz.containingPackage() in test() variable 80 while (pkg != null) { in test() 81 hidden = hidden or pkg.hidden in test() 82 docOnly = docOnly or pkg.docOnly in test() 83 removed = removed or pkg.removed in test() 84 pkg = pkg.containingPackage() in test()
|
D | ApiFile.java | 96 TextPackageItem pkg; in parsePackage() local 101 pkg = new TextPackageItem(api, name, tokenizer.pos()); in parsePackage() 111 parseClass(api, pkg, tokenizer, token); in parsePackage() 114 api.addPackage(pkg); in parsePackage() 117 …private static void parseClass(TextCodebase api, TextPackageItem pkg, Tokenizer tokenizer, String … in parseClass() argument 208 qualifiedName = qualifiedName(pkg.name(), name); in parseClass() 224 cl.setContainingPackage(pkg); in parseClass() 279 pkg.addClass(cl); in parseClass() 826 private static String qualifiedName(String pkg, String className) { in qualifiedName() argument 827 return pkg + "." + className; in qualifiedName()
|
/tools/tradefederation/contrib/src/com/android/tradefed/targetprep/ |
D | AddWhitelistPackage.java | 42 for (String pkg : mPackages) { in setUp() 44 String.format("dumpsys deviceidle whitelist +%s", pkg)); in setUp() 53 for (String pkg : mPackages) { in tearDown() 55 String.format("dumpsys deviceidle whitelist -%s", pkg)); in tearDown()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | PackageDocs.kt | 20 fun getDocs(pkg: PackageItem): String? = packageDocs[pkg.qualifiedName()]
|
D | Codebase.kt | 131 … getPackages().packages.forEach { pkg -> pkg.allClasses().forEach { cls -> cls.tag = false } } in <lambda>() method
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/visitors/ |
D | ItemVisitor.kt | 53 open fun visitPackage(pkg: PackageItem) {} in visitPackage() 66 open fun afterVisitPackage(pkg: PackageItem) {} in afterVisitPackage()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | AppSetup.java | 219 for (String pkg : pkgs) { in uninstallAllApps() 220 String result = device.uninstallPackage(pkg); in uninstallAllApps() 222 CLog.w("Uninstall of %s on %s failed: %s", pkg, device.getSerialNumber(), in uninstallAllApps()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/ |
D | BaseHostJUnit4Test.java | 652 public final boolean isPackageInstalled(String pkg) throws DeviceNotAvailableException { in isPackageInstalled() argument 653 return isPackageInstalled(getDevice(), pkg); in isPackageInstalled() 663 public final boolean isPackageInstalled(ITestDevice device, String pkg) in isPackageInstalled() argument 666 if (pkg.equals(installedPackage)) { in isPackageInstalled()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextClassItem.kt | 237 val pkg = codebase.findPackage(pkgPath) as? TextPackageItem ?: TextPackageItem( in simpleName() constant 242 textClassItem.setContainingPackage(pkg) in simpleName()
|
/tools/tradefederation/core/prod-tests/src/com/android/monkey/ |
D | MonkeyBase.java | 534 for (String pkg : setSubtract(mPackages, mExcludePackages)) { in buildMonkeyCommand() 536 cmdList.add(pkg); in buildMonkeyCommand()
|
/tools/repohooks/tools/ |
D | pylintrc | 48 extension-pkg-whitelist=
|