/packages/apps/Contacts/src/com/android/contacts/vcard/ |
D | VCardService.java | 236 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 …]
|
D | NotificationImportExportListener.java | 73 public Notification onImportProcessed(ImportRequest request, int jobId, int sequence) { in onImportProcessed() argument 96 jobId, displayName, -1, 0); in onImportProcessed() 100 …public Notification onImportParsed(ImportRequest request, int jobId, VCardEntry entry, int current… in onImportParsed() argument 116 VCardService.TYPE_IMPORT, description, tickerText, jobId, request.displayName, in onImportParsed() 121 public void onImportFinished(ImportRequest request, int jobId, Uri createdUri) { in onImportFinished() argument 140 jobId, notification); in onImportFinished() 152 public void onImportCanceled(ImportRequest request, int jobId) { in onImportCanceled() argument 158 jobId, notification); in onImportCanceled() 162 public Notification onExportProcessed(ExportRequest request, int jobId) { in onExportProcessed() argument 170 jobId, displayName, -1, 0); in onExportProcessed() [all …]
|
D | VCardImportExportListener.java | 25 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
|
D | CancelRequest.java | 22 public final int jobId; field in CancelRequest 28 public CancelRequest(int jobId, String displayName) { in CancelRequest() argument 29 this.jobId = jobId; in CancelRequest()
|
D | NfcImportVCardActivity.java | 233 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
|
D | ImportProcessor.java | 69 final ImportRequest request, final int jobId) { in ImportProcessor() argument 75 mJobId = jobId; in ImportProcessor()
|
D | ExportProcessor.java | 75 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/ |
D | TaskSchedulerJobService.java | 61 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/ |
D | FileOperationService.java | 212 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 …]
|
D | FileOperations.java | 59 @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/ |
D | JobSchedulerWrapper.java | 124 int jobId = prefs.getInt(PREFS_NEXT_JOB_ID, 0); in scheduleAJob() local 139 while (checkIdForExistence(jobId)) { in scheduleAJob() 140 jobId++; in scheduleAJob() 143 JobInfo jobInfo = new JobInfo.Builder(jobId, jobComponentName) in scheduleAJob() 157 editor.putInt(PREFS_NEXT_JOB_ID, jobId + 1); in scheduleAJob() 165 sExtendedJobInfoMap.put(jobId, in scheduleAJob() 190 private boolean checkIdForExistence(int jobId) { in checkIdForExistence() argument 192 if (job.getId() == jobId) { in checkIdForExistence()
|
D | JobInfoRowArrayAdapter.java | 74 holder.mJobIDView = row.findViewById(R.id.jobId); in getView()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | Backend.java | 186 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
|
D | CancelJobTask.java | 31 CancelJobTask(Backend backend, int jobId) { in CancelJobTask() argument 33 mJobId = jobId; in CancelJobTask()
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/ |
D | RegularMaintenanceJobService.java | 50 public InterruptMaintenance(int jobId) { in InterruptMaintenance() argument 51 mJobId = jobId; in InterruptMaintenance() 108 final int jobId = params.getJobId(); in onStopJob() local 110 if (im.getJobId() == jobId) { in onStopJob()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/ |
D | OperationProgressDialog.java | 39 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()
|
D | DialogController.java | 52 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/ |
D | TestNotificationManager.java | 77 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/ |
D | DirectoryFragment.java | 478 final String jobId = FileOperations.createJobId(); in onCopyDestinationPicked() local 479 mInjector.dialogs.showProgressDialog(jobId, operation); in onCopyDestinationPicked() 484 jobId); in onCopyDestinationPicked() 856 final String jobId = FileOperations.createJobId(); in transferDocuments() local 857 mInjector.dialogs.showProgressDialog(jobId, operation); in transferDocuments() 862 jobId); in transferDocuments()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | Helpers.java | 153 final int jobId = (int) info.mId; in scheduleJob() local 154 scheduler.cancel(jobId); in scheduleJob() 159 final JobInfo.Builder builder = new JobInfo.Builder(jobId, in scheduleJob()
|
/packages/services/BuiltInPrintService/src/com/android/bips/jni/ |
D | JobCallback.java | 21 void jobCallback(int jobId, JobCallbackParams params); in jobCallback() argument
|
D | JobCallbackParams.java | 22 public int jobId; field in JobCallbackParams
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ui/ |
D | TestDialogController.java | 57 public void showProgressDialog(String jobId, FileOperation operation) { in showProgressDialog() argument
|