/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrManager.java | 42 import com.android.tv.common.SoftPreconditions; 84 SoftPreconditions.checkFeatureEnabled(context, CommonFeatures.DVR, TAG); in DvrManager() 178 if (!SoftPreconditions.checkState(mDataManager.isDvrScheduleLoadFinished())) { in addSchedule() 196 if (!SoftPreconditions.checkState(mDataManager.isDvrScheduleLoadFinished())) { in addScheduleWithHighestPriority() 247 if (!SoftPreconditions.checkState(mDataManager.isDvrScheduleLoadFinished())) { in addSchedule() 283 if (!SoftPreconditions.checkState(mDataManager.isInitialized())) { in addSeriesRecording() 343 if (!SoftPreconditions.checkState(mDataManager.isDvrScheduleLoadFinished())) { in addScheduleToSeriesRecording() 384 if (SoftPreconditions.checkState(mDataManager.isDvrScheduleLoadFinished())) { in updateSeriesRecording() 441 if (!SoftPreconditions.checkState(mDataManager.isDvrScheduleLoadFinished())) { in removeSeriesRecording() 461 if (!SoftPreconditions.checkState(mDataManager.isDvrScheduleLoadFinished())) { in stopRecording() [all …]
|
D | DvrScheduleManager.java | 30 import com.android.tv.common.SoftPreconditions; 130 if (!SoftPreconditions.checkArgument( in DvrScheduleManager() 194 if (!SoftPreconditions.checkArgument( in DvrScheduleManager() 262 if (!SoftPreconditions.checkState(mInitialized, TAG, "Not initialized yet")) { in getStartedRecordings() 418 if (!SoftPreconditions.checkState(mInitialized, TAG, "Not initialized yet")) { in suggestNewPriority() 478 if (!SoftPreconditions.checkState(mInitialized, TAG, "Not initialized yet")) { in suggestNewSeriesPriority() 512 SoftPreconditions.checkState(mInitialized, TAG, "Not initialized yet"); in getConflictingSchedules() 513 SoftPreconditions.checkState( in getConflictingSchedules() 515 SoftPreconditions.checkState( in getConflictingSchedules() 543 SoftPreconditions.checkState(mInitialized, TAG, "Not initialized yet"); in getConflictingSchedules() [all …]
|
D | DvrDataManagerImpl.java | 42 import com.android.tv.common.SoftPreconditions; 238 if (SoftPreconditions.checkState( in start() 685 SoftPreconditions.checkArgument( in addSeriesRecording() 728 SoftPreconditions.checkState(r.getProgramId() != ScheduledRecording.ID_NOT_SET); in removeScheduledRecording() 821 if (!SoftPreconditions.checkState( in updateScheduledRecording() 830 SoftPreconditions.checkState(r.getChannelId() == oldScheduledRecording.getChannelId()); in updateScheduledRecording() 872 if (!SoftPreconditions.checkArgument( in updateSeriesRecording() 881 SoftPreconditions.checkArgument( in updateSeriesRecording()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/prefs/ |
D | TunerPreferences.java | 23 import com.android.tv.common.SoftPreconditions; 44 SoftPreconditions.checkState(sInitialized); in getChannelDataVersion() 52 SoftPreconditions.checkState(sInitialized); in setChannelDataVersion() 60 SoftPreconditions.checkState(sInitialized); in getScannedChannelCount() 66 SoftPreconditions.checkState(sInitialized); in setScannedChannelCount() 74 SoftPreconditions.checkState(sInitialized); in isScanDone() 80 SoftPreconditions.checkState(sInitialized); in setScanDone() 88 SoftPreconditions.checkState(sInitialized); in getTrickplayExpiredMs() 94 SoftPreconditions.checkState(sInitialized); in setTrickplayExpiredMs()
|
/packages/apps/TV/common/src/com/android/tv/common/ |
D | CommonPreferences.java | 151 SoftPreconditions.checkState(sInitialized); in shouldShowSetupActivity() 168 SoftPreconditions.checkState(sInitialized); in getTrickplaySetting() 179 SoftPreconditions.checkState(sInitialized); in setTrickplaySetting() 180 SoftPreconditions.checkArgument(trickplaySetting != TRICKPLAY_SETTING_NOT_SET); in setTrickplaySetting() 192 SoftPreconditions.checkState(sInitialized); in getStoreTsStream() 212 SoftPreconditions.checkState(sInitialized); in getLastPostalCode() 267 SoftPreconditions.warn( in savePreference() 314 SoftPreconditions.warn(TAG, "getPreference", e, "Error querying preference values"); in doInBackground()
|
/packages/apps/TV/src/com/android/tv/dvr/provider/ |
D | EpisodicProgramLoadTask.java | 30 import com.android.tv.common.SoftPreconditions; 114 SoftPreconditions.checkState( in setLoadCurrentProgram() 122 SoftPreconditions.checkState( in setLoadScheduledEpisode() 133 SoftPreconditions.checkState( in setLoadDisallowedProgram() 145 SoftPreconditions.checkState( in setIgnoreChannelOption() 157 if (SoftPreconditions.checkState( in execute()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrConflictFragment.java | 35 import com.android.tv.common.SoftPreconditions; 183 SoftPreconditions.checkArgument(mProgram != null); in onCreateView() 185 SoftPreconditions.checkNotNull(input); in onCreateView() 240 SoftPreconditions.checkArgument(mChannel != null); in onCreateView() 242 SoftPreconditions.checkNotNull(input); in onCreateView() 301 SoftPreconditions.checkArgument(mChannelId != Channel.INVALID_ID); in onCreateView()
|
D | SortedArrayAdapter.java | 22 import com.android.tv.common.SoftPreconditions; 94 SoftPreconditions.checkState(!mIds.contains(newItemId)); in add() 116 SoftPreconditions.checkState(!mIds.contains(newItemId)); in addExtraItem()
|
D | DvrScheduleFragment.java | 33 import com.android.tv.common.SoftPreconditions; 74 SoftPreconditions.checkArgument( in onCreate() 80 SoftPreconditions.checkArgument( in onCreate()
|
D | BigArguments.java | 20 import com.android.tv.common.SoftPreconditions; 31 SoftPreconditions.checkState(value != null, TAG, "Set argument, but value is null"); in setArgument()
|
D | DvrSeriesSettingsActivity.java | 27 import com.android.tv.common.SoftPreconditions; 70 SoftPreconditions.checkArgument(seriesRecordingId != -1); in onCreate()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | ScheduleRow.java | 21 import com.android.tv.common.SoftPreconditions; 55 SoftPreconditions.checkState(!mStartRecordingRequested); in setStopRecordingRequested() 66 SoftPreconditions.checkState(!mStopRecordingRequested); in setStartRecordingRequested()
|
D | SeriesScheduleRowPresenter.java | 23 import com.android.tv.common.SoftPreconditions; 96 SoftPreconditions.checkState( in onStartRecording() 104 SoftPreconditions.checkState( in onStopRecording()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/ |
D | HdHomeRunTunerHal.java | 22 import com.android.tv.common.SoftPreconditions; 63 SoftPreconditions.checkState(mDevice == null); in openFirstAvailable() 195 if (SoftPreconditions.checkState(!TextUtils.isEmpty(deviceModel))) { in nativeGetDeliverySystemType()
|
/packages/apps/TV/common/src/com/android/tv/common/recording/ |
D | RecordingStorageStatusManager.java | 32 import com.android.tv.common.SoftPreconditions; 189 SoftPreconditions.checkState(Looper.myLooper() != Looper.getMainLooper()); in getRecordingRootDataDirectory() 228 SoftPreconditions.checkState(false); in getDvrStorageStatus()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/ |
D | AudioClock.java | 20 import com.android.tv.common.SoftPreconditions; 85 SoftPreconditions.checkState(speed > 0); in setPlaybackSpeed()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | DialogUtils.java | 23 import com.android.tv.common.SoftPreconditions; 36 SoftPreconditions.checkState(size == runnables.length); in showListDialog()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/ |
D | DvrDataManagerInMemoryImpl.java | 25 import com.android.tv.common.SoftPreconditions; 183 SoftPreconditions.checkState( in addScheduledRecordingInternal() 203 SoftPreconditions.checkState( in addRecordedProgramInternal()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | DvrItemPresenter.java | 26 import com.android.tv.common.SoftPreconditions; 74 SoftPreconditions.checkState(false); in onBindViewHolder()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | SetupUtils.java | 35 import com.android.tv.common.SoftPreconditions; 160 SoftPreconditions.checkState(channelDataManager.isDbLoadFinished()); in markNewChannelsBrowsable() 369 SoftPreconditions.checkState(inputId != null); in onSetupDone()
|
D | TvInputManagerHelper.java | 39 import com.android.tv.common.SoftPreconditions; 513 SoftPreconditions.checkState( in hasTvInputInfo() 526 SoftPreconditions.checkState( in getTvInputInfoCompat() 565 SoftPreconditions.checkState(mStarted, TAG, "AvailabilityManager not started"); in getInputState() 673 SoftPreconditions.checkState( in initInputMaps()
|
D | RecurringRunner.java | 25 import com.android.tv.common.SoftPreconditions; 59 SoftPreconditions.checkState(!mRunning, TAG, mName + " start is called twice."); in start()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/ |
D | TunerTsStreamer.java | 25 import com.android.tv.common.SoftPreconditions; 93 SoftPreconditions.checkState(mLastReadPosition.get() == 0); in shiftStartPosition() 94 SoftPreconditions.checkArgument(0 <= offset && offset <= getBufferedPosition()); in shiftStartPosition()
|
/packages/apps/TV/src/com/android/tv/data/ |
D | ProgramDataManager.java | 38 import com.android.tv.common.SoftPreconditions; 409 SoftPreconditions.checkState(mPrefetchEnabled, TAG, "Prefetch is disabled."); in getPrograms() 507 SoftPreconditions.checkState(mPrefetchEnabled, TAG, "Prefetch is disabled."); in removePreviousProgramsAndUpdateCurrentProgramInCache() 965 SoftPreconditions.checkState(mPrefetchEnabled, TAG, "Prefetch is disabled."); in setPauseProgramUpdate() 989 SoftPreconditions.checkState(mPrefetchEnabled, TAG, "Prefetch is disabled."); in setPrefetchTimeRange()
|
/packages/apps/TV/src/com/android/tv/license/ |
D | Licenses.java | 22 import com.android.tv.common.SoftPreconditions; 64 SoftPreconditions.checkState( in getLicenseListFromMetadata()
|