Home
last modified time | relevance | path

Searched refs:mJobService (Results 1 – 4 of 4) sorted by relevance

/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/
DAutomaticStorageManagementJobServiceTest.java83 private AutomaticStorageManagementJobService mJobService; field in AutomaticStorageManagementJobServiceTest
130 mJobService = spy(Robolectric.setupService(AutomaticStorageManagementJobService.class)); in setUp()
131 mJobService.setStorageVolumeProvider(mStorageVolumeProvider); in setUp()
132 mJobService.setClock(mClock); in setUp()
139 when(mJobService.getResources()).thenReturn(fakeResources); in setUp()
145 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testJobRequiresCharging()
150 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testJobRequiresCharging()
156 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testStartJobTriesUpsellWhenASMDisabled()
175 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testASMJobRunsWithValidConditions()
185 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testJobDoesntRunIfStorageNotFull()
[all …]
/packages/apps/TV/src/com/android/tv/recommendation/
DChannelPreviewUpdater.java78 private JobService mJobService; field in ChannelPreviewUpdater
136 mJobService = service; in onStartJob()
169 mJobService = null; in onStopJob()
279 if (mJobService != null && mJobParams != null) { in updatePreviewProgramsForPreviewChannel()
281 mJobService.jobFinished(mJobParams, false); in updatePreviewProgramsForPreviewChannel()
282 mJobService = null; in updatePreviewProgramsForPreviewChannel()
/packages/apps/TV/src/com/android/tv/tuner/tvinput/
DTunerStorageCleanUpService.java84 private final JobService mJobService; field in TunerStorageCleanUpService.CleanUpStorageTask
97 mJobService = jobService; in CleanUpStorageTask()
170 mJobService.jobFinished(param, false); in onPostExecute()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java123 private final DownloadJobService mJobService; field in DownloadThread
252 mJobService = service; in DownloadThread()
398 mJobService.jobFinishedInternal(mParams, false); in run()