/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | ApiCoverage.java | 30 public void addPackage(ApiPackage pkg) { in addPackage() argument 31 mPackages.put(pkg.getName(), pkg); in addPackage() local 45 ApiPackage pkg = entry.getValue(); in resolveSuperClasses() local 46 pkg.resolveSuperClasses(mPackages); in resolveSuperClasses()
|
D | XmlReport.java | 59 for (ApiPackage pkg : packages) { in printXmlReport() 60 if (packageFilter.accept(pkg.getName()) && pkg.getTotalMethods() > 0) { in printXmlReport() 61 int pkgTotal = pkg.getTotalMethods(); in printXmlReport() 63 int pkgTotalCovered = pkg.getNumCoveredMethods(); in printXmlReport() 65 out.println("<package name=\"" + pkg.getName() in printXmlReport() 69 + Math.round(pkg.getCoveragePercentage()) in printXmlReport() 72 List<ApiClass> classes = new ArrayList<ApiClass>(pkg.getClasses()); in printXmlReport()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | PackageDeviceInfo.java | 39 for (PackageInfo pkg : pm.getInstalledPackages(0)) { in collectDeviceInfo() 41 addResult(NAME, pkg.packageName); in collectDeviceInfo() 42 addResult(VERSION_NAME, pkg.versionName); in collectDeviceInfo() 44 String dir = pkg.applicationInfo.sourceDir; in collectDeviceInfo()
|
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/ |
D | TestResultsTest.java | 67 TestPackageResult pkg = parser.getPackages().iterator().next(); in testParse_package() local 68 assertEquals("pkgName", pkg.getName()); in testParse_package() 69 assertEquals("appPkgName", pkg.getAppPackageName()); in testParse_package() 70 assertEquals("digValue", pkg.getDigest()); in testParse_package() 94 TestPackageResult pkg = parser.getPackages().iterator().next(); in testParse_test() local 95 TestSuite comSuite = pkg.getTestSuites().iterator().next(); in testParse_test()
|
/cts/tools/cts-reference-app-lib/src/android/cts/refapp/ |
D | ReferenceAppTestCase.java | 44 public ReferenceAppTestCase(String pkg, Class<T> activityClass, int maxStartupTimeMs) { in ReferenceAppTestCase() argument 45 super(pkg, activityClass); in ReferenceAppTestCase() 55 public ReferenceAppTestCase(String pkg, Class<T> activityClass) { in ReferenceAppTestCase() argument 56 this(pkg, activityClass, DEFAULT_MAX_STATUP_TIME_MS); in ReferenceAppTestCase()
|
/cts/hostsidetests/appsecurity/src/com/android/cts/appsecurity/ |
D | PermissionsHostTest.java | 131 private void grantPermission(String pkg, String permission) throws Exception { in grantPermission() argument 132 assertEmpty(getDevice().executeShellCommand("pm grant " + pkg + " " + permission)); in grantPermission() 135 private void revokePermission(String pkg, String permission) throws Exception { in revokePermission() argument 136 assertEmpty(getDevice().executeShellCommand("pm revoke " + pkg + " " + permission)); in revokePermission() 139 private void setAppOps(String pkg, String op, String mode) throws Exception { in setAppOps() argument 140 assertEmpty(getDevice().executeShellCommand("appops set " + pkg + " " + op + " " + mode)); in setAppOps()
|
/cts/ |
D | CtsBuild.mk | 32 $(foreach pkg,$(1),$(CTS_TESTCASES_OUT)/$(pkg).apk)
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
D | ManualPackageInstallTest.java | 36 .pkg("com.google.android.packageinstaller"); 40 .pkg("com.google.android.packageinstaller"); 44 .pkg("com.google.android.packageinstaller");
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
D | TestResults.java | 70 TestPackageResult pkg = new TestPackageResult(); in parse() local 71 pkg.parse(parser); in parse() 72 if (pkg.getId() != null) { in parse() 73 mPackageResults.put(pkg.getId(), pkg); in parse() local
|
D | PlanCreator.java | 122 for (TestPackageResult pkg : mResult.getPackages()) { in createDerivedPlan() 123 Collection<TestIdentifier> filteredTests = pkg.getTestsWithStatus(mResultFilter); in createDerivedPlan() 124 String pkgId = pkg.getId(); in createDerivedPlan()
|
/cts/suite/cts/deviceTests/jank2/src/android/cts/jank/ui/ |
D | CtsDeviceJankUi.java | 46 getUiDevice().wait(Until.hasObject(By.pkg(PACKAGE)), DEFAULT_ANIMATION_TIME); in setUp()
|
/cts/tests/leanbackjank/src/android/cts/leanbackjank/ |
D | CtsDeviceLeanback.java | 77 if (!getUiDevice().wait(Until.hasObject(By.pkg(APP_PACKAGE)), WAIT_TIMEOUT)) { in setUp()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | PermissionsTest.java | 66 .pkg("android"); 69 .pkg("android");
|
/cts/tests/signature/src/android/signature/cts/ |
D | JDiffClassDescription.java | 86 public JDiffClassDescription(String pkg, String className) { in JDiffClassDescription() argument 87 this(pkg, className, new ResultObserver() { in JDiffClassDescription() 103 public JDiffClassDescription(String pkg, String className, ResultObserver resultObserver) { in JDiffClassDescription() argument 104 mPackageName = pkg; in JDiffClassDescription()
|
D | SignatureTest.java | 274 String pkg) { in loadClassInfo() argument 276 JDiffClassDescription currentClass = new JDiffClassDescription(pkg, in loadClassInfo()
|