/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/ |
5-2.c | 46 struct sigevent ev; local 64 ev.sigev_notify = SIGEV_SIGNAL; 65 ev.sigev_signo = SIGTOTEST; 85 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/speculative/ |
4-3.c | 58 struct sigevent ev; local 69 ev.sigev_notify = SIGEV_SIGNAL; 70 ev.sigev_signo = SIGTOTEST; 90 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
4-4.c | 56 struct sigevent ev; local 67 ev.sigev_notify = SIGEV_SIGNAL; 68 ev.sigev_signo = SIGTOTEST; 88 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_gettime/ |
1-4.c | 40 struct sigevent ev; local 46 ev.sigev_notify = SIGEV_SIGNAL; 47 ev.sigev_signo = SIGCONT; 54 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/ |
2-1.c | 38 struct sigevent ev; local 68 ev.sigev_notify = SIGEV_SIGNAL; 69 ev.sigev_signo = SIGTOTEST; 76 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
3-3.c | 35 struct sigevent ev; local 41 ev.sigev_notify = SIGEV_SIGNAL; 42 ev.sigev_signo = SIGTOTEST; 59 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
6-1.c | 34 struct sigevent ev; local 64 ev.sigev_notify = SIGEV_SIGNAL; 65 ev.sigev_signo = SIGTOTEST; 72 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
9-1.c | 39 struct sigevent ev; local 72 ev.sigev_notify = SIGEV_SIGNAL; 73 ev.sigev_signo = SIGTOTEST; 75 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
StatusBarWindowViewTest.java | 64 MotionEvent ev = MotionEvent.obtain(now, now, MotionEvent.ACTION_UP, 0 /* x */, 0 /* y */, local 66 mView.onTouchEvent(ev); 67 verify(mDragDownHelper).onTouchEvent(ev); 68 ev.recycle();
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
AnimationEffects.java | 29 public boolean onTouchEvent(MotionEvent ev) {
|
/bootable/recovery/minui/ |
events.cpp | 89 epoll_event ev; local 90 ev.events = EPOLLIN | EPOLLWAKEUP; 91 ev.data.ptr = &ev_fdinfo[ev_count]; 92 if (epoll_ctl(g_epoll_fd, EPOLL_CTL_ADD, fd, &ev) == -1) { 126 epoll_event ev; local 127 ev.events = EPOLLIN | EPOLLWAKEUP; 128 ev.data.ptr = static_cast<void*>(&ev_fdinfo[ev_count]); 129 int ret = epoll_ctl(g_epoll_fd, EPOLL_CTL_ADD, fd, &ev); 167 int ev_get_input(int fd, uint32_t epevents, input_event* ev) { 169 ssize_t r = TEMP_FAILURE_RETRY(read(fd, ev, sizeof(*ev))) [all...] |
/build/kati/ |
func_test.go | 28 ev := NewEvaluator(make(map[string]Var)) 34 strip.Eval(&buf, ev) 47 ev := NewEvaluator(make(map[string]Var)) 53 sort.Eval(&buf, ev) 68 ev := NewEvaluator(make(map[string]Var)) 74 patsubst.Eval(&buf, ev)
|
command.cc | 65 virtual void Eval(Evaluator* ev, string* s) const override; \ 81 virtual void Eval(Evaluator* ev, string* s) const override; 92 virtual void Eval(Evaluator* ev, string* s) const override; 132 void AutoNotImplementedVar::Eval(Evaluator* ev, string*) const { 133 ev->Error(StringPrintf( 137 void AutoSuffixDVar::Eval(Evaluator* ev, string* s) const { 139 wrapped_->Eval(ev, &buf); 146 void AutoSuffixFVar::Eval(Evaluator* ev, string* s) const { 148 wrapped_->Eval(ev, &buf); 174 CommandEvaluator::CommandEvaluator(Evaluator* ev) [all...] |
/external/libedit/examples/ |
wtc1.c | 115 HistEventW ev; local 128 history_w(hist, &ev, H_SETSIZE, 100); /* Remember 100 events */ 129 history_w(hist, &ev, H_LOAD, hfile); 193 history_w(hist, &ev, continuation ? H_APPEND : H_ENTER, line); 214 for(rc = history_w(hist, &ev, H_LAST); 216 rc = history_w(hist, &ev, H_PREV)) 218 ev.num, ev.str); 222 history_w(hist, &ev, H_CLEAR); 228 history_w(hist, &ev, H_LOAD [all...] |
/frameworks/base/core/java/android/net/metrics/ |
WakeupStats.java | 51 public void countEvent(WakeupEvent ev) { 53 switch (ev.uid) { 64 if (ev.uid >= Process.FIRST_APPLICATION_UID) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
HandleView.java | 66 public boolean onTouchEvent(MotionEvent ev) { 67 if (ev.getAction() == MotionEvent.ACTION_DOWN && mLauncher.isAllAppsVisible()) { 70 return super.onTouchEvent(ev);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
BaseContainerView.java | 159 public boolean onInterceptTouchEvent(MotionEvent ev) { 160 return handleTouchEvent(ev); 165 public boolean onTouchEvent(MotionEvent ev) { 166 return handleTouchEvent(ev); 186 private boolean handleTouchEvent(MotionEvent ev) { 187 switch (ev.getAction()) { 192 if (ev.getX() < leftBoundPx || 193 ev.getX() > (touchDelegateTargetView.getWidth() + leftBoundPx)) { 194 mLastTouchDownPosPx.set((int) ev.getX(), (int) ev.getY()) [all...] |
/developers/build/prebuilts/gradle/ElevationDrag/Application/src/main/java/com/example/android/elevationdrag/ |
DragFrameLayout.java | 105 public boolean onInterceptTouchEvent(MotionEvent ev) { 106 final int action = ev.getActionMasked(); 111 return mDragHelper.shouldInterceptTouchEvent(ev); 115 public boolean onTouchEvent(MotionEvent ev) { 116 mDragHelper.processTouchEvent(ev);
|
/developers/samples/android/ui/views/Elevation/ElevationDrag/Application/src/main/java/com/example/android/elevationdrag/ |
DragFrameLayout.java | 105 public boolean onInterceptTouchEvent(MotionEvent ev) { 106 final int action = ev.getActionMasked(); 111 return mDragHelper.shouldInterceptTouchEvent(ev); 115 public boolean onTouchEvent(MotionEvent ev) { 116 mDragHelper.processTouchEvent(ev);
|
/development/samples/browseable/ElevationDrag/src/com.example.android.elevationdrag/ |
DragFrameLayout.java | 105 public boolean onInterceptTouchEvent(MotionEvent ev) { 106 final int action = ev.getActionMasked(); 111 return mDragHelper.shouldInterceptTouchEvent(ev); 115 public boolean onTouchEvent(MotionEvent ev) { 116 mDragHelper.processTouchEvent(ev);
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
ViewDragHelper.java | [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
SwipeHelper.java | 202 public boolean onInterceptTouchEvent(MotionEvent ev) { 203 final int action = ev.getAction(); 206 mLastY = ev.getY(); 208 View view = mCallback.getChildAtPosition(ev); 216 mVelocityTracker.addMovement(ev); 217 mInitialTouchPosX = ev.getX(); 218 mInitialTouchPosY = ev.getY(); 226 float currY = ev.getY(); 227 float currX = ev.getX(); 232 mLastY = ev.getY() [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
OpenWnnEvent.java | 343 * This constructor is same as {@code OpenWnnEvent(INPUT_KEY, ev)}. 345 * @param ev The key event 347 public OpenWnnEvent(KeyEvent ev) { 348 if(ev.getAction() != KeyEvent.ACTION_UP){ 353 this.keyEvent = ev; 359 * @param ev The key event 361 public OpenWnnEvent(int code, KeyEvent ev) { 363 this.keyEvent = ev;
|
/system/extras/slideshow/ |
slideshow.cpp | 36 struct input_event ev; local 40 if (ev_get_input(fd, epevents, &ev)) { 44 if (ev.type == EV_KEY && ev.value == 1) { 45 *key_code = ev.code;
|
/frameworks/base/core/java/android/view/ |
DragEvent.java | 293 final DragEvent ev; local 296 ev = new DragEvent(); 297 ev.init(action, x, y, description, data, dragAndDropPermissions, localState, 299 return ev; 301 ev = gRecyclerTop; 302 gRecyclerTop = ev.mNext; 305 ev.mRecycledLocation = null; 306 ev.mRecycled = false; 307 ev.mNext = null; 309 ev.init(action, x, y, description, data, dragAndDropPermissions, localState, result) [all...] |