Home
last modified time | relevance | path

Searched refs:isRecording (Results 1 – 8 of 8) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
H A DScreenRecordTileTest.java137 when(mController.isRecording()).thenReturn(false); in testNotActive()
164 when(mController.isRecording()).thenReturn(false); in testIsStarting()
177 when(mController.isRecording()).thenReturn(false); in testCancelRecording()
188 when(mController.isRecording()).thenReturn(true); in testIsRecording()
202 when(mController.isRecording()).thenReturn(true); in testStopRecording()
220 when(mController.isRecording()).thenReturn(false); in testForceExpandIcon_notRecordingNotStarting()
231 when(mController.isRecording()).thenReturn(true); in testForceExpandIcon_recordingNotStarting()
242 when(mController.isRecording()).thenReturn(false); in testForceExpandIcon_startingNotRecording()
253 when(mController.isRecording()).thenReturn(true); in testIcon_whenRecording_isOnState()
264 when(mController.isRecording()).thenReturn(false); in testIcon_whenStarting_isOnState()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/
H A DRecordingControllerTest.java107 assertFalse(mController.isRecording()); in testCancelCountdown()
112 assertFalse(mController.isRecording()); in testCancelCountdown()
145 assertFalse(mController.isRecording()); in testStopRecording()
154 assertTrue(mController.isRecording()); in testUpdateState()
158 assertFalse(mController.isRecording()); in testUpdateState()
184 assertFalse(mController.isRecording()); in testUpdateStateBroadcast()
209 assertFalse(mController.isRecording()); in testUserChange()
H A DRecordingServiceTest.java191 doReturn(true).when(mController).isRecording(); in testOnSystemRequestedStop_recordingInProgress_endsRecording()
200 doReturn(true).when(mController).isRecording(); in testOnSystemRequestedStop_recordingInProgress_updatesState()
210 doReturn(false).when(mController).isRecording(); in testOnSystemRequestedStop_recordingIsNotInProgress_doesNotEndRecording()
220 doReturn(true).when(mController).isRecording(); in testOnSystemRequestedStop_recorderEndThrowsRuntimeException_releasesRecording()
231 doReturn(true).when(mController).isRecording(); in testOnSystemRequestedStop_recorderEndThrowsRuntimeException_showsErrorNotification()
242 doReturn(true).when(mController).isRecording(); in testOnSystemRequestedStop_recorderEndThrowsOOMError_releasesRecording()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DScreenRecordTile.java116 } else if (mController.isRecording()) { in handleClick()
127 boolean isRecording = mController.isRecording(); in handleUpdateState()
129 state.value = isRecording || isStarting; in handleUpdateState()
130 state.state = (isRecording || isStarting) ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
138 if (isRecording) { in handleUpdateState()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
H A DRecordingController.java232 public synchronized boolean isRecording() { in isRecording() method in RecordingController
256 public synchronized void updateState(boolean isRecording) { in updateState() argument
257 if (!isRecording && mIsRecording) { in updateState()
262 mIsRecording = isRecording; in updateState()
264 if (isRecording) { in updateState()
H A DRecordingService.java503 if (mController.isRecording()) { in onStopped()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarPolicy.java527 if (isCasting && !mRecordingController.isRecording()) { // screen record has its own icon in updateCast()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
H A DQuickSettingsController.java1221 mRecordingController.isRecording() || mCastController.hasConnectedCastDevice() in applyClippingImmediately()