Home
last modified time | relevance | path

Searched refs:getSensorList (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/base/tests/Input/src/android/hardware/input/
DInputDeviceSensorManagerTest.java95 when(mIInputManagerMock.getSensorList(eq(DEVICE_ID))).thenReturn(new InputSensorInfo[] { in setUp()
177 List<Sensor> accelList = sensorManager.getSensorList(Sensor.TYPE_ACCELEROMETER); in getInputDeviceSensors_withExpectedType()
178 verify(mIInputManagerMock).getSensorList(eq(DEVICE_ID)); in getInputDeviceSensors_withExpectedType()
183 List<Sensor> gyroList = sensorManager.getSensorList(Sensor.TYPE_GYROSCOPE); in getInputDeviceSensors_withExpectedType()
184 verify(mIInputManagerMock).getSensorList(eq(DEVICE_ID)); in getInputDeviceSensors_withExpectedType()
198 List<Sensor> gameRotationList = sensorManager.getSensorList( in getInputDeviceSensors_withUnexpectedType()
200 verify(mIInputManagerMock).getSensorList(eq(DEVICE_ID)); in getInputDeviceSensors_withUnexpectedType()
203 List<Sensor> gravityList = sensorManager.getSensorList(Sensor.TYPE_GRAVITY); in getInputDeviceSensors_withUnexpectedType()
204 verify(mIInputManagerMock).getSensorList(eq(DEVICE_ID)); in getInputDeviceSensors_withUnexpectedType()
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorManager.cpp97 int ASensorManager::getSensorList(ASensorList *out) { in getSensorList() function in ASensorManager
103 ndk::ScopedAStatus ret = mManager->getSensorList(&mSensors); in getSensorList()
124 (void)getSensorList(NULL /* list */); in getDefaultSensor()
231 return manager->getSensorList(list); in ASensorManager_getSensorList()
DASensorManager.h36 int getSensorList(ASensorList *list);
/frameworks/hardware/interfaces/sensorservice/aidl/aidl_api/android.frameworks.sensorservice/1/android/frameworks/sensorservice/
DISensorManager.aidl26 android.hardware.sensors.SensorInfo[] getSensorList(); in getSensorList() method
/frameworks/hardware/interfaces/sensorservice/aidl/aidl_api/android.frameworks.sensorservice/current/android/frameworks/sensorservice/
DISensorManager.aidl26 android.hardware.sensors.SensorInfo[] getSensorList(); in getSensorList() method
/frameworks/hardware/interfaces/sensorservice/aidl/android/frameworks/sensorservice/
DISensorManager.aidl110 SensorInfo[] getSensorList(); in getSensorList() method
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/
DDeviceStateProviderImplTest.java357 when(mSensorManager.getSensorList(anyInt())).thenReturn(List.of(sensor)); in create_sensor()
420 when(mSensorManager.getSensorList(anyInt())).thenReturn(List.of(sensor)); in test_propertyDisableWhenThermalStatusCritical()
473 when(mSensorManager.getSensorList(anyInt())).thenReturn(List.of(sensor)); in test_propertyDisableWhenPowerSaveEnabled()
528 when(mSensorManager.getSensorList(anyInt())).thenReturn(List.of(sensor)); in test_invalidSensorValues()
561 when(mSensorManager.getSensorList(anyInt())).thenReturn(List.of()); in create_invalidSensor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/
DAsyncSensorManager.java67 mSensorCache = mInner.getSensorList(Sensor.TYPE_ALL); in AsyncSensorManager()
82 return mInner.getSensorList(Sensor.TYPE_ALL); in getFullDynamicSensorList()
/frameworks/native/services/sensorservice/hidl/
DSensorManager.cpp69 Return<void> SensorManager::getSensorList(getSensorList_cb _hidl_cb) { in getSensorList() function in android::frameworks::sensorservice::V1_0::implementation::SensorManager
71 ssize_t count = getInternalManager().getSensorList(&list); in getSensorList()
/frameworks/native/services/sensorservice/hidl/include/sensorservicehidl/
DSensorManager.h50 Return<void> getSensorList(getSensorList_cb _hidl_cb) override;
/frameworks/native/libs/sensor/include/sensor/
DISensorServer.h44 virtual Vector<Sensor> getSensorList(const String16& opPackageName) = 0;
DSensorManager.h60 ssize_t getSensorList(Sensor const* const** list);
/frameworks/native/libs/sensor/
DSensorManager.cpp229 mSensors = mSensorServer->getSensorList(mOpPackageName); in assertStateLocked()
249 ssize_t SensorManager::getSensorList(Sensor const* const** list) { in assertStateLocked() function in android::SensorManager
269 list = mSensorServer->getSensorList(mOpPackageName); in assertStateLocked()
/frameworks/native/services/sensorservice/aidl/include/sensorserviceaidl/
DSensorManagerAidl.h52 ::ndk::ScopedAStatus getSensorList(
/frameworks/base/services/core/java/com/android/server/display/utils/
DSensorUtils.java60 final List<Sensor> sensors = sensorManager.getSensorList(Sensor.TYPE_ALL); in findSensor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/
DThresholdSensorImplTest.java84 when(mockSensorManager.getSensorList(TYPE_ALL)).thenReturn( in testRegistersWakeUpProxSensor_givenWakeUpExistsAfterNonWakeup()
110 when(mockSensorManager.getSensorList(TYPE_ALL)).thenReturn( in testRegistersWakeUpProxSensor_givenNonWakeUpExistsAfterWakeup()
132 when(mockSensorManager.getSensorList(TYPE_ALL)).thenReturn(List.of(mockNonWakeupProx)); in testRegistersNonWakeUpProxSensor_givenNonWakeUpOnly()
/frameworks/base/native/android/
Dsensor.cpp79 int c = static_cast<SensorManager*>(manager)->getSensorList(&l); in ASensorManager_getSensorList()
104 size_t size = static_cast<SensorManager*>(manager)->getSensorList(&sensorList); in ASensorManager_getDefaultSensorEx()
/frameworks/native/services/sensorservice/aidl/
DSensorManager.cpp174 ndk::ScopedAStatus SensorManagerAidl::getSensorList(std::vector<SensorInfo>* _aidl_return) { in getSensorList() function in android::frameworks::sensorservice::implementation::SensorManagerAidl
177 ssize_t count = getInternalManager().getSensorList(&list); in getSensorList()
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp111 ssize_t count = mgr.getSensorList(&list); in main()
/frameworks/base/core/java/android/hardware/
DSensorManager.java431 public List<Sensor> getSensorList(int type) { in getSensorList() method in SensorManager
526 List<Sensor> l = getSensorList(type); in getDefaultSensor()
573 List<Sensor> l = getSensorList(type); in getDefaultSensor()
1063 List<Sensor> sensors = getSensorList(Sensor.TYPE_DYNAMIC_SENSOR_META); in isDynamicSensorDiscoverySupported()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DSensorPowerCalculatorTest.java65 when(sensorManager.getSensorList(Sensor.TYPE_ALL)) in testTimerBasedModel()
/frameworks/base/services/core/java/com/android/server/input/
DNativeInputManagerService.java215 InputSensorInfo[] getSensorList(int deviceId); in getSensorList() method
507 public native InputSensorInfo[] getSensorList(int deviceId); in getSensorList() method in NativeInputManagerService.NativeImpl
/frameworks/base/services/core/java/com/android/server/power/stats/
DSensorPowerCalculator.java33 List<Sensor> sensors = sensorManager.getSensorList(Sensor.TYPE_ALL); in SensorPowerCalculator()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayPowerProximityStateControllerTest.java222 when(mSensorManager.getSensorList(eq(Sensor.TYPE_ALL))) in notifyDisplayDeviceChangedReloadsTheProximitySensor()
359 when(mSensorManager.getSensorList(eq(Sensor.TYPE_ALL))) in setUpProxSensor()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/utils/
DSensorUtilsTest.java123 when(mSensorManager.getSensorList(Sensor.TYPE_ALL)).thenReturn(allSensors); in testFindSensor()

123