Searched refs:timer (Results 1 - 11 of 11) sorted by relevance

/development/ndk/platforms/android-3/include/linux/sunrpc/
H A Dtypes.h15 #include <linux/timer.h>
H A Dxprt.h87 void (*timer)(struct rpc_task *task); member in struct:rpc_xprt_ops
139 struct timer_list timer; member in struct:rpc_xprt
H A Dclnt.h21 #include <linux/sunrpc/timer.h>
H A Dsched.h15 #include <linux/timer.h>
/development/ndk/platforms/android-3/include/linux/
H A Dworkqueue.h15 #include <linux/timer.h>
27 struct timer_list timer; member in struct:work_struct
34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), }
40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
H A Dblkdev.h18 #include <linux/timer.h>
/development/samples/ToyVpn/server/linux/
H A DToyVpnServer.cpp209 // We use a timer to determine the status of the tunnel. It
212 int timer = 0; local
229 if (timer < 1) {
230 timer = 1;
250 if (timer > 0) {
251 timer = 0;
260 // Increase the timer. This is inaccurate but good enough,
262 timer += (timer > 0) ? 100 : -100;
266 if (timer <
[all...]
/development/samples/ToyVpn/src/com/example/android/toyvpn/
H A DToyVpnService.java167 // We use a timer to determine the status of the tunnel. It
170 int timer = 0;
189 if (timer < 1) {
190 timer = 1;
208 if (timer > 0) {
209 timer = 0;
218 // Increase the timer. This is inaccurate but good enough,
220 timer += (timer > 0) ? 100 : -100;
223 if (timer <
[all...]
/development/ndk/platforms/android-9/arch-mips/include/asm/ip32/
H A Dcrime.h110 volatile unsigned long timer; member in struct:sgi_crime
H A Dmace.h110 volatile unsigned long timer; member in struct:mace_ethernet
/development/samples/JetBoy/src/com/example/android/jetboy/
H A DJetBoy.java49 // game window timer
73 // set up handles for instruction text and game timer text
75 mTimerView = (TextView)findViewById(R.id.timer);

Completed in 267 milliseconds