Home
last modified time | relevance | path

Searched refs:numCodes (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java126 final int numCodes = opsCodes.length; in addCallback() local
127 for (int i = 0; i < numCodes; i++) { in addCallback()
150 final int numCodes = opsCodes.length; in removeCallback() local
151 for (int i = 0; i < numCodes; i++) { in removeCallback()
/frameworks/native/services/inputflinger/reader/
DInputReader.cpp522 bool InputReader::hasKeys(int32_t deviceId, uint32_t sourceMask, size_t numCodes, in hasKeys() argument
526 memset(outFlags, 0, numCodes); in hasKeys()
527 return markSupportedKeyCodesLocked(deviceId, sourceMask, numCodes, keyCodes, outFlags); in hasKeys()
531 size_t numCodes, const int32_t* keyCodes, in markSupportedKeyCodesLocked() argument
539 result = device->markSupportedKeyCodes(sourceMask, numCodes, keyCodes, outFlags); in markSupportedKeyCodesLocked()
547 result |= device->markSupportedKeyCodes(sourceMask, numCodes, keyCodes, outFlags); in markSupportedKeyCodesLocked()
DInputDevice.cpp268 bool InputDevice::markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes, in markSupportedKeyCodes() argument
273 result |= mapper->markSupportedKeyCodes(sourceMask, numCodes, keyCodes, outFlags); in markSupportedKeyCodes()
DEventHub.cpp496 bool EventHub::markSupportedKeyCodes(int32_t deviceId, size_t numCodes, const int32_t* keyCodes, in markSupportedKeyCodes() argument
503 for (size_t codeIndex = 0; codeIndex < numCodes; codeIndex++) { in markSupportedKeyCodes()
/frameworks/native/services/inputflinger/reader/include/
DInputReader.h71 virtual bool hasKeys(int32_t deviceId, uint32_t sourceMask, size_t numCodes,
171 bool markSupportedKeyCodesLocked(int32_t deviceId, uint32_t sourceMask, size_t numCodes,
DInputDevice.h79 bool markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes, const int32_t* keyCodes,
DEventHub.h219 virtual bool markSupportedKeyCodes(int32_t deviceId, size_t numCodes, const int32_t* keyCodes,
292 virtual bool markSupportedKeyCodes(int32_t deviceId, size_t numCodes, const int32_t* keyCodes,
/frameworks/native/services/inputflinger/reader/mapper/
DKeyboardInputMapper.h38 virtual bool markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes,
DInputMapper.h64 virtual bool markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes,
DInputMapper.cpp54 bool InputMapper::markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes, in markSupportedKeyCodes() argument
DKeyboardInputMapper.cpp355 bool KeyboardInputMapper::markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes, in markSupportedKeyCodes() argument
357 return getEventHub()->markSupportedKeyCodes(getDeviceId(), numCodes, keyCodes, outFlags); in markSupportedKeyCodes()
DTouchInputMapper.h209 virtual bool markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes,
DTouchInputMapper.cpp3903 bool TouchInputMapper::markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes, in markSupportedKeyCodes() argument
3906 for (size_t i = 0; i < numCodes; i++) { in markSupportedKeyCodes()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h92 size_t numCodes, const int32_t* keyCodes, uint8_t* outFlags) = 0;
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1357 jsize numCodes = env->GetArrayLength(keyCodes); in nativeHasKeys() local
1359 if (numCodes == env->GetArrayLength(keyCodes)) { in nativeHasKeys()
1361 deviceId, uint32_t(sourceMask), numCodes, codes, flags)) { in nativeHasKeys()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp691 virtual bool markSupportedKeyCodes(int32_t deviceId, size_t numCodes, const int32_t* keyCodes, in markSupportedKeyCodes() argument
696 for (size_t i = 0; i < numCodes; i++) { in markSupportedKeyCodes()
990 virtual bool markSupportedKeyCodes(uint32_t, size_t numCodes, in markSupportedKeyCodes() argument
993 for (size_t i = 0; i < numCodes; i++) { in markSupportedKeyCodes()