/external/icu/icu4c/source/samples/uresb/ |
Makefile | 26 PKG=$(TARGET)
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
AuthBoundKeyTest.java | 34 static final String PKG = "com.android.cts.authboundkeyapp"; 35 static final String CLASS = PKG + ".AuthBoundKeyAppTest"; 41 getDevice().uninstallPackage(PKG); 46 getDevice().uninstallPackage(PKG); 54 runDeviceTests(PKG, CLASS, "testGenerateAuthBoundKey"); 56 runDeviceTests(PKG, CLASS, "testUseKey"); 64 runDeviceTests(PKG, CLASS, "testUseKey");
|
MajorVersionTest.java | 35 private static final String PKG = "com.android.cts.majorversion"; 44 getDevice().uninstallPackage(PKG); 49 getDevice().uninstallPackage(PKG); 64 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); 80 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); 96 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); 99 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); 102 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); 105 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); 121 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); [all...] |
DirectBootHostTest.java | 46 private static final String PKG = "com.android.cts.encryptionapp"; 47 private static final String CLASS = PKG + ".EncryptionAppTest"; 68 getDevice().uninstallPackage(PKG); 74 getDevice().uninstallPackage(PKG); 159 runDeviceTestsAsCurrentUser(PKG, CLASS, "testSetUp"); 179 runDeviceTestsAsCurrentUser(PKG, CLASS, "testVerifyUnlockedAndDismiss"); 181 runDeviceTestsAsCurrentUser(PKG, CLASS, "testVerifyLockedAndDismiss"); 188 runDeviceTestsAsCurrentUser(PKG, CLASS, "testTearDown"); 190 getDevice().uninstallPackage(PKG);
|
IsolatedSplitsTests.java | 29 private static final String PKG = "com.android.cts.isolatedsplitapp"; 30 private static final String TEST_CLASS = PKG + ".SplitAppTest"; 50 getDevice().uninstallPackage(PKG); 55 getDevice().uninstallPackage(PKG); 70 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadDefault"); 85 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadPolishLocale"); 109 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadDefault"); 110 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadFeatureADefault"); 111 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadFeatureAReceivers"); 127 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadPolishLocale") [all...] |
SplitTests.java | 45 static final String PKG = "com.android.cts.splitapp"; 46 static final String CLASS = PKG + ".SplitAppTest"; 94 getDevice().uninstallPackage(PKG); 100 getDevice().uninstallPackage(PKG); 116 runDeviceTests(PKG, CLASS, "testSingleBase"); 131 runDeviceTests(PKG, CLASS, "testDensitySingle"); 147 runDeviceTests(PKG, CLASS, "testDensityAll"); 166 runDeviceTests(PKG, CLASS, "testDensityBest1"); 169 new InstallMultiple(instant).inheritFrom(PKG).addApk(APK_xxhdpi).run(); 170 runDeviceTests(PKG, CLASS, "testDensityBest2") [all...] |
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/ |
UsesLibraryHostTest.java | 37 private static final String PKG = "com.android.cts.useslibrary"; 46 getDevice().uninstallPackage(PKG); 51 getDevice().uninstallPackage(PKG); 61 Utils.runDeviceTests(getDevice(), PKG, ".UsesLibraryTest", "testUsesLibrary"); 71 Utils.runDeviceTests(getDevice(), PKG, ".UsesLibraryTest", "testMissingLibrary"); 81 Utils.runDeviceTests(getDevice(), PKG, ".UsesLibraryTest", "testDuplicateLibrary");
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
PasswordComplexityTest.java | 13 private static final String PKG = "com.android.cts.passwordcomplexity"; 38 getDevice().uninstallPackage(PKG); 51 () -> runDeviceTestsAsUser(PKG, CLS, mCurrentUserId), 54 .setStrings(PKG).build());
|
/cts/hostsidetests/classloaders/splits/src/android/classloaders/cts/ |
ClassloaderSplitsTest.java | 30 private static final String PKG = "com.android.cts.classloadersplitapp"; 31 private static final String TEST_CLASS = PKG + ".SplitAppTest"; 51 getDevice().uninstallPackage(PKG); 56 getDevice().uninstallPackage(PKG); 71 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testBaseClassLoader"); 86 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testBaseClassLoader"); 87 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testFeatureAClassLoader"); 103 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testBaseClassLoader"); 104 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testFeatureAClassLoader"); 105 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testFeatureBClassLoader") [all...] |
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/ |
TestNotificationAssistant.java | 30 public static final String PKG = "android.app.notification.legacy29.cts";
|
TestNotificationListener.java | 28 public static final String PKG = "android.app.notification.legacy29.cts"; 53 mTestPackages.add(PKG); 79 if (!PKG.equals(sbn.getPackageName())) {
|
/cts/hostsidetests/appsecurity/test-apps/V3SigningSchemeRotation/src/android/appsecurity/cts/v3rotationtests/ |
V3RotationTest.java | 34 private static final String PKG = "android.appsecurity.cts.tinyapp"; 105 PackageInfo pi = pm.getPackageInfo(PKG, PackageManager.GET_SIGNATURES); 106 assertNotNull("Failed to get signatures in PackageInfo of " + PKG, pi.signatures); 107 assertEquals("PackageInfo for " + PKG + "contains multiple entries", 109 assertEquals("signature mismatch for " + PKG + ", expected old signing certificate", 117 PackageInfo pi = pm.getPackageInfo(PKG, PackageManager.GET_SIGNING_CERTIFICATES); 118 assertNotNull("Failed to get signatures in PackageInfo of " + PKG, 120 assertFalse("Multiple signing certificates found in signing certificate history for " + PKG, 124 assertEquals("PackageInfo for " + PKG + "contains the wrong number of signing certificat " 138 assertTrue("Old signing certificate not found for " + PKG + " expected [all...] |
/cts/tests/app/app/src/android/app/stubs/ |
TestNotificationListener.java | 27 public static final String PKG = "android.app.stubs"; 51 mTestPackages.add(PKG);
|
TestTileService.java | 29 public static final String PKG = "android.app.stubs";
|
/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/ |
TestNotificationListener.java | 27 public static final String PKG = "android.app.notification.legacy.cts"; 51 mTestPackages.add(PKG);
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
SecondaryNotificationListener.java | 26 public static final String PKG = "android.app.notification.legacy.cts"; 50 mTestPackages.add(PKG);
|
TestNotificationListener.java | 27 public static final String PKG = "android.app.notification.legacy.cts"; 51 mTestPackages.add(PKG);
|
/cts/tests/app/src/android/app/cts/ |
StatusBarNotificationTest.java | 28 private static final String PKG = "foo.bar"; 43 mSbn = new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, mNotification, 72 assertEquals(PKG, mSbn.getPackageName()); 100 new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, notification, 121 new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, notification, 133 new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, notification, 149 new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, notification, 163 assertEquals(PKG, clone.getPackageName());
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaPlayerFlakyNetworkTest.java | 51 private static final String PKG = "android.media.cts"; 105 if (MediaUtils.hasCodecsForPath(mContext, "android.resource://" + PKG + "/" + video)) {
|
RingtoneManagerTest.java | 44 private static final String PKG = "android.media.cts"; 56 super(PKG, RingtonePickerActivity.class); 191 Uri uri = Uri.parse("android.resource://" + PKG + "/" + R.raw.john_cage);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
RingerModeActivity.java | 68 private final static String PKG = "com.android.cts.verifier"; [all...] |
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
SplitAppTest.java | 68 private static final String PKG = "com.android.cts.splitapp"; 113 intent.setPackage(PKG); 121 intent.setPackage(PKG); 192 intent.setPackage(PKG); 239 "com.android.cts.splitapp.feature:feature_string", "string", PKG))); 241 "com.android.cts.splitapp.feature:feature_integer", "integer", PKG))); 260 intent.setPackage(PKG); 268 intent.setPackage(PKG); 275 intent.setPackage(PKG); 380 "com.android.cts.splitapp.feature:feature_integer", "integer", PKG))); [all...] |
/cts/tests/tests/permission2/src/android/permission2/cts/ |
RestrictedPermissionsTest.java | 106 private static final String PKG = "android.permission2.cts.restrictedpermissionuser"; 493 assertThat(isGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isFalse(); 497 isPermissionGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isTrue(); 509 assertThat(isGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isFalse(); 513 isPermissionGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isTrue(); 525 isGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isTrue()); 536 isGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isTrue()); 547 isGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isFalse()); 558 isGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isFalse()); 569 isGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isTrue()) [all...] |