Lines Matching defs:value

25 // An arbitrary time value.
366 void addConfigurationProperty(int32_t deviceId, const String8& key, const String8& value) {
368 device->configuration.addProperty(key, value);
410 void setAbsoluteAxisValue(int32_t deviceId, int32_t axis, int32_t value) {
412 device->absoluteAxisValue.replaceValueFor(axis, value);
449 int32_t code, int32_t value) {
455 event.value = value;
459 setAbsoluteAxisValue(deviceId, code, value);
1065 << "Should return value provided by mapper when device id is valid and the device supports some of the sources.";
1073 << "Should return value provided by mapper when device id is < 0 and one of the devices supports some of the sources.";
1092 << "Should return value provided by mapper when device id is valid and the device supports some of the sources.";
1100 << "Should return value provided by mapper when device id is < 0 and one of the devices supports some of the sources.";
1119 << "Should return value provided by mapper when device id is valid and the device supports some of the sources.";
1127 << "Should return value provided by mapper when device id is < 0 and one of the devices supports some of the sources.";
1151 << "Should return value provided by mapper when device id is valid and the device supports some of the sources.";
1161 << "Should return value provided by mapper when device id is < 0 and one of the devices supports some of the sources.";
1189 ASSERT_EQ(1, event.value);
1290 mFakeEventHub->addConfigurationProperty(DEVICE_ID, String8("key"), String8("value"));
1314 ASSERT_STREQ("value", propertyValue.string());
1420 void addConfigurationProperty(const char* key, const char* value) {
1421 mFakeEventHub->addConfigurationProperty(DEVICE_ID, String8(key), String8(value));
1438 int32_t code, int32_t value) {
1444 event.value = value;
2599 void processKey(SingleTouchInputMapper* mapper, int32_t code, int32_t value);
2671 SingleTouchInputMapper* mapper, int32_t code, int32_t value) {
2672 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_KEY, code, value);
3747 void processKey(MultiTouchInputMapper* mapper, int32_t code, int32_t value);
3859 MultiTouchInputMapper* mapper, int32_t code, int32_t value) {
3860 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_KEY, code, value);
4596 // Note: We only provide a single common touch/tool value because the device is assumed