Home
last modified time | relevance | path

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

/cts/hostsidetests/backup/src/android/cts/backup/
DProfileScheduledJobHostSideTest.java98 int jobId = getJobIdForUser(KEY_VALUE_MIN_JOB_ID, mProfileUserId.get()); in testKeyValueBackupJobScheduled() local
99 assertThat(isSystemJobScheduled(jobId, KEY_VALUE_JOB_NAME)).isTrue(); in testKeyValueBackupJobScheduled()
120 int jobId = getJobIdForUser(KEY_VALUE_MIN_JOB_ID, profileUserId); in testKeyValueBackupJobRunsSuccessfully() local
121 mBackupUtils.executeShellCommandSync(JOB_SCHEDULER_RUN_COMMAND + " " + jobId); in testKeyValueBackupJobRunsSuccessfully()
128 assertThat(isSystemJobScheduled(jobId, KEY_VALUE_JOB_NAME)).isTrue(); in testKeyValueBackupJobRunsSuccessfully()
135 int jobId = getJobIdForUser(KEY_VALUE_MIN_JOB_ID, profileUserId); in testKeyValueBackupJobCancelled() local
136 assertThat(isSystemJobScheduled(jobId, KEY_VALUE_JOB_NAME)).isTrue(); in testKeyValueBackupJobCancelled()
140 assertThat(isSystemJobScheduled(jobId, KEY_VALUE_JOB_NAME)).isFalse(); in testKeyValueBackupJobCancelled()
146 int jobId = getJobIdForUser(FULL_BACKUP_MIN_JOB_ID, mProfileUserId.get()); in testFullBackupJobScheduled() local
147 assertThat(isSystemJobScheduled(jobId, FULL_BACKUP_JOB_NAME)).isTrue(); in testFullBackupJobScheduled()
[all …]
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DBaseJobSchedulerTest.java190 String getJobState(int jobId) throws Exception { in getJobState() argument
193 + kJobServiceComponent.getPackageName() + " " + jobId).trim(); in getJobState()
196 void assertJobReady(int jobId) throws Exception { in assertJobReady() argument
197 String state = getJobState(jobId); in assertJobReady()
201 void assertJobWaiting(int jobId) throws Exception { in assertJobWaiting() argument
202 String state = getJobState(jobId); in assertJobWaiting()
206 void assertJobNotReady(int jobId) throws Exception { in assertJobNotReady() argument
207 String state = getJobState(jobId); in assertJobNotReady()
221 void runSatisfiedJob(int jobId) throws Exception { in runSatisfiedJob() argument
226 + " " + jobId); in runSatisfiedJob()
DTestAppInterface.java67 TestAppInterface(Context ctx, int jobId) { in TestAppInterface() argument
69 mJobId = jobId; in TestAppInterface()
151 mTestJobState.jobId = params.getJobId();
170 return (mTestJobState.jobId == mJobId) && mTestJobState.running; in awaitJobStart()
178 return (mTestJobState.jobId == mJobId) && !mTestJobState.running;
210 int jobId;
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
DConstraintTest.java185 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/JobSchedulerSharedUid/JobSharedUidTestApp/src/android/jobscheduler/cts/jobtestapp/
DTestJobSchedulerReceiver.java51 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/
DTestJobSchedulerReceiver.java61 final int jobId = intent.getIntExtra(EXTRA_JOB_ID_KEY, hashCode()); in onReceive() local
70 JobInfo.Builder jobBuilder = new JobInfo.Builder(jobId, jobServiceComponent) in onReceive()
78 Log.e(TAG, "Could not schedule job " + jobId); in onReceive()
80 Log.d(TAG, "Successfully scheduled job with id " + jobId); in onReceive()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/car/
DGarageModeChecker.java72 int jobId = jobInfo.getId(); in scheduleAnIdleJob() local
73 if (highestJobNumber < jobId) { in scheduleAnIdleJob()
74 highestJobNumber = jobId; in scheduleAnIdleJob()
/cts/tests/tests/permission/src/android/permission/cts/
DLocationAccessCheckTest.java284 && historyEvent.jobId == LOCATION_ACCESS_CHECK_JOB_ID in getLastJobTime()