/aosp14/frameworks/base/core/tests/coretests/src/android/hardware/input/ |
H A D | InputDeviceSensorManagerTest.java | 93 when(mIInputManagerMock.getSensorList(eq(DEVICE_ID))).thenReturn(new InputSensorInfo[] { in setUp() 173 List<Sensor> accelList = sensorManager.getSensorList(Sensor.TYPE_ACCELEROMETER); in getInputDeviceSensors_withExpectedType() 174 verify(mIInputManagerMock).getSensorList(eq(DEVICE_ID)); in getInputDeviceSensors_withExpectedType() 179 List<Sensor> gyroList = sensorManager.getSensorList(Sensor.TYPE_GYROSCOPE); in getInputDeviceSensors_withExpectedType() 180 verify(mIInputManagerMock).getSensorList(eq(DEVICE_ID)); in getInputDeviceSensors_withExpectedType() 194 List<Sensor> gameRotationList = sensorManager.getSensorList( in getInputDeviceSensors_withUnexpectedType() 196 verify(mIInputManagerMock).getSensorList(eq(DEVICE_ID)); in getInputDeviceSensors_withUnexpectedType() 199 List<Sensor> gravityList = sensorManager.getSensorList(Sensor.TYPE_GRAVITY); in getInputDeviceSensors_withUnexpectedType() 200 verify(mIInputManagerMock).getSensorList(eq(DEVICE_ID)); in getInputDeviceSensors_withUnexpectedType()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/policy/ |
H A D | DeviceStateProviderImplTest.java | 345 when(mSensorManager.getSensorList(anyInt())).thenReturn(List.of(sensor)); in create_sensor() 410 when(mSensorManager.getSensorList(anyInt())).thenReturn(List.of(sensor)); in test_flagDisableWhenThermalStatusCritical() 467 when(mSensorManager.getSensorList(anyInt())).thenReturn(List.of(sensor)); in test_flagDisableWhenPowerSaveEnabled() 526 when(mSensorManager.getSensorList(anyInt())).thenReturn(List.of(sensor)); in test_invalidSensorValues() 559 when(mSensorManager.getSensorList(anyInt())).thenReturn(List.of()); in create_invalidSensor()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/ |
H A D | AsyncSensorManager.java | 67 mSensorCache = mInner.getSensorList(Sensor.TYPE_ALL); in AsyncSensorManager() 82 return mInner.getSensorList(Sensor.TYPE_ALL); in getFullDynamicSensorList()
|
H A D | ThresholdSensorImpl.java | 343 List<Sensor> sensorList = mSensorManager.getSensorList(Sensor.TYPE_ALL); in findSensorByType()
|
/aosp14/frameworks/base/services/core/java/com/android/server/display/utils/ |
H A D | SensorUtils.java | 58 final List<Sensor> sensors = sensorManager.getSensorList(Sensor.TYPE_ALL); in findSensor()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/ |
H A D | ThresholdSensorImplTest.java | 83 when(mockSensorManager.getSensorList(TYPE_ALL)).thenReturn( in testRegistersWakeUpProxSensor_givenWakeUpExistsAfterNonWakeup() 109 when(mockSensorManager.getSensorList(TYPE_ALL)).thenReturn( in testRegistersWakeUpProxSensor_givenNonWakeUpExistsAfterWakeup() 131 when(mockSensorManager.getSensorList(TYPE_ALL)).thenReturn(List.of(mockNonWakeupProx)); in testRegistersNonWakeUpProxSensor_givenNonWakeUpOnly()
|
/aosp14/frameworks/base/native/android/ |
H A D | sensor.cpp | 79 int c = static_cast<SensorManager*>(manager)->getSensorList(&l); in ASensorManager_getSensorList() 104 size_t size = static_cast<SensorManager*>(manager)->getSensorList(&sensorList); in ASensorManager_getDefaultSensorEx()
|
/aosp14/frameworks/base/services/core/java/com/android/server/input/ |
H A D | NativeInputManagerService.java | 206 InputSensorInfo[] getSensorList(int deviceId); in getSensorList() method 469 public native InputSensorInfo[] getSensorList(int deviceId); in getSensorList() method in NativeInputManagerService.NativeImpl
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/ |
H A D | SensorPowerCalculatorTest.java | 59 when(sensorManager.getSensorList(Sensor.TYPE_ALL)) in testTimerBasedModel()
|
/aosp14/frameworks/base/core/java/android/hardware/ |
H A D | SensorManager.java | 428 public List<Sensor> getSensorList(int type) { in getSensorList() method in SensorManager 523 List<Sensor> l = getSensorList(type); in getDefaultSensor() 570 List<Sensor> l = getSensorList(type); in getDefaultSensor() 1060 List<Sensor> sensors = getSensorList(Sensor.TYPE_DYNAMIC_SENSOR_META); in isDynamicSensorDiscoverySupported()
|
H A D | SystemSensorManager.java | 171 public List<Sensor> getSensorList(int type) { in getSensorList() method in SystemSensorManager 174 return super.getSensorList(type); in getSensorList()
|
/aosp14/frameworks/base/services/core/java/com/android/server/power/stats/ |
H A D | SensorPowerCalculator.java | 33 List<Sensor> sensors = sensorManager.getSensorList(Sensor.TYPE_ALL); in SensorPowerCalculator()
|
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
H A D | DisplayPowerProximityStateControllerTest.java | 251 when(mSensorManager.getSensorList(eq(Sensor.TYPE_ALL))) in notifyDisplayDeviceChangedReloadsTheProximitySensor() 388 when(mSensorManager.getSensorList(eq(Sensor.TYPE_ALL))) in setUpProxSensor()
|
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/utils/ |
H A D | SensorUtilsTest.java | 123 when(mSensorManager.getSensorList(Sensor.TYPE_ALL)).thenReturn(allSensors); in testFindSensor()
|
/aosp14/frameworks/base/services/core/java/com/android/server/display/whitebalance/ |
H A D | AmbientSensor.java | 332 for (Sensor sensor : mSensorManager.getSensorList(Sensor.TYPE_ALL)) { in AmbientColorTemperatureSensor()
|
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/whitebalance/ |
H A D | AmbientSensorTest.java | 130 when(mSensorManagerMock.getSensorList(Sensor.TYPE_ALL)).thenReturn(sensorList); in testAmbientColorTemperatureSensorCallback_CallbacksCalled()
|
H A D | AmbientLuxTest.java | 97 when(mSensorManagerMock.getSensorList(Sensor.TYPE_ALL)).thenReturn(sensorList); in setUp()
|
/aosp14/frameworks/base/core/java/android/hardware/input/ |
H A D | InputManager.java | 1074 public InputSensorInfo[] getSensorList(int deviceId) { in getSensorList() method in InputManager 1075 return mGlobal.getSensorList(deviceId); in getSensorList()
|
H A D | IInputManager.aidl | 187 InputSensorInfo[] getSensorList(int deviceId); in getSensorList() method
|
H A D | InputManagerGlobal.java | 936 InputSensorInfo[] getSensorList(int deviceId) { in getSensorList() method in InputManagerGlobal 938 return mIm.getSensorList(deviceId); in getSensorList()
|
H A D | InputDeviceSensorManager.java | 103 mGlobal.getSensorList(deviceId); in updateInputDeviceSensorInfoLocked()
|
/aosp14/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/materials/ |
H A D | GlassView.kt | 184 sensorManager?.getSensorList(Sensor.TYPE_GYROSCOPE)?.firstOrNull().let {
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/input/ |
H A D | AmbientKeyboardBacklightControllerTests.kt | 145 `when`(sensorManager.getSensorList(anyInt())).thenReturn(listOf(lightSensor))
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
H A D | DozeSensorsTest.java | 382 when(mSensorManager.getSensorList(anyInt())).thenReturn(sensors); in testFindSensor()
|
/aosp14/frameworks/base/core/jni/ |
H A D | android_hardware_SensorManager.cpp | 220 ssize_t count = mgr->getSensorList(&sensorList); in nativeGetSensorAtIndex()
|