Searched refs:activityId (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/assist/src/android/assist/cts/ |
D | ActivityIdTest.java | 44 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/ |
D | WindowManagerJetpackTestBase.java | 139 @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()
|
D | ActivityEmbeddingUtil.java | 376 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/ |
D | DirectActionsSession.java | 67 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/ |
D | ForegroundEmbeddingActivity.java | 47 int activityId = intent.getIntExtra(mA.FOREGROUND_ACTIVITY_EXTRA.ACTIVITY_ID, 49 if (activityId != mActivityId) {
|
D | ForegroundActivity.java | 49 int activityId = intent.getIntExtra(mA.FOREGROUND_ACTIVITY_EXTRA.ACTIVITY_ID, 51 if (activityId != mActivityId) {
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | Assertions.java | 110 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()
|
D | CtsContentCaptureService.java | 807 ActivityId activityId = event.getActivityId(); in assertActivityEvent() local 808 if (expectedTaskId != activityId.getTaskId()) { in assertActivityEvent() 810 expectedTaskId, activityId.getTaskId()); in assertActivityEvent()
|