HomeSort by relevance Sort by last modified time
    Searched refs:time (Results 226 - 250 of 8640) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /test/vts/drivers/hal/libmeasurement/include/
vts_measurement.h 21 #include <time.h>
23 #include <sys/time.h>
45 // data structure to keep the start time.
  /tools/tradefederation/core/src/com/android/tradefed/util/
TimeUtil.java 24 * Contains time related utility methods.
33 * Return a prettified version of the given elapsed time in milliseconds.
42 StringBuilder time = new StringBuilder(); local
44 time.append(hours);
45 time.append("h ");
48 time.append(minutes);
49 time.append("m ");
51 time.append(seconds);
52 time.append("s");
54 return time.toString()
    [all...]
  /external/proguard/src/proguard/gui/splash/
ImageSprite.java 63 public void paint(Graphics graphics, long time)
65 int xt = x.getInt(time);
66 int yt = y.getInt(time);
68 double scale_x = scaleX.getDouble(time);
69 double scale_y = scaleY.getDouble(time);
TextSprite.java 76 public void paint(Graphics graphics, long time)
79 int xt = x.getInt(time);
80 int yt = y.getInt(time);
82 int spacingt = spacing.getInt(time);
86 graphics.drawString(text[index].getString(time), xt, yt + index * spacingt);
ShadowedSprite.java 67 public void paint(Graphics graphics, long time)
69 double l = alpha.getDouble(time);
70 int b = blur.getInt(time) + 1;
87 int xo = xOffset.getInt(time) - b/2;
88 int yo = yOffset.getInt(time) - b/2;
98 sprite.paint(graphics, time);
107 sprite.paint(graphics, time);
  /frameworks/base/core/java/android/service/notification/
ScheduleCalendar.java 62 * @param now current time in milliseconds
63 * @param nextAlarm time of next alarm in milliseconds
89 * Set calendar time zone to tz
90 * @param tz current time zone
97 * @param now current time in milliseconds
98 * @return next time this rule changes (starts or ends)
110 final long time = getTime(now, hr, min); local
111 return time <= now ? addDays(time, 1) : time;
    [all...]
  /external/webrtc/webrtc/base/
timing.cc 17 #include <sys/time.h>
52 struct timeval time; local
53 gettimeofday(&time, NULL);
55 return (static_cast<double>(time.tv_sec) +
56 static_cast<double>(time.tv_usec) * 1.0e-6);
59 struct _timeb time;
60 _ftime(&time);
62 return (static_cast<double>(time.time) +
63 static_cast<double>(time.millitm) * 1.0e-3)
    [all...]
  /prebuilts/go/darwin-x86/test/fixedbugs/
issue16016.go 9 import "time"
31 time.Sleep(100 * time.Millisecond)
34 time.Sleep(1 * time.Second)
  /prebuilts/go/linux-x86/test/fixedbugs/
issue16016.go 9 import "time"
31 time.Sleep(100 * time.Millisecond)
34 time.Sleep(1 * time.Second)
  /prebuilts/go/darwin-x86/src/runtime/testdata/testprogcgo/
cgo.go 17 "time"
52 time.Sleep(time.Millisecond)
53 start := time.Now()
54 var times []time.Duration
68 time.Sleep(time.Millisecond)
72 times = append(times, time.Since(start))
73 case <-time.After(time.Second)
    [all...]
  /prebuilts/go/linux-x86/src/runtime/testdata/testprogcgo/
cgo.go 17 "time"
52 time.Sleep(time.Millisecond)
53 start := time.Now()
54 var times []time.Duration
68 time.Sleep(time.Millisecond)
72 times = append(times, time.Since(start))
73 case <-time.After(time.Second)
    [all...]
  /prebuilts/go/darwin-x86/src/net/
