Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DAdoptableHostTest.java24 import static android.appsecurity.cts.SplitTests.PKG;
63 getDevice().uninstallPackage(PKG); in setUp()
70 getDevice().uninstallPackage(PKG); in tearDown()
83 runDeviceTests(PKG, CLASS, "testDataInternal"); in testApps()
84 runDeviceTests(PKG, CLASS, "testDataWrite"); in testApps()
85 runDeviceTests(PKG, CLASS, "testDataRead"); in testApps()
86 runDeviceTests(PKG, CLASS, "testNative"); in testApps()
94 "pm move-package " + PKG + " " + vol.uuid)); in testApps()
95 runDeviceTests(PKG, CLASS, "testDataNotInternal"); in testApps()
96 runDeviceTests(PKG, CLASS, "testDataRead"); in testApps()
[all …]
DPermissionsHostTest.java32 private static final String PKG = "com.android.cts.usepermission"; field in PermissionsHostTest
58 getDevice().uninstallPackage(PKG); in setUp()
65 getDevice().uninstallPackage(PKG); in tearDown()
73 runDeviceTests(PKG, "com.android.cts.usepermission.UsePermissionTest23", in testFail()
85 runDeviceTests(PKG, "com.android.cts.usepermission.UsePermissionTest23", in testKill()
96 runDeviceTests(PKG, "com.android.cts.usepermission.UsePermissionTest22", in testCompatDefault22()
105 runDeviceTests(PKG, "com.android.cts.usepermission.UsePermissionTest22", in testCompatRevoked22()
110 runDeviceTests(PKG, "com.android.cts.usepermission.UsePermissionTest22", in testCompatRevoked22()
118 runDeviceTests(PKG, "com.android.cts.usepermission.UsePermissionTest22", in testNoRuntimePrompt22()
125 runDeviceTests(PKG, "com.android.cts.usepermission.UsePermissionTest23", in testDefault23()
[all …]
DSplitTests.java43 static final String PKG = "com.android.cts.splitapp"; field in SplitTests
109 getDevice().uninstallPackage(PKG); in setUp()
116 getDevice().uninstallPackage(PKG); in tearDown()
122 runDeviceTests(PKG, CLASS, "testSingleBase"); in testSingleBase()
127 runDeviceTests(PKG, CLASS, "testDensitySingle"); in testDensitySingle()
133 runDeviceTests(PKG, CLASS, "testDensityAll"); in testDensityAll()
142 runDeviceTests(PKG, CLASS, "testDensityBest1"); in testDensityBest()
145 new InstallMultiple().inheritFrom(PKG).addApk(APK_xxhdpi).run(); in testDensityBest()
146 runDeviceTests(PKG, CLASS, "testDensityBest2"); in testDensityBest()
155 runDeviceTests(PKG, CLASS, "testApi"); in testApi()
[all …]
DUsesLibraryHostTest.java32 private static final String PKG = "com.android.cts.useslibrary"; field in UsesLibraryHostTest
57 getDevice().uninstallPackage(PKG); in setUp()
64 getDevice().uninstallPackage(PKG); in tearDown()
70 runDeviceTests(PKG, ".UsesLibraryTest", "testUsesLibrary"); in testUsesLibrary()
76 runDeviceTests(PKG, ".UsesLibraryTest", "testMissingLibrary"); in testMissingLibrary()
82 runDeviceTests(PKG, ".UsesLibraryTest", "testDuplicateLibrary"); in testDuplicateLibrary()
DDirectBootHostTest.java38 private static final String PKG = "com.android.cts.encryptionapp"; field in DirectBootHostTest
70 getDevice().uninstallPackage(PKG); in setUp()
78 getDevice().uninstallPackage(PKG); in tearDown()
143 runDeviceTests(PKG, CLASS, "testSetUp", users); in doDirectBootTest()
158 runDeviceTests(PKG, CLASS, "testVerifyUnlockedAndDismiss", users); in doDirectBootTest()
160 runDeviceTests(PKG, CLASS, "testVerifyLockedAndDismiss", users); in doDirectBootTest()
166 runDeviceTests(PKG, CLASS, "testTearDown", users); in doDirectBootTest()
168 getDevice().uninstallPackage(PKG); in doDirectBootTest()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DSplitAppTest.java69 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/
DRingtoneManagerTest.java37 private static final String PKG = "android.media.cts"; field in RingtoneManagerTest
49 super(PKG, RingtonePickerActivity.class); in RingtoneManagerTest()
158 Uri uri = Uri.parse("android.resource://" + PKG + "/" + R.raw.john_cage); in testStopPreviousRingtone()
DMediaPlayerFlakyNetworkTest.java47 private static final String PKG = "android.media.cts"; field in MediaPlayerFlakyNetworkTest
101 if (MediaUtils.hasCodecsForPath(mContext, "android.resource://" + PKG + "/" + video)) { in getSupportedVideos()