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/
DGlobalSearchSessionServiceCtsTestBase.java99 private static final String PKG_A = "com.android.cts.appsearch.helper.a"; field in GlobalSearchSessionServiceCtsTestBase
172 clearData(PKG_A, DB_NAME); in cleanup()
201 assertThat(mContext.getPackageManager().canPackageQuery(PKG_A, ctsPackageName)).isTrue(); in testPublicVisibility_accessibleTestPackage()
202 assertThat(mContext.getPackageManager().canPackageQuery(PKG_A, PKG_B)).isFalse(); in testPublicVisibility_accessibleTestPackage()
250 bindToHelperService(PKG_A); in testPublicVisibility_accessibleTestPackage()
273 assertThat(mContext.getPackageManager().canPackageQuery(PKG_A, ctsPackageName)).isTrue(); in testPublicVisibility_inaccessibleHelperApp()
274 assertThat(mContext.getPackageManager().canPackageQuery(PKG_A, PKG_B)).isFalse(); in testPublicVisibility_inaccessibleHelperApp()
295 serviceConnection = bindToHelperService(PKG_A); in testPublicVisibility_inaccessibleHelperApp()
325 assertThat(mContext.getPackageManager().canPackageQuery(PKG_A, ctsPackageName)).isTrue(); in testPublicVisibility_invalidCertificate()
326 assertThat(mContext.getPackageManager().canPackageQuery(PKG_A, PKG_B)).isFalse(); in testPublicVisibility_invalidCertificate()
[all …]
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DStorageHostTest.java58 private static final String PKG_A = "com.android.cts.storageapp_a"; field in StorageHostTest
100 getDevice().uninstallPackage(PKG_A); in tearDown()
113 runDeviceTests(PKG_A, CLASS, "testAllocate", user); in testVerifyAppStats()
123 runDeviceTests(PKG_A, CLASS, "testVerifySpaceManual", user); in testVerifyAppStats()
124 runDeviceTests(PKG_A, CLASS, "testVerifySpaceApi", user); in testVerifyAppStats()
131 runDeviceTests(PKG_A, CLASS, "testVerifyQuotaApi", user); in testVerifyAppQuota()
138 runDeviceTests(PKG_A, CLASS, "testVerifyAllocateApi", user); in testVerifyAppAllocate()
167 runDeviceTests(PKG_A, CLASS, "testAllocate", user); in testVerifyStatsMultiple()
168 runDeviceTests(PKG_A, CLASS, "testAllocate", user); in testVerifyStatsMultiple()
254 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;
210 final ApplicationInfo a = pm.getApplicationInfo(PKG_A, 0); in testVerifyStatsMultiple()
336 final ApplicationInfo a = pm.getApplicationInfo(PKG_A, 0); in testVerifyCategory()
383 assertMostlyEquals(0, getCacheBytes(PKG_A, user)); in testCacheClearing()
387 final long targetA = doAllocateProvider(PKG_A, 0.5, 1262304000); in testCacheClearing()
410 assertMostlyEquals(targetA, getCacheBytes(PKG_A, user)); in testCacheClearing()
423 assertMostlyEquals(targetA, getCacheBytes(PKG_A, user)); in testCacheClearing()
438 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