Searched refs:mTaskFragmentOrganizer (Results 1 – 5 of 5) sorted by relevance
/cts/tests/framework/base/windowmanager/src/android/server/wm/taskfragment/ |
D | TaskFragmentOrganizerPolicyTest.java | 89 private BasicTaskFragmentOrganizer mTaskFragmentOrganizer; field in TaskFragmentOrganizerPolicyTest 96 mTaskFragmentOrganizer = new BasicTaskFragmentOrganizer(); in setUp() 97 mTaskFragmentOrganizer.registerOrganizer(); in setUp() 98 mOrganizers.add(mTaskFragmentOrganizer); in setUp() 125 createOrganizedTaskFragment(mTaskFragmentOrganizer, activity); in testCreateTaskFragment_duplicatedFragmentToken_reportError() 131 mTaskFragmentOrganizer.generateTaskFragParams( in testCreateTaskFragment_duplicatedFragmentToken_reportError() 141 mTaskFragmentOrganizer.applyTransaction( in testCreateTaskFragment_duplicatedFragmentToken_reportError() 143 mTaskFragmentOrganizer.waitForTaskFragmentError(); in testCreateTaskFragment_duplicatedFragmentToken_reportError() 145 assertThat(mTaskFragmentOrganizer.getThrowable()) in testCreateTaskFragment_duplicatedFragmentToken_reportError() 147 assertThat(mTaskFragmentOrganizer.getErrorCallbackToken()).isEqualTo(errorCallbackToken); in testCreateTaskFragment_duplicatedFragmentToken_reportError() [all …]
|
D | TaskFragmentOrganizerTest.java | 77 mTaskFragmentOrganizer.getOrganizerToken(), taskFragToken, mOwnerToken) in testCreateTaskFragment() 83 mTaskFragmentOrganizer.applyTransaction(wct, TASK_FRAGMENT_TRANSIT_OPEN, in testCreateTaskFragment() 86 mTaskFragmentOrganizer.waitForTaskFragmentCreated(); in testCreateTaskFragment() 88 final TaskFragmentInfo info = mTaskFragmentOrganizer.getTaskFragmentInfo(taskFragToken); in testCreateTaskFragment() 117 mTaskFragmentOrganizer.applyTransaction(wct, TASK_FRAGMENT_TRANSIT_CHANGE, in testReparentActivity() 120 mTaskFragmentOrganizer.waitForTaskFragmentCreated(); in testReparentActivity() 122 assertNotEmptyTaskFragment(mTaskFragmentOrganizer.getTaskFragmentInfo(taskFragToken), in testReparentActivity() 150 mTaskFragmentOrganizer.applyTransaction(wct, TASK_FRAGMENT_TRANSIT_OPEN, in testStartActivityInTaskFragment_reuseTask() 153 mTaskFragmentOrganizer.waitForTaskFragmentCreated(); in testStartActivityInTaskFragment_reuseTask() 155 TaskFragmentInfo info = mTaskFragmentOrganizer.getTaskFragmentInfo(taskFragToken); in testStartActivityInTaskFragment_reuseTask() [all …]
|
D | SplitActivityLifecycleTest.java | 126 mTaskFragmentOrganizer.setAppearedCount(2); in initializeSplitActivities() 127 mTaskFragmentOrganizer.applyTransaction(wct, TASK_FRAGMENT_TRANSIT_CHANGE, in initializeSplitActivities() 129 mTaskFragmentOrganizer.waitForTaskFragmentCreated(); in initializeSplitActivities() 134 final TaskFragmentInfo infoA = mTaskFragmentOrganizer.getTaskFragmentInfo( in initializeSplitActivities() 136 final TaskFragmentInfo infoB = mTaskFragmentOrganizer.getTaskFragmentInfo( in initializeSplitActivities() 145 mTaskFragmentOrganizer.resetLatch(); in initializeSplitActivities() 181 mTaskFragmentOrganizer.applyTransaction(wct, TASK_FRAGMENT_TRANSIT_OPEN, in testActivityLaunchInSameSplitTaskFragment() 184 final TaskFragmentInfo infoA = mTaskFragmentOrganizer.waitForAndGetTaskFragmentInfo( in testActivityLaunchInSameSplitTaskFragment() 221 mTaskFragmentOrganizer.applyTransaction(wct, TASK_FRAGMENT_TRANSIT_OPEN, in testActivityLaunchInAdjacentSplitTaskFragment() 224 final TaskFragmentInfo infoB = mTaskFragmentOrganizer.waitForAndGetTaskFragmentInfo( in testActivityLaunchInAdjacentSplitTaskFragment() [all …]
|
D | TaskFragmentTrustedModeTest.java | 119 mTaskFragmentOrganizer.applyTransaction(wct, TASK_FRAGMENT_TRANSIT_OPEN, in testUntrustedModeTaskFragmentVisibility_startActivityInTaskFragment() 153 mTaskFragmentOrganizer.applyTransaction(wct, TASK_FRAGMENT_TRANSIT_CHANGE, in testUntrustedModeTaskFragmentVisibility_reparentActivityInTaskFragment() 189 mTaskFragmentOrganizer.resetLatch(); in testUntrustedModeTaskFragment_setRelativeBoundsOutsideOfParentBounds() 197 mTaskFragmentOrganizer.applyTransaction(wct, TASK_FRAGMENT_TRANSIT_CHANGE, in testUntrustedModeTaskFragment_setRelativeBoundsOutsideOfParentBounds() 254 mTaskFragmentOrganizer.waitForTaskFragmentError(); in assertTaskFragmentError() 255 assertThat(mTaskFragmentOrganizer.getThrowable()).isInstanceOf(exceptionClass); in assertTaskFragmentError() 256 assertThat(mTaskFragmentOrganizer.getErrorCallbackToken()).isEqualTo(errorCallbackToken); in assertTaskFragmentError()
|
D | TaskFragmentOrganizerTestBase.java | 76 public BasicTaskFragmentOrganizer mTaskFragmentOrganizer; field in TaskFragmentOrganizerTestBase 87 mTaskFragmentOrganizer = new BasicTaskFragmentOrganizer(); in setUp() 88 mTaskFragmentOrganizer.registerOrganizer(); in setUp() 108 if (mTaskFragmentOrganizer != null) { in tearDown() 109 mTaskFragmentOrganizer.unregisterOrganizer(); in tearDown() 204 mTaskFragmentOrganizer.applyTransaction(wct, TASK_FRAGMENT_TRANSIT_OPEN, in createTaskFragment() 206 mTaskFragmentOrganizer.waitForTaskFragmentCreated(); in createTaskFragment() 212 return mTaskFragmentOrganizer.getTaskFragmentInfo(taskFragToken); in createTaskFragment() 217 return mTaskFragmentOrganizer.generateTaskFragParams(mOwnerToken); in generateTaskFragCreationParams() 222 return mTaskFragmentOrganizer.generateTaskFragParams(mOwnerToken, relativeBounds, in generateTaskFragCreationParams()
|