/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 169 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/ImsServiceEntitlement/src/com/android/imsserviceentitlement/job/ |
D | JobManager.java | 79 private JobInfo.Builder newJobInfoBuilder(int jobId) { in newJobInfoBuilder() argument 80 return newJobInfoBuilder(jobId, 0 /* retryCount */); in newJobInfoBuilder() 83 private JobInfo.Builder newJobInfoBuilder(int jobId, int retryCount) { in newJobInfoBuilder() argument 84 JobInfo.Builder builder = new JobInfo.Builder(getJobIdWithSubId(jobId), mComponentName); in newJobInfoBuilder() 96 private int getJobIdWithSubId(int jobId) { in getJobIdWithSubId() argument 98 return JOB_ID_BASE_INDEX * mSubId + jobId; in getJobIdWithSubId() 100 return jobId; in getJobIdWithSubId() 104 public static int getPureJobId(int jobId) { in getPureJobId() argument 105 return jobId % JOB_ID_BASE_INDEX; in getPureJobId()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
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()
|
D | FileOperationService.java | 215 String jobId = intent.getStringExtra(EXTRA_JOB_ID); in onStartCommand() local 216 assert(jobId != null); in onStartCommand() 219 Log.d(TAG, "onStartCommand: " + jobId + " with serviceId " + serviceId); in onStartCommand() 226 handleOperation(jobId, operation); in onStartCommand() 235 private void handleOperation(String jobId, FileOperation operation) { in handleOperation() argument 241 if (mJobs.containsKey(jobId)) { in handleOperation() 242 Log.w(TAG, "Duplicate job id: " + jobId in handleOperation() 247 Job job = operation.createJob(this, this, jobId, features); in handleOperation() 258 mJobs.put(jobId, new JobRecord(job, future)); in handleOperation() 276 String jobId = intent.getStringExtra(EXTRA_JOB_ID); in handleCancel() local [all …]
|
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/ |
D | ImsEntitlementPollingService.java | 114 int jobId = params.getJobId(); in onStartJob() local 115 Log.d(TAG, "onStartJob: " + jobId); in onStartJob() 119 Log.d(TAG, "Stop for invalid job! " + jobId); in onStartJob() 126 mTasks.put(jobId, mOngoingTask); in onStartJob() 133 int jobId = params.getJobId(); in onStopJob() local 134 Log.d(TAG, "onStopJob: " + jobId); in onStopJob() 135 EntitlementPollingTask task = mTasks.get(jobId); in onStopJob() 138 mTasks.remove(jobId); in onStopJob() 176 int jobId = JobManager.getPureJobId(mParams.getJobId()); in doInBackground() local 177 switch (jobId) { in doInBackground()
|
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/ |
D | JobSchedulerWrapper.java | 143 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()
|
/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() 114 final int jobId = params.getJobId(); in onStopJob() local 116 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 | 43 void showProgressDialog(String jobId, FileOperation operation); in showProgressDialog() argument 124 public void showProgressDialog(String jobId, FileOperation operation) { in showProgressDialog() argument 135 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 | 651 final String jobId = FileOperations.createJobId(); in onCopyDestinationPicked() local 652 mInjector.dialogs.showProgressDialog(jobId, operation); in onCopyDestinationPicked() 657 jobId); in onCopyDestinationPicked() 1059 final String jobId = FileOperations.createJobId(); in transferDocuments() local 1060 mInjector.dialogs.showProgressDialog(jobId, operation); in transferDocuments() 1065 jobId); in transferDocuments()
|
/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/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/ |
D | ImsEntitlementPollingServiceTest.java | 265 private int jobIdWithSubId(int jobId, int subId) { in jobIdWithSubId() argument 266 return 1000 * subId + jobId; in jobIdWithSubId()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | Helpers.java | 158 final int jobId = (int) info.mId; in scheduleJob() local 159 scheduler.cancel(jobId); in scheduleJob() 164 final JobInfo.Builder builder = new JobInfo.Builder(jobId, in scheduleJob()
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | NetworkPolicyTestUtils.java | 145 public static void forceRunJob(String pkg, int jobId) { in forceRunJob() argument 147 + " " + pkg + " " + jobId); in forceRunJob()
|