HomeSort by relevance Sort by last modified time
    Searched defs:timers (Results 1 - 25 of 25) sorted by null

  /system/bt/test/suite/support/
hal.c 79 static hash_map_t *timers; local
81 if (!timers) {
82 timers = hash_map_new(TIMER_BUCKET_COUNT, hash_function_pointer, NULL, NULL, NULL);
85 timer_t *timer = hash_map_get(timers, cb);
88 hash_map_set(timers, cb, timer);
  /external/libnfc-nxp/Linux_x86/
phOsalNfc_Timer.c 57 static struct phOsalNfc_Timer timers[MAX_NO_TIMERS] = variable in typeref:struct:phOsalNfc_Timer
88 if(timers[timer_msg->TimerId].ptr != NULL)
90 phOsalNfc_FreeMemory(timers[timer_msg->TimerId].ptr);
91 timers[timer_msg->TimerId].ptr = NULL;
100 * This callback is called by Linux whenever one the timers expires. It
109 if((timerid < MAX_NO_TIMERS)&&(timers[timerid].nIsStopped == 1))
139 timer_msg->pCallBck = timers[timerid].callback;
140 timer_msg->pContext = timers[timerid].pContext;
150 timers[timerid].ptr = osal_defer_msg;
155 (timers[timerid].callback)(timerid, timers[timerid].pContext)
    [all...]
  /system/extras/tests/audio/alsa/
pcmtest.cpp 54 static unsigned int timers; variable
122 timers++;
173 testPrintI(" DEVICES = PCMS:%u CARDS:%u MIXERS:%u TIMERS:%u",
174 pcms, cards, mixers, timers);
192 ASSERT_NE(0, timers);
196 EXPECT_EQ(1, timers);
  /libcore/luni/src/main/java/java/util/
Timer.java 21 * Timers schedule one-shot or recurring {@link TimerTask tasks} for execution.
45 * releases the timer's thread and other resources. Timers not explicitly
59 private TimerTask[] timers = new TimerTask[DEFAULT_HEAP_SIZE]; field in class:Timer.TimerImpl.TimerHeap
66 return timers[0];
74 if (timers.length == size) {
76 System.arraycopy(timers, 0, appendedTimers, 0, size);
77 timers = appendedTimers;
79 timers[size++] = task;
86 timers[pos] = timers[--size]
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
HandleDeskClockApiCalls.java 32 import com.android.deskclock.timer.Timers;
70 // shows the tab with timers
190 // Opens the UI for timers
226 // not stopped or not started respectively. This method checks all timers to find only
232 final List<TimerObj> timers = new ArrayList<>(); local
234 TimerObj.getTimersFromSharedPrefs(prefs, timers);
235 if (timers.isEmpty()) {
245 timerAction = Timers.DELETE_TIMER;
247 if (timers.size() > 1) {
254 timer = timers.get(0)
    [all...]
HandleApiCalls.java 42 import com.android.deskclock.timer.Timers;
350 final List<TimerObj> timers = new ArrayList<>(); local
351 TimerObj.getTimersFromSharedPrefs(prefs, timers);
352 for (TimerObj t : timers) {
364 // Timers set without presenting UI to the user will be deleted after use
377 sendBroadcast(new Intent().setAction(Timers.START_TIMER)
378 .putExtra(Timers.TIMER_INTENT_EXTRA, timer.mTimerId));
385 .putExtra(Timers.FIRST_LAUNCH_FROM_API_CALL, true)
386 .putExtra(Timers.SCROLL_TO_TIMER_ID, timer.mTimerId));
  /packages/apps/DeskClock/src/com/android/deskclock/timer/
TimerObj.java 267 public static void getTimersFromSharedPrefs(SharedPreferences prefs, List<TimerObj> timers) {
270 timers.add(getTimerFromSharedPrefs(prefs, timerId));
273 Collections.sort(timers, new Comparator<TimerObj>() {
281 public static void getTimersFromSharedPrefs(SharedPreferences prefs, List<TimerObj> timers,
287 timers.add(timer);
292 public static void putTimersInSharedPrefs(SharedPreferences prefs, List<TimerObj> timers) {
293 for (TimerObj timer : timers) {
299 final List<TimerObj> timers = new ArrayList<>(); local
300 getTimersFromSharedPrefs(prefs, timers);
301 for (TimerObj timer : timers) {
    [all...]
  /bionic/libc/upstream-netbsd/lib/libc/isc/
eventlib_p.h 253 /* Timers. */
255 heap_context timers; member in struct:__anon1093
  /development/ndk/platforms/android-9/arch-mips/include/asm/ip32/
mace.h 304 struct mace_timers timers; member in struct:mace_perif
  /prebuilts/ndk/8/platforms/android-14/arch-mips/usr/include/asm/ip32/
mace.h 304 struct mace_timers timers; member in struct:mace_perif
  /prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/asm/ip32/
mace.h 304 struct mace_timers timers; member in struct:mace_perif
  /prebuilts/ndk/9/platforms/android-12/arch-mips/usr/include/asm/ip32/
mace.h 304 struct mace_timers timers; member in struct:mace_perif
  /prebuilts/ndk/9/platforms/android-13/arch-mips/usr/include/asm/ip32/
mace.h 304 struct mace_timers timers; member in struct:mace_perif
  /prebuilts/ndk/9/platforms/android-14/arch-mips/usr/include/asm/ip32/
mace.h 304 struct mace_timers timers; member in struct:mace_perif
  /prebuilts/ndk/9/platforms/android-15/arch-mips/usr/include/asm/ip32/
mace.h 304 struct mace_timers timers; member in struct:mace_perif
  /prebuilts/ndk/9/platforms/android-16/arch-mips/usr/include/asm/ip32/
mace.h 304 struct mace_timers timers; member in struct:mace_perif
  /prebuilts/ndk/9/platforms/android-17/arch-mips/usr/include/asm/ip32/
mace.h 304 struct mace_timers timers; member in struct:mace_perif
  /prebuilts/ndk/9/platforms/android-18/arch-mips/usr/include/asm/ip32/
mace.h 304 struct mace_timers timers; member in struct:mace_perif
  /prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/asm/ip32/
mace.h 304 struct mace_timers timers; member in struct:mace_perif
  /prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/asm/ip32/
mace.h 304 struct mace_timers timers; member in struct:mace_perif
  /frameworks/base/core/java/android/os/
BatteryStats.java 3169 final ArrayList<TimerEntry> timers = new ArrayList<>(); local
    [all...]
  /frameworks/base/core/java/com/android/internal/os/
BatteryStatsImpl.java 204 // A set of pools of currently active timers. When a timer is queried, we will divide the
205 // elapsed time by the number of active timers to arrive at that timer's share of the time.
206 // In order to do this, we must refresh each timer whenever the number of active timers
223 // Last partial timers we use for distributing CPU usage.
6675 ArrayList<StopwatchTimer> timers = mSensorTimers.get(sensor); local
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.sat4j.core_2.2.0.v20100429.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.sat4j.core_2.3.5.v201308161310.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.sat4j.core_2.3.5.v20130525.jar 

Completed in 1048 milliseconds