Home
last modified time | relevance | path

Searched refs:packageName (Results 1 – 8 of 8) sorted by relevance

/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DBackupUtils.java71 public void backupNowAndAssertSuccess(String packageName) throws IOException { in backupNowAndAssertSuccess() argument
72 assertBackupIsSuccessful(packageName, backupNow(packageName)); in backupNowAndAssertSuccess()
76 public void backupNowAndAssertSuccessForUser(String packageName, int userId) in backupNowAndAssertSuccessForUser() argument
78 assertBackupIsSuccessful(packageName, backupNowForUser(packageName, userId)); in backupNowAndAssertSuccessForUser()
81 public void backupNowAndAssertBackupNotAllowed(String packageName) throws IOException { in backupNowAndAssertBackupNotAllowed() argument
82 assertBackupNotAllowed(packageName, getBackupNowOutput(packageName)); in backupNowAndAssertBackupNotAllowed()
86 public void backupNowSync(String packageName) throws IOException { in backupNowSync() argument
87 StreamUtil.drainAndClose(new InputStreamReader(backupNow(packageName))); in backupNowSync()
90 public String getBackupNowOutput(String packageName) throws IOException { in getBackupNowOutput() argument
91 return StreamUtil.readInputStream(backupNow(packageName)); in getBackupNowOutput()
[all …]
DChecksumReporter.java291 String packageName, String suiteName, String caseName, String testName, String abi, in generateTestResultSignature() argument
305 .append(packageName) in generateTestResultSignature()
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DPackageUtil.java29 public static boolean exists(ITestDevice device, String packageName) in exists() argument
31 return device.getInstalledPackageNames().contains(packageName); in exists()
35 public static boolean isSystemApp(ITestDevice device, String packageName) in isSystemApp() argument
37 PackageInfo info = device.getAppPackageInfo(packageName); in isSystemApp()
42 public static String getVersionString(ITestDevice device, String packageName) in getVersionString() argument
44 PackageInfo info = device.getAppPackageInfo(packageName); in getVersionString()
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DApiCoverageExcludedEntity.java52 @Index @Getter @Setter private String packageName; field in ApiCoverageExcludedEntity
74 String packageName, in ApiCoverageExcludedEntity() argument
80 this.packageName = packageName; in ApiCoverageExcludedEntity()
106 return this.packageName in getObjectifyId()
DApiCoverageEntity.java153 public static List<ApiCoverageEntity> getByPackageNameList(String packageName) { in getByPackageNameList() argument
156 .filter("halPackageName", packageName) in getByPackageNameList()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DApkPackageNameCheck.java137 String packageName = res.getPackageName(); in testApkPackageNames() local
138 String put = packageNames.put(packageName, apkName); in testApkPackageNames()
139 packageListNames.add(packageName); in testApkPackageNames()
141 if (put != null && !apkName.equals(put) && !EXCEPTION_LIST.contains(packageName)) { in testApkPackageNames()
144 config.getName(), packageName, apkName, put)); in testApkPackageNames()
/test/vti/dashboard/src/test/java/com/android/vts/entity/
DApiCoverageExcludedEntityTest.java33 String packageName = "android.hardware.audio"; in saveTest() local
38 packageName, version, "IDevice", apiName, "not testable"); in saveTest()
41 assertEquals(apiCoverageExcludedEntity.getPackageName(), packageName); in saveTest() local
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/
DDeviceInteractionHelperInstallerTest.java96 private void mockApkPackage(File apk, String packageName) { in mockApkPackage() argument
98 when(mockParser.getPackageName()).thenReturn(packageName); in mockApkPackage()