Home
last modified time | relevance | path

Searched refs:mTaskId (Results 1 – 25 of 74) sorted by relevance

123

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotCacheTest.java68 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppRemoved()
71 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppRemoved()
79 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppDied()
82 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testAppDied()
90 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testTaskRemoved()
92 mCache.onTaskRemoved(window.getTask().mTaskId); in testTaskRemoved()
93 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */, in testTaskRemoved()
100 mPersister.persistSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, createSnapshot()); in testReduced_notCached()
102 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached()
106 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached()
[all …]
DTaskSnapshotLowResDisabledTest.java130 mPersister.persistSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, createSnapshot()); in testReduced_notCached()
132 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached()
136 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached()
140 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached()
144 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached()
148 assertNull(mCache.getSnapshot(window.getTask().mTaskId, mWm.mCurrentUserId, in testReduced_notCached()
/frameworks/base/core/java/android/app/assist/
DActivityId.java46 private final int mTaskId; field in ActivityId
57 mTaskId = taskId; in ActivityId()
65 mTaskId = source.readInt(); in ActivityId()
75 return mTaskId; in getTaskId()
93 dest.writeInt(mTaskId); in writeToParcel()
99 return "ActivityId { taskId = " + mTaskId + ", activityId = " + mActivityId + " }"; in toString()
111 if (mTaskId != that.mTaskId) { in equals()
121 int result = mTaskId; in hashCode()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/request/
DUceRequestManagerTest.java76 private long mTaskId = 1L; field in UceRequestManagerTest
147 requestMgrCallback.notifySendingRequest(mCoordId, mTaskId, 0L); in testRequestManagerCallback()
170 requestMgrCallback.notifyRequestError(mCoordId, mTaskId); in testRequestManagerCallback()
172 verify(mCoordinator).onRequestUpdated(mTaskId, REQUEST_UPDATE_ERROR); in testRequestManagerCallback()
174 requestMgrCallback.notifyCommandError(mCoordId, mTaskId); in testRequestManagerCallback()
176 verify(mCoordinator).onRequestUpdated(mTaskId, REQUEST_UPDATE_COMMAND_ERROR); in testRequestManagerCallback()
178 requestMgrCallback.notifyNetworkResponse(mCoordId, mTaskId); in testRequestManagerCallback()
180 verify(mCoordinator).onRequestUpdated(mTaskId, REQUEST_UPDATE_NETWORK_RESPONSE); in testRequestManagerCallback()
182 requestMgrCallback.notifyTerminated(mCoordId, mTaskId); in testRequestManagerCallback()
184 verify(mCoordinator).onRequestUpdated(mTaskId, REQUEST_UPDATE_TERMINATED); in testRequestManagerCallback()
[all …]
DOptionsCoordinatorTest.java62 private long mTaskId = 1L; field in OptionsCoordinatorTest
68 doReturn(mTaskId).when(mRequest).getTaskId(); in setUp()
82 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_ERROR); in testRequestUpdatedWithError()
90 verify(mRequestMgrCallback).notifyUceRequestFinished(anyLong(), eq(mTaskId)); in testRequestUpdatedWithError()
98 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_COMMAND_ERROR); in testRequestCommandError()
106 verify(mRequestMgrCallback).notifyUceRequestFinished(anyLong(), eq(mTaskId)); in testRequestCommandError()
120 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_NETWORK_RESPONSE); in testRequestNetworkResponse()
132 verify(mRequestMgrCallback).notifyUceRequestFinished(anyLong(), eq(mTaskId)); in testRequestNetworkResponse()
DSubscribeCoordinatorTest.java75 private long mTaskId = 1L; field in SubscribeCoordinatorTest
81 doReturn(mTaskId).when(mRequest).getTaskId(); in setUp()
97 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_ERROR); in testRequestUpdatedWithError()
111 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_COMMAND_ERROR); in testRequestCommandError()
126 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_NETWORK_RESPONSE); in testRequestNetworkRespSuccess()
147 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_NETWORK_RESPONSE); in testRequestNetworkRespError()
156 verify(mRequestMgrCallback).notifyUceRequestFinished(anyLong(), eq(mTaskId)); in testRequestNetworkRespError()
169 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_CAPABILITY_UPDATE); in testRequestCapabilityUpdated()
186 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_RESOURCE_TERMINATED); in testResourceTerminated()
203 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_CACHED_CAPABILITY_UPDATE); in testCachedCapabilityUpdated()
[all …]
DRemoteOptionsCoordinatorTest.java59 private long mTaskId = 1L; field in RemoteOptionsCoordinatorTest
65 doReturn(mTaskId).when(mRequest).getTaskId(); in setUp()
82 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_REMOTE_REQUEST_DONE); in testRemoteRequestFinished()
92 verify(mRequestMgrCallback).notifyUceRequestFinished(anyLong(), eq(mTaskId)); in testRemoteRequestFinished()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTaskImpl.java40 private int mTaskId; field in AppTaskImpl
45 mTaskId = taskId; in AppTaskImpl()
64 if (!mService.mTaskSupervisor.removeTaskById(mTaskId, false, in finishAndRemoveTask()
66 throw new IllegalArgumentException("Unable to find task ID " + mTaskId); in finishAndRemoveTask()
81 Task task = mService.mRootWindowContainer.anyTaskForId(mTaskId, in getTaskInfo()
84 throw new IllegalArgumentException("Unable to find task ID " + mTaskId); in getTaskInfo()
117 callingUid, mTaskId, null); in moveToFront()
134 task = mService.mRootWindowContainer.anyTaskForId(mTaskId, in startActivity()
137 throw new IllegalArgumentException("Unable to find task ID " + mTaskId); in startActivity()
163 Task task = mService.mRootWindowContainer.anyTaskForId(mTaskId, in setExcludeFromRecents()
[all …]
DActivityAssistInfo.java30 private final int mTaskId; field in ActivityAssistInfo
35 this.mTaskId = activityRecord.getTask().mTaskId; in ActivityAssistInfo()
50 return mTaskId; in getTaskId()
DTaskSnapshotPersister.java218 Slog.i(TAG, "Queue is too deep! Purged item with taskid=" + item.mTaskId); in ensureStoreQueueDepthLocked()
328 private final int mTaskId; field in TaskSnapshotPersister.StoreWriteQueueItem
333 mTaskId = taskId; in StoreWriteQueueItem()
369 deleteSnapshot(mTaskId, mUserId); in write()
390 final File file = getProtoFile(mTaskId, mUserId); in writeProto()
415 final File file = getHighResolutionBitmapFile(mTaskId, mUserId); in writeBuffer()
435 final File lowResFile = getLowResolutionBitmapFile(mTaskId, mUserId); in writeBuffer()
451 private final int mTaskId; field in TaskSnapshotPersister.DeleteWriteQueueItem
455 mTaskId = taskId; in DeleteWriteQueueItem()
461 deleteSnapshot(mTaskId, mUserId); in write()
DTaskOrganizerController.java205 mTaskOrganizer.removeStartingWindow(task.mTaskId, windowAnimationLeash, in removeStartingWindow()
214 mTaskOrganizer.copySplashScreenView(task.mTaskId); in copySplashScreenView()
222 mTaskOrganizer.onAppSplashScreenViewRemoved(task.mTaskId); in onAppSplashScreenViewRemoved()
233 ProtoLog.v(WM_DEBUG_WINDOW_ORGANIZER, "Task appeared taskId=%d", task.mTaskId); in onTaskAppeared()
245 ProtoLog.v(WM_DEBUG_WINDOW_ORGANIZER, "Task vanished taskId=%d", task.mTaskId); in onTaskVanished()
259 ProtoLog.v(WM_DEBUG_WINDOW_ORGANIZER, "Task info changed taskId=%d", task.mTaskId); in onTaskInfoChanged()
276 task.mTaskId); in onBackPressedOnTaskRoot()
361 mInterceptBackPressedOnRootTasks.remove(t.mTaskId); in removeTask()
370 mService.removeTask(t.mTaskId); in removeTask()
620 if (task.mTaskId == entry.mTask.mTaskId) { in onTaskVanishedInternal()
[all …]
DTaskSnapshotCache.java47 final CacheEntry entry = mRunningCache.get(task.mTaskId); in putSnapshot()
52 mAppTaskMap.put(top, task.mTaskId); in putSnapshot()
53 mRunningCache.put(task.mTaskId, new CacheEntry(snapshot, top)); in putSnapshot()
/frameworks/base/core/java/android/app/contentsuggestions/
DSelectionsRequest.java38 private final int mTaskId; field in SelectionsRequest
45 mTaskId = taskId; in SelectionsRequest()
54 return mTaskId; in getTaskId()
79 dest.writeInt(mTaskId); in writeToParcel()
105 private final int mTaskId; field in SelectionsRequest.Builder
115 mTaskId = taskId; in Builder()
138 return new SelectionsRequest(mTaskId, mInterestPoint, mExtras); in build()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/publish/
DPublishProcessorTest.java55 private long mTaskId = 1L; field in PublishProcessorTest
61 doReturn(mTaskId).when(mProcessorState).getCurrentTaskId(); in setUp()
67 doReturn(mTaskId).when(mResponseCallback).getTaskId(); in setUp()
113 doReturn(mTaskId).when(mProcessorState).getCurrentTaskId(); in testNotPublishWhenReachMaximumRetries()
114 doReturn(mTaskId).when(mResponseCallback).getTaskId(); in testNotPublishWhenReachMaximumRetries()
144 doReturn(mTaskId).when(mProcessorState).getCurrentTaskId(); in testCommandErrorWithRetry()
145 doReturn(mTaskId).when(mResponseCallback).getTaskId(); in testCommandErrorWithRetry()
163 doReturn(mTaskId).when(mProcessorState).getCurrentTaskId(); in testCommandErrorWithoutRetry()
164 doReturn(mTaskId).when(mResponseCallback).getTaskId(); in testCommandErrorWithoutRetry()
180 doReturn(mTaskId).when(mProcessorState).getCurrentTaskId(); in testNetworkResponseWithRetry()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/
DCapabilityRequest.java44 protected final long mTaskId; field in CapabilityRequest
60 mTaskId = UceUtils.generateTaskId(); in CapabilityRequest()
71 mTaskId = UceUtils.generateTaskId(); in CapabilityRequest()
86 return mTaskId; in getTaskId()
93 mRequestManagerCallback.removeRequestTimeoutTimer(mTaskId); in onFinish()
139 mRequestManagerCallback.notifyRequestError(mCoordinatorId, mTaskId); in executeRequest()
152 mRequestManagerCallback.notifyCachedCapabilitiesUpdated(mCoordinatorId, mTaskId); in executeRequest()
165 mRequestManagerCallback.notifyNoNeedRequestFromNetwork(mCoordinatorId, mTaskId); in executeRequest()
235 mRequestManagerCallback.setRequestTimeoutTimer(mCoordinatorId, mTaskId, timeoutAfterMs); in setupRequestTimeoutTimer()
258 builder.append(mSubId).append("][taskId=").append(mTaskId).append("] "); in getLogPrefix()
DSubscribeRequest.java106 mRequestManagerCallback.notifyRequestError(mCoordinatorId, mTaskId); in requestCapabilities()
119 mRequestManagerCallback.notifyRequestError(mCoordinatorId, mTaskId); in requestCapabilities()
131 mRequestManagerCallback.notifyCommandError(mCoordinatorId, mTaskId); in onCommandError()
142 mRequestManagerCallback.notifyNetworkResponse(mCoordinatorId, mTaskId); in onNetworkResponse()
157 mRequestManagerCallback.notifyNetworkResponse(mCoordinatorId, mTaskId); in onNetworkResponse()
177 mRequestManagerCallback.notifyResourceTerminated(mCoordinatorId, mTaskId); in onResourceTerminated()
216 mRequestManagerCallback.notifyCapabilitiesUpdated(mCoordinatorId, mTaskId); in onCapabilitiesUpdate()
227 mRequestManagerCallback.notifyTerminated(mCoordinatorId, mTaskId); in onTerminated()
DRemoteOptionsRequest.java85 private final long mTaskId; field in RemoteOptionsRequest
97 mTaskId = UceUtils.generateTaskId(); in RemoteOptionsRequest()
116 return mTaskId; in getTaskId()
154 mRequestManagerCallback.notifyRemoteRequestDone(mCoordinatorId, mTaskId); in executeRequest()
212 builder.append(mSubId).append("][taskId=").append(mTaskId).append("] "); in getLogPrefix()
DOptionsRequest.java89 mRequestManagerCallback.notifyRequestError(mCoordinatorId, mTaskId); in requestCapabilities()
99 mRequestManagerCallback.notifyRequestError(mCoordinatorId, mTaskId); in requestCapabilities()
115 mRequestManagerCallback.notifyRequestError(mCoordinatorId, mTaskId); in requestCapabilities()
127 mRequestManagerCallback.notifyCommandError(mCoordinatorId, mTaskId); in onCommandError()
151 mRequestManagerCallback.notifyNetworkResponse(mCoordinatorId, mTaskId); in onNetworkResponse()
DUceRequestCoordinator.java147 private final Long mTaskId; field in UceRequestCoordinator.RequestResult
156 mTaskId = taskId; in RequestResult()
166 mTaskId = taskId; in RequestResult()
173 return mTaskId; in getTaskId()
/frameworks/base/core/java/android/app/
DDirectAction.java46 private int mTaskId; field in DirectAction
66 mTaskId = taskId; in setSource()
74 mTaskId = original.mTaskId; in DirectAction()
82 mTaskId = in.readInt(); in DirectAction()
92 return mTaskId; in getTaskId()
153 dest.writeInt(mTaskId); in writeToParcel()
/frameworks/base/telephony/java/android/telephony/
DVisualVoicemailService.java116 private final int mTaskId; field in VisualVoicemailService.VisualVoicemailTask
120 mTaskId = taskId; in VisualVoicemailTask()
131 message.arg1 = mTaskId; in finish()
144 return mTaskId == ((VisualVoicemailTask) obj).mTaskId; in equals()
149 return mTaskId; in hashCode()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/
DAppTransitionAnimationSpecCompat.java27 private int mTaskId; field in AppTransitionAnimationSpecCompat
32 mTaskId = taskId; in AppTransitionAnimationSpecCompat()
38 return new AppTransitionAnimationSpec(mTaskId, in toAppTransitionAnimationSpec()
/frameworks/base/tests/benchmarks/internal/src/com/android/internal/
DLambdaPerfTest.java76 private int mTaskId; field in LambdaPerfTest
110 mTaskId = 12345; in test2PrimitiveParamsConsumer()
113 evaluate(LAMBDA_FORM_REGULAR, () -> forAllTask(t -> t.doSomething(mTaskId, mTime))); in test2PrimitiveParamsConsumer()
116 PooledLambda.__(Task.class), mTaskId, mTime); in test2PrimitiveParamsConsumer()
126 mTaskId = 10; in test3ParamsPredicate()
128 evaluate(LAMBDA_FORM_REGULAR, () -> handleTask(t -> t.doSomething(mBounds, mTop, mTaskId))); in test3ParamsPredicate()
131 PooledLambda.__(Task.class), mBounds, mTop, mTaskId); in test3ParamsPredicate()
140 final Message m = Message.obtain().setCallback(() -> mTask.doSomething(mTaskId, mTime)); in testMessage()
145 final Message m = PooledLambda.obtainMessage(Task::doSomething, mTask, mTaskId, mTime); in testMessage()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
DForcedResizableInfoActivityController.java58 int mTaskId; field in ForcedResizableInfoActivityController.PendingTaskRecord
66 this.mTaskId = taskId; in PendingTaskRecord()
121 options.setLaunchTaskId(pendingRecord.mTaskId); in showPending()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/publish/
DPublishProcessorState.java242 private long mTaskId; field in PublishProcessorState
265 mTaskId = UceUtils.generateTaskId(); in generatePublishTaskId()
266 return mTaskId; in generatePublishTaskId()
275 return mTaskId; in getCurrentTaskId()

123