Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/SessionInspector/src/com/android/cts/sessioninspector/
DSessionInspectorTest.java22 import static com.android.cts.sessioninspector.Constants.ACTIVITY_NAME;
73 new ComponentName(packageName, ACTIVITY_NAME))); in createSession()
81 new ComponentName(packageName, ACTIVITY_NAME))); in getSessionInfo()
87 sessionId).setComponent(new ComponentName(packageName, ACTIVITY_NAME))); in abandonSession()
DConstants.java31 public static final String ACTIVITY_NAME = PKG_BASE + "SessionInspectorActivity"; field in Constants
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageItemInfo_DisplayNameComparatorTest.java32 private static final String ACTIVITY_NAME = "android.content.pm.cts.TestPmActivity"; field in PackageItemInfo_DisplayNameComparatorTest
39 ComponentName componentName = new ComponentName(PACKAGE_NAME, ACTIVITY_NAME); in testDisplayNameComparator()
DPackageItemInfoTest.java49 private static final String ACTIVITY_NAME = "android.content.pm.cts.TestPmActivity"; field in PackageItemInfoTest
76 assertEquals(ACTIVITY_NAME, pkgItemInfo.loadLabel(getPackageManager())); in testLoadMethods()
125 ComponentName componentName = new ComponentName(PACKAGE_NAME, ACTIVITY_NAME); in getTestItemInfo()
DResolveInfoTest.java52 private static final String ACTIVITY_NAME = "android.content.pm.cts.TestPmActivity"; field in ResolveInfoTest
78 intent.setComponent(new ComponentName(PACKAGE_NAME, ACTIVITY_NAME)); in testResolveInfo()
DPackageItemInfoIconTest.java50 private static final String ACTIVITY_NAME = "android.content.pm.cts.TestPmActivity"; field in PackageItemInfoIconTest
154 ComponentName componentName = new ComponentName(PACKAGE_NAME, ACTIVITY_NAME); in getTestItemInfo()
DSaferIntentTest.java97 private static final String ACTIVITY_NAME = "android.content.pm.cts.TestPmActivity"; field in SaferIntentTest
326 comp = new ComponentName(RESOLUTION_TEST_PKG_NAME, ACTIVITY_NAME); in testQueryEnforceIntentFilterMatch()
344 comp = new ComponentName(RESOLUTION_TEST_PKG_NAME, ACTIVITY_NAME); in testQueryEnforceIntentFilterMatch()
390 comp = new ComponentName(mContext.getPackageName(), ACTIVITY_NAME); in testQueryEnforceIntentFilterMatch()
488 comp = new ComponentName(RESOLUTION_TEST_PKG_NAME, ACTIVITY_NAME); in testQueryLegacyIntentFilterMatch()
565 .setClassName(RESOLUTION_TEST_PKG_NAME, ACTIVITY_NAME) in testComponentMismatch()
DPackageInstallerArchiveTest.java117 private static final String ACTIVITY_NAME = PACKAGE_NAME + ".Launcher"; field in PackageInstallerArchiveTest
870 ComponentName archiveComponentName = new ComponentName(PACKAGE_NAME, ACTIVITY_NAME); in startUnarchival_appIsNotDefaultLauncher_permissionDeniedForUnarchival()
904 mUiDevice.wait(Until.hasObject(By.clazz(PACKAGE_NAME, ACTIVITY_NAME)), in launchTestActivity()
910 intent.setClassName(PACKAGE_NAME, ACTIVITY_NAME); in createTestActivityIntent()
DPackageManagerTest.java230 private static final String ACTIVITY_NAME = "android.content.pm.cts.TestPmActivity"; field in PackageManagerTest
332 PACKAGE_NAME, ACTIVITY_NAME);
390 checkActivityInfoName(ACTIVITY_NAME, listWithDiff); in testQuery()
394 new ComponentName(PACKAGE_NAME, ACTIVITY_NAME), null, activityIntent, in testQuery()
403 checkActivityInfoName(ACTIVITY_NAME, intentActivities); in testQuery()
557 ComponentName activityName = new ComponentName(PACKAGE_NAME, ACTIVITY_NAME); in testGetInfo()
591 assertEquals(ACTIVITY_NAME, mPackageManager.getActivityInfo(activityName, in testGetInfo()
705 ComponentName[] componentName = {new ComponentName(PACKAGE_NAME, ACTIVITY_NAME)}; in testAddPreferredActivity()
750 ComponentName componentName = new ComponentName(PACKAGE_NAME, ACTIVITY_NAME); in testAccessEnabledSetting()
772 .getActivityIcon(new ComponentName(PACKAGE_NAME, ACTIVITY_NAME))); in testGetIcon()
[all …]
/cts/hostsidetests/packagemanager/preferredactivity/apps/testapp/src/com/android/cts/packagemanager/preferredactivity/app/
DPreferredActivityDeviceTests.java42 private static final String ACTIVITY_NAME = PACKAGE_NAME + ".MainActivity"; field in PreferredActivityDeviceTests
51 final ComponentName[] componentName = {new ComponentName(PACKAGE_NAME, ACTIVITY_NAME)}; in testAddOnePreferredActivity()
/cts/tests/app/app/src/android/app/stubs/
DCommandReceiver.java117 public static final String ACTIVITY_NAME = "android.app.stubs.SimpleActivity"; field in CommandReceiver
391 activityIntent.setComponent(new ComponentName(targetPackage, ACTIVITY_NAME)); in doStartActivity()