Home
last modified time | relevance | path

Searched refs:PKG (Results 1 – 6 of 6) sorted by relevance

/cts/hostsidetests/appsecurity/src/com/android/cts/appsecurity/
DAdoptableHostTest.java24 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 …]
DPermissionsHostTest.java32 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 …]
DSplitTests.java39 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/
DSplitAppTest.java66 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/
DRingtoneManagerTest.java37 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()
DMediaPlayerFlakyNetworkTest.java49 private static final String PKG = "com.android.cts.media"; field in MediaPlayerFlakyNetworkTest
110 if (MediaUtils.hasCodecsForPath(mContext, "android.resource://" + PKG + "/" + video)) { in getSupportedVideos()