Home
last modified time | relevance | path

Searched refs:activityId (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/assist/src/android/assist/cts/
DActivityIdTest.java44 IBinder activityId = new Binder(); in testParcel() local
45 ActivityId original = new ActivityId(taskId, activityId); in testParcel()
49 assertThat(fromParcel.getToken()).isSameInstanceAs(activityId); in testParcel()
52 private static ActivityId parcelAndUnparcel(ActivityId activityId) { in parcelAndUnparcel() argument
54 activityId.writeToParcel(parcel, 0); in parcelAndUnparcel()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DWindowManagerJetpackTestBase.java139 @Nullable String activityId) { in startActivityNewTask() argument
140 return launcherForActivityNewTask(activityClass, activityId, false /* isFullScreen */, in startActivityNewTask()
150 @Nullable String activityId) { in startFullScreenActivityNewTask() argument
151 return launcherForActivityNewTask(activityClass, activityId, true/* isFullScreen */, in startFullScreenActivityNewTask()
164 @NonNull Class<T> activityClass, @Nullable String activityId, boolean isFullScreen, in launcherForActivityNewTask() argument
170 .setActivityId(activityId) in launcherForActivityNewTask()
399 public static TestActivityWithId getResumedActivityById(@NonNull String activityId) { in getResumedActivityById() argument
403 && activityId.equals(((TestActivityWithId) activity).getId())) { in getResumedActivityById()
DActivityEmbeddingUtil.java376 public static void waitAndAssertResumedAndFillsTask(@NonNull String activityId) { in waitAndAssertResumedAndFillsTask() argument
377 waitAndAssertResumed(activityId); in waitAndAssertResumedAndFillsTask()
378 final Activity activity = getResumedActivityById(activityId); in waitAndAssertResumedAndFillsTask()
433 private static boolean waitForResumed(@NonNull String activityId) { in waitForResumed() argument
436 if (getResumedActivityById(activityId) != null) { in waitForResumed()
439 waitAndLog("resumed:" + activityId); in waitForResumed()
448 public static void waitAndAssertResumed(@NonNull String activityId) { in waitAndAssertResumed() argument
449 assertTrue("Activity with id=" + activityId + " should be resumed", in waitAndAssertResumed()
450 waitForResumed(activityId)); in waitAndAssertResumed()
462 public static void waitAndAssertNotResumed(@NonNull String activityId) { in waitAndAssertNotResumed() argument
[all …]
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DDirectActionsSession.java67 public void onInvisible(ActivityId activityId) {
68 VisibleActivityCallback.super.onInvisible(activityId);
69 Log.v(TAG, "onInvisible : " + activityId);
71 activityId.getTaskId());
142 public void onDirectActionsInvalidated(ActivityId activityId) { in onDirectActionsInvalidated() argument
/cts/tests/framework/base/windowmanager/backgroundactivity/TestApp/src/android/server/wm/backgroundactivity/appa/
DForegroundEmbeddingActivity.java47 int activityId = intent.getIntExtra(mA.FOREGROUND_ACTIVITY_EXTRA.ACTIVITY_ID,
49 if (activityId != mActivityId) {
DForegroundActivity.java49 int activityId = intent.getIntExtra(mA.FOREGROUND_ACTIVITY_EXTRA.ACTIVITY_ID,
51 if (activityId != mActivityId) {
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAssertions.java110 final ActivityId activityId = session.context.getActivityId(); in assertMainSessionContext() local
112 .that(activityId).isNotNull(); in assertMainSessionContext()
114 .that(activityId.getTaskId()).isEqualTo(activity.getRealTaskId()); in assertMainSessionContext()
116 .that(activityId.getToken()).isNotNull(); in assertMainSessionContext()
134 final ActivityId activityId = session.context.getActivityId(); in assertChildSessionContext() local
136 .that(activityId).isNull(); in assertChildSessionContext()
DCtsContentCaptureService.java807 ActivityId activityId = event.getActivityId(); in assertActivityEvent() local
808 if (expectedTaskId != activityId.getTaskId()) { in assertActivityEvent()
810 expectedTaskId, activityId.getTaskId()); in assertActivityEvent()