Home
last modified time | relevance | path

Searched refs:setSensorBlocked (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/privacy/
DSensorToggleControllerTest.java225 verify(mSensorPrivacyManagerHelper, never()).setSensorBlocked(anyInt(), anyBoolean()); in blocked_uncheckMicToggle_returnTrue()
232 .setSensorBlocked(ArgumentMatchers.eq(SENSOR_MICROPHONE), blockedResult.capture()); in blocked_uncheckMicToggle_returnTrue()
250 verify(mSensorPrivacyManagerHelper, never()).setSensorBlocked(anyInt(), anyBoolean()); in blocked_checkMicToggle_returnFalse()
257 .setSensorBlocked(ArgumentMatchers.eq(SENSOR_MICROPHONE), blockedResult.capture()); in blocked_checkMicToggle_returnFalse()
404 verify(mSensorPrivacyManagerHelper, never()).setSensorBlocked(anyInt(), anyBoolean()); in blocked_uncheckCamToggle_returnTrue()
411 .setSensorBlocked(ArgumentMatchers.eq(SENSOR_CAMERA), blockedResult.capture()); in blocked_uncheckCamToggle_returnTrue()
429 verify(mSensorPrivacyManagerHelper, never()).setSensorBlocked(anyInt(), anyBoolean()); in blocked_checkCamToggle_returnFalse()
436 .setSensorBlocked(ArgumentMatchers.eq(SENSOR_CAMERA), blockedResult.capture()); in blocked_checkCamToggle_returnFalse()
DSensorPrivacyManagerHelperTest.java106 mSensorPrivacyManagerHelper.setSensorBlocked(SENSOR_MICROPHONE, true); in invokeSetMicrophoneBlocked_invokeSetMicrophonePrivacyTrue()
117 mSensorPrivacyManagerHelper.setSensorBlocked(SENSOR_MICROPHONE, false); in invokeSetMicrophoneUnBlocked_invokeSetMicrophonePrivacyFalse()
/packages/apps/TvSystemUI/src/com/android/systemui/tv/sensorprivacy/
DTvUnblockSensorActivity.java260 mSensorPrivacyController.setSensorBlocked(Sources.OTHER, Sensors.CAMERA, false); in updateUiForSoftwareToggle()
261 mSensorPrivacyController.setSensorBlocked(Sources.OTHER, Sensors.MICROPHONE, false); in updateUiForSoftwareToggle()
263 mSensorPrivacyController.setSensorBlocked(Sources.OTHER, mSensor, false); in updateUiForSoftwareToggle()
/packages/apps/Settings/src/com/android/settings/privacy/
DSensorToggleController.java92 mSensorPrivacyManagerHelper.setSensorBlocked(getSensor(), !isChecked); in setChecked()
/packages/apps/Settings/src/com/android/settings/utils/
DSensorPrivacyManagerHelper.kt80 open fun setSensorBlocked(sensor: Int, blocked: Boolean) { in <lambda>() method