06f0852ead5524c09987fc9da5129390a2dba251 |
|
13-Jun-2017 |
Christopher Tate <ctate@google.com> |
Fix #62545908 : 'metered' network jobs run without network Test: JobSchedulerTestApp Change-Id: I9c15022f5542163a27c6aaa4c3ee6b677cffd699
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/TestJobService.java
|
03a4da6e8e92b19c1345016c06694cb3aabbfc27 |
|
11-Sep-2014 |
Matthew Williams <mjwilliams@google.com> |
Add flag to JobParameters for job expired BUG: 17424511 Introduce an "isOverrideDeadlineExpired" which will allow clients to know when they are being run due to an expiry. Nb that we check deadline expiry by checking that the constraints on the job are not satisfied at execution time. Really this is the same thing, as a job will not be run without its constraints being met, unless the job has expired. Change-Id: I4b91e5b5eadccabd91296d5a5ca66b859dbfaf5c
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/TestJobService.java
|
9ae3dbeefcd6bc139c74bfe3d51de823e3be4b4b |
|
21-Aug-2014 |
Matthew Williams <mjwilliams@google.com> |
JobScheduler only run jobs for started users. BUG: 12876556 Minor changes to test app to make persisting an option. Change-Id: I1b40347878ec5ca44cd717ebfeb544f6c58473b5
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/TestJobService.java
|
ee410da42b6b8352213f03f7725fd041f703b035 |
|
25-Jul-2014 |
Matthew Williams <mjwilliams@google.com> |
remove possible JobScheduler race in cancel() Client can jobFinished() before getting a cancel msg. 1) Do better clean up of JobServiceContext after client jobFinished() to remove superfluous MSG_CANCELs 2) When processing MSG_CANCEL check whether the context is still active 3) Do JobServiceContext cleanup before calling back to JobSchedulerService Client can get a cancel msg even after calling jobFinished() (opposite to above) 1) explicitly check whether there are any MSG_CALLBACKs in the queue before processing a MSG_CANCEL. If there are we can throw away the cancel. Bug: 16547638 Change-Id: I90644586c7895a9ce97de752a5d657faf7f74b78
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/TestJobService.java
|
7060b04f6d92351b67222e636ab378a0273bf3e7 |
|
10-Jun-2014 |
Christopher Tate <ctate@google.com> |
Out with the old; in with the new Switch to the official "JobScheduler" etc naming. Bug 14997851 Change-Id: I73a61aaa9af0740c114d08188bd97c52f3ac86b7
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/TestJobService.java
|
13b0241248716b126a538457828a964e86109d58 |
|
07-Jun-2014 |
Matthew Williams <mjwilliams@google.com> |
Add test app for JobScheduler Schedule either a delay/deadline task, or a task with connectivity constraints Change-Id: Ie7ea731d0f6673b680cef79f894cb609a61b795d
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/TestJobService.java
|