/frameworks/base/services/core/jni/ |
com_android_server_tv_TvUinputBridge.cpp | 178 struct input_event iev; local 179 memset(&iev, 0, sizeof(iev)); 180 iev.type = type; 181 iev.code = code; 182 iev.value = value; 183 write(mFd, &iev, sizeof(iev));
|
/hardware/libhardware/tests/input/evdev/ |
InputHub_test.cpp | 165 struct input_event iev; local 166 iev.time = { 1, 0 }; 167 iev.type = EV_KEY; 168 iev.code = KEY_HOME; 169 iev.value = 0x01; 173 ssize_t nWrite = TEMP_FAILURE_RETRY(write(deviceFile->getFd(), &iev, sizeof(iev))); 175 ASSERT_EQ(static_cast<ssize_t>(sizeof(iev)), nWrite) << "could not write to " 235 struct input_event iev; 236 iev.time = { 1, 0 } [all...] |
/external/opencv/cvaux/src/ |
cveigenobjects.cpp | 476 int i, j, n, iev = 0, m1 = nObjects - 1, objStep1 = objStep, eigStep1 = eigStep / 4; local 654 iev = 1; 666 if( iev ) 718 if( iev ) 770 if( iev ) 807 if( iev ) 852 if( iev ) [all...] |
/frameworks/native/services/inputflinger/ |
EventHub.cpp | 851 struct input_event& iev = readBuffer[i]; local 854 (int) iev.time.tv_sec, (int) iev.time.tv_usec, 855 iev.type, iev.code, iev.value); 862 if (iev.type == EV_MSC) { 863 if (iev.code == MSC_ANDROID_TIME_SEC) { 864 device->timestampOverrideSec = iev.value; 866 } else if (iev.code == MSC_ANDROID_TIME_USEC) [all...] |