/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/activities/ |
D | ActivityEventsImpl.java | 32 mActivity.getComponentName().getPackageName()) in activityCreated() 34 mActivity.getComponentName().getClassName()) in activityCreated() 41 mActivity.getComponentName().getPackageName()) in activityDestroyed() 43 mActivity.getComponentName().getClassName()) in activityDestroyed() 50 mActivity.getComponentName().getPackageName()) in activityPaused() 52 mActivity.getComponentName().getClassName()) in activityPaused() 59 mActivity.getComponentName().getPackageName()) in activityRestarted() 61 mActivity.getComponentName().getClassName()) in activityRestarted() 68 mActivity.getComponentName().getPackageName()) in activityResumed() 70 mActivity.getComponentName().getClassName()) in activityResumed() [all …]
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ComponentNameTest.java | 81 final ComponentName componentName = getComponentName(); in testConstructor() 89 getComponentName().flattenToString()); in testFlattenToString() 94 String actual = getComponentName().getShortClassName(); in testGetShortClassName() 109 ComponentName expected = getComponentName(); in testReadFromParcel() 123 final String actual = getComponentName().getPackageName(); in testGetPackageName() 128 final ComponentName componentName = getComponentName(); in testUnflattenFromString() 129 final String flattenString = getComponentName().flattenToString(); in testUnflattenFromString() 137 String actual = getComponentName().flattenToShortString(); in testFlattenToShortString() 153 final ComponentName componentName1 = getComponentName(); in testEquals() 165 assertNotNull(getComponentName().toString()); in testToString() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowMetricsActivityTests.java | 90 mWmState.computeState(activity.getComponentName()); in testMetricsMatchesActivityBoundsOnNonresizableActivity() 105 waitForEnterPipAnimationComplete(activity.getComponentName()); in testMetricsMatchesLayoutOnPipActivity() 120 waitForEnterPipAnimationComplete(activity.getComponentName()); in testMetricsMatchesDisplayAreaOnPipActivity() 161 mWmState.computeState(activity.getComponentName()); in testMetricsMatchesLayoutOnSplitActivity() 162 putActivityInPrimarySplit(activity.getComponentName()); in testMetricsMatchesLayoutOnSplitActivity() 164 mWmState.computeState(activity.getComponentName()); in testMetricsMatchesLayoutOnSplitActivity() 165 assertTrue(mWmState.getActivity(activity.getComponentName()).getWindowingMode() in testMetricsMatchesLayoutOnSplitActivity() 180 mWmState.computeState(activity.getComponentName()); in testMetricsMatchesDisplayAreaOnSplitActivity() 181 putActivityInPrimarySplit(activity.getComponentName()); in testMetricsMatchesDisplayAreaOnSplitActivity() 183 mWmState.computeState(activity.getComponentName()); in testMetricsMatchesDisplayAreaOnSplitActivity() [all …]
|
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/ |
D | ManagementTest.java | 41 AdminReceiver.getComponentName(getContext()))); in testIsManagedProfile() 44 AdminReceiver.getComponentName(getContext()))); in testIsManagedProfile() 50 AdminReceiver.getComponentName(getContext()))); in testIsDeviceOwner() 53 AdminReceiver.getComponentName(getContext()))); in testIsDeviceOwner() 65 AdminReceiver.getComponentName(mContext)); in testOtherProfilesEqualsBindTargetUsers() 76 ComponentName admin = AdminReceiver.getComponentName(mContext); in testCreateSecondaryUser() 83 AdminReceiver.getComponentName(mContext))); in testNoBindDeviceAdminTargetUsers()
|
D | BindDeviceAdminServiceFailsTest.java | 54 AdminReceiver.getComponentName(mContext)); in testNoBindDeviceAdminTargetUsers() 80 return mDpm.bindDeviceAdminServiceAsUser(AdminReceiver.getComponentName(mContext), in bind()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | ActivityLifecycleFreeformTests.java | 77 waitAndAssertActivityState(getComponentName(FirstActivity.class), STATE_RESUMED, in testLaunchInFreeform() 110 waitAndAssertActivityState(getComponentName(FirstActivity.class), STATE_RESUMED, message); in testMultiLaunchInFreeform() 111 waitAndAssertActivityState(getComponentName(SecondActivity.class), STATE_RESUMED, message); in testMultiLaunchInFreeform() 112 waitAndAssertActivityState(getComponentName(ThirdActivity.class), STATE_RESUMED, message); in testMultiLaunchInFreeform() 145 waitAndAssertActivityState(getComponentName(FirstActivity.class), STATE_STOPPED, in testLaunchOccludingInFreeform() 148 waitAndAssertActivityState(getComponentName(SecondActivity.class), STATE_RESUMED, message); in testLaunchOccludingInFreeform() 149 waitAndAssertActivityState(getComponentName(ThirdActivity.class), STATE_RESUMED, message); in testLaunchOccludingInFreeform() 163 mWmState.waitForActivityRemoved(getComponentName(SecondActivity.class)); in testLaunchOccludingInFreeform() 164 waitAndAssertActivityState(getComponentName(FirstActivity.class), STATE_RESUMED, in testLaunchOccludingInFreeform() 168 mWmState.containsActivity(getComponentName(SecondActivity.class))); in testLaunchOccludingInFreeform() [all …]
|
D | ActivityStarterTests.java | 68 = getComponentName(StandardActivity.class); 70 = getComponentName(SecondStandardActivity.class); 72 = getComponentName(SingleTopActivity.class); 74 = getComponentName(SingleInstanceActivity.class); 76 = getComponentName(SingleTaskActivity.class); 78 = getComponentName(StandardWithSingleTopActivity.class); 80 = getComponentName(TestLaunchingActivity.class); 82 = getComponentName(LaunchingAndFinishActivity.class); 84 = getComponentName(ClearTaskOnLaunchActivity.class); 86 = getComponentName(FinishOnTaskLaunchActivity.class); [all …]
|
D | ActivityLifecycleLegacySplitScreenTests.java | 249 mWmState.computeState(firstActivity.getComponentName()); in testResumedTranslucentWhenRestartedFromInNonFocusedTask() 250 moveActivitiesToSplitScreen(firstActivity.getComponentName(), in testResumedTranslucentWhenRestartedFromInNonFocusedTask() 251 sideActivity.getComponentName()); in testResumedTranslucentWhenRestartedFromInNonFocusedTask() 316 setTargetActivity(getComponentName(ConfigChangeHandlingActivity.class)), in testLifecycleOnMoveToFromSplitScreenNoRelaunch() 318 setTargetActivity(getComponentName(SecondActivity.class))); in testLifecycleOnMoveToFromSplitScreenNoRelaunch() 321 getComponentName(ConfigChangeHandlingActivity.class)); in testLifecycleOnMoveToFromSplitScreenNoRelaunch() 361 .setTargetActivity(getComponentName(ConfigChangeHandlingActivity.class)), in testOnUserLeaveHint() 365 .setTargetActivity(getComponentName(FirstActivity.class))); in testOnUserLeaveHint()
|
D | ActivityLifecycleTopResumedStateTests.java | 95 mWmState.waitForActivityRemoved(getComponentName(CallbackTrackingActivity.class)); in testTopPositionLostOnFinish() 753 waitAndAssertTopResumedActivity(getComponentName(CallbackTrackingActivity.class), in testTopPositionSwitchAcrossDisplays() 770 waitAndAssertTopResumedActivity(getComponentName(SingleTopActivity.class), in testTopPositionSwitchAcrossDisplays() 805 waitAndAssertTopResumedActivity(getComponentName(CallbackTrackingActivity.class), in testTopPositionSwitchAcrossDisplaysOnTap() 820 waitAndAssertTopResumedActivity(getComponentName(SingleTopActivity.class), in testTopPositionSwitchAcrossDisplaysOnTap() 827 .getTaskByActivity(getComponentName(CallbackTrackingActivity.class)); in testTopPositionSwitchAcrossDisplaysOnTap() 844 .getTaskByActivity(getComponentName(SingleTopActivity.class)); in testTopPositionSwitchAcrossDisplaysOnTap() 892 waitAndAssertTopResumedActivity(getComponentName(SlowActivity.class), in testTopPositionSwitchAcrossDisplaysOnTapSlowDifferentProcess() 906 .getTaskByActivity(getComponentName(SecondProcessCallbackTrackingActivity.class)); in testTopPositionSwitchAcrossDisplaysOnTapSlowDifferentProcess() 920 .getTaskByActivity(getComponentName(defaultActivityClass)); in testTopPositionSwitchAcrossDisplaysOnTapSlowDifferentProcess() [all …]
|
/cts/hostsidetests/devicepolicy/app/CrossProfileTestApps/CrossProfileAppsTest/src/com/android/cts/crossprofileappstest/ |
D | CrossProfileAppsStartActivityTest.java | 107 intent.setComponent(MainActivity.getComponentName(mContext)); in testCannotStartActivityByIntentWithNoPermissions() 116 intent.setComponent(MainActivity.getComponentName(mContext)); in testCanStartActivityByIntentWithInteractAcrossProfilesPermission() 136 intent.setComponent(MainActivity.getComponentName(mContext)); in testCanStartActivityByIntentWithInteractAcrossUsersPermission() 156 intent.setComponent(MainActivity.getComponentName(mContext)); in testCanStartActivityByIntentWithInteractAcrossUsersFullPermission() 188 mainActivityIntent.setComponent(MainActivity.getComponentName(mContext)); in testCanStartMainActivityByIntent() 210 mainActivityIntent.setComponent(MainActivity.getComponentName(mContext)); in testCanStartMainActivityByIntent_withOptionsBundle() 236 nonMainActivityIntent.setComponent(NonMainActivity.getComponentName(mContext)); in testCanStartNonMainActivityByIntent() 265 CrossProfileSameTaskLauncherActivity.getComponentName(mContext)); in testStartActivityIntent_sameTaskByDefault() 305 nonMainActivityIntent.setComponent(NonMainActivity.getComponentName(mContext)); in testStartActivityByIntent_noAsserts() 318 MainActivity.getComponentName(mContext), mTargetUser)); in testCanStartMainActivityByComponent() [all …]
|
D | CrossProfileAppsTargetUserTest.java | 103 MainActivity.getComponentName(mContext), mTargetUser); in testCanStartMainActivity() 119 NonExportedActivity.getComponentName(mContext), mTargetUser); in testCannotStartNotExportedActivity() 125 NonMainActivity.getComponentName(mContext), mTargetUser); in testCannotStartNonMainActivity() 151 MainActivity.getComponentName(mContext), mTargetUser); in testStartMainActivity_noAsserts()
|
D | CrossProfileSameTaskLauncherActivity.java | 56 nonMainActivityIntent.setComponent(NonMainActivity.getComponentName(this)); in onCreate() 63 static ComponentName getComponentName(Context context) { in getComponentName() method in CrossProfileSameTaskLauncherActivity
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | CtsPhoneAccountSuggestionService.java | 44 context.getPackageManager().setComponentEnabledSetting(getComponentName(context), in enableService() 50 context.getPackageManager().setComponentEnabledSetting(getComponentName(context), in disableService() 55 private static ComponentName getComponentName(Context context) { in getComponentName() method in CtsPhoneAccountSuggestionService
|
D | MockCallScreeningService.java | 93 context.getPackageManager().setComponentEnabledSetting(getComponentName(context), in enableService() 99 context.getPackageManager().setComponentEnabledSetting(getComponentName(context), in disableService() 104 private static ComponentName getComponentName(Context context) { in getComponentName() method in MockCallScreeningService
|
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/ |
D | MultiScreenLoginTest.java | 174 assertThat(component1).isEqualTo(mActivity.getComponentName()); 203 assertThat(component2).isEqualTo(passwordActivity.getComponentName()); 224 assertThat(componentPrevious).isEqualTo(mActivity.getComponentName()); 231 assertThat(componentCurrent).isEqualTo(passwordActivity.getComponentName()); 260 assertThat(component1).isEqualTo(mActivity.getComponentName()); 294 assertThat(component2).isEqualTo(passwordActivity.getComponentName()); 316 assertThat(componentPrevious).isEqualTo(mActivity.getComponentName()); 323 assertThat(componentCurrent).isEqualTo(passwordActivity.getComponentName()); 359 assertThat(component1).isEqualTo(mActivity.getComponentName()); 407 assertThat(component2).isEqualTo(passwordActivity.getComponentName());
|
/cts/tests/framework/base/biometrics/src/android/server/biometrics/ |
D | BiometricSecurityTests.java | 181 final ComponentName componentName = getComponentName(requestedStrength); in testBiometricStrength_forSensor_authAllowed() 192 TestJournalContainer.get(activitySession.getComponentName()); in testBiometricStrength_forSensor_authAllowed() 228 final ComponentName componentName = getComponentName(requestedStrength); in testBiometricStrength_forSensor_authDisallowed() 238 TestJournalContainer.get(activitySession.getComponentName()); in testBiometricStrength_forSensor_authDisallowed() 364 final ComponentName componentName = getComponentName(requestedStrength); in testBiometricStrengthDowngraded_forSensor() 372 TestJournalContainer.get(activitySession.getComponentName()); in testBiometricStrengthDowngraded_forSensor() 529 final ComponentName componentName = getComponentName(requestedStrength); in testBiometricStrengthUpgraded_forSensor() 539 TestJournalContainer.get(activitySession.getComponentName()); in testBiometricStrengthUpgraded_forSensor() 583 private static ComponentName getComponentName(int requestedStrength) { in getComponentName() method in BiometricSecurityTests
|
D | ActivitySession.java | 48 ComponentName getComponentName() { in getComponentName() method in ActivitySession
|
D | BiometricActivityTests.java | 78 .get(activitySession.getComponentName()); in testBiometricOnly_authenticateFromForegroundActivity_forSensor() 133 TestJournalProvider.TestJournalContainer.get(activitySession.getComponentName()); in testBiometricOnly_rejectThenErrorFromForegroundActivity_forSensor() 200 TestJournalProvider.TestJournalContainer.get(activitySession.getComponentName()); in testBiometricOnly_rejectThenAuthenticate_forSensor() 204 mWmState.waitForActivityState(activitySession.getComponentName(), in testBiometricOnly_rejectThenAuthenticate_forSensor() 265 .get(activitySession.getComponentName()); in testBiometricOnly_negativeButtonInvoked_forSensor() 361 .get(activitySession.getComponentName()); in testBiometricOrCredential_credentialButtonInvoked_forConfiguration()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | ClientTest.java | 515 assertThat(testResult.getComponentName(), in testStartExposed01() 536 assertThat(testResult.getComponentName(), in testStartExposed02() 558 assertThat(testResult.getComponentName(), in testStartExposed03() 610 assertThat(testResult.getComponentName(), in testStartExposed06() 630 assertThat(testResult.getComponentName(), in testStartExposed07() 655 assertThat(testResult.getComponentName(), in testStartExposed08() 684 assertThat(testResult.getComponentName(), in testStartExposed09() 719 assertThat(testResult.getComponentName(), in testStartExposed10() 742 assertThat(testResult.getComponentName(), in testStartExposed11() 763 assertThat(testResult.getComponentName(), in testStartEphemeral() [all …]
|
/cts/tests/app/src/android/app/cts/ |
D | TileServiceTest.java | 97 clickTile(TestTileService.getComponentName().flattenToString()); in testShowDialog() 188 protected String getComponentName() { in getComponentName() method in TileServiceTest 189 return TestTileService.getComponentName().flattenToString(); in getComponentName()
|
D | BooleanTileServiceTest.java | 93 protected String getComponentName() { in getComponentName() method in BooleanTileServiceTest 94 return ToggleableTestTileService.getComponentName().flattenToString(); in getComponentName()
|
D | AppTaskTests.java | 102 assertTrue(appTasks.get(0).getTaskInfo().topActivity.equals(a1.getComponentName())); in testSingleAppTask() 118 activities.get(i).getComponentName())); in testMultipleAppTasks() 179 assertTrue(taskInfo.baseActivity.equals(a1.getComponentName())); in testStartActivityInTask_NoNewTask() 198 assertTrue(taskInfo.baseActivity.equals(a1.getComponentName())); in testStartActivityInTask_NewTask()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
D | SensorDeviceAdminReceiver.java | 31 public static ComponentName getComponentName(Context context) { in getComponentName() method in SensorDeviceAdminReceiver
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/ |
D | LaunchRunner.java | 286 final ComponentName testActivityName = activity.getComponentName(); in waitAndAssertActivityLaunched() 301 mTestBase.getWmState().waitForValidState(activity.getComponentName()); in waitDumpAndTrim() 305 mTestBase.getWmState().computeState(activity.getComponentName()); in waitDumpAndTrim() 323 mTestBase.getWmState().waitForValidState(activity.getComponentName()); in waitDumpAndTrimForVerification() 327 mTestBase.getWmState().computeState(activity.getComponentName()); in waitDumpAndTrimForVerification()
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/premade/ |
D | EventLibActivity.java | 57 public ComponentName getComponentName() { in getComponentName() method in EventLibActivity 84 mActivityInfo = packageManager.getActivityInfo(getComponentName(), /* flags= */ 0); in activityInfo()
|