/packages/apps/Settings/tests/robotests/src/com/android/settings/privacy/ |
D | SensorPrivacyManagerHelperTest.java | 135 verify(callback, times(1)).onSensorPrivacyChanged(eq(t), eq(s), eq(e)); in addCallbackNoFilter_invokeCallback() 136 verify(callback, times(i + 1)).onSensorPrivacyChanged(anyInt(), anyInt(), anyBoolean()); in addCallbackNoFilter_invokeCallback() 155 verify(callback, never()).onSensorPrivacyChanged(anyInt(), eq(SENSOR_MICROPHONE), in addCallbackMicrophoneOnlyFilter_invokeCallbackMicrophoneOnly() 175 verify(callback, never()).onSensorPrivacyChanged(anyInt(), eq(SENSOR_CAMERA), in addCallbackCameraOnlyFilter_invokeCallbackCameraOnly() 195 verify(callback, never()).onSensorPrivacyChanged(eq(TOGGLE_TYPE_SOFTWARE), in addCallbackSoftwareMicrophoneOnlyFilter_invokeCallbackSoftwareMicrophoneOnly() 215 verify(callback, never()).onSensorPrivacyChanged(eq(TOGGLE_TYPE_SOFTWARE), in addCallbackSoftwareCameraOnlyFilter_invokeCallbackSoftwareCameraOnly() 235 verify(callback, never()).onSensorPrivacyChanged(eq(TOGGLE_TYPE_HARDWARE), in addCallbackHardwareMicrophoneOnlyFilter_invokeCallbackHardwareMicrophoneOnly() 255 verify(callback, never()).onSensorPrivacyChanged(eq(TOGGLE_TYPE_HARDWARE), in addCallbackHardwareCameraOnlyFilter_invokeCallbackHardwareCameraOnly() 273 verify(callback, never()).onSensorPrivacyChanged(anyInt(), anyInt(), anyBoolean()); in removeCallback_noInvokeCallback() 295 listener.onSensorPrivacyChanged(createParams(t, s, e)); in verifyAllCases()
|
D | SensorToggleControllerTest.java | 183 .onSensorPrivacyChanged(TOGGLE_TYPE_SOFTWARE, SENSOR_MICROPHONE, true); in isChecked_disableMicrophoneSensorPrivacyThenChanged_returnFalse() 210 .onSensorPrivacyChanged(TOGGLE_TYPE_SOFTWARE, SENSOR_MICROPHONE, false); in isChecked_enableMicrophoneSensorPrivacyThenChanged_returnTrue() 362 callbackCaptor.getValue().onSensorPrivacyChanged(TOGGLE_TYPE_SOFTWARE, SENSOR_CAMERA, true); in isChecked_disableCameraSensorPrivacyThenChanged_returnFalse() 389 .onSensorPrivacyChanged(TOGGLE_TYPE_SOFTWARE, SENSOR_CAMERA, false); in isChecked_enableCameraSensorPrivacyThenChanged_returnTrue()
|
/packages/apps/Settings/src/com/android/settings/utils/ |
D | SensorPrivacyManagerHelper.kt | 49 fun onSensorPrivacyChanged(toggleType: Int, sensor: Int, blocked: Boolean) in <lambda>() method 158 override fun onSensorPrivacyChanged(sensor: Int, enabled: Boolean) { in <lambda>() method 162 override fun onSensorPrivacyChanged(params: SensorPrivacyChangedParams) { in <lambda>() method 171 it.first.onSensorPrivacyChanged(params.toggleType, params.sensor, in <lambda>()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/privacy/ |
D | MicTogglePreferenceControllerTest.java | 153 mListener.getValue().onSensorPrivacyChanged(SensorPrivacyManager.Sensors.MICROPHONE, true); in onPreferenceClicked_clickMicEnabled_shouldSetPrivacySensor() 170 mListener.getValue().onSensorPrivacyChanged(SensorPrivacyManager.Sensors.MICROPHONE, false); in onPreferenceClicked_clickMicDisabled_shouldClearPrivacySensor() 180 mListener.getValue().onSensorPrivacyChanged(SensorPrivacyManager.Sensors.MICROPHONE, false); in onListenerUpdate_micDisabled_shouldUpdateChecked() 190 mListener.getValue().onSensorPrivacyChanged(SensorPrivacyManager.Sensors.MICROPHONE, true); in onListenerUpdate_micEnabled_shouldUpdateChecked()
|
D | CameraTogglePreferenceControllerTest.java | 163 mListener.getValue().onSensorPrivacyChanged(mSensorPrivacyChangedParams); in onPreferenceClicked_clickCameraEnabled_shouldSetPrivacySensor() 200 mListener.getValue().onSensorPrivacyChanged(mSensorPrivacyChangedParams); in onListenerUpdate_cameraEnabled_shouldUpdateChecked()
|
D | MicrophoneRecentAccessesPreferenceControllerTest.java | 123 mListener.getValue().onSensorPrivacyChanged(SensorPrivacyManager.Sensors.MICROPHONE, false); in onListenerUpdate_micEnabled_shouldShow() 133 mListener.getValue().onSensorPrivacyChanged(SensorPrivacyManager.Sensors.MICROPHONE, true); in onListenerUpdate_micDisabled_shouldHide()
|
D | CameraRecentAccessesPreferenceControllerTest.java | 126 mListener.getValue().onSensorPrivacyChanged(mSensorPrivacyChangedParams); in onListenerUpdate_cameraEnabled_shouldShow() 136 mListener.getValue().onSensorPrivacyChanged(mSensorPrivacyChangedParams); in onListenerUpdate_cameraDisabled_shouldHide()
|
D | MicrophoneInfotainmentAppsPreferenceControllerTest.java | 138 mPreferenceController.getListener().onSensorPrivacyChanged(params); in onCreate_triggerListener_uiUpdate()
|
/packages/apps/Car/Settings/src/com/android/car/settings/privacy/ |
D | CameraPrivacyBasePreferenceController.java | 41 public void onSensorPrivacyChanged(SensorPrivacyChangedParams params) { 46 public void onSensorPrivacyChanged(int sensor, boolean enabled) {
|
D | PrivacyBasePreferenceController.java | 44 public void onSensorPrivacyChanged(SensorPrivacyChangedParams params) { 49 public void onSensorPrivacyChanged(int sensor, boolean enabled) {
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/privacy/ |
D | SensorInfoUpdateListener.java | 27 void onSensorPrivacyChanged(); in onSensorPrivacyChanged() method
|
D | SensorQcPanel.java | 225 public void onSensorPrivacyChanged() { in onSensorPrivacyChanged() method in SensorQcPanel
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/ |
D | MicPrivacyChipViewControllerTest.java | 250 .onSensorPrivacyChanged(MICROPHONE, /* enabled= */ true); in onSensorPrivacyChanged_argTrue_setSensorEnabledWithFalseCalled() 266 .onSensorPrivacyChanged(MICROPHONE, /* enabled= */ false); in onSensorPrivacyChanged_argFalse_setSensorEnabledWithTrueCalled() 283 .onSensorPrivacyChanged(MICROPHONE, /* enabled= */ true); in onSensorPrivacyChanged_qsTileNotifyUpdateRunnableExecuted()
|
D | CameraPrivacyChipViewControllerTest.java | 250 .onSensorPrivacyChanged(CAMERA, /* enabled= */ true); in onSensorPrivacyChanged_argTrue_setSensorEnabledWithFalseCalled() 266 .onSensorPrivacyChanged(CAMERA, /* enabled= */ false); in onSensorPrivacyChanged_argFalse_setSensorEnabledWithTrueCalled() 283 .onSensorPrivacyChanged(CAMERA, /* enabled= */ true); in onSensorPrivacyChanged_qsTileNotifyUpdateRunnableExecuted()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | AdaptiveSleepCameraStatePreferenceController.java | 50 public void onSensorPrivacyChanged(int sensor, boolean enabled) {
|
D | SmartAutoRotateCameraStateController.java | 53 public void onSensorPrivacyChanged(int sensor, boolean enabled) {
|
D | SmartAutoRotatePreferenceController.java | 70 public void onSensorPrivacyChanged(int sensor, boolean enabled) {
|
D | SmartAutoRotateController.java | 72 public void onSensorPrivacyChanged(int sensor, boolean enabled) {
|
/packages/apps/Settings/src/com/android/settings/privacy/ |
D | SensorToggleController.java | 115 public void onSensorPrivacyChanged(int toggleType, int sensor, boolean blocked) { in onSensorPrivacyChanged() method in SensorToggleController
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/ |
D | PrivacyChipViewController.java | 65 mSensorInfoUpdateListener.onSensorPrivacyChanged();
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/ |
D | PrivacyControlsViewModel.kt | 120 override fun onSensorPrivacyChanged(sensor: Int, enabled: Boolean) { in onSensorPrivacyChanged() method in com.android.permissioncontroller.safetycenter.ui.model.PrivacyControlsViewModel
|
D | SafetyCenterQsViewModel.kt | 199 override fun onSensorPrivacyChanged(sensor: Int, enabled: Boolean) { in onSensorPrivacyChanged() method
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
D | AppPermissionViewModel.kt | 317 override fun onSensorPrivacyChanged(params: SensorPrivacyChangedParams) { in <lambda>() method in com.android.permissioncontroller.permission.ui.model.SensorStatusLiveData 323 override fun onSensorPrivacyChanged(sensor: Int, enabled: Boolean) {} in <lambda>() method in com.android.permissioncontroller.permission.ui.model.SensorStatusLiveData
|