Searched refs:mJobService (Results 1 – 5 of 5) sorted by relevance
73 private AutomaticStorageManagementJobService mJobService; field in AutomaticStorageManagementJobServiceTest125 mJobService = spy(Robolectric.setupService(AutomaticStorageManagementJobService.class)); in setUp()126 mJobService.onBind(null); in setUp()127 mJobService.setStorageVolumeProvider(mStorageVolumeProvider); in setUp()128 mJobService.setClock(mClock); in setUp()135 when(mJobService.getResources()).thenReturn(fakeResources); in setUp()141 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testJobRequiresCharging()146 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testJobRequiresCharging()152 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testStartJobTriesUpsellWhenASMDisabled()171 assertThat(mJobService.onStartJob(mJobParameters)).isFalse(); in testASMJobRunsWithValidConditions()[all …]
75 private JobService mJobService; field in ChannelPreviewUpdater134 mJobService = service; in onStartJob()166 mJobService = null; in onStopJob()252 } else if (mJobService != null && mJobParams != null) { in updatePreviewDataForChannelsInternal()260 mJobService.jobFinished(mJobParams, false); in updatePreviewDataForChannelsInternal()261 mJobService = null; in updatePreviewDataForChannelsInternal()294 if (mJobService != null && mJobParams != null) { in updatePreviewProgramsForPreviewChannel()296 mJobService.jobFinished(mJobParams, false); in updatePreviewProgramsForPreviewChannel()297 mJobService = null; in updatePreviewProgramsForPreviewChannel()
62 private AnomalyConfigJobService mJobService; field in AnomalyConfigJobServiceTest72 mJobService = spy(new AnomalyConfigJobService()); in setUp()74 Context.MODE_PRIVATE)).when(mJobService).getSharedPreferences(anyString(), in setUp()76 doReturn(application.getContentResolver()).when(mJobService).getContentResolver(); in setUp()110 mJobService.checkAnomalyConfig(mStatsManager); in checkAnomalyConfig_newConfigExist_removeOldConfig()123 mJobService.checkAnomalyConfig(mStatsManager); in checkAnomalyConfig_newConfigExist_uploadNewConfig()
81 private final JobService mJobService; field in TunerStorageCleanUpService.CleanUpStorageTask94 mJobService = jobService; in CleanUpStorageTask()174 mJobService.jobFinished(param, false); in onPostExecute()
126 private final DownloadJobService mJobService; field in DownloadThread255 mJobService = service; in DownloadThread()397 mJobService.jobFinishedInternal(mParams, needsReschedule); in run()