Home
last modified time | relevance | path

Searched refs:TEST_PACKAGE_NAME (Results 1 – 11 of 11) sorted by relevance

/cts/hostsidetests/packagemanager/preferredactivity/src/com/android/cts/packagemanager/preferredactivity/host/
DPreferredActivityTests.java45 private static final String TEST_PACKAGE_NAME = field in PreferredActivityTests
48 TEST_PACKAGE_NAME + ".PreferredActivityDeviceTests";
61 assertTrue(getDevice().isPackageInstalled(TEST_PACKAGE_NAME)); in setUp()
67 getDevice().uninstallPackage(TEST_PACKAGE_NAME); in tearDown()
68 assertFalse(getDevice().isPackageInstalled(TEST_PACKAGE_NAME)); in tearDown()
76 TEST_PACKAGE_NAME, TEST_CLASS_NAME, "testHasPreferredActivities", in testAddPreferredActivity()
79 TEST_PACKAGE_NAME, TEST_CLASS_NAME, "testAddOnePreferredActivity")); in testAddPreferredActivity()
81 TEST_PACKAGE_NAME, TEST_CLASS_NAME, "testHasPreferredActivities", in testAddPreferredActivity()
87 TEST_PACKAGE_NAME, TEST_CLASS_NAME, "testHasPreferredActivities", in testAddPreferredActivity()
96 TEST_PACKAGE_NAME, TEST_CLASS_NAME, "testHasPreferredActivities", in testAddDuplicatedPreferredActivity()
[all …]
/cts/tests/tests/permission3/UsePermissionApp22CalendarOnly/src/android/permission3/cts/usepermission/
DCheckPermissionService.kt28 private const val TEST_PACKAGE_NAME = "android.permission3.cts" constant
35 TEST_PACKAGE_NAME, CONTEXT_INCLUDE_CODE or CONTEXT_IGNORE_SECURITY in onHandleIntent()
/cts/hostsidetests/packagemanager/installedloadingprogess/deviceside/src/com/android/tests/loadingprogress/device/
DLoadingProgressTest.java55 private static final String TEST_PACKAGE_NAME = "com.android.tests.loadingprogress.app"; field in LoadingProgressTest
92 TEST_PACKAGE_NAME, /* flags= */ 0, mUser); in testReadAllBytes()
112 mLauncherApps.getActivityList(TEST_PACKAGE_NAME, mUser); in checkLoadingProgress()
116 TEST_PACKAGE_NAME)) { in checkLoadingProgress()
/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStore_MetadataKeysTest.java52 private static final String TEST_PACKAGE_NAME = "android.provider.apps.cts.gallerytestapp"; field in MediaStore_MetadataKeysTest
74 if (!TEST_PACKAGE_NAME.equals(componentInfo.packageName)) { in getTestActivityMetadata()
/cts/tests/app/src/android/app/cts/
DBadProviderTest.java45 private static final String TEST_PACKAGE_NAME = "com.android.cts.stubbad"; field in BadProviderTest
64 TEST_PACKAGE_NAME, 0); in testExitOnCreate()
/cts/tests/tests/content/src/android/content/cts/
DBroadcastReceiverTest.java53 private static final String TEST_PACKAGE_NAME = "android.content.cts"; field in BroadcastReceiverTest
65 super(TEST_PACKAGE_NAME, MockActivity.class); in BroadcastReceiverTest()
200 .setPackage(TEST_PACKAGE_NAME).addFlags(Intent.FLAG_RECEIVER_FOREGROUND), in testManifestReceiverPackage()
318 .setPackage(TEST_PACKAGE_NAME).addFlags(Intent.FLAG_RECEIVER_FOREGROUND), in testAbortBroadcast()
DContentProviderTest.java68 private static final String TEST_PACKAGE_NAME = "android.content.cts"; field in ContentProviderTest
89 "://" + TEST_PACKAGE_NAME + "/" + R.raw.testimage); in testOpenAssetFile()
DContentResolverTest.java102 private static final String TEST_PACKAGE_NAME = "android.content.cts"; field in ContentResolverTest
643 "://" + TEST_PACKAGE_NAME + "/" + R.drawable.pass); in testOpenInputStream()
671 "://" + TEST_PACKAGE_NAME + "/" + R.raw.testimage); in testOpenOutputStream()
704 "://" + TEST_PACKAGE_NAME + "/" + R.raw.testimage); in testOpenAssetFileDescriptor()
840 "://" + TEST_PACKAGE_NAME + "/" + R.raw.testimage); in testOpenFileDescriptor()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DLockTaskUiTestActivity.java77 private static final String TEST_PACKAGE_NAME = "com.android.cts.verifier"; field in LockTaskUiTestActivity
250 mDpm.setLockTaskPackages(ADMIN_RECEIVER, new String[] {TEST_PACKAGE_NAME}); in startLockTaskMode()
/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java1140 final String TEST_PACKAGE_NAME = "test.package.name"; in testCrossProfileCalendar_failIfNotProfileOwner() local
1147 Collections.singleton(TEST_PACKAGE_NAME)); in testCrossProfileCalendar_failIfNotProfileOwner()
1165 final String TEST_PACKAGE_NAME = "package1"; in testSetUserControlDisabledPackages_failIfNotDeviceOwner() local
1167 packages.add(TEST_PACKAGE_NAME); in testSetUserControlDisabledPackages_failIfNotDeviceOwner()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DUidAtomTests.java75 private static final String TEST_PACKAGE_NAME = "com.android.server.cts.device.statsd"; field in UidAtomTests