Home
last modified time | relevance | path

Searched refs:TunerPreferences (Results 1 – 11 of 11) sorted by relevance

/packages/apps/TV/tuner/src/com/android/tv/tuner/prefs/
DTunerPreferences.java26 public class TunerPreferences extends CommonPreferences { class
47 TunerPreferences.PREFS_KEY_CHANNEL_DATA_VERSION, in getChannelDataVersion()
55 .putInt(TunerPreferences.PREFS_KEY_CHANNEL_DATA_VERSION, version) in setChannelDataVersion()
62 .getInt(TunerPreferences.PREFS_KEY_SCANNED_CHANNEL_COUNT, 0); in getScannedChannelCount()
69 .putInt(TunerPreferences.PREFS_KEY_SCANNED_CHANNEL_COUNT, channelCount) in setScannedChannelCount()
76 .getBoolean(TunerPreferences.PREFS_KEY_SCAN_DONE, false); in isScanDone()
83 .putBoolean(TunerPreferences.PREFS_KEY_SCAN_DONE, true) in setScanDone()
90 .getLong(TunerPreferences.PREFS_KEY_TRICKPLAY_EXPIRED_MS, 0); in getTrickplayExpiredMs()
97 .putLong(TunerPreferences.PREFS_KEY_TRICKPLAY_EXPIRED_MS, timeMs) in setTrickplayExpiredMs()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorkerExoV2.java73 import com.android.tv.tuner.prefs.TunerPreferences;
339 mTrickplaySetting = TunerPreferences.getTrickplaySetting(context); in TunerSessionWorkerExoV2()
340 if (mTrickplaySetting != TunerPreferences.TRICKPLAY_SETTING_NOT_SET in TunerSessionWorkerExoV2()
345 mTrickplaySetting = TunerPreferences.TRICKPLAY_SETTING_NOT_SET; in TunerSessionWorkerExoV2()
346 TunerPreferences.setTrickplaySetting(context, mTrickplaySetting); in TunerSessionWorkerExoV2()
347 TunerPreferences.setTrickplayExpiredMs(context, 0); in TunerSessionWorkerExoV2()
349 mTrickplayExpiredMs = TunerPreferences.getTrickplayExpiredMs(context); in TunerSessionWorkerExoV2()
531 if (TunerPreferences.getStoreTsStream(mContext)) { in onError()
1172 @TrickplaySetting int trickplaySetting = TunerPreferences.getTrickplaySetting(mContext); in handleMessageTunerPreferencesChanged()
1175 mTrickplaySetting != TunerPreferences.TRICKPLAY_SETTING_DISABLED; in handleMessageTunerPreferencesChanged()
[all …]
DTunerSessionWorker.java70 import com.android.tv.tuner.prefs.TunerPreferences;
337 mTrickplaySetting = TunerPreferences.getTrickplaySetting(context); in TunerSessionWorker()
338 if (mTrickplaySetting != TunerPreferences.TRICKPLAY_SETTING_NOT_SET in TunerSessionWorker()
343 mTrickplaySetting = TunerPreferences.TRICKPLAY_SETTING_NOT_SET; in TunerSessionWorker()
344 TunerPreferences.setTrickplaySetting(context, mTrickplaySetting); in TunerSessionWorker()
345 TunerPreferences.setTrickplayExpiredMs(context, 0); in TunerSessionWorker()
347 mTrickplayExpiredMs = TunerPreferences.getTrickplayExpiredMs(context); in TunerSessionWorker()
530 if (TunerPreferences.getStoreTsStream(mContext)) { in onError()
1232 @TrickplaySetting int trickplaySetting = TunerPreferences.getTrickplaySetting(mContext); in handleMessageTunerPreferencesChanged()
1235 mTrickplaySetting != TunerPreferences.TRICKPLAY_SETTING_DISABLED; in handleMessageTunerPreferencesChanged()
[all …]
DTunerSession.java34 import com.android.tv.tuner.prefs.TunerPreferences;
77 TunerPreferences.setCommonPreferencesChangedListener(this); in TunerSession()
184 TunerPreferences.setCommonPreferencesChangedListener(null); in onRelease()
DTunerSessionExoV2.java34 import com.android.tv.tuner.prefs.TunerPreferences;
75 TunerPreferences.setCommonPreferencesChangedListener(this); in TunerSessionExoV2()
183 TunerPreferences.setCommonPreferencesChangedListener(null); in onRelease()
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DBaseTunerSetupActivity.java50 import com.android.tv.tuner.prefs.TunerPreferences;
352 boolean channelScanDoneOnPreference = TunerPreferences.isScanDone(context); in onTvInputEnabled()
353 int channelCountOnPreference = TunerPreferences.getScannedChannelCount(context); in onTvInputEnabled()
355 TunerPreferences.setShouldShowSetupActivity(context, true); in onTvInputEnabled()
358 TunerPreferences.setShouldShowSetupActivity(context, false); in onTvInputEnabled()
DWelcomeFragment.java28 import com.android.tv.tuner.prefs.TunerPreferences;
59 TunerPreferences.getScannedChannelCount(getActivity().getApplicationContext()); in onCreate()
DScanResultFragment.java29 import com.android.tv.tuner.prefs.TunerPreferences;
61 mChannelCountOnPreference = TunerPreferences.getScannedChannelCount(context); in onAttach()
DScanFragment.java46 import com.android.tv.tuner.prefs.TunerPreferences;
540 TunerPreferences.setScannedChannelCount( in onChannelHandlingDone()
546 TunerPreferences.setScanDone(mActivity.getApplicationContext()); in onChannelHandlingDone()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/
DChannelDataManager.java39 import com.android.tv.tuner.prefs.TunerPreferences;
164 int version = TunerPreferences.getChannelDataVersion(context); in checkDataVersion()
172 if (version == TunerPreferences.CHANNEL_DATA_VERSION_NOT_SET) { in checkDataVersion()
181 TunerPreferences.setChannelDataVersion(context, VERSION); in setCurrentVersion()
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DTunerTsStreamer.java29 import com.android.tv.tuner.prefs.TunerPreferences;
164 context != null && TunerPreferences.getStoreTsStream(context) in TunerTsStreamer()