Searched refs:TunerPreferences (Results 1 – 11 of 11) sorted by relevance
/packages/apps/TV/src/com/android/tv/tuner/ |
D | TunerPreferences.java | 37 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/ |
D | TunerSetupActivity.java | 46 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()
|
D | ScanResultFragment.java | 29 import com.android.tv.tuner.TunerPreferences; 62 mChannelCountOnPreference = TunerPreferences.getScannedChannelCount(context); in onAttach()
|
D | WelcomeFragment.java | 30 import com.android.tv.tuner.TunerPreferences; 63 mChannelCountOnPreference = TunerPreferences in onCreateView()
|
D | ScanFragment.java | 44 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/ |
D | DeveloperOptionFragment.java | 32 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/ |
D | ChannelDataManager.java | 36 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()
|
D | TunerSessionWorker.java | 48 import com.android.tv.tuner.TunerPreferences; 390 if (TunerPreferences.getStoreTsStream(mContext)) { in onError()
|
/packages/apps/TV/src/com/android/tv/tuner/source/ |
D | TunerTsStreamer.java | 27 import com.android.tv.tuner.TunerPreferences; 118 mTsStreamWriter = context != null && TunerPreferences.getStoreTsStream(context) ? in TunerTsStreamer()
|
/packages/apps/TV/src/com/android/tv/ |
D | TvApplication.java | 60 import com.android.tv.tuner.TunerPreferences; 120 TunerPreferences.initialize(this); in onCreate()
|
D | MainActivity.java | 110 import com.android.tv.tuner.TunerPreferences; 446 && TunerPreferences.shouldShowSetupActivity(MainActivity.this)) { 449 TunerPreferences.setShouldShowSetupActivity(MainActivity.this, false);
|