Home
last modified time | relevance | path

Searched refs:fetchLineupTask (Results 1 – 2 of 2) sorted by relevance

/packages/apps/TV/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/setup/
DSampleDvbTunerSetupActivity.java75 private FetchLineupTask fetchLineupTask; field in SampleDvbTunerSetupActivity
358 if (fetchLineupTask == null) { in cancelFetchLineup()
361 AsyncTask.Status status = fetchLineupTask.getStatus(); in cancelFetchLineup()
363 fetchLineupTask.cancel(true); in cancelFetchLineup()
364 fetchLineupTask = null; in cancelFetchLineup()
378 if (fetchLineupTask != null) { in restartFetchLineupTask()
379 fetchLineupTask.cancel(true); in restartFetchLineupTask()
382 fetchLineupTask = new FetchLineupTask(getContentResolver(), postalCode); in restartFetchLineupTask()
383 fetchLineupTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in restartFetchLineupTask()
/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/setup/
DSampleNetworkTunerSetupActivity.java75 private FetchLineupTask fetchLineupTask; field in SampleNetworkTunerSetupActivity
358 if (fetchLineupTask == null) { in cancelFetchLineup()
361 AsyncTask.Status status = fetchLineupTask.getStatus(); in cancelFetchLineup()
363 fetchLineupTask.cancel(true); in cancelFetchLineup()
364 fetchLineupTask = null; in cancelFetchLineup()
378 if (fetchLineupTask != null) { in restartFetchLineupTask()
379 fetchLineupTask.cancel(true); in restartFetchLineupTask()
382 fetchLineupTask = new FetchLineupTask(getContentResolver(), postalCode); in restartFetchLineupTask()
383 fetchLineupTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in restartFetchLineupTask()