/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskSnapshotCacheTest.java | 68 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 …]
|
D | TaskSnapshotLowResDisabledTest.java | 130 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/service/games/ |
D | CreateGameSessionRequest.java | 55 private final int mTaskId; field in CreateGameSessionRequest 59 this.mTaskId = taskId; in CreateGameSessionRequest() 70 dest.writeInt(mTaskId); in writeToParcel() 78 return mTaskId; in getTaskId() 93 + mTaskId in toString() 110 return mTaskId == that.mTaskId in equals() 116 return Objects.hash(mTaskId, mGamePackageName); in hashCode()
|
D | GameStartedEvent.java | 55 private final int mTaskId; field in GameStartedEvent 59 this.mTaskId = taskId; in GameStartedEvent() 70 dest.writeInt(mTaskId); in writeToParcel() 79 return mTaskId; in getTaskId() 94 + mTaskId in toString() 111 return mTaskId == that.mTaskId in equals() 117 return Objects.hash(mTaskId, mPackageName); in hashCode()
|
/frameworks/base/core/java/android/app/wallpapereffectsgeneration/ |
D | CinematicEffectRequest.java | 39 private String mTaskId; field in CinematicEffectRequest 48 this.mTaskId = in.readString(); in CinematicEffectRequest() 56 mTaskId = taskId; in CinematicEffectRequest() 65 return mTaskId; in getTaskId() 83 return mTaskId.equals(that.mTaskId); in equals() 88 return Objects.hash(mTaskId); in hashCode() 98 out.writeString(mTaskId); in writeToParcel()
|
D | CinematicEffectResponse.java | 128 private String mTaskId; field in CinematicEffectResponse 147 mTaskId = in.readString(); in CinematicEffectResponse() 162 mTaskId = taskId; in CinematicEffectResponse() 178 return mTaskId; in getTaskId() 236 out.writeString(mTaskId); in writeToParcel() 250 return mTaskId.equals(that.mTaskId); in equals() 255 return Objects.hash(mTaskId); in hashCode() 267 private String mTaskId; field in CinematicEffectResponse.Builder 285 mTaskId = taskId; in Builder() 334 return new CinematicEffectResponse(mStatusCode, mTaskId, mImageContentType, in build()
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameSessionRecord.java | 44 private final int mTaskId; field in GameSessionRecord 68 this.mTaskId = taskId; in GameSessionRecord() 82 mTaskId, in withGameSessionRequested() 98 return new GameSessionRecord(mTaskId, in withGameSession() 108 mTaskId, in withGameSessionEndedOnProcessDeath() 121 return mTaskId; in getTaskId() 143 + mTaskId in toString() 166 return mTaskId == that.mTaskId in equals() 176 mTaskId, mState, mRootComponentName, mIGameSession, mState, mSurfacePackage); in hashCode()
|
D | GameTaskInfo.java | 24 final int mTaskId; field in GameTaskInfo 29 mTaskId = taskId; in GameTaskInfo() 38 + mTaskId in toString() 57 return mTaskId == that.mTaskId in equals() 64 return Objects.hash(mTaskId, mIsGameTask, mComponentName); in hashCode()
|
/frameworks/base/core/java/android/app/assist/ |
D | ActivityId.java | 48 private final int mTaskId; field in ActivityId 60 mTaskId = taskId; in ActivityId() 68 mTaskId = source.readInt(); in ActivityId() 78 return mTaskId; in getTaskId() 105 dest.writeInt(mTaskId); in writeToParcel() 128 return "ActivityId { taskId = " + mTaskId + ", activityId = " + mActivityId + " }"; in toString() 140 if (mTaskId != that.mTaskId) { in equals() 150 int result = mTaskId; in hashCode()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppTaskImpl.java | 43 private final int mTaskId; field in AppTaskImpl 48 mTaskId = taskId; in AppTaskImpl() 78 if (!mService.mTaskSupervisor.removeTaskById(mTaskId, false, in finishAndRemoveTask() 80 throw new IllegalArgumentException("Unable to find task ID " + mTaskId); in finishAndRemoveTask() 95 Task task = mService.mRootWindowContainer.anyTaskForId(mTaskId, in getTaskInfo() 98 throw new IllegalArgumentException("Unable to find task ID " + mTaskId); in getTaskInfo() 141 mService.mTaskSupervisor.startActivityFromRecents(callingPid, callingUid, mTaskId, in moveToFront() 158 task = mService.mRootWindowContainer.anyTaskForId(mTaskId, in startActivity() 161 throw new IllegalArgumentException("Unable to find task ID " + mTaskId); in startActivity() 187 Task task = mService.mRootWindowContainer.anyTaskForId(mTaskId, in setExcludeFromRecents() [all …]
|
D | ActivityAssistInfo.java | 30 private final int mTaskId; field in ActivityAssistInfo 35 this.mTaskId = activityRecord.getTask().mTaskId; in ActivityAssistInfo() 50 return mTaskId; in getTaskId()
|
/frameworks/base/core/java/android/service/voice/ |
D | VisibleActivityInfo.java | 63 private final int mTaskId; field in VisibleActivityInfo 77 mTaskId = taskId; in VisibleActivityInfo() 88 return new VoiceInteractionSession.ActivityId(mTaskId, mAssistToken); in getActivityId() 113 "taskId = " + mTaskId + ", " + in toString() 131 && mTaskId == that.mTaskId in equals() 142 _hash = 31 * _hash + mTaskId; in hashCode() 153 dest.writeInt(mTaskId); in writeToParcel() 171 this.mTaskId = taskId; in VisibleActivityInfo()
|
/frameworks/base/core/java/android/app/contentsuggestions/ |
D | SelectionsRequest.java | 38 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/request/ |
D | UceRequestManagerTest.java | 80 private long mTaskId = 1L; field in UceRequestManagerTest 261 requestMgrCallback.notifySendingRequest(mCoordId, mTaskId, 0L); in testRequestManagerCallback() 284 requestMgrCallback.notifyRequestError(mCoordId, mTaskId); in testRequestManagerCallback() 286 verify(mCoordinator).onRequestUpdated(mTaskId, REQUEST_UPDATE_ERROR); in testRequestManagerCallback() 288 requestMgrCallback.notifyCommandError(mCoordId, mTaskId); in testRequestManagerCallback() 290 verify(mCoordinator).onRequestUpdated(mTaskId, REQUEST_UPDATE_COMMAND_ERROR); in testRequestManagerCallback() 292 requestMgrCallback.notifyNetworkResponse(mCoordId, mTaskId); in testRequestManagerCallback() 294 verify(mCoordinator).onRequestUpdated(mTaskId, REQUEST_UPDATE_NETWORK_RESPONSE); in testRequestManagerCallback() 296 requestMgrCallback.notifyTerminated(mCoordId, mTaskId); in testRequestManagerCallback() 298 verify(mCoordinator).onRequestUpdated(mTaskId, REQUEST_UPDATE_TERMINATED); in testRequestManagerCallback() [all …]
|
D | SubscribeCoordinatorTest.java | 78 private long mTaskId = 1L; field in SubscribeCoordinatorTest 84 doReturn(mTaskId).when(mRequest).getTaskId(); in setUp() 100 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_ERROR); in testRequestUpdatedWithError() 115 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_COMMAND_ERROR); in testRequestCommandError() 134 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_NETWORK_RESPONSE); in testRequestNetworkRespSuccess() 141 verify(mUceStatsWriter).setSubscribeResponse(eq(mSubId), eq(mTaskId), eq(200)); in testRequestNetworkRespSuccess() 153 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_NETWORK_RESPONSE); in testRequestNetworkRespFailure() 155 verify(mUceStatsWriter).setSubscribeResponse(eq(mSubId), eq(mTaskId), eq(400)); in testRequestNetworkRespFailure() 172 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_NETWORK_RESPONSE); in testRequestNetworkRespError() 181 verify(mRequestMgrCallback).notifyUceRequestFinished(anyLong(), eq(mTaskId)); in testRequestNetworkRespError() [all …]
|
D | OptionsCoordinatorTest.java | 65 private long mTaskId = 1L; field in OptionsCoordinatorTest 71 doReturn(mTaskId).when(mRequest).getTaskId(); in setUp() 85 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_ERROR); in testRequestUpdatedWithError() 93 verify(mRequestMgrCallback).notifyUceRequestFinished(anyLong(), eq(mTaskId)); in testRequestUpdatedWithError() 102 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_COMMAND_ERROR); in testRequestCommandError() 112 verify(mRequestMgrCallback).notifyUceRequestFinished(anyLong(), eq(mTaskId)); in testRequestCommandError() 127 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_NETWORK_RESPONSE); in testRequestNetworkResponse() 141 verify(mRequestMgrCallback).notifyUceRequestFinished(anyLong(), eq(mTaskId)); in testRequestNetworkResponse()
|
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/publish/ |
D | PublishProcessorTest.java | 61 private long mTaskId = 1L; field in PublishProcessorTest 81 doReturn(mTaskId).when(mProcessorState).getCurrentTaskId(); in setUp() 87 doReturn(mTaskId).when(mResponseCallback).getTaskId(); in setUp() 134 doReturn(mTaskId).when(mProcessorState).getCurrentTaskId(); in testNotPublishWhenReachMaximumRetries() 135 doReturn(mTaskId).when(mResponseCallback).getTaskId(); in testNotPublishWhenReachMaximumRetries() 165 doReturn(mTaskId).when(mProcessorState).getCurrentTaskId(); in testCommandErrorWithRetry() 166 doReturn(mTaskId).when(mResponseCallback).getTaskId(); in testCommandErrorWithRetry() 188 doReturn(mTaskId).when(mProcessorState).getCurrentTaskId(); in testCommandErrorWithoutRetry() 189 doReturn(mTaskId).when(mResponseCallback).getTaskId(); in testCommandErrorWithoutRetry() 205 doReturn(mTaskId).when(mProcessorState).getCurrentTaskId(); in testNetworkResponseWithRetry() [all …]
|
/frameworks/base/core/java/android/app/ |
D | DirectAction.java | 45 private int mTaskId; field in DirectAction 65 mTaskId = taskId; in setSource() 73 mTaskId = original.mTaskId; in DirectAction() 81 mTaskId = in.readInt(); in DirectAction() 91 return mTaskId; in getTaskId() 152 dest.writeInt(mTaskId); in writeToParcel()
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/ |
D | CapabilityRequest.java | 45 protected final long mTaskId; field in CapabilityRequest 61 mTaskId = UceUtils.generateTaskId(); in CapabilityRequest() 72 mTaskId = UceUtils.generateTaskId(); in CapabilityRequest() 87 return mTaskId; in getTaskId() 94 mRequestManagerCallback.removeRequestTimeoutTimer(mTaskId); in onFinish() 140 mRequestManagerCallback.notifyRequestError(mCoordinatorId, mTaskId); in executeRequest() 169 mRequestManagerCallback.notifyCachedCapabilitiesUpdated(mCoordinatorId, mTaskId); in executeRequest() 182 mRequestManagerCallback.notifyNoNeedRequestFromNetwork(mCoordinatorId, mTaskId); in executeRequest() 322 mRequestManagerCallback.setRequestTimeoutTimer(mCoordinatorId, mTaskId, timeoutAfterMs); in setupRequestTimeoutTimer() 345 builder.append(mSubId).append("][taskId=").append(mTaskId).append("] "); in getLogPrefix()
|
D | SubscribeRequest.java | 109 mRequestManagerCallback.notifyRequestError(mCoordinatorId, mTaskId); in requestCapabilities() 122 mRequestManagerCallback.notifyRequestError(mCoordinatorId, mTaskId); in requestCapabilities() 134 mRequestManagerCallback.notifyCommandError(mCoordinatorId, mTaskId); in onCommandError() 145 mRequestManagerCallback.notifyNetworkResponse(mCoordinatorId, mTaskId); in onNetworkResponse() 160 mRequestManagerCallback.notifyNetworkResponse(mCoordinatorId, mTaskId); in onNetworkResponse() 180 mRequestManagerCallback.notifyResourceTerminated(mCoordinatorId, mTaskId); in onResourceTerminated() 248 mRequestManagerCallback.notifyCapabilitiesUpdated(mCoordinatorId, mTaskId); in onCapabilitiesUpdate() 259 mRequestManagerCallback.notifyTerminated(mCoordinatorId, mTaskId); in onTerminated()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ScreenshotRequest.java | 51 private final int mTaskId; field in ScreenshotRequest 64 mTaskId = taskId; in ScreenshotRequest() 75 mTaskId = in.readInt(); in ScreenshotRequest() 105 return mTaskId; in getTaskId() 126 dest.writeInt(mTaskId); in writeToParcel() 161 private int mTaskId = INVALID_TASK_ID; field in ScreenshotRequest.Builder 195 return new ScreenshotRequest(mType, mSource, mTopComponent, mTaskId, mUserId, mBitmap, in build() 215 mTaskId = taskId; in setTaskId()
|
/frameworks/base/telephony/java/android/telephony/ |
D | VisualVoicemailService.java | 116 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/ |
D | AppTransitionAnimationSpecCompat.java | 27 private int mTaskId; field in AppTransitionAnimationSpecCompat 32 mTaskId = taskId; in AppTransitionAnimationSpecCompat() 38 return new AppTransitionAnimationSpec(mTaskId, in toAppTransitionAnimationSpec()
|
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/ |
D | UceStatsWriterTest.java | 44 private long mTaskId = 5; field in UceStatsWriterTest 176 mWrite.setSubscribeResponse(mSubId, mTaskId, mNetworkResponse); in setSubscribeEvent() 178 assertEquals(mTaskId, mCallback.taskId); in setSubscribeEvent() 187 mWrite.setSubscribeResponse(mSubId, mTaskId, mNetworkResponse); in setSubscribeTerminated() 188 mWrite.setSubscribeTerminated(mSubId, mTaskId, mReason); in setSubscribeTerminated() 190 assertEquals(mTaskId, mCallback.taskId); in setSubscribeTerminated() 216 mWrite.setPresenceNotifyEvent(mSubId, mTaskId, updatedCapList); in setPresenceNotifyEvent() 218 assertEquals(mTaskId, mCallback.taskId); in setPresenceNotifyEvent() 237 mWrite.setPresenceNotifyEvent(mSubId, mTaskId, updatedCapList); in setPresenceNotifyEvent_withCallComposer2Caps() 239 assertEquals(mTaskId, mCallback.taskId); in setPresenceNotifyEvent_withCallComposer2Caps()
|
/frameworks/base/services/wallpapereffectsgeneration/java/com/android/server/wallpapereffectsgeneration/ |
D | WallpaperEffectsGenerationPerUserService.java | 98 if (mCinematicEffectListenerWrapper.mTaskId.equals(newTaskId)) { in onGenerateCinematicEffectLocked() 160 createErrorCinematicEffectResponse(mCinematicEffectListenerWrapper.mTaskId)); in updateRemoteServiceLocked() 198 createErrorCinematicEffectResponse(mCinematicEffectListenerWrapper.mTaskId)); in destroyAndRebindRemoteService() 219 + mCinematicEffectListenerWrapper.mTaskId + "]"); in invokeCinematicListenerAndCleanup() 225 + mCinematicEffectListenerWrapper.mTaskId + "]"); in invokeCinematicListenerAndCleanup() 268 private final String mTaskId; field in WallpaperEffectsGenerationPerUserService.CinematicEffectListenerWrapper 275 mTaskId = taskId; in CinematicEffectListenerWrapper()
|