Home
last modified time | relevance | path

Searched refs:recordingController (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/data/repository/
DScreenRecordRepositoryTest.kt41 private val recordingController = mock<RecordingController>() constant
46 recordingController = recordingController,
56 whenever(recordingController.isRecording).thenReturn(false) in dataMatchesController()
57 whenever(recordingController.isStarting).thenReturn(false) in dataMatchesController()
64 verify(recordingController).addCallback(callbackCaptor.capture()) in dataMatchesController()
90 whenever(recordingController.isRecording).thenReturn(true) in data_whenRecording_matchesController()
91 whenever(recordingController.isStarting).thenReturn(false) in data_whenRecording_matchesController()
102 whenever(recordingController.isRecording).thenReturn(false) in data_whenStarting_matchesController()
103 whenever(recordingController.isStarting).thenReturn(true) in data_whenStarting_matchesController()
114 whenever(recordingController.isRecording).thenReturn(true) in data_whenRecordingAndStarting_matchesControllerRecording()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/data/repository/
DScreenRecordRepository.kt52 private val recordingController: RecordingController, in stopRecording() constant in com.android.systemui.screenrecord.data.repository.ScreenRecordRepositoryImpl
73 !recordingController.isRecording && !recordingController.isStarting in stopRecording()
81 recordingController.addCallback(callback) in stopRecording()
82 awaitClose { recordingController.removeCallback(callback) } in stopRecording()
89 return if (recordingController.isRecording) { in stopRecording()
91 } else if (recordingController.isStarting) { in stopRecording()
99 withContext(bgCoroutineContext) { recordingController.stopRecording() } in stopRecording()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/screenrecord/domain/interactor/
DScreenRecordTileUserActionInteractorTest.kt62 private val recordingController = constant in com.android.systemui.qs.tiles.impl.screenrecord.domain.interactor.ScreenRecordTileUserActionInteractorTest
79 recordingController = recordingController,
88 recordingController,
104 verify(recordingController).cancelCountdown() in <lambda>()
113 verify(recordingController).stopRecording() in handleClick_whenRecording_stopRecording()
122 verify(recordingController) in <lambda>()
160 verify(recordingController) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/screenrecord/domain/interactor/
DScreenRecordTileUserActionInteractor.kt52 private val recordingController: RecordingController, constant in com.android.systemui.qs.tiles.impl.screenrecord.domain.interactor.ScreenRecordTileUserActionInteractor
68 withContext(backgroundContext) { recordingController.cancelCountdown() } in handleInput()
92 recordingController.createScreenRecordDialog( in showPrompt()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicyTest.kt114 @Mock private lateinit var recordingController: RecordingController variable in com.android.systemui.statusbar.phone.PhoneStatusBarPolicyTest
303 recordingController, in createStatusBarPolicy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenRecordDialogDelegate.java79 RecordingController recordingController, in create() argument
DScreenRecordPermissionDialogDelegate.kt108 recordingController: RecordingController, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java187 DevicePolicyManager devicePolicyManager, RecordingController recordingController, in PhoneStatusBarPolicy() argument
219 mRecordingController = recordingController; in PhoneStatusBarPolicy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DQuickSettingsControllerImpl.java324 RecordingController recordingController, in QuickSettingsControllerImpl() argument
372 mRecordingController = recordingController; in QuickSettingsControllerImpl()