Home
last modified time | relevance | path

Searched refs:mIsRecording (Results 1 – 6 of 6) sorted by relevance

/packages/apps/TV/tests/unit/src/com/android/tv/dvr/recorder/
DDvrRecordingServiceTest.java64 assertThat(getService().mIsRecording).isTrue(); in testStartService_null()
84 assertThat(getService().mIsRecording).isTrue(); in testStartService_noUpcomingRecording()
87 assertThat(getService().mIsRecording).isFalse(); in testStartService_noUpcomingRecording()
90 assertThat(getService().mIsRecording).isFalse(); in testStartService_noUpcomingRecording()
98 assertThat(getService().mIsRecording).isTrue(); in testStartService_noUpcomingRecording()
102 assertThat(getService().mIsRecording).isTrue(); in testStartService_noUpcomingRecording()
105 assertThat(getService().mIsRecording).isFalse(); in testStartService_noUpcomingRecording()
117 assertThat(getService().mIsRecording).isFalse(); in testStartService_hasUpcomingRecording()
121 assertThat(getService().mIsRecording).isTrue(); in testStartService_hasUpcomingRecording()
124 assertThat(getService().mIsRecording).isFalse(); in testStartService_hasUpcomingRecording()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DCallRecordingTonePlayer.java118 private boolean mIsRecording = false; field in CallRecordingTonePlayer
156 if (mIsRecording) { in onCallStateChanged()
218 if (mIsRecording && hasActiveCall()) { in maybeStartCallAudioTone()
227 if (!mIsRecording || !hasActiveCall()) { in maybeStopCallAudioTone()
250 boolean wasRecording = mIsRecording; in handleRecordingConfigurationChange()
253 mIsRecording = isRecording; in handleRecordingConfigurationChange()
351 return mIsRecording; in isRecording()
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DTsDataSourceManager.java45 private final boolean mIsRecording; field in TsDataSourceManager
71 mIsRecording = isRecording; in TsDataSourceManager()
88 if (mIsRecording) { in createDataSource()
100 context, channel, eventListener, mId, !mIsRecording && mKeepTuneStatus); in createDataSource()
110 mTunerStreamerManager.releaseDataSource(source, mId, !mIsRecording && mKeepTuneStatus); in releaseDataSource()
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DDvrRecordingService.java98 @VisibleForTesting boolean mIsRecording; field in DvrRecordingService
106 mIsRecording = count > 0;
166 if (mForeground && !mIsRecording) { in stopForegroundIfNotRecordingInternal()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DDvrStorageManager.java60 private final boolean mIsRecording; field in DvrStorageManager
65 mIsRecording = isRecording; in DvrStorageManager()
85 return !mIsRecording || mBufferDir.getUsableSpace() >= MIN_BUFFER_BYTES; in hasEnoughBuffer()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DDvrStorageManager.java60 private final boolean mIsRecording; field in DvrStorageManager
65 mIsRecording = isRecording; in DvrStorageManager()
85 return !mIsRecording || mBufferDir.getUsableSpace() >= MIN_BUFFER_BYTES; in hasEnoughBuffer()