/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | AdoptableHostTest.java | 24 import static android.appsecurity.cts.SplitTests.PKG; 62 getDevice().uninstallPackage(PKG); in setUp() 69 getDevice().uninstallPackage(PKG); in tearDown() 82 runDeviceTests(PKG, CLASS, "testDataInternal"); in testApps() 83 runDeviceTests(PKG, CLASS, "testDataWrite"); in testApps() 84 runDeviceTests(PKG, CLASS, "testDataRead"); in testApps() 85 runDeviceTests(PKG, CLASS, "testNative"); in testApps() 93 "pm move-package " + PKG + " " + vol.uuid)); in testApps() 94 runDeviceTests(PKG, CLASS, "testDataNotInternal"); in testApps() 95 runDeviceTests(PKG, CLASS, "testDataRead"); in testApps() [all …]
|
D | IsolatedSplitsTests.java | 23 private static final String PKG = "com.android.cts.isolatedsplitapp"; field in IsolatedSplitsTests 24 private static final String TEST_CLASS = PKG + ".SplitAppTest"; 48 getDevice().uninstallPackage(PKG); in setUp() 54 getDevice().uninstallPackage(PKG); in tearDown() 59 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadDefault"); in testInstallBase() local 64 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadPolishLocale"); in testInstallBaseAndConfigSplit() local 73 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadDefault"); in testInstallOneFeatureSplit() local 74 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadFeatureADefault"); in testInstallOneFeatureSplit() local 75 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadFeatureAReceivers"); in testInstallOneFeatureSplit() local 81 Utils.runDeviceTests(getDevice(), PKG, TEST_CLASS, "shouldLoadPolishLocale"); in testInstallOneFeatureSplitAndConfigSplits() local [all …]
|
D | SplitTests.java | 36 static final String PKG = "com.android.cts.splitapp"; field in SplitTests 103 getDevice().uninstallPackage(PKG); in setUp() 110 getDevice().uninstallPackage(PKG); in tearDown() 116 runDeviceTests(PKG, CLASS, "testSingleBase"); in testSingleBase() 121 runDeviceTests(PKG, CLASS, "testDensitySingle"); in testDensitySingle() 127 runDeviceTests(PKG, CLASS, "testDensityAll"); in testDensityAll() 136 runDeviceTests(PKG, CLASS, "testDensityBest1"); in testDensityBest() 139 new InstallMultiple().inheritFrom(PKG).addApk(APK_xxhdpi).run(); in testDensityBest() 140 runDeviceTests(PKG, CLASS, "testDensityBest2"); in testDensityBest() 149 runDeviceTests(PKG, CLASS, "testApi"); in testApi() [all …]
|
D | UsesLibraryHostTest.java | 32 private static final String PKG = "com.android.cts.useslibrary"; field in UsesLibraryHostTest 58 getDevice().uninstallPackage(PKG); in setUp() 65 getDevice().uninstallPackage(PKG); in tearDown() 70 runDeviceTests(PKG, ".UsesLibraryTest", "testUsesLibrary"); in testUsesLibrary() 75 runDeviceTests(PKG, ".UsesLibraryTest", "testMissingLibrary"); in testMissingLibrary() 80 runDeviceTests(PKG, ".UsesLibraryTest", "testDuplicateLibrary"); in testDuplicateLibrary()
|
D | DirectBootHostTest.java | 38 private static final String PKG = "com.android.cts.encryptionapp"; field in DirectBootHostTest 79 getDevice().uninstallPackage(PKG); in setUp() 87 getDevice().uninstallPackage(PKG); in tearDown() 166 runDeviceTests(PKG, CLASS, "testSetUp", mUsers); in doDirectBootTest() 186 runDeviceTests(PKG, CLASS, "testVerifyUnlockedAndDismiss", mUsers); in doDirectBootTest() 188 runDeviceTests(PKG, CLASS, "testVerifyLockedAndDismiss", mUsers); in doDirectBootTest() 195 runDeviceTests(PKG, CLASS, "testTearDown", mUsers); in doDirectBootTest() 197 getDevice().uninstallPackage(PKG); in doDirectBootTest()
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | SplitAppTest.java | 69 private static final String PKG = "com.android.cts.splitapp"; field in SplitAppTest 114 intent.setPackage(PKG); in testSingleBase() 122 intent.setPackage(PKG); in testSingleBase() 193 intent.setPackage(PKG); in testApi() 239 assertEquals("red", r.getString(r.getIdentifier("feature_string", "string", PKG))); in testFeatureBase() 240 assertEquals(123, r.getInteger(r.getIdentifier("feature_integer", "integer", PKG))); in testFeatureBase() 259 intent.setPackage(PKG); in testFeatureBase() 267 intent.setPackage(PKG); in testFeatureBase() 274 intent.setPackage(PKG); in testFeatureBase() 363 assertEquals(321, r.getInteger(r.getIdentifier("feature_integer", "integer", PKG))); in testFeatureApi() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | RingtoneManagerTest.java | 37 private static final String PKG = "android.media.cts"; field in RingtoneManagerTest 49 super(PKG, RingtonePickerActivity.class); in RingtoneManagerTest() 168 Uri uri = Uri.parse("android.resource://" + PKG + "/" + R.raw.john_cage); in testStopPreviousRingtone()
|
D | MediaPlayerFlakyNetworkTest.java | 48 private static final String PKG = "android.media.cts"; field in MediaPlayerFlakyNetworkTest 102 if (MediaUtils.hasCodecsForPath(mContext, "android.resource://" + PKG + "/" + video)) { in getSupportedVideos()
|