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

1 2 3

  /frameworks/base/libs/utils/
SystemClock.cpp 44 * Set the current time. This only works when running as root.
100 int64_t when = systemTime(SYSTEM_TIME_MONOTONIC); local
101 return (int64_t) nanoseconds_to_milliseconds(when);
124 int64_t when = seconds_to_nanoseconds(ts.tv_sec) + ts.tv_nsec; local
125 return (int64_t) nanoseconds_to_milliseconds(when);
130 int64_t when = systemTime(SYSTEM_TIME_MONOTONIC); local
131 return (int64_t) nanoseconds_to_milliseconds(when);
134 int64_t when = systemTime(SYSTEM_TIME_MONOTONIC);
135 return (int64_t) nanoseconds_to_milliseconds(when);
  /frameworks/base/libs/utils/tests/
ZipFileRO_test.cpp 41 long when = 0x3EDD7514; local
43 ZipFileRO::zipTimeToTimespec(when, &t);
  /libcore/luni/src/main/java/java/util/
TimerTask.java 35 long when; field in class:TimerTask
42 * The time when task will be executed, or the time when task was launched
48 * Method called from the Timer for synchronized getting of when field.
52 return when;
57 * Method called from the Timer object when scheduling an event @param time
73 return when > 0 || scheduledTime > 0;
93 boolean willRun = !cancelled && when > 0;
Timer.java 25 * <p>Each timer has one thread on which tasks are executed sequentially. When
38 * successive run of a task is scheduled without regard for when the
44 * <p>When a timer is no longer needed, users should call {@link #cancel}, which
96 while (timers[current].when < timers[parent].when) {
115 && timers[child + 1].when < timers[child].when) {
120 if (timers[current].when < timers[child].when) {
179 * {@code when} field of TaskScheduled object
564 long when = delay + System.currentTimeMillis(); local
    [all...]
  /dalvik/vm/native/
org_apache_harmony_dalvik_ddmc_DdmVmInternal.cpp 62 int when = args[0]; local
65 ret = dvmDdmHandleHpifChunk(when);
70 * public static boolean heapSegmentNotify(int when, int what, bool native)
78 int when = args[0]; // 0=never (off), 1=during GC local
83 ret = dvmDdmHandleHpsgNhsgChunk(when, what, native);
java_lang_System.cpp 40 * function that should be used when possible. If it's not available,
302 long long when = tv.tv_sec * 1000LL + tv.tv_usec / 1000; local
304 RETURN_LONG(when);
318 u8 when = dvmGetRelativeTimeNsec(); local
319 RETURN_LONG(when);
  /external/apache-xml/src/main/java/org/apache/xalan/templates/
ElemChoose.java 33 * <!ELEMENT xsl:choose (xsl:when+, xsl:otherwise?)>
92 ElemWhen when = (ElemWhen) childElem; local
94 // must be xsl:when
98 // System.err.println("\""+when.getTest().getPatternString()+"\"");
100 // if(when.getTest().getPatternString().equals("COLLECTION/icuser/ictimezone/LITERAL='GMT +13:00 Pacific/Tongatapu'"))
103 if (when.getTest().bool(xctxt, sourceNode, when)) {
104 transformer.executeChildTemplates(when, true);
  /external/webkit/Source/WebKit/android/smoke/
MessageThread.cpp 81 double when = message->m_when; local
82 LOG_ASSERT(when > 0, "Message time may not be 0");
87 if (when < m->m_when) {
  /frameworks/base/services/surfaceflinger/
MessageQueue.h 56 nsecs_t when; member in class:android::MessageBase
60 MessageBase() : when(0), what(0), arg0(0) { }
62 : when(0), what(what), arg0(arg0) { }
83 return lhs.when < rhs.when;
  /system/core/libpixelflinger/codeflinger/
CodeCache.h 98 : entry(a), when(w) { }
100 mutable int64_t when; member in struct:android::CodeCache::cache_entry_t
  /external/dhcpcd/
eloop.c 51 struct timeval when; member in struct:timeout
114 const struct timeval *when, void (*callback)(void *), void *arg)
120 timeradd(&now, when, &w);
148 t->when.tv_sec = w.tv_sec;
149 t->when.tv_usec = w.tv_usec;
158 if (!timeouts || timercmp(&t->when, &timeouts->when, <)) {
164 if (timercmp(&t->when, &tt->next->when, <)) {
174 add_q_timeout_sec(int queue, time_t when, void (*callback)(void *), void *arg
    [all...]
  /frameworks/base/core/java/android/ddm/
DdmHandleHeap.java 65 * Called when the DDM server connects. The handler is allowed to
71 * Called when the DDM server disconnects. Can be used to disable
114 int when = in.get(); local
116 Log.v("ddm-heap", "Heap segment enable: when=" + when);
118 boolean ok = DdmVmInternal.heapInfoNotify(when);
132 int when = in.get(); local
135 Log.v("ddm-heap", "Heap segment enable: when=" + when
138 boolean ok = DdmVmInternal.heapSegmentNotify(when, what, isNative)
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/alerts/
AlertAdapter.java 85 TextView whenView = (TextView) view.findViewById(R.id.when);
110 // When
111 String when; local
135 when = sb.toString();
136 whenView.setText(when);
  /dalvik/vm/alloc/
DdmHeap.cpp 48 * [u1]: capture reason (same as 'when' value from server)
68 /* If there's a one-shot 'when', reset it.
72 LOGW("%s(): can't lock heap to clear when", __func__);
105 /* 'when' value */
125 bool dvmDdmHandleHpifChunk(int when)
127 switch (when) {
129 dvmDdmSendHeapInfo(when, true);
135 gDvm.gcHeap->ddmHpifWhen = when;
138 LOGI("%s(): can't lock heap to set when", __func__);
143 LOGI("%s(): bad when value 0x%08x", __func__, when)
398 int when, what; local
    [all...]
  /external/chromium/chrome/browser/net/
url_info.cc 290 MinMaxAverage queue, when; local
299 HoursMinutesSeconds(when.sample(
  /external/libvpx/examples/includes/PHP-SmartyPants-1.5.1e/
smartypants.php 147 $in_pre = 0; # Keep track of when we're inside <pre> or <code> tags.
245 # Special case to handle quotes at the very end of $text when preceded by
256 $in_pre = 0; # Keep track of when we're inside <pre> or <code> tags
345 $in_pre = 0; # Keep track of when we're inside <pre> or <code> tags
382 $in_pre = 0; # Keep track of when we're inside <pre> or <code> tags
562 # entries written before SmartyPants 1.1, back when "--" was
724 This is useful, for example, when you want to use straight quotes as
742 One situation in which quotes will get curled the wrong way is when
748 single-quote, when in fact it should be a closing one. I don't think
790 function when loaded simultanously function
    [all...]
  /external/zlib/examples/
gun.c 53 1.2.4) is on the same file, when gun is linked with zlib 1.2.2. Also the
519 struct utimbuf when; local
532 when.actime = was.st_atime;
533 when.modtime = was.st_mtime;
534 (void)utime(to, &when);
541 structure. When appropriate, copy the file attributes from inname to
  /frameworks/base/core/java/android/os/
Message.java 59 * An arbitrary object to send to the recipient. When using
88 /*package*/ long when; field in class:Message
160 * @param callback Runnable that will execute when the message is handled.
287 return when;
307 * Retrieve callback object that will execute when this message is handled.
321 * {@link #setData(Bundle)}. Note that when transferring data across
324 * Bundle.setClassLoader()} so that it can instantiate your objects when
373 when = 0;
402 b.append(" when=");
403 TimeUtils.formatDuration(when-now, b)
    [all...]
MessageQueue.java 51 * Callback interface for discovering when a thread is going to block
56 * Called when the message queue has run out of messages and will now
68 * {@link IdleHandler#queueIdle IdleHandler.queueIdle()} when it is
125 final long when = msg.when; local
126 if (now >= when) {
134 nextPollTimeoutMillis = (int) Math.min(when - now, Integer.MAX_VALUE);
185 final boolean enqueueMessage(Message msg, long when) {
204 msg.when = when;
    [all...]
  /frameworks/base/core/jni/
com_android_internal_content_NativeLibraryHelper.cpp 172 long when; local
176 if (!zipFile->getEntryInfo(zipEntry, NULL, &uncompLen, NULL, NULL, &when, &crc)) {
181 ZipFileRO::zipTimeToTimespec(when, &t);
  /libcore/luni/src/main/java/libcore/util/
ZoneInfo.java 148 public int getOffset(long when) {
149 int unix = (int) (when / 1000);
164 long when = time.getTime(); local
165 int unix = (int) (when / 1000);
  /packages/apps/Browser/src/com/android/browser/
WebStorageSizeManager.java 61 * When an origin's database usage reaches its current quota, WebKit invokes
68 * When the total ApplicationCaches usage reaches its current quota, WebKit
82 * When all the Web storage space is used, the WebStorageSizeManager creates
108 // Delay in ms used when resetting the notification time
218 * @param quotaUpdater The callback to run when a decision to allow or
390 // activity when clicked.
403 long when = System.currentTimeMillis(); local
409 Notification notification = new Notification(icon, title, when);
  /packages/apps/Calendar/src/com/android/calendar/agenda/
AgendaAdapter.java 70 TextView when; field in class:AgendaAdapter.ViewHolder
120 holder.when = (TextView) view.findViewById(R.id.when);
133 holder.when.setTextColor(mWhereDeclinedColor);
138 holder.when.setTextColor(mWhereColor);
165 holder.when.setTextColor(mStandardColor);
171 TextView when = holder.when; local
187 // When
221 when.setText(whenString)
    [all...]
  /external/chromium/third_party/libevent/test/
regress_http.c 261 struct timeval when = { 0, 0 }; local
269 http_chunked_trickle_cb, state, &when);
279 struct timeval when = { 0, 0 }; local
291 event_once(-1, EV_TIMEOUT, http_chunked_trickle_cb, state, &when);
  /frameworks/base/services/input/
EventHub.h 50 nsecs_t when; member in struct:android::RawEvent
126 * when devices are added or removed.
139 // Synthetic raw event type codes produced when devices are added or removed.
141 // Sent when a device is added.
143 // Sent when a device is removed.
145 // Sent when all added/removed devices from the most recent scan have been reported.

Completed in 619 milliseconds

1 2 3