Home
last modified time | relevance | path

Searched refs:TEST_PACKAGE_NAME (Results 1 – 15 of 15) 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/content/src/android/content/pm/cts/
DPreapprovalDetailsTest.java45 private static final String TEST_PACKAGE_NAME = "com.foo"; field in PreapprovalDetailsTest
54 .setPackageName(TEST_PACKAGE_NAME) in testPreapprovalDetails()
59 assertThat(details.getPackageName()).isEqualTo(TEST_PACKAGE_NAME); in testPreapprovalDetails()
80 .setPackageName(TEST_PACKAGE_NAME) in testPreapprovalDetails_parcelWithNullAppIcon()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DDeprecatedAbiTest.java56 private static final String TEST_PACKAGE_NAME = "android.server.wm.deprecatedabi"; field in DeprecatedAbiTest
69 executeShellCommand("pm uninstall " + TEST_PACKAGE_NAME); in tearDown()
82 assumeTrue(isPackageInstalled(TEST_PACKAGE_NAME)); in testWarningDialog()
/cts/tests/tests/security/src/android/security/cts/
DWorkSourceTest.java37 private static final String TEST_PACKAGE_NAME = "android.security.cts"; field in WorkSourceTest
42 WorkSource ws = new WorkSource(TEST_PID, TEST_PACKAGE_NAME); in testWorkChainParceling()
/cts/hostsidetests/packagemanager/installedloadingprogess/deviceside/src/com/android/tests/loadingprogress/device/
DLoadingProgressTest.java56 private static final String TEST_PACKAGE_NAME = "com.android.tests.loadingprogress.app"; field in LoadingProgressTest
103 TEST_PACKAGE_NAME, /* flags= */ 0, mUser); in testReadAllBytes()
123 mLauncherApps.getActivityList(TEST_PACKAGE_NAME, mUser); in checkLoadingProgress()
127 TEST_PACKAGE_NAME)) { in checkLoadingProgress()
/cts/hostsidetests/adpf/src/android/adpf/cts/
DADPFHintSessionHostJUnit4Test.java59 private static final String TEST_PACKAGE_NAME = "android.adpf.hintsession.app"; field in ADPFHintSessionHostJUnit4Test
156 runDeviceTests(TEST_PACKAGE_NAME, TEST_PACKAGE_NAME + "." + ADPF_DEVICE_TEST_CLASS); in testAdpfHintSession()
158 TEST_PACKAGE_NAME + "." + ADPF_DEVICE_TEST_CLASS, "testAdpfHintSession" in testAdpfHintSession()
/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/mediaprovider/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/BroadcastsTest/src/android/app/cts/broadcasts/
DBroadcastReceiverTest.java73 private static final String TEST_PACKAGE_NAME = "com.android.cts.broadcasts"; field in BroadcastReceiverTest
80 private static final ComponentName DISABLEABLE_RECEIVER = new ComponentName(TEST_PACKAGE_NAME,
229 .setPackage(TEST_PACKAGE_NAME).addFlags(Intent.FLAG_RECEIVER_FOREGROUND), in testManifestReceiverPackage()
351 .setPackage(TEST_PACKAGE_NAME).addFlags(Intent.FLAG_RECEIVER_FOREGROUND), in testAbortBroadcast()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DLockTaskUiTestActivity.java78 private static final String TEST_PACKAGE_NAME = "com.android.cts.verifier"; field in LockTaskUiTestActivity
260 mDpm.setLockTaskPackages(ADMIN_RECEIVER, new String[] {TEST_PACKAGE_NAME}); in startLockTaskMode()
/cts/tests/tests/packageinstaller/test-apps/criticaluserjourneyinstaller/src/android/packageinstaller/cts/cujinstaller/
DMainActivity.java59 private static final String TEST_PACKAGE_NAME = field in MainActivity
144 intent.setPackage(TEST_PACKAGE_NAME); in sendInstallerResponseBroadcast()
/cts/tests/tests/content/src/android/content/cts/
DContentProviderTest.java79 private static final String TEST_PACKAGE_NAME = "android.content.cts"; field in ContentProviderTest
98 "://" + TEST_PACKAGE_NAME + "/" + R.raw.testimage); in testOpenAssetFile()
DContentResolverTest.java116 private static final String TEST_PACKAGE_NAME = "android.content.cts"; field in ContentResolverTest
665 "://" + TEST_PACKAGE_NAME + "/" + R.drawable.pass); in testOpenInputStream()
693 "://" + TEST_PACKAGE_NAME + "/" + R.raw.testimage); in testOpenOutputStream()
726 "://" + TEST_PACKAGE_NAME + "/" + R.raw.testimage); in testOpenAssetFileDescriptor()
862 "://" + TEST_PACKAGE_NAME + "/" + R.raw.testimage); in testOpenFileDescriptor()
/cts/tests/tests/provider/src/android/provider/cts/settings/
DSettings_ConfigTest.java83 private static final String TEST_PACKAGE_NAME = "android.content.cts"; field in Settings_ConfigTest
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DUidAtomTests.java79 private static final String TEST_PACKAGE_NAME = "com.android.server.cts.device.statsd"; field in UidAtomTests