Searched refs:absCode (Results 1 – 12 of 12) sorted by relevance
| /frameworks/native/services/inputflinger/tests/ |
| D | SensorInputMapper_test.cpp | 76 void setupSensor(int32_t absCode, InputDeviceSensorType type, int32_t sensorDataIndex) { in setupSensor() argument 77 EXPECT_CALL(mMockEventHub, mapSensor(EVENTHUB_ID, absCode)) in setupSensor()
|
| D | FakeEventHub.cpp | 164 void FakeEventHub::addSensorAxis(int32_t deviceId, int32_t absCode, in addSensorAxis() argument 169 getDevice(deviceId)->sensorsByAbsCode.emplace(absCode, info); in addSensorAxis() 341 int32_t deviceId, int32_t absCode) const { in mapSensor() 346 auto it = device->sensorsByAbsCode.find(absCode); in mapSensor()
|
| D | FakeEventHub.h | 137 void addSensorAxis(int32_t deviceId, int32_t absCode, InputDeviceSensorType sensorType, 184 int32_t deviceId, int32_t absCode) const override;
|
| D | InterfaceMocks.h | 114 (int32_t deviceId, int32_t absCode), (const, override));
|
| /frameworks/native/libs/input/ |
| D | KeyLayoutMap.cpp | 213 int32_t absCode) const { in mapSensor() 214 auto it = mSensorsByAbsCode.find(absCode); in mapSensor() 216 ALOGD_IF(DEBUG_MAPPING, "mapSensor: absCode=%d, ~ Failed.", absCode); in mapSensor() 217 return Errorf("Can't find abs code {}.", absCode); in mapSensor() 220 ALOGD_IF(DEBUG_MAPPING, "mapSensor: absCode=%d, sensorType=%s, sensorDataIndex=0x%x.", absCode, in mapSensor()
|
| /frameworks/native/services/inputflinger/reader/mapper/ |
| D | SensorInputMapper.cpp | 65 void SensorInputMapper::parseSensorConfiguration(InputDeviceSensorType sensorType, int32_t absCode, in parseSensorConfiguration() argument 70 sensor.dataVec[sensorDataIndex] = absCode; in parseSensorConfiguration() 73 it->second.dataVec[sensorDataIndex] = absCode; in parseSensorConfiguration()
|
| D | SensorInputMapper.h | 132 void parseSensorConfiguration(InputDeviceSensorType sensorType, int32_t absCode,
|
| /frameworks/native/include/input/ |
| D | KeyLayoutMap.h | 81 base::Result<std::pair<InputDeviceSensorType, int32_t>> mapSensor(int32_t absCode) const;
|
| /frameworks/native/services/inputflinger/reader/include/ |
| D | InputDevice.h | 345 inline base::Result<std::pair<InputDeviceSensorType, int32_t>> mapSensor(int32_t absCode) { in mapSensor() argument 346 return mEventHub->mapSensor(mId, absCode); in mapSensor()
|
| D | EventHub.h | 318 int32_t deviceId, int32_t absCode) const = 0; 543 int32_t deviceId, int32_t absCode) const override final;
|
| /frameworks/native/services/inputflinger/tests/fuzzers/ |
| D | MapperHelpers.h | 194 int32_t deviceId, int32_t absCode) const override { in mapSensor() argument
|
| /frameworks/native/services/inputflinger/reader/ |
| D | EventHub.cpp | 1280 int32_t absCode) const { in mapSensor() 1285 return device->keyMap.keyLayoutMap->mapSensor(absCode); in mapSensor()
|