/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | AdoptableHostTest.java | 24 import static android.appsecurity.cts.SplitTests.PKG; 57 getDevice().uninstallPackage(PKG); in setUp() 69 getDevice().uninstallPackage(PKG); in tearDown() 101 runDeviceTests(PKG, CLASS, "testDataInternal"); in testApps() 102 runDeviceTests(PKG, CLASS, "testDataWrite"); in testApps() 103 runDeviceTests(PKG, CLASS, "testDataRead"); in testApps() 104 runDeviceTests(PKG, CLASS, "testNative"); in testApps() 112 "pm move-package " + PKG + " " + vol.uuid)); in testApps() 113 runDeviceTests(PKG, CLASS, "testDataNotInternal"); in testApps() 114 runDeviceTests(PKG, CLASS, "testDataRead"); in testApps() [all …]
|
D | IsolatedSplitsTests.java | 30 private static final String PKG = "com.android.cts.isolatedsplitapp"; field in IsolatedSplitsTests 31 private static final String TEST_CLASS = PKG + ".SplitAppTest"; 51 getDevice().uninstallPackage(PKG); in setUp() 56 getDevice().uninstallPackage(PKG); in tearDown() 73 Utils.runDeviceTestsAsCurrentUser(getDevice(), PKG, TEST_CLASS, "shouldLoadDefault"); in testInstallBase() local 90 Utils.runDeviceTestsAsCurrentUser(getDevice(), PKG, TEST_CLASS, "shouldLoadPolishLocale"); in testInstallBaseAndConfigSplit() local 118 Utils.runDeviceTestsAsCurrentUser(getDevice(), PKG, TEST_CLASS, "shouldLoadDefault"); in testInstallOneFeatureSplit() local 119 Utils.runDeviceTestsAsCurrentUser(getDevice(), PKG, TEST_CLASS, in testInstallOneFeatureSplit() local 121 Utils.runDeviceTestsAsCurrentUser(getDevice(), PKG, TEST_CLASS, in testInstallOneFeatureSplit() local 140 Utils.runDeviceTestsAsCurrentUser(getDevice(), PKG, TEST_CLASS, "shouldLoadPolishLocale"); in testInstallOneFeatureSplitAndConfigSplits() local [all …]
|
D | MajorVersionTest.java | 35 private static final String PKG = "com.android.cts.majorversion"; field in MajorVersionTest 44 getDevice().uninstallPackage(PKG); in setUp() 49 getDevice().uninstallPackage(PKG); in tearDown() 64 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); in testInstallMinorVersion() 80 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); in testInstallMajorVersion() 96 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); in testInstallUpdateAcrossMinorMajorVersion() 99 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); in testInstallUpdateAcrossMinorMajorVersion() 102 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); in testInstallUpdateAcrossMinorMajorVersion() 105 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); in testInstallUpdateAcrossMinorMajorVersion() 121 assertTrue(getDevice().getInstalledPackageNames().contains(PKG)); in testInstallDowngradeAcrossMajorMinorVersion() [all …]
|
D | SplitTests.java | 45 static final String PKG = "com.android.cts.splitapp"; field in SplitTests 46 static final String CLASS = PKG + ".SplitAppTest"; 94 getDevice().uninstallPackage(PKG); in setUp() 100 getDevice().uninstallPackage(PKG); in tearDown() 116 runDeviceTests(PKG, CLASS, "testSingleBase"); in testSingleBase() 131 runDeviceTests(PKG, CLASS, "testDensitySingle"); in testDensitySingle() 147 runDeviceTests(PKG, CLASS, "testDensityAll"); in testDensityAll() 166 runDeviceTests(PKG, CLASS, "testDensityBest1"); in testDensityBest() 169 new InstallMultiple(instant).inheritFrom(PKG).addApk(APK_xxhdpi).run(); in testDensityBest() 170 runDeviceTests(PKG, CLASS, "testDensityBest2"); in testDensityBest() [all …]
|
D | AuthBoundKeyTest.java | 36 static final String PKG = "com.android.cts.authboundkeyapp"; field in AuthBoundKeyTest 37 static final String CLASS = PKG + ".AuthBoundKeyAppTest"; 43 getDevice().uninstallPackage(PKG); in setUp() 48 getDevice().uninstallPackage(PKG); in tearDown() 58 runDeviceTests(PKG, CLASS, "testGenerateAuthBoundKey"); in useInvalidatedAuthBoundKey() 60 runDeviceTests(PKG, CLASS, "testUseKey"); in useInvalidatedAuthBoundKey() 68 runDeviceTests(PKG, CLASS, "testUseKey"); in useInvalidatedAuthBoundKey()
|
D | DirectBootHostTest.java | 46 private static final String PKG = "com.android.cts.encryptionapp"; field in DirectBootHostTest 47 private static final String CLASS = PKG + ".EncryptionAppTest"; 68 getDevice().uninstallPackage(PKG); in setUp() 74 getDevice().uninstallPackage(PKG); in tearDown() 159 runDeviceTestsAsCurrentUser(PKG, CLASS, "testSetUp"); in doDirectBootTest() 179 runDeviceTestsAsCurrentUser(PKG, CLASS, "testVerifyUnlockedAndDismiss"); in doDirectBootTest() 181 runDeviceTestsAsCurrentUser(PKG, CLASS, "testVerifyLockedAndDismiss"); in doDirectBootTest() 188 runDeviceTestsAsCurrentUser(PKG, CLASS, "testTearDown"); in doDirectBootTest() 190 getDevice().uninstallPackage(PKG); in doDirectBootTest()
|
/cts/hostsidetests/appsecurity/test-apps/V3SigningSchemeRotation/src/android/appsecurity/cts/v3rotationtests/ |
D | V3RotationTest.java | 34 private static final String PKG = "android.appsecurity.cts.tinyapp"; field in V3RotationTest 105 PackageInfo pi = pm.getPackageInfo(PKG, PackageManager.GET_SIGNATURES); in testGetSignaturesShowsOld() 106 assertNotNull("Failed to get signatures in PackageInfo of " + PKG, pi.signatures); in testGetSignaturesShowsOld() 107 assertEquals("PackageInfo for " + PKG + "contains multiple entries", in testGetSignaturesShowsOld() 109 assertEquals("signature mismatch for " + PKG + ", expected old signing certificate", in testGetSignaturesShowsOld() 117 PackageInfo pi = pm.getPackageInfo(PKG, PackageManager.GET_SIGNING_CERTIFICATES); in testGetSigningCertificatesShowsAll() 118 assertNotNull("Failed to get signatures in PackageInfo of " + PKG, in testGetSigningCertificatesShowsAll() 120 assertFalse("Multiple signing certificates found in signing certificate history for " + PKG, in testGetSigningCertificatesShowsAll() 124 assertEquals("PackageInfo for " + PKG + "contains the wrong number of signing certificat " in testGetSigningCertificatesShowsAll() 138 assertTrue("Old signing certificate not found for " + PKG + " expected " in testGetSigningCertificatesShowsAll() [all …]
|
/cts/hostsidetests/classloaders/splits/src/android/classloaders/cts/ |
D | ClassloaderSplitsTest.java | 30 private static final String PKG = "com.android.cts.classloadersplitapp"; field in ClassloaderSplitsTest 31 private static final String TEST_CLASS = PKG + ".SplitAppTest"; 51 getDevice().uninstallPackage(PKG); in setUp() 56 getDevice().uninstallPackage(PKG); in tearDown() 71 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testBaseClassLoader"); in testBaseClassLoader() local 86 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testBaseClassLoader"); in testFeatureAClassLoader() local 87 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testFeatureAClassLoader"); in testFeatureAClassLoader() local 103 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testBaseClassLoader"); in testFeatureBClassLoader() local 104 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testFeatureAClassLoader"); in testFeatureBClassLoader() local 105 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testFeatureBClassLoader"); in testFeatureBClassLoader() local [all …]
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | RestrictedPermissionsTest.java | 106 private static final String PKG = "android.permission2.cts.restrictedpermissionuser"; field in RestrictedPermissionsTest 497 assertThat(isGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isFalse(); in cannotGrantStorageTargetingSdk22NotWhitelisted() 501 isPermissionGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isTrue(); in cannotGrantStorageTargetingSdk22NotWhitelisted() 513 assertThat(isGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isFalse(); in cannotGrantStorageTargetingSdk22OptInNotWhitelisted() 517 isPermissionGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isTrue(); in cannotGrantStorageTargetingSdk22OptInNotWhitelisted() 529 isGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isTrue()); in canGrantStorageTargetingSdk22Whitelisted() 540 isGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isTrue()); in canGrantStorageTargetingSdk22OptInWhitelisted() 551 isGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isFalse()); in cannotGrantStorageTargetingSdk28NotWhitelisted() 562 isGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isFalse()); in cannotGrantStorageTargetingSdk28OptInNotWhitelisted() 573 isGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isTrue()); in canGrantStorageTargetingSdk28Whitelisted() [all …]
|
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/ |
D | UsesLibraryHostTest.java | 37 private static final String PKG = "com.android.cts.useslibrary"; field in UsesLibraryHostTest 46 getDevice().uninstallPackage(PKG); in setUp() 51 getDevice().uninstallPackage(PKG); in tearDown() 61 Utils.runDeviceTests(getDevice(), PKG, ".UsesLibraryTest", "testUsesLibrary"); in testUsesLibrary() local 71 Utils.runDeviceTests(getDevice(), PKG, ".UsesLibraryTest", "testMissingLibrary"); in testMissingLibrary() local 81 Utils.runDeviceTests(getDevice(), PKG, ".UsesLibraryTest", "testDuplicateLibrary"); in testDuplicateLibrary() local
|
/cts/tests/app/src/android/app/cts/ |
D | StatusBarNotificationTest.java | 28 private static final String PKG = "foo.bar"; field in StatusBarNotificationTest 43 mSbn = new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, mNotification, in setUp() 72 assertEquals(PKG, mSbn.getPackageName()); in testGetPackageName() 100 new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, notification, in testIsClearable_notClearableOngoingEvent() 121 new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, notification, in testIsGroup_notifGroup() 133 new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, notification, in testIsGroup_sortKey() 149 new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, notification, in testIsOngoing_ongoingEvent() 163 assertEquals(PKG, clone.getPackageName()); in testClone()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | PasswordComplexityTest.java | 13 private static final String PKG = "com.android.cts.passwordcomplexity"; field in PasswordComplexityTest 38 getDevice().uninstallPackage(PKG); in tearDown() 51 () -> runDeviceTestsAsUser(PKG, CLS, mCurrentUserId), in testGetPasswordComplexity() 54 .setStrings(PKG).build()); in testGetPasswordComplexity()
|
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/ |
D | TestNotificationListener.java | 28 public static final String PKG = "android.app.notification.legacy29.cts"; field in TestNotificationListener 53 mTestPackages.add(PKG); in onCreate() 79 if (!PKG.equals(sbn.getPackageName())) { in onNotificationPosted()
|
D | NotificationAssistantServiceTest.java | 113 StatusBarNotification sbn = getFirstNotificationFromPackage(TestNotificationListener.PKG); in testOnNotificationEnqueued() 127 sbn = getFirstNotificationFromPackage(TestNotificationListener.PKG); in testOnNotificationEnqueued() 147 StatusBarNotification sbn = getFirstNotificationFromPackage(TestNotificationListener.PKG); in testAdjustNotification_userSentimentKey() 181 StatusBarNotification sbn = getFirstNotificationFromPackage(TestNotificationListener.PKG); in testAdjustNotification_importanceKey() 219 StatusBarNotification sbn = getFirstNotificationFromPackage(TestNotificationListener.PKG); in testAdjustNotification_smartActionKey() 265 StatusBarNotification sbn = getFirstNotificationFromPackage(TestNotificationListener.PKG); in testAdjustNotification_smartReplyKey() 311 TestNotificationListener.PKG); in testAdjustNotification_importanceKey_notAllowed() 441 private StatusBarNotification getFirstNotificationFromPackage(String PKG) in getFirstNotificationFromPackage() argument 446 while (!sbn.getPackageName().equals(PKG)) { in getFirstNotificationFromPackage()
|
D | TestNotificationAssistant.java | 30 public static final String PKG = "android.app.notification.legacy29.cts"; field in TestNotificationAssistant
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | SplitAppTest.java | 68 private static final String PKG = "com.android.cts.splitapp"; field in SplitAppTest 113 intent.setPackage(PKG); in testSingleBase() 121 intent.setPackage(PKG); in testSingleBase() 192 intent.setPackage(PKG); in testApi() 239 "com.android.cts.splitapp.feature:feature_string", "string", PKG))); in testFeatureBase() 241 "com.android.cts.splitapp.feature:feature_integer", "integer", PKG))); in testFeatureBase() 260 intent.setPackage(PKG); in testFeatureBase() 268 intent.setPackage(PKG); in testFeatureBase() 275 intent.setPackage(PKG); in testFeatureBase() 380 "com.android.cts.splitapp.feature:feature_integer", "integer", PKG))); in testFeatureApi() [all …]
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | SecondaryNotificationListener.java | 26 public static final String PKG = "android.app.notification.legacy.cts"; field in SecondaryNotificationListener 50 mTestPackages.add(PKG); in onCreate()
|
D | TestNotificationListener.java | 27 public static final String PKG = "android.app.notification.legacy.cts"; field in TestNotificationListener 51 mTestPackages.add(PKG); in onCreate()
|
/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/ |
D | TestNotificationListener.java | 27 public static final String PKG = "android.app.notification.legacy.cts"; field in TestNotificationListener 51 mTestPackages.add(PKG); in onCreate()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | TestNotificationListener.java | 27 public static final String PKG = "android.app.stubs"; field in TestNotificationListener 51 mTestPackages.add(PKG); in onCreate()
|
D | TestTileService.java | 29 public static final String PKG = "android.app.stubs"; field in TestTileService
|
/cts/tests/tests/media/src/android/media/cts/ |
D | RingtoneManagerTest.java | 44 private static final String PKG = "android.media.cts"; field in RingtoneManagerTest 56 super(PKG, RingtonePickerActivity.class); in RingtoneManagerTest() 191 Uri uri = Uri.parse("android.resource://" + PKG + "/" + R.raw.john_cage); in testStopPreviousRingtone()
|
D | MediaPlayerFlakyNetworkTest.java | 52 private static final String PKG = "android.media.cts"; field in MediaPlayerFlakyNetworkTest 106 if (MediaUtils.hasCodecsForPath(mContext, "android.resource://" + PKG + "/" + video)) { in getSupportedVideos()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | RingerModeActivity.java | 68 private final static String PKG = "com.android.cts.verifier"; field in RingerModeActivity
|
/cts/tests/tests/media/assets/hls_variant/1676816/ |
D | 09.ts | 1948 �20Z��6�=ee�%A�;>�$m=��;���~����/���`7��FT��x�6��6W�S�2�F]�j�<t��u�I"4 PKG����I"�Rt���…
|