Searched refs:TunerPreferences (Results 1 – 11 of 11) sorted by relevance
/packages/apps/TV/tuner/src/com/android/tv/tuner/prefs/ |
D | TunerPreferences.java | 26 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/ |
D | TunerSessionWorkerExoV2.java | 73 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 …]
|
D | TunerSessionWorker.java | 70 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 …]
|
D | TunerSession.java | 34 import com.android.tv.tuner.prefs.TunerPreferences; 77 TunerPreferences.setCommonPreferencesChangedListener(this); in TunerSession() 184 TunerPreferences.setCommonPreferencesChangedListener(null); in onRelease()
|
D | TunerSessionExoV2.java | 34 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/ |
D | BaseTunerSetupActivity.java | 50 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()
|
D | WelcomeFragment.java | 28 import com.android.tv.tuner.prefs.TunerPreferences; 59 TunerPreferences.getScannedChannelCount(getActivity().getApplicationContext()); in onCreate()
|
D | ScanResultFragment.java | 29 import com.android.tv.tuner.prefs.TunerPreferences; 61 mChannelCountOnPreference = TunerPreferences.getScannedChannelCount(context); in onAttach()
|
D | ScanFragment.java | 46 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/ |
D | ChannelDataManager.java | 39 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/ |
D | TunerTsStreamer.java | 29 import com.android.tv.tuner.prefs.TunerPreferences; 164 context != null && TunerPreferences.getStoreTsStream(context) in TunerTsStreamer()
|