Searched refs:SensorPrivacyManagerHelper (Results 1 – 7 of 7) sorted by relevance
21 import static com.android.settings.utils.SensorPrivacyManagerHelper.SENSOR_CAMERA;22 import static com.android.settings.utils.SensorPrivacyManagerHelper.SENSOR_MICROPHONE;23 import static com.android.settings.utils.SensorPrivacyManagerHelper.TOGGLE_TYPE_HARDWARE;24 import static com.android.settings.utils.SensorPrivacyManagerHelper.TOGGLE_TYPE_SOFTWARE;41 import com.android.settings.utils.SensorPrivacyManagerHelper;69 private SensorPrivacyManagerHelper mSensorPrivacyManagerHelper;83 mSensorPrivacyManagerHelper = new SensorPrivacyManagerHelper(mContext); in setUp()130 SensorPrivacyManagerHelper.Callback callback = in addCallbackNoFilter_invokeCallback()131 mock(SensorPrivacyManagerHelper.Callback.class); in addCallbackNoFilter_invokeCallback()148 SensorPrivacyManagerHelper.Callback callback = in addCallbackMicrophoneOnlyFilter_invokeCallbackMicrophoneOnly()[all …]
21 import static com.android.settings.utils.SensorPrivacyManagerHelper.SENSOR_CAMERA;22 import static com.android.settings.utils.SensorPrivacyManagerHelper.SENSOR_MICROPHONE;23 import static com.android.settings.utils.SensorPrivacyManagerHelper.TOGGLE_TYPE_SOFTWARE;42 import com.android.settings.utils.SensorPrivacyManagerHelper;66 private SensorPrivacyManagerHelper mSensorPrivacyManagerHelper;150 ArgumentCaptor<SensorPrivacyManagerHelper.Callback> callbackCaptor = in stopMicrophoneToggleController_invokeRemoveSensorBlockedListener()151 ArgumentCaptor.forClass(SensorPrivacyManagerHelper.Callback.class); in stopMicrophoneToggleController_invokeRemoveSensorBlockedListener()175 ArgumentCaptor<SensorPrivacyManagerHelper.Callback> callbackCaptor = in isChecked_disableMicrophoneSensorPrivacyThenChanged_returnFalse()176 ArgumentCaptor.forClass(SensorPrivacyManagerHelper.Callback.class); in isChecked_disableMicrophoneSensorPrivacyThenChanged_returnFalse()203 ArgumentCaptor<SensorPrivacyManagerHelper.Callback> callbackCaptor = in isChecked_enableMicrophoneSensorPrivacyThenChanged_returnTrue()[all …]
29 import com.android.settings.utils.SensorPrivacyManagerHelper;40 SensorPrivacyManagerHelper.Callback, LifecycleObserver {42 protected final SensorPrivacyManagerHelper mSensorPrivacyManagerHelper;51 this(context, preferenceKey, SensorPrivacyManagerHelper.getInstance(context), false); in SensorToggleController()56 SensorPrivacyManagerHelper sensorPrivacyManagerHelper, boolean ignoreDeviceConfig) { in SensorToggleController()
21 import static com.android.settings.utils.SensorPrivacyManagerHelper.SENSOR_MICROPHONE;25 import com.android.settings.utils.SensorPrivacyManagerHelper;36 SensorPrivacyManagerHelper sensorPrivacyManagerHelper) { in MicToggleController()
21 import static com.android.settings.utils.SensorPrivacyManagerHelper.SENSOR_CAMERA;27 import com.android.settings.utils.SensorPrivacyManagerHelper;40 SensorPrivacyManagerHelper sensorPrivacyManagerHelper) { in CameraToggleController()
32 open class SensorPrivacyManagerHelper(context: Context) : in <lambda>() class142 private var sInstance: SensorPrivacyManagerHelper? = null in <lambda>()150 fun getInstance(context: Context): SensorPrivacyManagerHelper? { in <lambda>()152 sInstance = SensorPrivacyManagerHelper(context) in <lambda>()
58 import com.android.settings.utils.SensorPrivacyManagerHelper;228 final SensorPrivacyManagerHelper helper = SensorPrivacyManagerHelper in onCreate()231 .isSensorBlocked(SensorPrivacyManagerHelper.SENSOR_CAMERA); in onCreate()534 final boolean cameraPrivacyEnabled = SensorPrivacyManagerHelper in onNextButtonClick()536 .isSensorBlocked(SensorPrivacyManagerHelper.SENSOR_CAMERA); in onNextButtonClick()