/cts/hostsidetests/appsecurity/src/com/android/cts/appsecurity/ |
D | AdoptableHostTest.java | 24 import static com.android.cts.appsecurity.SplitTests.PKG; 61 getDevice().uninstallPackage(PKG); in setUp() 68 getDevice().uninstallPackage(PKG); in tearDown() 81 runDeviceTests(PKG, CLASS, "testDataInternal"); in testApps() 82 runDeviceTests(PKG, CLASS, "testDataWrite"); in testApps() 83 runDeviceTests(PKG, CLASS, "testDataRead"); in testApps() 84 runDeviceTests(PKG, CLASS, "testNative"); in testApps() 91 … assertSuccess(getDevice().executeShellCommand("pm move-package " + PKG + " " + vol.uuid)); in testApps() 92 runDeviceTests(PKG, CLASS, "testDataNotInternal"); in testApps() 93 runDeviceTests(PKG, CLASS, "testDataRead"); in testApps() [all …]
|
D | PermissionsHostTest.java | 32 private static final String PKG = "com.android.cts.usepermission"; field in PermissionsHostTest 57 getDevice().uninstallPackage(PKG); in setUp() 64 getDevice().uninstallPackage(PKG); in tearDown() 71 runDeviceTests(PKG, ".UsePermissionTest", "testFail"); in testFail() 81 runDeviceTests(PKG, ".UsePermissionTest", "testKill"); in testKill() 89 runDeviceTests(PKG, ".UsePermissionTest", "testDefault"); in testDefault() 94 grantPermission(PKG, "android.permission.READ_EXTERNAL_STORAGE"); in testGranted() 95 grantPermission(PKG, "android.permission.WRITE_EXTERNAL_STORAGE"); in testGranted() 96 runDeviceTests(PKG, ".UsePermissionTest", "testGranted"); in testGranted() 101 runDeviceTests(PKG, ".UsePermissionTest", "testInteractiveGrant"); in testInteractiveGrant() [all …]
|
D | SplitTests.java | 39 static final String PKG = "com.android.cts.splitapp"; field in SplitTests 105 getDevice().uninstallPackage(PKG); in setUp() 112 getDevice().uninstallPackage(PKG); in tearDown() 117 runDeviceTests(PKG, CLASS, "testSingleBase"); in testSingleBase() 122 runDeviceTests(PKG, CLASS, "testDensitySingle"); in testDensitySingle() 128 runDeviceTests(PKG, CLASS, "testDensityAll"); in testDensityAll() 137 runDeviceTests(PKG, CLASS, "testDensityBest1"); in testDensityBest() 140 new InstallMultiple().inheritFrom(PKG).addApk(APK_xxhdpi).run(); in testDensityBest() 141 runDeviceTests(PKG, CLASS, "testDensityBest2"); in testDensityBest() 150 runDeviceTests(PKG, CLASS, "testApi"); in testApi() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | SplitAppTest.java | 66 private static final String PKG = "com.android.cts.splitapp"; field in SplitAppTest 111 intent.setPackage(PKG); in testSingleBase() 119 intent.setPackage(PKG); in testSingleBase() 190 intent.setPackage(PKG); in testApi() 236 assertEquals("red", r.getString(r.getIdentifier("feature_string", "string", PKG))); in testFeatureBase() 237 assertEquals(123, r.getInteger(r.getIdentifier("feature_integer", "integer", PKG))); in testFeatureBase() 256 intent.setPackage(PKG); in testFeatureBase() 264 intent.setPackage(PKG); in testFeatureBase() 271 intent.setPackage(PKG); in testFeatureBase() 316 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 = "com.android.cts.media"; field in RingtoneManagerTest 49 super(PKG, RingtonePickerActivity.class); in RingtoneManagerTest() 142 Uri uri = Uri.parse("android.resource://" + PKG + "/" + R.raw.john_cage); in testStopPreviousRingtone()
|
D | MediaPlayerFlakyNetworkTest.java | 49 private static final String PKG = "com.android.cts.media"; field in MediaPlayerFlakyNetworkTest 110 if (MediaUtils.hasCodecsForPath(mContext, "android.resource://" + PKG + "/" + video)) { in getSupportedVideos()
|