/cts/hostsidetests/appsecurity/test-apps/SessionInspector/src/com/android/cts/sessioninspector/ |
D | SessionInspectorTest.java | 22 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()
|
D | Constants.java | 31 public static final String ACTIVITY_NAME = PKG_BASE + "SessionInspectorActivity"; field in Constants
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageItemInfo_DisplayNameComparatorTest.java | 32 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()
|
D | PackageItemInfoTest.java | 49 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()
|
D | ResolveInfoTest.java | 52 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()
|
D | PackageItemInfoIconTest.java | 50 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()
|
D | SaferIntentTest.java | 97 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()
|
D | PackageInstallerArchiveTest.java | 117 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()
|
D | PackageManagerTest.java | 230 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/ |
D | PreferredActivityDeviceTests.java | 42 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/ |
D | CommandReceiver.java | 117 public static final String ACTIVITY_NAME = "android.app.stubs.SimpleActivity"; field in CommandReceiver 391 activityIntent.setComponent(new ComponentName(targetPackage, ACTIVITY_NAME)); in doStartActivity()
|