/cts/tests/appsearch/src/com/android/cts/appsearch/app/ |
D | GlobalSearchSessionServiceCtsTestBase.java | 113 private static final String PKG_B = "com.android.cts.appsearch.helper.b"; field in GlobalSearchSessionServiceCtsTestBase 173 clearData(PKG_B, DB_NAME); in cleanup() 202 assertThat(mContext.getPackageManager().canPackageQuery(PKG_A, PKG_B)).isFalse(); in testPublicVisibility_accessibleTestPackage() 225 new PackageIdentifier(PKG_B, PKG_B_CERT_SHA256)) in testPublicVisibility_accessibleTestPackage() 274 assertThat(mContext.getPackageManager().canPackageQuery(PKG_A, PKG_B)).isFalse(); in testPublicVisibility_inaccessibleHelperApp() 278 bindToHelperService(PKG_B); in testPublicVisibility_inaccessibleHelperApp() 283 ctsPackageName, PackageUtil.getSelfPackageSha256Cert(mContext), PKG_B, in testPublicVisibility_inaccessibleHelperApp() 326 assertThat(mContext.getPackageManager().canPackageQuery(PKG_A, PKG_B)).isFalse(); in testPublicVisibility_invalidCertificate() 385 serviceConnection = bindToHelperService(PKG_B); in testPublicVisibility_invalidCertificate() 422 assertPackageCannotAccess(PKG_B); in testNoPackageAccess_default() [all …]
|
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/helper_a/ |
D | AppSearchDeviceTest.java | 74 private static final String PKG_B = "android.appsearch.app.helper_b"; field in AppSearchDeviceTest 102 new PackageIdentifier(PKG_B, PKG_B_CERT_SHA256)).build()).get(); in testPutDocuments() 127 new PackageIdentifier(PKG_B, PKG_B_CERT_SHA256)).build()).get(); in testPutDocumentsAsAnotherUser()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | StorageHostTest.java | 59 private static final String PKG_B = "com.android.cts.storageapp_b"; field in StorageHostTest 101 getDevice().uninstallPackage(PKG_B); in tearDown() 170 runDeviceTests(PKG_B, CLASS, "testAllocate", user); in testVerifyStatsMultiple() 242 Utils.runDeviceTestsAsCurrentUser(getDevice(), PKG_B, CLASS, "testFullDisk"); in testFullDisk() local
|
/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/ |
D | StorageStatsTest.java | 27 import static com.android.cts.storageapp.Utils.PKG_B; 211 final ApplicationInfo b = pm.getApplicationInfo(PKG_B, 0); in testVerifyStatsMultiple() 337 final ApplicationInfo b = pm.getApplicationInfo(PKG_B, 0); in testVerifyCategory() 384 assertMostlyEquals(0, getCacheBytes(PKG_B, user)); in testCacheClearing() 388 final long targetB = doAllocateProvider(PKG_B, 2.0, 1420070400); in testCacheClearing() 411 assertMostlyEquals(targetB, getCacheBytes(PKG_B, user)); in testCacheClearing() 424 assertMostlyEquals(targetB / 2, getCacheBytes(PKG_B, user), 2 * MB_IN_BYTES); in testCacheClearing() 439 assertMostlyEquals(targetA / 2, getCacheBytes(PKG_B, user), 2 * MB_IN_BYTES); in testCacheClearing()
|
/cts/tests/appsearch/src/com/android/cts/appsearch/functions/ |
D | AppFunctionManagerCtsTest.java | 87 private static final String PKG_B = "com.android.cts.appsearch.helper.b"; field in AppFunctionManagerCtsTest 194 new ExecuteAppFunctionRequest.Builder(PKG_B, "someMethod").build(); in executeAppFunction_otherExistingTargetPackage()
|
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/ |
D | StorageTest.java | 27 import static com.android.cts.storageapp.Utils.PKG_B; 233 ai = getContext().getPackageManager().getApplicationInfo(PKG_B, 0); in testVerifySpaceApi()
|
D | Utils.java | 44 public static final String PKG_B = "com.android.cts.storageapp_b"; field in Utils
|