Searched refs:isRecording (Results 1 – 8 of 8) sorted by relevance
137 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 …]
107 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()
191 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()
116 } 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()
232 public synchronized boolean isRecording() { in isRecording() method in RecordingController256 public synchronized void updateState(boolean isRecording) { in updateState() argument257 if (!isRecording && mIsRecording) { in updateState()262 mIsRecording = isRecording; in updateState()264 if (isRecording) { in updateState()
503 if (mController.isRecording()) { in onStopped()
527 if (isCasting && !mRecordingController.isRecording()) { // screen record has its own icon in updateCast()
1221 mRecordingController.isRecording() || mCastController.hasConnectedCastDevice() in applyClippingImmediately()