Home
last modified time | relevance | path

Searched refs:getTaskId (Results 1 – 25 of 98) sorted by relevance

1234

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DBubblesTransitionObserverTest.java83 when(mBubble.getTaskId()).thenReturn(1); in testOnTransitionReady_open_collapsesStack()
97 when(mBubble.getTaskId()).thenReturn(1); in testOnTransitionReady_toFront_collapsesStack()
111 when(mBubble.getTaskId()).thenReturn(1); in testOnTransitionReady_noTaskInfo_skip()
126 when(mBubble.getTaskId()).thenReturn(1); in testOnTransitionReady_noTaskId_skip()
142 when(mBubble.getTaskId()).thenReturn(1); in testOnTransitionReady_notOpening_skip()
162 when(mBubble.getTaskId()).thenReturn(1); in testOnTransitionReady_stackAnimating_skip()
176 when(mBubble.getTaskId()).thenReturn(1); in testOnTransitionReady_stackNotExpanded_skip()
190 when(mBubble.getTaskId()).thenReturn(1); in testOnTransitionReady_noSelectedBubble_skip()
204 when(mBubble.getTaskId()).thenReturn(1); in testOnTransitionReady_openingMatchesExpanded_skip()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/
DSubscribeRequestCoordinator.java251 Long taskId = request.getTaskId(); in handleRequestError()
273 Long taskId = request.getTaskId(); in handleCommandError()
288 mUceStatsWriter.setSubscribeResponse(mSubId, request.getTaskId(), respCode); in handleNetworkResponse()
318 moveRequestToFinishedCollection(request.getTaskId(), requestResult); in handleNetworkResponse()
323 final long taskId = request.getTaskId(); in handleNetworkResponseFailed()
400 Long taskId = request.getTaskId(); in handleCapabilitiesUpdated()
424 Long taskId = request.getTaskId(); in handleResourceTerminated()
448 Long taskId = request.getTaskId(); in handleCachedCapabilityUpdated()
473 Long taskId = request.getTaskId(); in handleTerminated()
492 long taskId = request.getTaskId(); in handleNoNeedRequestFromNetwork()
[all …]
DOptionsRequestCoordinator.java187 Long taskId = request.getTaskId(); in handleRequestError()
209 Long taskId = request.getTaskId(); in handleCommandError()
239 Long taskId = request.getTaskId(); in handleNetworkResponse()
249 Long taskId = request.getTaskId(); in handleCachedCapabilityUpdated()
274 long taskId = request.getTaskId(); in handleNoNeedRequestFromNetwork()
292 long taskId = request.getTaskId(); in handleRequestTimeout()
DUceRequestDispatcher.java55 public long getTaskId() { in getTaskId() method in UceRequestDispatcher.Request
116 mExecutingRequests.removeIf(request -> request.getTaskId() == taskId); in onRequestFinished()
187 long taskId = request.getTaskId(); in notifyStartOfRequest()
192 builder.append(request.getTaskId() + ", "); in notifyStartOfRequest()
DUceRequestCoordinator.java219 public long getTaskId() { in getTaskId() method in UceRequestCoordinator.RequestResult
269 Collectors.toMap(UceRequest::getTaskId, request -> request)); in UceRequestCoordinator()
285 .map(request -> request.getTaskId()) in getActivatedRequestTaskIds()
DUceRequest.java57 long getTaskId(); in getTaskId() method
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskStackChangedListenerTest.java192 taskId = startTestActivity(ActivityTaskDescriptionChange.class).getTaskId(); in testTaskDescriptionChanged()
215 taskId = startTestActivity(ActivityRequestedOrientationChange.class).getTaskId(); in testActivityRequestedOrientationChanged()
268 expectedTaskId[0] = activity.getTaskId(); in testTaskChangeCallBacks()
302 taskId1 = startTestActivity(ActivityInVirtualDisplay.class, options1).getTaskId(); in testTaskDisplayChanged()
318 taskId2 = startTestActivity(ActivityInVirtualDisplay.class, options2).getTaskId(); in testTaskDisplayChanged()
370 candidate -> candidate[0] == activity.getTaskId()); in testNotifyTaskRequestedOrientationChanged()
377 candidate -> candidate[0] == activity.getTaskId()); in testNotifyTaskRequestedOrientationChanged()
383 candidate -> candidate[0] == activity.getTaskId()); in testNotifyTaskRequestedOrientationChanged()
DTaskSnapshotPersisterLoaderTest.java160 assertEquals(-1, removeObsoleteFilesQueueItem.getTaskId("blablablulp")); in testGetTaskId()
161 assertEquals(-1, removeObsoleteFilesQueueItem.getTaskId("nothing.err")); in testGetTaskId()
162 assertEquals(-1, removeObsoleteFilesQueueItem.getTaskId("/invalid/")); in testGetTaskId()
163 assertEquals(12, removeObsoleteFilesQueueItem.getTaskId("12.jpg")); in testGetTaskId()
164 assertEquals(12, removeObsoleteFilesQueueItem.getTaskId("12.proto")); in testGetTaskId()
165 assertEquals(1, removeObsoleteFilesQueueItem.getTaskId("1.jpg")); in testGetTaskId()
166 assertEquals(1, removeObsoleteFilesQueueItem.getTaskId("1_reduced.jpg")); in testGetTaskId()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/publish/
DPublishProcessorTest.java89 doReturn(mTaskId).when(mResponseCallback).getTaskId(); in setUp()
137 doReturn(mTaskId).when(mResponseCallback).getTaskId(); in testNotPublishWhenReachMaximumRetries()
168 doReturn(mTaskId).when(mResponseCallback).getTaskId(); in testCommandErrorWithRetry()
192 doReturn(mTaskId).when(mResponseCallback).getTaskId(); in testCommandErrorWithoutRetry()
211 doReturn(mTaskId).when(mResponseCallback).getTaskId(); in testNetworkResponseWithRetry()
231 doReturn(mTaskId).when(mResponseCallback).getTaskId(); in testNetworkResponseSuccessful()
/frameworks/base/core/java/android/view/translation/
DUiTranslationManager.java208 targetSpec, viewIds, activityId.getToken(), activityId.getTaskId(), in startTranslation()
233 activityId.getToken(), activityId.getTaskId(), null /* uiTranslationSpec */, in finishTranslation()
257 activityId.getToken(), activityId.getTaskId(), null /* uiTranslationSpec */, in pauseTranslation()
281 activityId.getToken(), activityId.getTaskId(), null /* uiTranslationSpec */, in resumeTranslation()
/frameworks/base/core/tests/screenshothelpertests/src/com/android/internal/util/
DScreenshotRequestTest.java62 assertEquals(INVALID_TASK_ID, out.getTaskId()); in testSimpleScreenshot()
90 assertEquals(2, out.getTaskId()); in testProvidedScreenshot()
127 assertEquals(INVALID_TASK_ID, out.getTaskId()); in testFullScreenshot_withBitmap()
/frameworks/base/core/tests/coretests/src/android/view/
DContentRecordingSessionTest.java70 assertThat(session.getTaskId()).isEqualTo(TASK_ID_UNKNOWN); in testTaskConstructor()
79 assertThat(session.getTaskId()).isEqualTo(TASK_ID); in testSecondaryTaskConstructor()
88 assertThat(session.getTaskId()).isEqualTo(TASK_ID_UNKNOWN); in testDisplayConstructor()
/frameworks/base/services/core/java/com/android/server/app/
DGameServiceProviderInstanceImpl.java671 gameSessionRecord.getTaskId(), in destroyGameSessionFromRecordLocked()
749 + gameSessionRecord.getTaskId()); in recreateEndedGameSessionsLocked()
752 final int taskId = gameSessionRecord.getTaskId(); in recreateEndedGameSessionsLocked()
755 createGameSessionLocked(gameSessionRecord.getTaskId()); in recreateEndedGameSessionsLocked()
799 + gameSessionRecord.getTaskId()); in endGameSessionsForPackageLocked()
803 mGameTaskInfoProvider.getRunningTaskInfo(gameSessionRecord.getTaskId()); in endGameSessionsForPackageLocked()
807 + gameSessionRecord.getTaskId()); in endGameSessionsForPackageLocked()
811 mGameSessions.put(gameSessionRecord.getTaskId(), in endGameSessionsForPackageLocked()
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
DTaskContainerTest.java135 taskContainer.getTaskId(), null /* activityInTask */) in testIsEmpty()
154 taskContainer.getTaskId(), null /* activityInTask */) in testGetTopTaskFragmentContainer()
160 taskContainer.getTaskId(), null /* activityInTask */) in testGetTopTaskFragmentContainer()
DTaskFragmentContainerTest.java103 mController.addTaskContainer(taskContainer.getTaskId(), taskContainer); in testNewContainer()
107 () -> new TaskFragmentContainer.Builder(mController, taskContainer.getTaskId(), in testNewContainer()
112 () -> new TaskFragmentContainer.Builder(mController, taskContainer.getTaskId(), in testNewContainer()
550 mController.addTaskContainer(taskContainer.getTaskId(), taskContainer); in testNewContainerWithPairedPrimaryContainer()
559 taskContainer.getTaskId(), null /* activityInTask */) in testNewContainerWithPairedPrimaryContainer()
618 final int taskId = taskContainer.getTaskId(); in createTaskFragmentContainer()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotPersister.java136 final int taskId = getTaskId(file); in write()
147 int getTaskId(String fileName) { in getTaskId() method in TaskSnapshotPersister.RemoveObsoleteFilesQueueItem
DActivityAssistInfo.java54 public int getTaskId() { in getTaskId() method in ActivityAssistInfo
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleViewProvider.java78 int getTaskId(); in getTaskId() method
DBubbleTaskViewHelper.java213 mTaskId = bubbleTaskView.getTaskId(); in BubbleTaskViewHelper()
249 public int getTaskId() { in getTaskId() method in BubbleTaskViewHelper
/frameworks/base/media/java/android/media/projection/
DIMediaProjection.aidl57 int getTaskId(); in getTaskId() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWorkLockActivity.java187 options.setLaunchTaskId(getTaskId()); in showConfirmCredentialActivity()
202 launchOptions.setLaunchTaskId(getTaskId()); in showConfirmCredentialActivity()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DSplitController.java529 updateContainersInTaskIfVisible(wct, taskContainer.getTaskId()); in finishActivityStacks()
545 updateContainersInTaskIfVisible(wct, taskContainer.getTaskId()); in invalidateTopVisibleSplitAttributes()
663 final int taskId = change.getTaskId(); in onTransactionReady()
843 updateContainersInTaskIfVisible(wct, container.getTaskId()); in onTaskFragmentVanished()
1112 mTaskContainers.remove(taskContainer.getTaskId()); in cleanupTaskFragment()
1113 mDividerPresenters.remove(taskContainer.getTaskId()); in cleanupTaskFragment()
1283 final int taskId = getTaskId(activity); in placeActivityInTopContainer()
1335 new TaskFragmentContainer.Builder(this, getTaskId(activity), activity) in expandActivity()
1594 return resolveStartActivityIntent(wct, taskContainer.getTaskId(), intent, in resolveStartActivityIntentFromNonActivityContext()
2542 int getTaskId(@NonNull Activity activity) { in getTaskId() method in SplitController
[all …]
/frameworks/base/services/wallpapereffectsgeneration/java/com/android/server/wallpapereffectsgeneration/
DWallpaperEffectsGenerationManagerService.java117 request.getTaskId()).build()); in generateCinematicEffect()
121 + request.getTaskId() + "]"); in generateCinematicEffect()
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DContentCaptureContextTest.java51 assertThat(activityId.getTaskId()).isEqualTo(666); in testConstructorAdditionalFlags()
/frameworks/base/core/java/android/service/games/
DCreateGameSessionRequest.java77 public int getTaskId() { in getTaskId() method in CreateGameSessionRequest

1234