Home
last modified time | relevance | path

Searched refs:taskId (Results 1 – 25 of 42) sorted by relevance

12

/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DUserCapabilityExchangeImplTest.java165 int taskId = 1; in testRequestPublicationWithSuccessfulResponse() local
176 taskId); in testRequestPublicationWithSuccessfulResponse()
177 uceImpl.mRcsFeatureCallback.onNetworkResponse(sipResponse, null, taskId); in testRequestPublicationWithSuccessfulResponse()
179 }).when(mRcsFeatureManager).requestPublication(capability, taskId); in testRequestPublicationWithSuccessfulResponse()
182 int result = uceImpl.requestPublication(capability, contact.toString(), taskId); in testRequestPublicationWithSuccessfulResponse()
185 verify(mPresencePublication).onCommandStatusUpdated(taskId, taskId, ResultCode.SUCCESS); in testRequestPublicationWithSuccessfulResponse()
186 verify(mPresencePublication).onSipResponse(taskId, sipResponse, null); in testRequestPublicationWithSuccessfulResponse()
191 int taskId = 1; in testRequestPublicationWithFailedResponse() local
201 RcsCapabilityExchange.COMMAND_CODE_GENERIC_FAILURE, taskId); in testRequestPublicationWithFailedResponse()
203 }).when(mRcsFeatureManager).requestPublication(capability, taskId); in testRequestPublicationWithFailedResponse()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DUserCapabilityExchangeImpl.java269 int taskId = mPresenceSubscriber.requestCapability(numbers, in requestCapabilities() local
325 if (taskId < 0) { in requestCapabilities()
327 c.onError(toUceError(taskId)); in requestCapabilities()
333 mPendingCapabilityRequests.put(taskId, c); in requestCapabilities()
337 public int requestCapability(String[] formattedContacts, int taskId) { in requestCapability() argument
347 logi("requestCapability: taskId=" + taskId); in requestCapability()
352 mRcsFeatureManager.requestCapabilities(contactList, taskId); in requestCapability()
361 public int requestAvailability(String formattedContact, int taskId) { in requestAvailability() argument
371 logi("requestAvailability: taskId=" + taskId); in requestAvailability()
372 addRequestingAvailabilityTaskId(taskId); in requestAvailability()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRecentsModel.java123 public void findTaskWithId(int taskId, Consumer<Task.TaskKey> callback) { in findTaskWithId() argument
126 if (task.key.id == taskId) { in findTaskWithId()
163 public void onTaskSnapshotChanged(int taskId, ThumbnailData snapshot) { in onTaskSnapshotChanged() argument
164 mThumbnailCache.updateTaskSnapShot(taskId, snapshot); in onTaskSnapshotChanged()
167 Task task = mThumbnailChangeListeners.get(i).onTaskThumbnailChanged(taskId, snapshot); in onTaskSnapshotChanged()
175 public void onTaskRemoved(int taskId) { in onTaskRemoved() argument
176 Task.TaskKey dummyKey = new Task.TaskKey(taskId, 0, null, null, 0, 0); in onTaskRemoved()
238 Task onTaskThumbnailChanged(int taskId, ThumbnailData thumbnailData); in onTaskThumbnailChanged() argument
DTaskThumbnailCache.java121 public void updateTaskSnapShot(int taskId, ThumbnailData thumbnail) { in updateTaskSnapShot() argument
123 mCache.updateIfAlreadyInCache(taskId, thumbnail); in updateTaskSnapShot()
236 public void updateIfAlreadyInCache(int taskId, ThumbnailData thumbnailData) { in updateIfAlreadyInCache() argument
237 ThumbnailData oldData = getCacheEntry(taskId); in updateIfAlreadyInCache()
239 putCacheEntry(taskId, thumbnailData); in updateIfAlreadyInCache()
DTaskUtils.java69 int taskId, int mode) { in taskIsATargetWithMode() argument
71 if (target.mode == mode && target.taskId == taskId) { in taskIsATargetWithMode()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsTaskScheduler.java95 public void scheduleTask(int taskId) { in scheduleTask() argument
96 scheduleTask(taskId, null); in scheduleTask()
101 public void scheduleTask(int taskId, Object arg) { in scheduleTask() argument
113 mHandler.sendEmptyMessage(taskId); in scheduleTask()
115 mHandler.sendMessage(mHandler.obtainMessage(taskId, arg)); in scheduleTask()
124 public abstract void onPerformTask(int taskId, Object arg); in onPerformTask() argument
DVoicemailContentProvider.java105 public void onPerformTask(int taskId, Object arg) { in onCreate()
106 performBackgroundTask(taskId, arg); in onCreate()
147 void scheduleTask(int taskId, Object arg) { in scheduleTask() argument
148 mTaskScheduler.scheduleTask(taskId, arg); in scheduleTask()
/packages/services/Car/service/src/com/android/car/am/
DFixedActivityService.java96 public int taskId = INVALID_TASK_ID; field in FixedActivityService.RunningActivityInfo
121 + ",consecutiveRetries:" + consecutiveRetries + ",taskId:" + taskId + "}"; in toString()
197 public void onTaskCreated(int taskId, ComponentName componentName) {
202 public void onTaskRemoved(int taskId) {
207 public void onTaskMovedToFront(int taskId) {
212 public void onTaskRemovalStarted(int taskId) {
397 if (activityInfo.taskId != INVALID_TASK_ID) { in launchIfNecessary()
401 mAm.removeTask(activityInfo.taskId); in launchIfNecessary()
433 activityInfo.taskId = stackInfo.taskIds[stackInfo.taskIds.length - 1]; in launchIfNecessary()
442 if (activityInfo.taskId == stackInfo.taskIds[i]) { in launchIfNecessary()
[all …]
/packages/services/Car/service/src/com/android/car/
DSystemActivityMonitoringService.java60 public final int taskId; field in SystemActivityMonitoringService.TopTaskInfoContainer
65 private TopTaskInfoContainer(ComponentName topActivity, int taskId, in TopTaskInfoContainer() argument
68 this.taskId = taskId; in TopTaskInfoContainer()
77 && this.taskId == taskInfo.taskId in isMatching()
88 topActivity, taskId, stackInfo.stackId, stackInfo.userId, displayId, position); in toString()
215 public void restartTask(int taskId) { in restartTask() argument
222 if (info.taskIds[i] == taskId) { in restartTask()
240 Log.e(CarLog.TAG_AM, "Could not find root activity with task id " + taskId); in restartTask()
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
DDialerExecutorComponent.java50 FragmentManager fragmentManager, String taskId) { in createUiListener() argument
51 return UiListener.create(fragmentManager, taskId); in createUiListener()
59 android.support.v4.app.FragmentManager fragmentManager, String taskId) { in createUiListener() argument
60 return SupportUiListener.create(fragmentManager, taskId); in createUiListener()
DUiListener.java67 static <OutputT> UiListener<OutputT> create(FragmentManager fragmentManager, String taskId) { in create() argument
70 (UiListener<OutputT>) fragmentManager.findFragmentByTag(taskId); in create()
73 LogUtil.i("UiListener.create", "creating new UiListener for " + taskId); in create()
78 fragmentManager.beginTransaction().add(uiListener, taskId).commitAllowingStateLoss(); in create()
DSupportUiListener.java68 FragmentManager fragmentManager, String taskId) { in create() argument
71 (SupportUiListener<OutputT>) fragmentManager.findFragmentByTag(taskId); in create()
74 LogUtil.i("SupportUiListener.create", "creating new SupportUiListener for " + taskId); in create()
80 fragmentManager.beginTransaction().add(uiListener, taskId).commitAllowingStateLoss(); in create()
DDialerUiTaskFragment.java79 String taskId, in create() argument
88 (DialerUiTaskFragment<InputT, OutputT>) fragmentManager.findFragmentByTag(taskId); in create()
91 LogUtil.i("DialerUiTaskFragment.create", "creating new DialerUiTaskFragment for " + taskId); in create()
93 fragmentManager.beginTransaction().add(fragment, taskId).commit(); in create()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
DSearchResultAggregator.java65 final int taskId = task.getTaskId(); in fetchResults() local
67 taskResults.put(taskId, in fetchResults()
70 Log.d(TAG, "Could not retrieve result in time: " + taskId, e); in fetchResults()
71 taskResults.put(taskId, Collections.EMPTY_LIST); in fetchResults()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DConfirmDeviceCredentialUtils.java35 int taskId = activity.getIntent().getIntExtra(Intent.EXTRA_TASK_ID, -1); in checkForPendingIntent() local
36 if (taskId != -1) { in checkForPendingIntent()
40 activityManager.startActivityFromRecents(taskId, options.toBundle()); in checkForPendingIntent()
DChooseLockSettingsHelper.java441 int taskId = inIntent.getIntExtra(Intent.EXTRA_TASK_ID, -1); in copyOptionalExtras() local
442 if (taskId != -1) { in copyOptionalExtras()
443 outIntent.putExtra(Intent.EXTRA_TASK_ID, taskId); in copyOptionalExtras()
449 if (intentSender != null || taskId != -1) { in copyOptionalExtras()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialUtils.java35 int taskId = activity.getIntent().getIntExtra(Intent.EXTRA_TASK_ID, -1); in checkForPendingIntent() local
36 if (taskId != -1) { in checkForPendingIntent()
40 activityManager.startActivityFromRecents(taskId, options.toBundle()); in checkForPendingIntent()
DChooseLockSettingsHelper.java467 int taskId = inIntent.getIntExtra(Intent.EXTRA_TASK_ID, -1); in copyOptionalExtras() local
468 if (taskId != -1) { in copyOptionalExtras()
469 outIntent.putExtra(Intent.EXTRA_TASK_ID, taskId); in copyOptionalExtras()
475 if (intentSender != null || taskId != -1) { in copyOptionalExtras()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DRecentsView.java198 public void onActivityPinned(String packageName, int userId, int taskId, int stackId) {
208 TaskView taskView = getTaskView(taskId);
225 public void onTaskRemoved(int taskId) {
231 TaskView taskView = getTaskView(taskId);
370 public Task onTaskThumbnailChanged(int taskId, ThumbnailData thumbnailData) { in onTaskThumbnailChanged() argument
372 TaskView taskView = getTaskView(taskId); in onTaskThumbnailChanged()
382 public TaskView updateThumbnail(int taskId, ThumbnailData thumbnailData) { in updateThumbnail() argument
383 TaskView taskView = getTaskView(taskId); in updateThumbnail()
446 public TaskView getTaskView(int taskId) { in getTaskView() argument
449 if (tv.getTask() != null && tv.getTask().key != null && tv.getTask().key.id == taskId) { in getTaskView()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DRemoteAnimationTargetSet.java58 public RemoteAnimationTargetCompat findTask(int taskId) { in findTask() argument
60 if (target.taskId == taskId) { in findTask()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTaskSystemShortcut.java126 final int taskId = task.key.id; in getOnClickListener() local
144 recentsView.clearIgnoreResetTask(taskId); in getOnClickListener()
167 && ActivityManagerWrapper.getInstance().startActivityFromRecents(taskId, in getOnClickListener()
180 recentsView.setIgnoreResetTask(taskId); in getOnClickListener()
204 taskId, thumbnail, taskBounds)); in getOnClickListener()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/fallback/
DFallbackRecentsView.java164 onGestureAnimationStart(runningTaskInfo == null ? -1 : runningTaskInfo.taskId); in onGestureAnimationStart()
170 if (mRunningTaskInfo != null && mRunningTaskInfo.taskId != runningTaskId) { in setCurrentTask()
180 if (mRunningTaskInfo != null && mRunningTaskInfo.taskId == mRunningTaskId) { in applyLoadPlan()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsTaskSchedulerTest.java41 public void onPerformTask(int taskId, Object arg) { in onPerformTask() argument
42 executed.add("" + taskId + "," + arg); in onPerformTask()
/packages/services/Car/car-lib/src/android/car/content/pm/
DCarPackageManager.java126 public void restartTask(int taskId) { in restartTask() argument
128 mService.restartTask(taskId); in restartTask()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DSwipeAnimationTargetSet.java101 public ThumbnailData screenshotTask(int taskId) { in screenshotTask() argument
102 return controller != null ? controller.screenshotTask(taskId) : null; in screenshotTask()

12