packetconn_test.go 13 "time"
61 c1.SetDeadline(time.Now().Add(500 * time.Millisecond))
62 c1.SetReadDeadline(time.Now().Add(500 * time.Millisecond))
63 c1.SetWriteDeadline(time.Now().Add(500 * time.Millisecond))
71 c2.SetDeadline(time.Now().Add(500 * time.Millisecond))
72 c2.SetReadDeadline(time.Now().Add(500 * time.Millisecond)
    [all...]
  /prebuilts/go/linux-x86/src/net/
packetconn_test.go 13 "time"
61 c1.SetDeadline(time.Now().Add(500 * time.Millisecond))
62 c1.SetReadDeadline(time.Now().Add(500 * time.Millisecond))
63 c1.SetWriteDeadline(time.Now().Add(500 * time.Millisecond))
71 c2.SetDeadline(time.Now().Add(500 * time.Millisecond))
72 c2.SetReadDeadline(time.Now().Add(500 * time.Millisecond)
    [all...]
  /external/tensorflow/tensorflow/core/profiler/internal/
tfprof_show.h 126 string time = FormatTime(node->proto().total_exec_micros()); local
128 time = FormatTime(node->proto().exec_micros()) + "/" + time;
130 time = "--/" + time;
132 return time;
136 string time = FormatTime(node->proto().total_cpu_exec_micros()); local
138 time = FormatTime(node->proto().cpu_exec_micros()) + "/" + time;
140 time = "--/" + time
146 string time = FormatTime(node->proto().total_accelerator_exec_micros()); local
    [all...]
  /prebuilts/go/darwin-x86/misc/cgo/test/
issue1560.go 8 // mysleep returns the absolute start time in ms.
11 // twoSleep returns the absolute start time of the first sleep
19 "time"
24 // parallelSleep returns the absolute difference between the start time
43 dt := time.Duration(parallelSleep(sleepSec)) * time.Millisecond
44 t.Logf("difference in start time for two sleep(%d) is %v", sleepSec, dt)
47 if dt >= time.Duration(sleepSec)*time.Second/2 {
  /prebuilts/go/linux-x86/misc/cgo/test/
issue1560.go 8 // mysleep returns the absolute start time in ms.
11 // twoSleep returns the absolute start time of the first sleep
19 "time"
24 // parallelSleep returns the absolute difference between the start time
43 dt := time.Duration(parallelSleep(sleepSec)) * time.Millisecond
44 t.Logf("difference in start time for two sleep(%d) is %v", sleepSec, dt)
47 if dt >= time.Duration(sleepSec)*time.Second/2 {
  /libcore/ojluni/src/main/java/java/time/chrono/
ChronoPeriod.java 62 package java.time.chrono;
64 import java.time.DateTimeException;
65 import java.time.temporal.ChronoUnit;
66 import java.time.temporal.Temporal;
67 import java.time.temporal.TemporalAmount;
68 import java.time.temporal.TemporalUnit;
69 import java.time.temporal.UnsupportedTemporalTypeException;
74 * A date-based amount of time, such as '3 years, 4 months and 5 days' in an
77 * This interface models a date-based amount of time in a calendar system.
84 * The period is modeled as a directed amount of time, meaning that individua
    [all...]
  /external/blktrace/btt/
trace_issue.c 37 aqd_issue(d_iop->dip->aqd_handle, BIT_TIME(d_iop->t.time));
44 update_i2d(q_iop, tdelta(q_iop->i_time, d_iop->t.time));
46 update_m2d(q_iop, tdelta(q_iop->m_time, d_iop->t.time));
51 q_iop->d_time = d_iop->t.time;
57 d_iop->t.time - q_iop->t.time);
58 latency_q2d(q_iop->dip, d_iop->t.time,
59 d_iop->t.time - q_iop->t.time);
trace_plug.c 32 dip_unplug(u_iop->t.device, BIT_TIME(u_iop->t.time), get_nio_up(u_iop));
38 dip_unplug_tm(ut_iop->t.device, BIT_TIME(ut_iop->t.time),
45 dip_plug(p_iop->t.device, BIT_TIME(p_iop->t.time));
  /frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
BatteryStatsParser.java 61 Long time = getTime(lineMatcher.group(1)); local
62 if (time != null) {
63 return time + "," + lineMatcher.group(2) + "\n";
65 return null; // bad time
68 return null; // bad or no time
91 long time = 0L; local
94 time += Long.parseLong(matches[0]) * 60 * 60 * 1000; // hours
99 time += Long.parseLong(matches[0]) * 60 * 1000; // minutes
104 time += Long.parseLong(matches[0]) * 1000; // seconds
109 time += Long.parseLong(group); // millisecond
    [all...]
  /libcore/ojluni/src/main/java/java/time/temporal/
TemporalQueries.java 62 package java.time.temporal;
64 import static java.time.temporal.ChronoField.EPOCH_DAY;
65 import static java.time.temporal.ChronoField.NANO_OF_DAY;
66 import static java.time.temporal.ChronoField.OFFSET_SECONDS;
68 import java.time.LocalDate;
69 import java.time.LocalTime;
70 import java.time.ZoneId;
71 import java.time.ZoneOffset;
72 import java.time.chrono.Chronology;
139 * The zone is only returned if the date-time conceptually contains a {@code ZoneId}
    [all...]
  /libcore/ojluni/src/test/java/time/tck/java/time/format/
TCKFormatStyle.java 57 package tck.java.time.format;
59 import java.time.LocalDateTime;
60 import java.time.ZoneId;
61 import java.time.ZoneOffset;
62 import java.time.ZonedDateTime;
63 import java.time.format.DateTimeFormatter;
64 import java.time.format.DateTimeFormatterBuilder;
65 import java.time.format.FormatStyle;
66 import java.time.temporal.Temporal;
96 // Android-changed: date/time patterns changed in new CLDR; adapt to UK locale
    [all...]
  /external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
SharedPrefUtil.java 53 public static long getLastContactChangedTimestamp(Context context, long time) {
57 contactModifySyncTime = pref.getLong(CONTACT_CHANGED_PREF_KEY, time);
61 public static void saveLastContactChangedTimestamp(Context context, long time) {
64 eabPref.putLong(CONTACT_CHANGED_PREF_KEY, time).commit();
67 public static long getLastProfileContactChangedTimestamp(Context context, long time) {
71 profileModifySyncTime = pref.getLong(CONTACT_PROFILE_CHANGED_PREF_KEY, time);
75 public static void saveLastProfileContactChangedTimestamp(Context context, long time) {
78 eabPref.putLong(CONTACT_PROFILE_CHANGED_PREF_KEY, time).commit();
81 public static long getLastContactDeletedTimestamp(Context context, long time) {
85 contactDeleteSyncTime = pref.getLong(CONTACT_DELETE_PREF_KEY, time);
    [all...]
  /external/iproute2/tc/
tc_core.h 16 int tc_core_time2big(unsigned time);
17 unsigned tc_core_time2tick(unsigned time);
19 unsigned tc_core_time2ktime(unsigned time);
  /external/webrtc/webrtc/modules/video_coding/
media_optimization_unittest.cc 71 for (int time = 0; time < 2000; time += frame_time_ms_) {
82 for (int time = 0; time < 2000; time += frame_time_ms_) {
95 for (int time = 0; time < 2000; time += frame_time_ms_) {
107 for (int time = 0; time < 2000; time += frame_time_ms_)
    [all...]

Completed in 781 milliseconds

1 2 3 4 5 6 7 8 91011>>