Home
last modified time | relevance | path

Searched refs:PKG_A (Results 1 – 4 of 4) sorted by relevance

/cts/tests/appsearch/src/com/android/cts/appsearch/app/
DGlobalSearchSessionPlatformCtsTest.java76 private static final String PKG_A = "com.android.cts.appsearch.helper.a"; field in GlobalSearchSessionPlatformCtsTest
143 clearData(PKG_A); in cleanup()
158 assertPackageCannotAccess(PKG_A); in testNoPackageAccess_default()
180 assertPackageCannotAccess(PKG_A); in testNoPackageAccess_wrongPackageName()
191 new PackageIdentifier(PKG_A, new byte[] {10})) in testNoPackageAccess_wrongCertificate()
200 assertPackageCannotAccess(PKG_A); in testNoPackageAccess_wrongCertificate()
211 new PackageIdentifier(PKG_A, PKG_A_CERT_SHA256)) in testAllowPackageAccess()
220 assertPackageCanAccess(EMAIL_DOCUMENT, PKG_A); in testAllowPackageAccess()
232 new PackageIdentifier(PKG_A, PKG_A_CERT_SHA256)) in testAllowMultiplePackageAccess()
245 assertPackageCanAccess(EMAIL_DOCUMENT, PKG_A); in testAllowMultiplePackageAccess()
[all …]
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DStorageHostTest.java44 private static final String PKG_A = "com.android.cts.storageapp_a"; field in StorageHostTest
73 getDevice().uninstallPackage(PKG_A); in tearDown()
85 runDeviceTests(PKG_A, CLASS, "testAllocate", user); in testVerifyAppStats()
95 runDeviceTests(PKG_A, CLASS, "testVerifySpaceManual", user); in testVerifyAppStats()
96 runDeviceTests(PKG_A, CLASS, "testVerifySpaceApi", user); in testVerifyAppStats()
103 runDeviceTests(PKG_A, CLASS, "testVerifyQuotaApi", user); in testVerifyAppQuota()
110 runDeviceTests(PKG_A, CLASS, "testVerifyAllocateApi", user); in testVerifyAppAllocate()
131 runDeviceTests(PKG_A, CLASS, "testAllocate", user); in testVerifyStatsMultiple()
132 runDeviceTests(PKG_A, CLASS, "testAllocate", user); in testVerifyStatsMultiple()
213 Utils.runDeviceTestsAsCurrentUser(getDevice(), PKG_A, CLASS, "testTweakComponent"); in testFullDisk() local
[all …]
/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/
DStorageStatsTest.java26 import static com.android.cts.storageapp.Utils.PKG_A;
146 final ApplicationInfo a = pm.getApplicationInfo(PKG_A, 0); in testVerifyStatsMultiple()
273 final ApplicationInfo a = pm.getApplicationInfo(PKG_A, 0); in testVerifyCategory()
298 assertMostlyEquals(0, getCacheBytes(PKG_A, user)); in testCacheClearing()
302 final long targetA = doAllocateProvider(PKG_A, 0.5, 1262304000); in testCacheClearing()
325 assertMostlyEquals(targetA, getCacheBytes(PKG_A, user)); in testCacheClearing()
338 assertMostlyEquals(targetA, getCacheBytes(PKG_A, user)); in testCacheClearing()
353 assertMostlyEquals(targetA / 2, getCacheBytes(PKG_A, user), 2 * MB_IN_BYTES); in testCacheClearing()
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
DUtils.java43 public static final String PKG_A = "com.android.cts.storageapp_a"; field in Utils