Searched refs:jobId (Results 1 – 6 of 6) sorted by relevance
/cts/hostsidetests/backup/src/android/cts/backup/ |
D | ProfileScheduledJobHostSideTest.java | 99 int jobId = getJobIdForUser(KEY_VALUE_MIN_JOB_ID, mProfileUserId.get()); in testKeyValueBackupJobScheduled() local 100 assertThat(isSystemJobScheduled(jobId, KEY_VALUE_JOB_NAME)).isTrue(); in testKeyValueBackupJobScheduled() 121 int jobId = getJobIdForUser(KEY_VALUE_MIN_JOB_ID, profileUserId); in testKeyValueBackupJobRunsSuccessfully() local 122 mBackupUtils.executeShellCommandSync(JOB_SCHEDULER_RUN_COMMAND + " " + jobId); in testKeyValueBackupJobRunsSuccessfully() 129 assertThat(isSystemJobScheduled(jobId, KEY_VALUE_JOB_NAME)).isTrue(); in testKeyValueBackupJobRunsSuccessfully() 136 int jobId = getJobIdForUser(KEY_VALUE_MIN_JOB_ID, profileUserId); in testKeyValueBackupJobCancelled() local 137 assertThat(isSystemJobScheduled(jobId, KEY_VALUE_JOB_NAME)).isTrue(); in testKeyValueBackupJobCancelled() 141 assertThat(isSystemJobScheduled(jobId, KEY_VALUE_JOB_NAME)).isFalse(); in testKeyValueBackupJobCancelled() 147 int jobId = getJobIdForUser(FULL_BACKUP_MIN_JOB_ID, mProfileUserId.get()); in testFullBackupJobScheduled() local 148 assertThat(isSystemJobScheduled(jobId, FULL_BACKUP_JOB_NAME)).isTrue(); in testFullBackupJobScheduled() [all …]
|
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/ |
D | ConstraintTest.java | 185 String getJobState(int jobId) throws Exception { in getJobState() argument 188 + kJobServiceComponent.getPackageName() + " " + jobId).trim(); in getJobState() 191 void assertJobReady(int jobId) throws Exception { in assertJobReady() argument 192 String state = getJobState(jobId); in assertJobReady() 196 void assertJobWaiting(int jobId) throws Exception { in assertJobWaiting() argument 197 String state = getJobState(jobId); in assertJobWaiting() 201 void assertJobNotReady(int jobId) throws Exception { in assertJobNotReady() argument 202 String state = getJobState(jobId); in assertJobNotReady()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | ConstraintTest.java | 188 String getJobState(int jobId) throws Exception { in getJobState() argument 191 + kJobServiceComponent.getPackageName() + " " + jobId).trim(); in getJobState() 194 void assertJobReady(int jobId) throws Exception { in assertJobReady() argument 195 String state = getJobState(jobId); in assertJobReady() 199 void assertJobWaiting(int jobId) throws Exception { in assertJobWaiting() argument 200 String state = getJobState(jobId); in assertJobWaiting() 204 void assertJobNotReady(int jobId) throws Exception { in assertJobNotReady() argument 205 String state = getJobState(jobId); in assertJobNotReady()
|
D | TestAppInterface.java | 49 TestAppInterface(Context ctx, int jobId) { in TestAppInterface() argument 51 mJobId = jobId; in TestAppInterface() 97 mTestJobStatus.jobId = params.getJobId(); 107 return (mTestJobStatus.jobId == mJobId) && mTestJobStatus.running; in awaitJobStart() 115 return (mTestJobStatus.jobId == mJobId) && !mTestJobStatus.running; 129 int jobId;
|
/cts/tests/JobSchedulerSharedUid/JobSharedUidTestApp/src/android/jobscheduler/cts/jobtestapp/ |
D | TestJobSchedulerReceiver.java | 51 final int jobId = intent.getIntExtra(EXTRA_JOB_ID_KEY, hashCode()); in onReceive() local 53 JobInfo.Builder jobBuilder = new JobInfo.Builder(jobId, jobServiceComponent) in onReceive() 59 Log.e(TAG, "Could not schedule job " + jobId); in onReceive() 61 Log.d(TAG, "Successfully scheduled job with id " + jobId); in onReceive()
|
/cts/tests/JobScheduler/JobTestApp/src/android/jobscheduler/cts/jobtestapp/ |
D | TestJobSchedulerReceiver.java | 53 final int jobId = intent.getIntExtra(EXTRA_JOB_ID_KEY, hashCode()); in onReceive() local 56 JobInfo.Builder jobBuilder = new JobInfo.Builder(jobId, jobServiceComponent) in onReceive() 65 Log.e(TAG, "Could not schedule job " + jobId); in onReceive() 67 Log.d(TAG, "Successfully scheduled job with id " + jobId); in onReceive()
|