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()
65 private AnomalyConfigJobService mJobService; field in AnomalyConfigJobServiceTest75 mJobService = spy(new AnomalyConfigJobService()); in setUp()77 Context.MODE_PRIVATE)).when(mJobService).getSharedPreferences(anyString(), in setUp()79 doReturn(application.getContentResolver()).when(mJobService).getContentResolver(); in setUp()113 mJobService.checkAnomalyConfig(mStatsManager); in checkAnomalyConfig_newConfigExist_removeOldConfig()126 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()
127 private final DownloadJobService mJobService; field in DownloadThread254 mJobService = service; in DownloadThread()386 mJobService.jobFinishedInternal(mParams, needsReschedule); in run()