Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/tuner/
DTunerPreferences.java37 public class TunerPreferences { class
124 .getInt(TunerPreferences.PREFS_KEY_CHANNEL_DATA_VERSION, in getChannelDataVersion()
135 .putInt(TunerPreferences.PREFS_KEY_CHANNEL_DATA_VERSION, version) in setChannelDataVersion()
147 .getInt(TunerPreferences.PREFS_KEY_SCANNED_CHANNEL_COUNT, 0); in getScannedChannelCount()
157 .putInt(TunerPreferences.PREFS_KEY_SCANNED_CHANNEL_COUNT, channelCount) in setScannedChannelCount()
169 .getBoolean(TunerPreferences.PREFS_KEY_SCAN_DONE, false); in isScanDone()
179 .putBoolean(TunerPreferences.PREFS_KEY_SCAN_DONE, true) in setScanDone()
191 .getBoolean(TunerPreferences.PREFS_KEY_LAUNCH_SETUP, false); in shouldShowSetupActivity()
201 .putBoolean(TunerPreferences.PREFS_KEY_LAUNCH_SETUP, need) in setShouldShowSetupActivity()
213 .getBoolean(TunerPreferences.PREFS_KEY_STORE_TS_STREAM, false); in getStoreTsStream()
[all …]
/packages/apps/TV/src/com/android/tv/tuner/setup/
DTunerSetupActivity.java46 import com.android.tv.tuner.TunerPreferences;
196 boolean channelScanDoneOnPreference = TunerPreferences.isScanDone(context); in onTvInputEnabled()
197 int channelCountOnPreference = TunerPreferences.getScannedChannelCount(context); in onTvInputEnabled()
199 TunerPreferences.setShouldShowSetupActivity(context, true); in onTvInputEnabled()
202 TunerPreferences.setShouldShowSetupActivity(context, false); in onTvInputEnabled()
DScanResultFragment.java29 import com.android.tv.tuner.TunerPreferences;
62 mChannelCountOnPreference = TunerPreferences.getScannedChannelCount(context); in onAttach()
DWelcomeFragment.java30 import com.android.tv.tuner.TunerPreferences;
63 mChannelCountOnPreference = TunerPreferences in onCreateView()
DScanFragment.java44 import com.android.tv.tuner.TunerPreferences;
447 TunerPreferences.setScannedChannelCount(mActivity.getApplicationContext(), in onChannelHandlingDone()
452 TunerPreferences.setScanDone(mActivity.getApplicationContext()); in onChannelHandlingDone()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DDeveloperOptionFragment.java32 import com.android.tv.tuner.TunerPreferences;
83 setChecked(TunerPreferences.getStoreTsStream(getContext())); in getItemList()
89 TunerPreferences.setStoreTsStream(getContext(), isChecked()); in getItemList()
/packages/apps/TV/src/com/android/tv/tuner/tvinput/
DChannelDataManager.java36 import com.android.tv.tuner.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()
DTunerSessionWorker.java48 import com.android.tv.tuner.TunerPreferences;
390 if (TunerPreferences.getStoreTsStream(mContext)) { in onError()
/packages/apps/TV/src/com/android/tv/tuner/source/
DTunerTsStreamer.java27 import com.android.tv.tuner.TunerPreferences;
118 mTsStreamWriter = context != null && TunerPreferences.getStoreTsStream(context) ? in TunerTsStreamer()
/packages/apps/TV/src/com/android/tv/
DTvApplication.java60 import com.android.tv.tuner.TunerPreferences;
120 TunerPreferences.initialize(this); in onCreate()
DMainActivity.java110 import com.android.tv.tuner.TunerPreferences;
446 && TunerPreferences.shouldShowSetupActivity(MainActivity.this)) {
449 TunerPreferences.setShouldShowSetupActivity(MainActivity.this, false);