Home
last modified time | relevance | path

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

/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/
DAutomaticStorageManagementJobServiceTest.java73 private AutomaticStorageManagementJobService mJobService; field in AutomaticStorageManagementJobServiceTest
125 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 …]
/packages/apps/TV/src/com/android/tv/recommendation/
DChannelPreviewUpdater.java75 private JobService mJobService; field in ChannelPreviewUpdater
134 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DAnomalyConfigJobServiceTest.java62 private AnomalyConfigJobService mJobService; field in AnomalyConfigJobServiceTest
72 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()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerStorageCleanUpService.java81 private final JobService mJobService; field in TunerStorageCleanUpService.CleanUpStorageTask
94 mJobService = jobService; in CleanUpStorageTask()
174 mJobService.jobFinished(param, false); in onPostExecute()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java126 private final DownloadJobService mJobService; field in DownloadThread
255 mJobService = service; in DownloadThread()
397 mJobService.jobFinishedInternal(mParams, needsReschedule); in run()