Home
last modified time | relevance | path

Searched refs:SoftPreconditions (Results 1 – 25 of 71) sorted by relevance

123

/packages/apps/TV/src/com/android/tv/dvr/
DDvrManager.java42 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 …]
DDvrScheduleManager.java30 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 …]
DDvrDataManagerImpl.java42 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/
DTunerPreferences.java23 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/
DCommonPreferences.java151 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/
DEpisodicProgramLoadTask.java30 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/
DDvrConflictFragment.java35 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()
DSortedArrayAdapter.java22 import com.android.tv.common.SoftPreconditions;
94 SoftPreconditions.checkState(!mIds.contains(newItemId)); in add()
116 SoftPreconditions.checkState(!mIds.contains(newItemId)); in addExtraItem()
DBigArguments.java20 import com.android.tv.common.SoftPreconditions;
31 SoftPreconditions.checkState(value != null, TAG, "Set argument, but value is null"); in setArgument()
DDvrScheduleFragment.java33 import com.android.tv.common.SoftPreconditions;
74 SoftPreconditions.checkArgument( in onCreate()
80 SoftPreconditions.checkArgument( in onCreate()
DDvrSeriesSettingsActivity.java27 import com.android.tv.common.SoftPreconditions;
70 SoftPreconditions.checkArgument(seriesRecordingId != -1); in onCreate()
DDvrInsufficientSpaceErrorFragment.java27 import com.android.tv.common.SoftPreconditions;
51 SoftPreconditions.checkState( in onAttach()
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DScheduleRow.java21 import com.android.tv.common.SoftPreconditions;
55 SoftPreconditions.checkState(!mStartRecordingRequested); in setStopRecordingRequested()
66 SoftPreconditions.checkState(!mStopRecordingRequested); in setStartRecordingRequested()
DSeriesScheduleRowPresenter.java23 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/
DHdHomeRunTunerHal.java22 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/
DRecordingStorageStatusManager.java32 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/
DAudioClock.java20 import com.android.tv.common.SoftPreconditions;
85 SoftPreconditions.checkState(speed > 0); in setPlaybackSpeed()
/packages/apps/TV/src/com/android/tv/ui/
DDialogUtils.java23 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/
DDvrDataManagerInMemoryImpl.java25 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/
DDvrItemPresenter.java26 import com.android.tv.common.SoftPreconditions;
74 SoftPreconditions.checkState(false); in onBindViewHolder()
/packages/apps/TV/src/com/android/tv/license/
DLicenses.java22 import com.android.tv.common.SoftPreconditions;
64 SoftPreconditions.checkState( in getLicenseListFromMetadata()
/packages/apps/TV/src/com/android/tv/util/
DRecurringRunner.java25 import com.android.tv.common.SoftPreconditions;
59 SoftPreconditions.checkState(!mRunning, TAG, mName + " start is called twice."); in start()
/packages/apps/TV/src/com/android/tv/menu/
DChannelsPosterPrefetcher.java28 import com.android.tv.common.SoftPreconditions;
67 SoftPreconditions.checkState(!isCanceled, TAG, "Prefetch called after cancel was called."); in prefetch()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DMemorySampleBuffer.java21 import com.android.tv.common.SoftPreconditions;
87 SoftPreconditions.checkNotNull(queue); in readSample()
DTrickplayStorageManager.java24 import com.android.tv.common.SoftPreconditions;
52 SoftPreconditions.checkState(sBufferDir == null || sBufferDir.equals(path)); in initParamsIfNeeded()

123