Home
last modified time | relevance | path

Searched refs:controllerNumber (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/libs/input/
DInputDevice.cpp152 void InputDeviceInfo::initialize(int32_t id, int32_t generation, int32_t controllerNumber, in initialize() argument
157 mControllerNumber = controllerNumber; in initialize()
/frameworks/native/include/input/
DInputDevice.h75 void initialize(int32_t id, int32_t generation, int32_t controllerNumber,
/frameworks/native/services/inputflinger/
DEventHub.cpp152 ffEffectPlaying(false), ffEffectId(-1), controllerNumber(0), in Device()
268 return device->controllerNumber; in getDeviceControllerNumber()
1334 device->controllerNumber = getNextControllerNumberLocked(device); in openDeviceLocked()
1485 int32_t num = device->controllerNumber; in releaseControllerNumberLocked()
1486 device->controllerNumber= 0; in releaseControllerNumberLocked()
1495 setLedStateLocked(device, ALED_CONTROLLER_1 + i, device->controllerNumber == i + 1); in setLedForController()
1696 dump.appendFormat(INDENT3 "ControllerNumber: %d\n", device->controllerNumber); in dump()
DEventHub.h364 int32_t controllerNumber; member
DInputReader.h430 virtual InputDevice* createDeviceLocked(int32_t deviceId, int32_t controllerNumber,
535 controllerNumber, const InputDeviceIdentifier& identifier, uint32_t classes);
DInputReader.cpp439 int32_t controllerNumber = mEventHub->getDeviceControllerNumber(deviceId); in addDeviceLocked() local
441 InputDevice* device = createDeviceLocked(deviceId, controllerNumber, identifier, classes); in addDeviceLocked()
489 InputDevice* InputReader::createDeviceLocked(int32_t deviceId, int32_t controllerNumber, in createDeviceLocked() argument
492 controllerNumber, identifier, classes); in createDeviceLocked()
1000 int32_t controllerNumber, const InputDeviceIdentifier& identifier, uint32_t classes) : in InputDevice() argument
1001 mContext(context), mId(id), mGeneration(generation), mControllerNumber(controllerNumber), in InputDevice()
/frameworks/base/core/java/android/view/
DInputDevice.java406 private InputDevice(int id, int generation, int controllerNumber, String name, int vendorId, in InputDevice() argument
412 mControllerNumber = controllerNumber; in InputDevice()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp980 InputDevice* newDevice(int32_t deviceId, int32_t controllerNumber, const String8& name, in newDevice() argument
985 return new InputDevice(&mContext, deviceId, generation, controllerNumber, identifier, in newDevice()
990 virtual InputDevice* createDeviceLocked(int32_t deviceId, int32_t controllerNumber, in createDeviceLocked() argument
997 return InputReader::createDeviceLocked(deviceId, controllerNumber, identifier, classes); in createDeviceLocked()
1042 FakeInputMapper* addDeviceWithFakeInputMapper(int32_t deviceId, int32_t controllerNumber, in addDeviceWithFakeInputMapper() argument
1045 InputDevice* device = mReader->newDevice(deviceId, controllerNumber, name, classes); in addDeviceWithFakeInputMapper()