/frameworks/native/libs/sensorprivacy/ |
D | SensorPrivacyManager.cpp | 28 SensorPrivacyManager::SensorPrivacyManager() in SensorPrivacyManager() function in android::SensorPrivacyManager 32 sp<hardware::ISensorPrivacyManager> SensorPrivacyManager::getService() in getService() 58 bool SensorPrivacyManager::supportsSensorToggle(int sensor) { in supportsSensorToggle() 74 void SensorPrivacyManager::addSensorPrivacyListener( in addSensorPrivacyListener() 83 status_t SensorPrivacyManager::addIndividualSensorPrivacyListener(int userId, int sensor, in addIndividualSensorPrivacyListener() 94 void SensorPrivacyManager::removeSensorPrivacyListener( in removeSensorPrivacyListener() 103 void SensorPrivacyManager::removeIndividualSensorPrivacyListener(int sensor, in removeIndividualSensorPrivacyListener() 112 bool SensorPrivacyManager::isSensorPrivacyEnabled() in isSensorPrivacyEnabled() 124 bool SensorPrivacyManager::isIndividualSensorPrivacyEnabled(int userId, int sensor) in isIndividualSensorPrivacyEnabled() 136 status_t SensorPrivacyManager::isIndividualSensorPrivacyEnabled(int userId, int sensor, in isIndividualSensorPrivacyEnabled() [all …]
|
D | Android.bp | 41 "SensorPrivacyManager.cpp",
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | IndividualSensorPrivacyControllerImpl.java | 19 import static android.hardware.SensorPrivacyManager.Sensors.CAMERA; 20 import static android.hardware.SensorPrivacyManager.Sensors.MICROPHONE; 22 import android.hardware.SensorPrivacyManager; 23 import android.hardware.SensorPrivacyManager.Sensors.Sensor; 24 import android.hardware.SensorPrivacyManager.Sources.Source; 36 private final @NonNull SensorPrivacyManager mSensorPrivacyManager; 41 @NonNull SensorPrivacyManager sensorPrivacyManager) { in IndividualSensorPrivacyControllerImpl()
|
D | SensorPrivacyControllerImpl.java | 19 import android.hardware.SensorPrivacyManager; 33 SensorPrivacyManager.OnAllSensorPrivacyChangedListener { 34 private SensorPrivacyManager mSensorPrivacyManager; 42 public SensorPrivacyControllerImpl(@NonNull SensorPrivacyManager sensorPrivacyManager) { in SensorPrivacyControllerImpl()
|
D | IndividualSensorPrivacyController.java | 19 import android.hardware.SensorPrivacyManager.Sensors.Sensor; 20 import android.hardware.SensorPrivacyManager.Sources.Source;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/television/ |
D | TvUnblockSensorActivity.java | 19 import static android.hardware.SensorPrivacyManager.Sensors.CAMERA; 20 import static android.hardware.SensorPrivacyManager.Sensors.MICROPHONE; 21 import static android.hardware.SensorPrivacyManager.Sources.OTHER; 23 import android.hardware.SensorPrivacyManager; 61 boolean allSensors = getIntent().getBooleanExtra(SensorPrivacyManager.EXTRA_ALL_SENSORS, in onCreate() 66 mSensor = getIntent().getIntExtra(SensorPrivacyManager.EXTRA_SENSOR, -1); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/ |
D | SensorUseStartedActivity.kt | 24 import android.hardware.SensorPrivacyManager in <lambda>() 25 import android.hardware.SensorPrivacyManager.EXTRA_ALL_SENSORS in <lambda>() 26 import android.hardware.SensorPrivacyManager.EXTRA_SENSOR in <lambda>() 27 import android.hardware.SensorPrivacyManager.Sources.DIALOG in <lambda>() 66 private const val CAMERA = SensorPrivacyManager.Sensors.CAMERA in <lambda>() 67 private const val MICROPHONE = SensorPrivacyManager.Sensors.MICROPHONE in <lambda>()
|
/frameworks/base/core/java/android/hardware/ |
D | SensorPrivacyManager.java | 50 public final class SensorPrivacyManager { class 52 private static final String LOG_TAG = SensorPrivacyManager.class.getSimpleName(); 64 public static final String EXTRA_SENSOR = SensorPrivacyManager.class.getName() 71 public static final String EXTRA_ALL_SENSORS = SensorPrivacyManager.class.getName() 177 private static SensorPrivacyManager sInstance; 195 private SensorPrivacyManager(Context context, ISensorPrivacyManager service) { in SensorPrivacyManager() method in SensorPrivacyManager 207 public static SensorPrivacyManager getInstance(Context context) { in getInstance() 213 sInstance = new SensorPrivacyManager(context, service); in getInstance()
|
/frameworks/native/libs/sensorprivacy/include/sensorprivacy/ |
D | SensorPrivacyManager.h | 30 class SensorPrivacyManager 38 SensorPrivacyManager();
|
/frameworks/base/services/core/java/com/android/server/rotationresolver/ |
D | RotationResolverManagerService.java | 34 import android.hardware.SensorPrivacyManager; 87 private final SensorPrivacyManager mPrivacyManager; 98 mPrivacyManager = SensorPrivacyManager.getInstance(context); in RotationResolverManagerService() 167 SensorPrivacyManager.Sensors.CAMERA); in resolveRotation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | CameraToggleTile.java | 19 import static android.hardware.SensorPrivacyManager.Sensors.CAMERA; 24 import android.hardware.SensorPrivacyManager.Sensors.Sensor;
|
D | MicrophoneToggleTile.java | 19 import static android.hardware.SensorPrivacyManager.Sensors.MICROPHONE; 24 import android.hardware.SensorPrivacyManager.Sensors.Sensor;
|
D | SensorPrivacyToggleTile.java | 19 import static android.hardware.SensorPrivacyManager.Sources.QS_TILE; 22 import android.hardware.SensorPrivacyManager.Sensors.Sensor;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/ |
D | TvSystemUIModule.java | 23 import android.hardware.SensorPrivacyManager; 122 SensorPrivacyManager sensorPrivacyManager) { in provideSensorPrivacyController() 131 SensorPrivacyManager sensorPrivacyManager) { in provideIndividualSensorPrivacyController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/ |
D | SystemUIDefaultModule.java | 23 import android.hardware.SensorPrivacyManager; 129 SensorPrivacyManager sensorPrivacyManager) { in provideSensorPrivacyController() 138 SensorPrivacyManager sensorPrivacyManager) { in provideIndividualSensorPrivacyController()
|
D | FrameworkServicesModule.java | 43 import android.hardware.SensorPrivacyManager; 332 static SensorPrivacyManager provideSensorPrivacyManager(Context context) { in provideSensorPrivacyManager() 333 return context.getSystemService(SensorPrivacyManager.class); in provideSensorPrivacyManager()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SensorPrivacyService.java | 33 import static android.hardware.SensorPrivacyManager.EXTRA_ALL_SENSORS; 34 import static android.hardware.SensorPrivacyManager.EXTRA_SENSOR; 35 import static android.hardware.SensorPrivacyManager.Sensors.CAMERA; 36 import static android.hardware.SensorPrivacyManager.Sensors.MICROPHONE; 37 import static android.hardware.SensorPrivacyManager.Sources.DIALOG; 38 import static android.hardware.SensorPrivacyManager.Sources.OTHER; 39 import static android.hardware.SensorPrivacyManager.Sources.QS_TILE; 40 import static android.hardware.SensorPrivacyManager.Sources.SETTINGS; 41 import static android.hardware.SensorPrivacyManager.Sources.SHELL; 81 import android.hardware.SensorPrivacyManager; [all …]
|
/frameworks/base/services/core/java/com/android/server/attention/ |
D | AttentionManagerService.java | 41 import android.hardware.SensorPrivacyManager; 119 private final SensorPrivacyManager mPrivacyManager; 151 mPrivacyManager = SensorPrivacyManager.getInstance(context); in AttentionManagerService() 255 if (mPrivacyManager.isSensorPrivacyEnabled(SensorPrivacyManager.Sensors.CAMERA)) { in checkAttention()
|
/frameworks/base/services/core/java/com/android/server/location/contexthub/ |
D | ContextHubService.java | 28 import android.hardware.SensorPrivacyManager; 302 SensorPrivacyManager.Sensors.MICROPHONE, (userId, enabled) -> { in ContextHubService() 1101 getCurrentUserId(), SensorPrivacyManager.Sensors.MICROPHONE);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsControllerImpl.java | 19 import static android.hardware.SensorPrivacyManager.Sensors.CAMERA; 20 import static android.hardware.SensorPrivacyManager.Sensors.MICROPHONE;
|
/frameworks/native/services/sensorservice/ |
D | SensorService.cpp | 2235 SensorPrivacyManager spm; in registerSelf() 2242 SensorPrivacyManager spm; in unregisterSelf() 2245 SensorPrivacyManager::INDIVIDUAL_SENSOR_MICROPHONE, this); in unregisterSelf() 2280 SensorPrivacyManager spm; in registerSelfForIndividual() 2282 SensorPrivacyManager::INDIVIDUAL_SENSOR_MICROPHONE, this); in registerSelfForIndividual() 2289 SensorPrivacyManager::INDIVIDUAL_SENSOR_MICROPHONE); in registerSelfForIndividual()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Dependency.java | 21 import android.hardware.SensorPrivacyManager; 327 @Inject Lazy<SensorPrivacyManager> mSensorPrivacyManager; 390 mProviders.put(SensorPrivacyManager.class, mSensorPrivacyManager::get); in start()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/ |
D | AppOpsControllerTest.java | 19 import static android.hardware.SensorPrivacyManager.Sensors.CAMERA; 20 import static android.hardware.SensorPrivacyManager.Sensors.MICROPHONE;
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.cpp | 1406 SensorPrivacyManager spm; in registerSelf() 1412 SensorPrivacyManager spm; in registerSelfForMicrophoneOnly() 1414 SensorPrivacyManager::INDIVIDUAL_SENSOR_MICROPHONE); in registerSelfForMicrophoneOnly() 1416 SensorPrivacyManager::INDIVIDUAL_SENSOR_MICROPHONE, this); in registerSelfForMicrophoneOnly() 1420 SensorPrivacyManager spm; in unregisterSelf()
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 83 import android.hardware.SensorPrivacyManager; 630 registerService(Context.SENSOR_PRIVACY_SERVICE, SensorPrivacyManager.class, in registerService() 631 new CachedServiceFetcher<SensorPrivacyManager>() { in registerService() 633 public SensorPrivacyManager createService(ContextImpl ctx) { in registerService() 634 return SensorPrivacyManager.getInstance(ctx); in registerService()
|