Home
last modified time | relevance | path

Searched refs:ComponentName (Results 1 – 25 of 683) sorted by relevance

12345678910>>...28

/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DComponents.java19 import android.content.ComponentName;
24 public static final ComponentName ALT_LAUNCHING_ACTIVITY = component("AltLaunchingActivity");
25 public static final ComponentName ALWAYS_FOCUSABLE_PIP_ACTIVITY =
27 public static final ComponentName ANIMATION_TEST_ACTIVITY = component("AnimationTestActivity");
28 public static final ComponentName ASSISTANT_ACTIVITY = component("AssistantActivity");
29 public static final ComponentName BOTTOM_ACTIVITY = component("BottomActivity");
30 …public static final ComponentName BOTTOM_NON_RESIZABLE_ACTIVITY = component("BottomNonResizableAct…
31 public static final ComponentName BOTTOM_LEFT_LAYOUT_ACTIVITY =
33 public static final ComponentName BOTTOM_RIGHT_LAYOUT_ACTIVITY =
35 public static final ComponentName BROADCAST_RECEIVER_ACTIVITY =
[all …]
/cts/tests/tests/content/src/android/content/cts/
DComponentNameTest.java19 import android.content.ComponentName;
30 new ComponentName("com.android.app", "com.android.app.InstrumentationTestActivity"); in testConstructor()
34 new ComponentName((String) null, (String) null); in testConstructor()
41 new ComponentName(mContext, "ActivityTestCase"); in testConstructor()
45 new ComponentName((Context) null, "ActivityTestCase"); in testConstructor()
53 new ComponentName(mContext, (String) null); in testConstructor()
60 new ComponentName(mContext, this.getClass()); in testConstructor()
64 new ComponentName(mContext, (Class<?>) null); in testConstructor()
72 new ComponentName((Parcel) null); in testConstructor()
81 final ComponentName componentName = getComponentName(); in testConstructor()
[all …]
/cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/src/com/android/cts/privilegedupdate/
DPrivilegedUpdateTest.java21 import android.content.ComponentName;
45 final ComponentName testComponent = in testSystemAppPriorities()
46 new ComponentName(SYSTEM_SHIM_PKG, SYSTEM_SHIM_PKG + INSTALL_CLASS); in testSystemAppPriorities()
61 final ComponentName testComponent = in testPrivilegedAppPriorities()
62 new ComponentName(PRIVILEGED_SHIM_PKG, PRIVILEGED_SHIM_PKG + INSTALL_CLASS); in testPrivilegedAppPriorities()
78 final ComponentName testComponent = in testPrivilegedAppUpgradePriorities()
79 new ComponentName(PRIVILEGED_SHIM_PKG, PRIVILEGED_SHIM_PKG + INSTALL_CLASS); in testPrivilegedAppUpgradePriorities()
86 new ComponentName(PRIVILEGED_SHIM_PKG, in testPrivilegedAppUpgradePriorities()
90 new ComponentName(PRIVILEGED_SHIM_PKG, in testPrivilegedAppUpgradePriorities()
94 new ComponentName(PRIVILEGED_SHIM_PKG, in testPrivilegedAppUpgradePriorities()
[all …]
/cts/tests/framework/base/windowmanager/appSecondUid/src/android/server/wm/second/
DComponents.java19 import android.content.ComponentName;
24 public static final ComponentName EMBEDDING_ACTIVITY = component("EmbeddingActivity");
33 public static final ComponentName SECOND_ACTIVITY = component("SecondActivity");
39 public static final ComponentName SECOND_NO_EMBEDDING_ACTIVITY =
42 public static final ComponentName TEST_ACTIVITY_WITH_SAME_AFFINITY_DIFFERENT_UID =
45 public static final ComponentName SECOND_LAUNCH_BROADCAST_RECEIVER =
53 public static final ComponentName IMPLICIT_TARGET_SECOND_ACTIVITY =
56 private static ComponentName component(String className) { in component()
/cts/tests/framework/base/windowmanager/app27/src/android/server/wm/app27/
DComponents.java22 import android.content.ComponentName;
27 public static final ComponentName SDK_27_LAUNCHING_ACTIVITY =
30 public static final ComponentName SDK_27_TEST_ACTIVITY =
33 public static final ComponentName SDK_27_SEPARATE_PROCESS_ACTIVITY =
36 public static final ComponentName SDK_27_LAUNCH_ENTER_PIP_ACTIVITY =
39 public static final ComponentName SDK_27_PIP_ACTIVITY =
42 public static final ComponentName SDK_27_HOME_ACTIVITY =
/cts/tests/framework/base/windowmanager/backgroundactivity/AppA/src/android/server/wm/backgroundactivity/appa/
DComponents.java19 import android.content.ComponentName;
24 public static final ComponentName APP_A_BACKGROUND_ACTIVITY =
26 public static final ComponentName APP_A_SECOND_BACKGROUND_ACTIVITY =
28 public static final ComponentName APP_A_FOREGROUND_ACTIVITY =
30 public static final ComponentName APP_A_SEND_PENDING_INTENT_RECEIVER =
32 public static final ComponentName APP_A_START_ACTIVITY_RECEIVER =
34 public static final ComponentName APP_A_SIMPLE_ADMIN_RECEIVER =
/cts/tests/tests/systemui/common/src/android/systemui/tv/cts/
DTestEntities.kt19 import android.content.ComponentName
26 fun ComponentName.activityName(): String = flattenToShortString() in activityName() method
29 fun ComponentName.windowName(): String = flattenToString() in activityName() method
32 val PIP_ACTIVITY: ComponentName = ComponentName.createRelative(pkg, ".PipTestActivity") in activityName()
35 val PIP_MENU_ACTIVITY: ComponentName = ComponentName.createRelative( in activityName()
/cts/tests/framework/base/windowmanager/overlayappbase/src/android/server/wm/overlay/
DComponents.java19 import android.content.ComponentName;
25 ComponentName COMPONENT = component("UntrustedTouchTestService");
29 ComponentName COMPONENT = component("OverlayActivity");
37 ComponentName COMPONENT = component("ExitAnimationActivity");
51 ComponentName COMPONENT = component("ToastActivity");
54 private static ComponentName component(String className) { in component()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DComponents.java19 import android.content.ComponentName;
23 public static final ComponentName CLASS_2_BIOMETRIC_OR_CREDENTIAL_ACTIVITY =
25 public static final ComponentName CLASS_2_BIOMETRIC_ACTIVITY =
27 public static final ComponentName CLASS_3_BIOMETRIC_ACTIVITY =
30 private static ComponentName component(String className) { in component()
/cts/hostsidetests/devicepolicy/app/DeviceAdminService/src/com/android/cts/deviceadminservice/
DComponentController.java18 import android.content.ComponentName;
27 private void enableComponent(ComponentName cn, boolean enabled) { in enableComponent()
37 enableComponent(new ComponentName(getContext(), MyService.class), true); in testEnableService1()
41 enableComponent(new ComponentName(getContext(), MyService.class), false); in testDisableService1()
45 enableComponent(new ComponentName(getContext(), MyService2.class), true); in testEnableService2()
49 enableComponent(new ComponentName(getContext(), MyService2.class), false); in testDisableService2()
/cts/tests/app/src/android/app/cts/
DLaunchTest.java26 import android.content.ComponentName;
31 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); in testClearTopWhilResumed()
37 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); in testClearTopInCreate()
46 mIntent.putExtra("component", new ComponentName(getContext(), LocalScreen.class)); in testLocalScreen()
51 mIntent.putExtra("component", new ComponentName(getContext(), TestedScreen.class)); in testColdScreen()
56 mIntent.putExtra("component", new ComponentName(getContext(), LocalActivity.class)); in testLocalActivity()
61 mIntent.putExtra("component", new ComponentName(getContext(), TestedActivity.class)); in testColdActivity()
/cts/tests/tests/syncmanager/common/src/android/content/syncmanager/cts/common/
DValues.java19 import android.content.ComponentName;
32 public static final ComponentName APP1_RECEIVER = getCommReceiver(APP1_PACKAGE);
33 public static final ComponentName APP2_RECEIVER = getCommReceiver(APP2_PACKAGE);
35 public static ComponentName getCommReceiver(String packageName) { in getCommReceiver()
36 return new ComponentName(packageName, COMM_RECEIVER); in getCommReceiver()
/cts/tests/tests/batterysaving/common/src/android/os/cts/batterysaving/common/
DValues.java18 import android.content.ComponentName;
37 public static ComponentName getCommReceiver(String packageName) { in getCommReceiver()
38 return new ComponentName(packageName, COMM_RECEIVER); in getCommReceiver()
41 public static ComponentName getTestService(String packageName) { in getTestService()
42 return new ComponentName(packageName, TEST_SERVICE); in getTestService()
/cts/tests/admin/src/android/admin/cts/
DDeviceAdminInfoTest.java22 import android.content.ComponentName;
34 private ComponentName mComponent;
35 private ComponentName mSecondComponent;
36 private ComponentName mThirdComponent;
50 static ComponentName getReceiverComponent() { in getReceiverComponent()
51 return new ComponentName("android.admin.app", "android.admin.app.CtsDeviceAdminReceiver"); in getReceiverComponent()
54 static ComponentName getSecondReceiverComponent() { in getSecondReceiverComponent()
55 return new ComponentName("android.admin.app", "android.admin.app.CtsDeviceAdminReceiver2"); in getSecondReceiverComponent()
58 static ComponentName getThirdReceiverComponent() { in getThirdReceiverComponent()
59 return new ComponentName("android.admin.app", "android.admin.app.CtsDeviceAdminReceiver3"); in getThirdReceiverComponent()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DCompatChangeTests.java39 import android.content.ComponentName;
75 private static final ComponentName RESIZEABLE_PORTRAIT_ACTIVITY =
77 private static final ComponentName NON_RESIZEABLE_PORTRAIT_ACTIVITY =
79 private static final ComponentName NON_RESIZEABLE_LANDSCAPE_ACTIVITY =
81 private static final ComponentName NON_RESIZEABLE_NON_FIXED_ORIENTATION_ACTIVITY =
83 private static final ComponentName NON_RESIZEABLE_ASPECT_RATIO_ACTIVITY =
85 private static final ComponentName NON_RESIZEABLE_LARGE_ASPECT_RATIO_ACTIVITY =
87 private static final ComponentName SUPPORTS_SIZE_CHANGES_PORTRAIT_ACTIVITY =
235 ComponentName activity = NON_RESIZEABLE_LARGE_ASPECT_RATIO_ACTIVITY; in testSandboxForNonResizableActivityPackageUnboundedInNeverSandboxDeviceConfigFlag()
248 ComponentName activity = NON_RESIZEABLE_LARGE_ASPECT_RATIO_ACTIVITY; in testSandboxForNonResizableActivityPackageWithinRangeInNeverSandboxDeviceConfig()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DBaseEmulatorActivity.java8 import android.content.ComponentName;
32 ComponentName mMakingDefault;
34 final ArrayList<ComponentName> SERVICES = new ArrayList<ComponentName>(
66 abstract void onApduSequenceComplete(ComponentName component, long duration); in onApduSequenceComplete()
93 final void setupServices(Context context, ComponentName... components) { in setupServices()
98 final boolean makePaymentDefault(final ComponentName defaultComponent, int stringId) { in makePaymentDefault()
127 ComponentName component = intent.getParcelableExtra(HceUtils.EXTRA_COMPONENT);
138 private class SetupServicesTask extends AsyncTask<ComponentName, Void, Boolean> {
156 protected Boolean doInBackground(ComponentName... components) { in doInBackground()
157 List<ComponentName> enableComponents = Arrays.asList(components); in doInBackground()
[all …]
DTransportService1.java3 import android.content.ComponentName;
6 static final ComponentName COMPONENT =
7 new ComponentName("com.android.cts.verifier",
25 public ComponentName getComponent() { in getComponent()
DTransportService2.java3 import android.content.ComponentName;
6 static final ComponentName COMPONENT =
7 new ComponentName("com.android.cts.verifier",
25 public ComponentName getComponent() { in getComponent()
DPaymentService2.java3 import android.content.ComponentName;
6 static final ComponentName COMPONENT =
7 new ComponentName("com.android.cts.verifier",
25 public ComponentName getComponent() { in getComponent()
/cts/hostsidetests/appsecurity/test-apps/InstrumentationAppDiffCert/src/com/android/cts/instrumentationdiffcertapp/
DInstrumentationFailToRunTest.java22 import android.content.ComponentName;
36 final ComponentName appDiffCertInstrumentation = in testInstrumentationNotAllowed_exception()
37 new ComponentName(myContext, Instrumentation.class); in testInstrumentationNotAllowed_exception()
50 final ComponentName appDiffCertInstrumentation = in testInstrumentationNotAllowed_fail()
51 new ComponentName(myContext, Instrumentation.class); in testInstrumentationNotAllowed_fail()
/cts/tests/framework/base/windowmanager/appAShareUid/src/android/server/wm/shareuid/a/
DComponents.java19 import android.content.ComponentName;
23 public static final ComponentName TEST_ACTIVITY_WITH_SAME_AFFINITY =
26 public static final ComponentName TEST_ACTIVITY_WITH_SAME_AFFINITY_SAME_APP =
29 private static ComponentName component(String className) { in component()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerGetPropertyTest.java28 import android.content.ComponentName;
185 final ComponentName component = new ComponentName(PROPERTY_APP1_PACKAGE_NAME, in testGetComponentProperty()
202 final ComponentName component = new ComponentName(PROPERTY_APP1_PACKAGE_NAME, in testGetComponentProperty()
219 final ComponentName component = new ComponentName(PROPERTY_APP1_PACKAGE_NAME, in testGetComponentProperty()
229 final ComponentName component = new ComponentName(PROPERTY_APP1_PACKAGE_NAME, in testGetComponentProperty()
246 final ComponentName component = new ComponentName(PROPERTY_APP1_PACKAGE_NAME, in testGetComponentProperty()
282 final ComponentName component = new ComponentName("", ""); in testInvalidArguments()
289 sPackageManager.getProperty("", (ComponentName) null); in testInvalidArguments()
295 sPackageManager.getProperty(null, (ComponentName) null); in testInvalidArguments()
316 final ComponentName component = new ComponentName(PROPERTY_APP1_PACKAGE_NAME, in testMissingNames()
[all …]
/cts/tests/smartspace/src/android/smartspace/cts/
DSmartspaceTestUtils.java20 import android.content.ComponentName;
24 …public static SmartspaceTarget getBasicSmartspaceTarget(String id, ComponentName componentName, Us… in getBasicSmartspaceTarget()
28 public static ComponentName getTestComponentName() { in getTestComponentName()
29 return new ComponentName("package name", "class name"); in getTestComponentName()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DComponentNameUtils.java19 import android.content.ComponentName;
29 public static String getActivityName(ComponentName componentName) { in getActivityName()
38 public static String getWindowName(ComponentName componentName) { in getWindowName()
47 public static String getLogTag(ComponentName componentName) { in getLogTag()
/cts/hostsidetests/appbinding/app/src/com/android/cts/appbinding/app/
DMyEnabler.java18 import android.content.ComponentName;
38 final ComponentName cn = new ComponentName(context, in enableService()
51 final ComponentName cn = new ComponentName(context, in disableService()

12345678910>>...28