Home
last modified time | relevance | path

Searched refs:jobId (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/vcard/
DVCardService.java236 final int jobId = request.jobId; in handleCancelRequest() local
237 if (DEBUG) Log.d(LOG_TAG, String.format("Received cancel request. (id: %d)", jobId)); in handleCancelRequest()
239 final ProcessorBase processor = mRunningJobMap.get(jobId); in handleCancelRequest()
240 mRunningJobMap.remove(jobId); in handleCancelRequest()
258 Log.w(LOG_TAG, String.format("Tried to remove unknown job (id: %d)", jobId)); in handleCancelRequest()
282 final int jobId = mRunningJobMap.keyAt(i); in stopServiceIfAppropriate() local
285 Log.i(LOG_TAG, String.format("Found unfinished job (id: %d)", jobId)); in stopServiceIfAppropriate()
296 toBeRemoved[i] = jobId; in stopServiceIfAppropriate()
339 int jobId, boolean successful) { in handleFinishImportNotification() argument
342 + "Result: %b", jobId, (successful ? "success" : "failure"))); in handleFinishImportNotification()
[all …]
DNotificationImportExportListener.java71 public Notification onImportProcessed(ImportRequest request, int jobId, int sequence) { in onImportProcessed() argument
94 jobId, displayName, -1, 0); in onImportProcessed()
98 …public Notification onImportParsed(ImportRequest request, int jobId, VCardEntry entry, int current… in onImportParsed() argument
114 VCardService.TYPE_IMPORT, description, tickerText, jobId, request.displayName, in onImportParsed()
119 public void onImportFinished(ImportRequest request, int jobId, Uri createdUri) { in onImportFinished() argument
138 jobId, notification); in onImportFinished()
150 public void onImportCanceled(ImportRequest request, int jobId) { in onImportCanceled() argument
156 jobId, notification); in onImportCanceled()
160 public Notification onExportProcessed(ExportRequest request, int jobId) { in onExportProcessed() argument
168 jobId, displayName, -1, 0); in onExportProcessed()
[all …]
DVCardImportExportListener.java25 Notification onImportProcessed(ImportRequest request, int jobId, int sequence); in onImportProcessed() argument
26 … Notification onImportParsed(ImportRequest request, int jobId, VCardEntry entry, int currentCount, in onImportParsed() argument
28 void onImportFinished(ImportRequest request, int jobId, Uri uri); in onImportFinished() argument
30 void onImportCanceled(ImportRequest request, int jobId); in onImportCanceled() argument
32 Notification onExportProcessed(ExportRequest request, int jobId); in onExportProcessed() argument
DCancelRequest.java22 public final int jobId; field in CancelRequest
28 public CancelRequest(int jobId, String displayName) { in CancelRequest() argument
29 this.jobId = jobId; in CancelRequest()
DNfcImportVCardActivity.java233 public Notification onImportProcessed(ImportRequest request, int jobId, int sequence) { in onImportProcessed() argument
238 public Notification onImportParsed(ImportRequest request, int jobId, VCardEntry entry, in onImportParsed() argument
244 public void onImportFinished(ImportRequest request, int jobId, Uri uri) { in onImportFinished() argument
269 public void onImportCanceled(ImportRequest request, int jobId) { in onImportCanceled() argument
274 public Notification onExportProcessed(ExportRequest request, int jobId) { in onExportProcessed() argument
DImportProcessor.java69 final ImportRequest request, final int jobId) { in ImportProcessor() argument
75 mJobId = jobId; in ImportProcessor()
DExportProcessor.java75 public ExportProcessor(VCardService service, ExportRequest exportRequest, int jobId, in ExportProcessor() argument
82 mJobId = jobId; in ExportProcessor()
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
DTaskSchedulerJobService.java61 int jobId = params.getTransientExtras().getInt(EXTRA_JOB_ID); in onStartJob() local
65 if (jobId != expectedJobId) { in onStartJob()
67 TAG, "Job " + jobId + " is not the last scheduled job " + expectedJobId + ", ignoring"); in onStartJob()
70 VvmLog.i(TAG, "starting " + jobId); in onStartJob()
126 int jobId = createJobId(context); in scheduleJob() local
127 extras.putInt(EXTRA_JOB_ID, jobId); in scheduleJob()
130 .putInt(EXPECTED_JOB_ID, jobId) in scheduleJob()
148 VvmLog.i(TAG, "job " + jobId + " scheduled"); in scheduleJob()
182 int jobId = sharedPreferences.getInt(NEXT_JOB_ID, 0); in createJobId() local
183 sharedPreferences.edit().putInt(NEXT_JOB_ID, jobId + 1).apply(); in createJobId()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DFileOperationService.java212 String jobId = intent.getStringExtra(EXTRA_JOB_ID); in onStartCommand() local
213 assert(jobId != null); in onStartCommand()
216 Log.d(TAG, "onStartCommand: " + jobId + " with serviceId " + serviceId); in onStartCommand()
223 handleOperation(jobId, operation); in onStartCommand()
232 private void handleOperation(String jobId, FileOperation operation) { in handleOperation() argument
238 if (mJobs.containsKey(jobId)) { in handleOperation()
239 Log.w(TAG, "Duplicate job id: " + jobId in handleOperation()
244 Job job = operation.createJob(this, this, jobId, features); in handleOperation()
255 mJobs.put(jobId, new JobRecord(job, future)); in handleOperation()
273 String jobId = intent.getStringExtra(EXTRA_JOB_ID); in handleCancel() local
[all …]
DFileOperations.java59 @Nullable String jobId) { in start() argument
65 String newJobId = jobId != null ? jobId : createJobId(); in start()
78 public static void cancel(Activity activity, String jobId) { in cancel() argument
80 Log.d(TAG, "Attempting to canceling operation: " + jobId); in cancel()
85 intent.putExtra(EXTRA_JOB_ID, jobId); in cancel()
98 Context context, String jobId, FileOperation operation) { in createBaseIntent() argument
101 intent.putExtra(EXTRA_JOB_ID, jobId); in createBaseIntent()
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DJobSchedulerWrapper.java143 int jobId = prefs.getInt(PREFS_NEXT_JOB_ID, 0); in scheduleAJob() local
158 while (checkIdForExistence(jobId)) { in scheduleAJob()
159 jobId++; in scheduleAJob()
162 JobInfo jobInfo = new JobInfo.Builder(jobId, jobComponentName) in scheduleAJob()
176 editor.putInt(PREFS_NEXT_JOB_ID, jobId + 1); in scheduleAJob()
182 mExtendedJobInfoMap.put(jobId, in scheduleAJob()
208 private boolean checkIdForExistence(int jobId) { in checkIdForExistence() argument
210 if (job.getId() == jobId) { in checkIdForExistence()
DJobInfoRowArrayAdapter.java74 holder.mJobIDView = row.findViewById(R.id.jobId); in getView()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DBackend.java186 public void jobCallback(final int jobId, final JobCallbackParams params) { in jobCallback() argument
188 if (DEBUG) Log.d(TAG, "jobCallback() jobId=" + jobId + ", params=" + params); in jobCallback()
192 builder.setId(params.jobId); in jobCallback()
214 nativeEndJob(jobId); in jobCallback()
323 native int nativeCancelJob(int jobId); in nativeCancelJob() argument
331 native int nativeEndJob(int jobId); in nativeEndJob() argument
DCancelJobTask.java31 CancelJobTask(Backend backend, int jobId) { in CancelJobTask() argument
33 mJobId = jobId; in CancelJobTask()
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/
DRegularMaintenanceJobService.java50 public InterruptMaintenance(int jobId) { in InterruptMaintenance() argument
51 mJobId = jobId; in InterruptMaintenance()
114 final int jobId = params.getJobId(); in onStopJob() local
116 if (im.getJobId() == jobId) { in onStopJob()
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DOperationProgressDialog.java39 private OperationProgressDialog(Activity activity, String jobId, @StringRes int titleResId, in OperationProgressDialog() argument
42 mJobId = jobId; in OperationProgressDialog()
87 public static OperationProgressDialog create(Activity activity, String jobId, in create() argument
113 return new OperationProgressDialog(activity, jobId, titleResId, prepareResId, operation); in create()
DDialogController.java52 void showProgressDialog(String jobId, FileOperation operation); in showProgressDialog() argument
165 public void showProgressDialog(String jobId, FileOperation operation) { in showProgressDialog() argument
176 mCurrentProgressDialog = OperationProgressDialog.create(mActivity, jobId, operation); in showProgressDialog()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestNotificationManager.java77 private boolean hasNotification(int id, String jobId) { in hasNotification() argument
81 Notification notification = mNotifications.get(id).get(jobId); in hasNotification()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java480 final String jobId = FileOperations.createJobId(); in onCopyDestinationPicked() local
481 mInjector.dialogs.showProgressDialog(jobId, operation); in onCopyDestinationPicked()
486 jobId); in onCopyDestinationPicked()
858 final String jobId = FileOperations.createJobId(); in transferDocuments() local
859 mInjector.dialogs.showProgressDialog(jobId, operation); in transferDocuments()
864 jobId); in transferDocuments()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java156 final int jobId = (int) info.mId; in scheduleJob() local
157 scheduler.cancel(jobId); in scheduleJob()
162 final JobInfo.Builder builder = new JobInfo.Builder(jobId, in scheduleJob()
/packages/services/BuiltInPrintService/src/com/android/bips/jni/
DJobCallback.java21 void jobCallback(int jobId, JobCallbackParams params); in jobCallback() argument
DJobCallbackParams.java22 public int jobId; field in JobCallbackParams
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ui/
DTestDialogController.java57 public void showProgressDialog(String jobId, FileOperation operation) { in showProgressDialog() argument