OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:switchCode
(Results
1 - 8
of
8
) sorted by null
/hardware/libhardware/modules/input/evdev/
SwitchInputMapper.cpp
93
void SwitchInputMapper::processSwitch(int32_t
switchCode
, int32_t switchValue) {
94
ALOGV("processing switch event. code=%" PRId32 ", value=%" PRId32,
switchCode
, switchValue);
95
if (
switchCode
>= 0 &&
switchCode
< SW_CNT) {
97
mSwitchValues.markBit(
switchCode
);
99
mSwitchValues.clearBit(
switchCode
);
101
mUpdatedSwitchMask.markBit(
switchCode
);
SwitchInputMapper.h
39
void processSwitch(int32_t
switchCode
, int32_t switchValue);
/external/mesa3d/src/mesa/main/
es_generator.py
275
switchCode
= []
453
switchCode
.append(" switch(%s) {" % paramName)
493
switchCode
.append(" case %s: /* size %s */" % (paramValue, dependentVecSize))
495
switchCode
.append(" case %s:" % paramValue)
529
switchCode
.append(" if (%s) {" % conditional[4:])
532
switchCode
.append(' _mesa_error(_mesa_get_current_context(), %s, "gl%s(%s=0x%s)", %s);' % (errorCode, funcName, paramName, "%x", paramName))
533
switchCode
.append(" %s;" % errorReturn)
534
switchCode
.append(" }")
541
switchCode
.append(" convert_%s_value = 0;" % dependentParamName)
547
switchCode
.append(" n_%s = %s;" % (dependentParamName, dependentVecSize)
[
all
...]
/frameworks/base/services/core/java/com/android/server/
AppOpsService.java
[
all
...]
/frameworks/native/services/inputflinger/
InputReader.h
616
int32_t getSwitchState(uint32_t sourceMask, int32_t
switchCode
);
[
all
...]
InputReader.cpp
672
int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t
switchCode
) {
675
return getStateLocked(deviceId, sourceMask,
switchCode
, &InputDevice::getSwitchState);
[
all
...]
/frameworks/native/services/inputflinger/tests/
InputReader_test.cpp
405
void setSwitchState(int32_t deviceId, int32_t
switchCode
, int32_t state) {
407
device->switchStates.replaceValueFor(
switchCode
, state);
858
void setSwitchState(int32_t
switchCode
, int32_t state) {
859
mSwitchStates.replaceValueFor(
switchCode
, state);
902
virtual int32_t getSwitchState(uint32_t, int32_t
switchCode
) {
903
ssize_t index = mSwitchStates.indexOfKey(
switchCode
);
[
all
...]
/frameworks/base/services/core/java/com/android/server/input/
InputManagerService.java
459
* @param
switchCode
The switch code to check.
462
public int getSwitchState(int deviceId, int sourceMask, int
switchCode
) {
463
return nativeGetSwitchState(mPtr, deviceId, sourceMask,
switchCode
);
[
all
...]
Completed in 1499 milliseconds