Home
last modified time | relevance | path

Searched refs:jobStatus (Results 1 – 3 of 3) sorted by relevance

/packages/services/BuiltInPrintService/src/com/android/bips/
DLocalPrintJob.java280 private void handleJobStatus(JobStatus jobStatus) { in handleJobStatus() argument
281 if (DEBUG) Log.d(TAG, "onJobStatus() " + jobStatus); in handleJobStatus()
283 byte[] certificate = jobStatus.getCertificate(); in handleJobStatus()
292 mBlockedReasons.addAll(jobStatus.getBlockedReasons()); in handleJobStatus()
294 switch (jobStatus.getJobState()) { in handleJobStatus()
296 Bundle bundle = getJobCompletedAnalyticsBundle(jobStatus.getJobResult()); in handleJobStatus()
298 switch (jobStatus.getJobResult()) { in handleJobStatus()
316 handleBadCertificate(jobStatus); in handleJobStatus()
333 int blockedId = jobStatus.getBlockedReasonId(); in handleJobStatus()
348 private void handleBadCertificate(JobStatus jobStatus) { in handleBadCertificate() argument
[all …]
/packages/modules/Permission/tests/cts/permission/permissionTestUtilLib/src/android/permission/cts/
DPermissionUtils.java372 String jobStatus = ""; in scheduleJob() local
376 && !jobStatus.contains("waiting")) { in scheduleJob()
380 jobStatus = runShellCommand(automation, cmd).trim(); in scheduleJob()
381 Log.v(LOG_TAG, "Job: " + jobId + ", job status " + jobStatus); in scheduleJob()
388 if (!jobStatus.contains("waiting")) { in scheduleJob()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DLocationAccessCheckTest.java350 String jobStatus = runShellCommand("cmd jobscheduler get-job-state -u " in isJobReady() local
353 return jobStatus.contains("waiting"); in isJobReady()