/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CrossProfileIntentFilterTest.java | 72 final List<ResolveInfo> activities = in testClearCrossProfileIntentFilters() local 75 assertThat(activities).hasSize(1); in testClearCrossProfileIntentFilters() 76 assertThat(activitiesIncludeCrossProfileIntentForwarderActivity(activities)).isTrue(); in testClearCrossProfileIntentFilters() 95 final List<ResolveInfo> activities = in testAddCrossProfileIntentFilter_primary() local 98 assertThat(activities).hasSize(1); in testAddCrossProfileIntentFilter_primary() 99 assertThat(activitiesIncludeCrossProfileIntentForwarderActivity(activities)).isTrue(); in testAddCrossProfileIntentFilter_primary() 113 final List<ResolveInfo> activities = in testAddCrossProfileIntentFilter_all() local 116 assertThat(activities).hasSize(2); in testAddCrossProfileIntentFilter_all() 117 assertThat(activitiesIncludeCrossProfileIntentForwarderActivity(activities)).isTrue(); in testAddCrossProfileIntentFilter_all() 132 final List<ResolveInfo> activities = in testAddCrossProfileIntentFilter_work() local [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | FatActivityTest.java | 18 import static android.autofillservice.cts.activities.FatActivity.ID_CAPTCHA; 19 import static android.autofillservice.cts.activities.FatActivity.ID_IMAGE; 20 import static android.autofillservice.cts.activities.FatActivity.ID_IMPORTANT_CONTAINER_EXCLUDING_D… 21 import static android.autofillservice.cts.activities.FatActivity.ID_IMPORTANT_CONTAINER_EXCLUDING_D… 22 import static android.autofillservice.cts.activities.FatActivity.ID_IMPORTANT_CONTAINER_EXCLUDING_D… 23 import static android.autofillservice.cts.activities.FatActivity.ID_IMPORTANT_IMAGE; 24 import static android.autofillservice.cts.activities.FatActivity.ID_INPUT; 25 import static android.autofillservice.cts.activities.FatActivity.ID_INPUT_CONTAINER; 26 import static android.autofillservice.cts.activities.FatActivity.ID_NOT_IMPORTANT_CONTAINER_EXCLUDI… 27 import static android.autofillservice.cts.activities.FatActivity.ID_NOT_IMPORTANT_CONTAINER_EXCLUDI… [all …]
|
D | AttachedContextActivityTest.java | 19 import android.autofillservice.cts.activities.AttachedContextActivity; 20 import android.autofillservice.cts.activities.AttachedContextActivity.FillExpectation;
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | LockTaskTest.java | 65 import com.android.bedstead.nene.activities.Activity; 155 Activity<TestAppActivity> activity = testApp.activities().any().start(); in startLockTask_recordsMetric() 436 Activity<TestAppActivity> activity = testApp.activities().any().start(); in startLockTask_includedInLockTaskPackages_taskIsLocked() 441 assertThat(TestApis.activities().foregroundActivity()).isEqualTo( in startLockTask_includedInLockTaskPackages_taskIsLocked() 443 assertThat(TestApis.activities().getLockTaskModeState()).isEqualTo( in startLockTask_includedInLockTaskPackages_taskIsLocked() 464 Activity<TestAppActivity> activity = testApp.activities().any().start(); in startLockTask_notIncludedInLockTaskPackages_taskIsNotLocked() 469 assertThat(TestApis.activities().foregroundActivity()).isEqualTo( in startLockTask_notIncludedInLockTaskPackages_taskIsNotLocked() 471 assertThat(TestApis.activities().getLockTaskModeState()).isNotEqualTo( in startLockTask_notIncludedInLockTaskPackages_taskIsNotLocked() 491 Activity<TestAppActivity> activity = testApp.activities().any().start(); in startLockTask_includedInLockTaskPackages_policyShouldNotApply_taskIsNotLocked() 496 assertThat(TestApis.activities().foregroundActivity()).isEqualTo( in startLockTask_includedInLockTaskPackages_policyShouldNotApply_taskIsNotLocked() [all …]
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/activities/ |
D | Activity.java | 17 package com.android.bedstead.nene.activities; 65 Poll.forValue("Lock task mode state", () -> TestApis.activities().getLockTaskModeState()) in startLockTask() 82 Poll.forValue("Lock task mode state", () -> TestApis.activities().getLockTaskModeState()) in stopLockTask() 99 ComponentReference startActivity = TestApis.activities().foregroundActivity(); in startActivity() 101 Poll.forValue("Foreground activity", () -> TestApis.activities().foregroundActivity()) in startActivity() 108 Poll.forValue("Foreground activity", () -> TestApis.activities().foregroundActivity()) in startActivity()
|
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/ |
D | TestAppActivitiesTest.java | 69 TestAppActivityReference activity = sTestAppInstance.activities().query() in query_matchesActivity_returnsActivity() 78 sTestAppInstance.activities().query() in query_matchesPreviouslyReturnedActivity_throwsException() 83 sTestAppInstance.activities().query() in query_matchesPreviouslyReturnedActivity_throwsException() 91 sTestAppInstance.activities().query() in query_doesNotMatchActivity_throwsException() 99 TestAppActivityReference activity = sTestAppInstance.activities().any(); in any_returnsActivity() 106 sTestAppInstance.activities().query() in query_matchesActivityPreviouslyReturnedByDifferentInstance_returnsActivity() 113 testAppInstance2.activities().query() in query_matchesActivityPreviouslyReturnedByDifferentInstance_returnsActivity()
|
D | TestAppActivityReferenceTest.java | 27 import com.android.bedstead.nene.activities.Activity; 58 Activity<TestAppActivity> activity = testAppInstance.activities().any().start(); in start_activityIsStarted() 60 assertThat(TestApis.activities().foregroundActivity()).isEqualTo( in start_activityIsStarted() 69 Activity<TestAppActivity> activity = testAppInstance.activities().any().start(); in remote_executes()
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/premade/ |
D | EventLibActivity.java | 26 import com.android.eventlib.events.activities.ActivityCreatedEvent; 27 import com.android.eventlib.events.activities.ActivityDestroyedEvent; 28 import com.android.eventlib.events.activities.ActivityPausedEvent; 29 import com.android.eventlib.events.activities.ActivityRestartedEvent; 30 import com.android.eventlib.events.activities.ActivityResumedEvent; 31 import com.android.eventlib.events.activities.ActivityStartedEvent; 32 import com.android.eventlib.events.activities.ActivityStoppedEvent;
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/ |
D | InitializedCheckoutActivityTest.java | 18 import static android.autofillservice.cts.activities.CheckoutActivity.ID_ADDRESS; 19 import static android.autofillservice.cts.activities.CheckoutActivity.ID_CC_EXPIRATION; 20 import static android.autofillservice.cts.activities.CheckoutActivity.ID_CC_NUMBER; 21 import static android.autofillservice.cts.activities.CheckoutActivity.ID_SAVE_CC; 22 import static android.autofillservice.cts.activities.CheckoutActivity.INDEX_ADDRESS_HOME; 30 import android.autofillservice.cts.activities.InitializedCheckoutActivity;
|
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/ |
D | TestAppActivities.java | 37 TestAppActivities activities = new TestAppActivities(instance); in create() local 38 return activities; in create() 46 Set<ActivityInfo> activities() { in activities() method in TestAppActivities 57 for (android.content.pm.ActivityInfo activityInfo : packageInfo.activities) { in activities()
|
D | TestAppActivityReference.java | 29 import com.android.eventlib.events.activities.ActivityEvents; 59 public com.android.bedstead.nene.activities.Activity<TestAppActivity> start() { in start() 75 return TestApis.activities().wrap( in start() 82 public com.android.bedstead.nene.activities.Activity<TestAppActivity> start(Bundle options) { in start() 94 return TestApis.activities().wrap( in start()
|
D | TestAppEvents.java | 19 import com.android.eventlib.events.activities.ActivityCreatedEvent; 20 import com.android.eventlib.events.activities.ActivityDestroyedEvent; 21 import com.android.eventlib.events.activities.ActivityEvents; 22 import com.android.eventlib.events.activities.ActivityPausedEvent; 23 import com.android.eventlib.events.activities.ActivityRestartedEvent; 24 import com.android.eventlib.events.activities.ActivityResumedEvent; 25 import com.android.eventlib.events.activities.ActivityStartedEvent; 26 import com.android.eventlib.events.activities.ActivityStoppedEvent;
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/activities/ |
D | ActivityEvents.java | 17 package com.android.eventlib.events.activities; 19 import com.android.bedstead.nene.activities.Activity; 20 import com.android.bedstead.nene.activities.NeneActivity;
|
/cts/tools/manifest-generator/tests/src/com/android/compatibility/common/generator/ |
D | ManifestGeneratorTest.java | 64 List<String> activities = new ArrayList<>(); in testManifest() local 65 activities.add(ACTIVITY_A); in testManifest() 66 activities.add(ACTIVITY_B); in testManifest() 90 activities, in testManifest()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | TelecomAvailabilityTest.java | 79 final List<ResolveInfo> activities = in testTelecomHandlesCallIntents() local 84 for (ResolveInfo resolveInfo : activities) { in testTelecomHandlesCallIntents() 111 final List<ResolveInfo> activities = in testTelecomCanManageBlockedNumbers() local 113 assertEquals(1, activities.size()); in testTelecomCanManageBlockedNumbers() 114 for (ResolveInfo resolveInfo : activities) { in testTelecomCanManageBlockedNumbers()
|
/cts/tools/manifest-generator/src/com/android/compatibility/common/generator/ |
D | ManifestGenerator.java | 48 List<String> activities = new ArrayList<>(); in main() local 57 activities.add(args[++i]); in main() 79 } else if (activities.isEmpty()) { in main() 95 activities, in main() 118 List<String> activities, in generate() argument 153 for (String activity : activities) { in generate()
|
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/ |
D | LauncherAppsTests.java | 142 List<LauncherActivityInfo> activities = in testSimpleAppInstalledForUser() local 146 for (LauncherActivityInfo activity : activities) { in testSimpleAppInstalledForUser() 342 List<LauncherActivityInfo> activities = mLauncherApps.getActivityList(null, mUser); in testNoSystemAppHasSyntheticAppDetailsActivityInjected() local 343 logActivities(activities); in testNoSystemAppHasSyntheticAppDetailsActivityInjected() 344 for (LauncherActivityInfo activity : activities) { in testNoSystemAppHasSyntheticAppDetailsActivityInjected() 389 List<LauncherActivityInfo> activities = mLauncherApps.getActivityList(null, mUser); in assertActivityInjected() local 390 logActivities(activities); in assertActivityInjected() 393 for (LauncherActivityInfo activity : activities) { in assertActivityInjected() 531 List<LauncherActivityInfo> activities = mLauncherApps.getActivityList(null, mUser); in assertInjectedActivityNotFound() local 532 logActivities(activities); in assertInjectedActivityNotFound() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/ |
D | PreSimpleSaveActivityTest.java | 18 import static android.autofillservice.cts.activities.LoginActivity.ID_USERNAME_CONTAINER; 19 import static android.autofillservice.cts.activities.PreSimpleSaveActivity.ID_PRE_INPUT; 20 import static android.autofillservice.cts.activities.SimpleSaveActivity.ID_INPUT; 21 import static android.autofillservice.cts.activities.SimpleSaveActivity.ID_LABEL; 32 import android.autofillservice.cts.activities.LoginActivity; 33 import android.autofillservice.cts.activities.PreSimpleSaveActivity; 34 import android.autofillservice.cts.activities.SimpleSaveActivity; 35 import android.autofillservice.cts.activities.TrampolineWelcomeActivity; 36 import android.autofillservice.cts.activities.WelcomeActivity;
|
D | AutofillSaveDialogTest.java | 22 import android.autofillservice.cts.activities.LoginActivity; 23 import android.autofillservice.cts.activities.SimpleAfterLoginActivity; 24 import android.autofillservice.cts.activities.SimpleBeforeLoginActivity;
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | DeviceInfo.java | 120 ActivityInfo[] activities = null; in setUp() local 122 activities = getContext().getPackageManager().getPackageInfo( in setUp() 123 getContext().getPackageName(), PackageManager.GET_ACTIVITIES).activities; in setUp() 129 for (ActivityInfo activityInfo : activities) { in setUp()
|
/cts/tests/tests/app/src/android/app/cts/ |
D | KeyguardInitialLockTest.java | 35 final List<ResolveInfo> activities = in testSetInitialLockPermission() local 38 for (ResolveInfo ri : activities) { in testSetInitialLockPermission()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/ |
D | DatePickerTestCase.java | 18 import static android.autofillservice.cts.activities.AbstractDatePickerActivity.ID_DATE_PICKER; 19 import static android.autofillservice.cts.activities.AbstractDatePickerActivity.ID_OUTPUT; 29 import android.autofillservice.cts.activities.AbstractDatePickerActivity;
|
D | TimePickerTestCase.java | 18 import static android.autofillservice.cts.activities.AbstractTimePickerActivity.ID_OUTPUT; 19 import static android.autofillservice.cts.activities.AbstractTimePickerActivity.ID_TIME_PICKER; 29 import android.autofillservice.cts.activities.AbstractTimePickerActivity;
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | VirtualContainerActivity.java | 16 package android.autofillservice.cts.activities; 26 import android.autofillservice.cts.activities.VirtualContainerView.Line; 27 import android.autofillservice.cts.activities.VirtualContainerView.Line.OneTimeLineWatcher;
|
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/ |
D | InlineAugmentedWebViewActivityTest.java | 19 import static android.autofillservice.cts.activities.WebViewActivity.HTML_NAME_PASSWORD; 20 import static android.autofillservice.cts.activities.WebViewActivity.HTML_NAME_USERNAME; 25 import android.autofillservice.cts.activities.MyWebView; 26 import android.autofillservice.cts.activities.WebViewActivity;
|