Searched refs:mSensorPrivacyController (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/television/ |
D | TvUnblockSensorActivity.java | 48 private final IndividualSensorPrivacyController mSensorPrivacyController; field in TvUnblockSensorActivity 54 mSensorPrivacyController = individualSensorPrivacyController; in TvUnblockSensorActivity() 77 if (!mSensorPrivacyController.isSensorBlocked(CAMERA) in onCreate() 78 && !mSensorPrivacyController.isSensorBlocked(MICROPHONE)) { in onCreate() 123 mSensorPrivacyController.setSensorBlocked(OTHER, CAMERA, false); in initUI() 124 mSensorPrivacyController.setSensorBlocked(OTHER, MICROPHONE, false); in initUI() 126 mSensorPrivacyController.setSensorBlocked(OTHER, mSensor, false); in initUI() 137 mSensorPrivacyController.addCallback(mSensorPrivacyCallback); in onResume() 142 mSensorPrivacyController.removeCallback(mSensorPrivacyCallback); in onPause()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | SensorPrivacyToggleTile.java | 55 protected IndividualSensorPrivacyController mSensorPrivacyController; field in SensorPrivacyToggleTile 84 mSensorPrivacyController = sensorPrivacyController; in SensorPrivacyToggleTile() 86 mSensorPrivacyController.observe(getLifecycle(), this); in SensorPrivacyToggleTile() 98 mSensorPrivacyController.setSensorBlocked(QS_TILE, getSensorId(), in handleClick() 99 !mSensorPrivacyController.isSensorBlocked(getSensorId())); in handleClick() 103 mSensorPrivacyController.setSensorBlocked(QS_TILE, getSensorId(), in handleClick() 104 !mSensorPrivacyController.isSensorBlocked(getSensorId())); in handleClick() 109 boolean isBlocked = arg == null ? mSensorPrivacyController.isSensorBlocked(getSensorId()) in handleUpdateState()
|
D | CameraToggleTile.java | 66 return mSensorPrivacyController.supportsSensorToggle(CAMERA) in isAvailable()
|
D | MicrophoneToggleTile.java | 66 return mSensorPrivacyController.supportsSensorToggle(MICROPHONE) in isAvailable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsControllerImpl.java | 82 private final IndividualSensorPrivacyController mSensorPrivacyController; field in AppOpsControllerImpl 129 mSensorPrivacyController = sensorPrivacyController; in AppOpsControllerImpl() 131 || mSensorPrivacyController.isSensorBlocked(MICROPHONE); in AppOpsControllerImpl() 132 mCameraDisabled = mSensorPrivacyController.isSensorBlocked(CAMERA); in AppOpsControllerImpl() 150 mSensorPrivacyController.addCallback(this); in setListening() 153 || mSensorPrivacyController.isSensorBlocked(MICROPHONE); in setListening() 154 mCameraDisabled = mSensorPrivacyController.isSensorBlocked(CAMERA); in setListening() 165 mSensorPrivacyController.removeCallback(this); in setListening() 513 || mSensorPrivacyController.isSensorBlocked(MICROPHONE); in onReceive()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/ |
D | AppOpsControllerTest.java | 93 private IndividualSensorPrivacyController mSensorPrivacyController; field in AppOpsControllerTest 128 when(mSensorPrivacyController.isSensorBlocked(CAMERA)) in setUp() 130 when(mSensorPrivacyController.isSensorBlocked(CAMERA)) in setUp() 138 mSensorPrivacyController, in setUp() 149 verify(mSensorPrivacyController, times(1)).addCallback(mController); in testOnlyListenForFewOps() 157 verify(mSensorPrivacyController, times(1)).removeCallback(mController); in testStopListening()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 147 private final SensorPrivacyController mSensorPrivacyController; field in PhoneStatusBarPolicy 200 mSensorPrivacyController = sensorPrivacyController; in PhoneStatusBarPolicy() 323 mSensorPrivacyController.isSensorPrivacyEnabled()); in init() 339 mSensorPrivacyController.addCallback(mSensorPrivacyListener); in init()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Dependency.java | 344 @Inject Lazy<SensorPrivacyController> mSensorPrivacyController; field in Dependency 549 mProviders.put(SensorPrivacyController.class, mSensorPrivacyController::get); in start()
|