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.java65 private AnomalyConfigJobService mJobService; field in AnomalyConfigJobServiceTest
75 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()
/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.java127 private final DownloadJobService mJobService; field in DownloadThread
254 mJobService = service; in DownloadThread()
386 mJobService.jobFinishedInternal(mParams, needsReschedule); in run()