Searched refs:mSensor (Results 1 – 8 of 8) sorted by relevance
/packages/apps/TvSystemUI/src/com/android/systemui/tv/sensorprivacy/ |
D | TvUnblockSensorActivity.java | 64 private int mSensor = -1; field in TvUnblockSensorActivity 95 mSensor = ALL_SENSORS; in onCreate() 97 mSensor = getIntent().getIntExtra(SensorPrivacyManager.EXTRA_SENSOR, -1); in onCreate() 100 if (mSensor == -1) { in onCreate() 107 if (mSensor == ALL_SENSORS && !mSensorPrivacyController.isSensorBlocked(Sensors.CAMERA) in onCreate() 110 } else if (this.mSensor == sensor && !blocked) { in onCreate() 122 switch(mSensor) { in showToastAndFinish() 143 if (mSensor == ALL_SENSORS) { in isBlockedByHardwareToggle() 147 return mSensorPrivacyController.isSensorBlockedByHardwareToggle(mSensor); in isBlockedByHardwareToggle() 180 boolean micBlocked = (mSensor == Sensors.MICROPHONE || mSensor == ALL_SENSORS) in updateUiForHardwareToggle() [all …]
|
D | TvSensorPrivacyChangedActivity.java | 52 private int mSensor = -1; field in TvSensorPrivacyChangedActivity 82 mSensor = ALL_SENSORS; in onCreate() 84 mSensor = getIntent().getIntExtra(SensorPrivacyManager.EXTRA_SENSOR, -1); in onCreate() 89 if (mSensor == -1 || mToggleType == -1) { in onCreate() 128 switch (mSensor) { in updateUI()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/ |
D | LocationListeners.java | 51 private final Sensor mSensor; field in LocationListeners.SensorHelper 60 mSensor = (mSensorMgr != null) ? mSensorMgr.getDefaultSensor(type) : null; in SensorHelper() 63 if (mSensor == null) { in SensorHelper() 76 if (mSensor == null) { in startListening() 80 if (!mSensorMgr.registerListener(this, mSensor, in startListening() 91 if (mSensor != null) { in stopListening()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/pose/ |
D | SixDofPoseSource.java | 49 private final Sensor mSensor; field in SixDofPoseSource 66 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_POSE_6DOF); in SixDofPoseSource() 67 if (mSensor == null) { in SixDofPoseSource() 80 mSensorManager.registerListener(this, mSensor, mIntervalUs); in start()
|
D | RotationPoseSource.java | 47 private final Sensor mSensor; field in RotationPoseSource 67 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ROTATION_VECTOR); in RotationPoseSource() 68 if (mSensor == null) { in RotationPoseSource() 79 mSensorManager.registerListener(this, mSensor, mIntervalUs); in start()
|
D | GyroPoseSource.java | 52 private final Sensor mSensor; field in GyroPoseSource 73 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE); in GyroPoseSource() 74 if (mSensor == null) { in GyroPoseSource() 86 mSensorManager.registerListener(this, mSensor, mIntervalUs); in start()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | EyePosition.java | 65 private Sensor mSensor; field in EyePosition 204 if (mSensor != null) { in pause() 212 if (mSensor != null) { in resume() 216 mSensor, SensorManager.SENSOR_DELAY_GAME); in resume()
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
D | PanoramaActivity.java | 156 private Sensor mSensor; field in PanoramaActivity 279 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE); in onCreate() 280 if (mSensor == null) { in onCreate() 281 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ORIENTATION); in onCreate()
|