HomeSort by relevance Sort by last modified time
    Searched full:time (Results 201 - 225 of 8931) sorted by null

1 2 3 4 5 6 7 891011>>

  /frameworks/base/core/jni/
TimeUtils.h 20 #include <time.h>
24 #include <sys/time.h>
31 * This class is the core implementation of the android.util.Time java
38 class Time
57 static int compare(Time& a, Time& b);
59 Time();
Time.cpp 8 dump(const Time& t)
21 Time::Time()
44 Time::compare(Time& a, Time& b)
81 Time::switchTimezone(const char* timezone)
88 Time::format(const char *format, const struct strftime_locale *locale) const
114 Time::format2445(short* buf, bool hasTime) const
154 Time::toString() cons
    [all...]
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarSyncTestingBase.java 31 import android.text.format.Time;
270 Time time = new Time(); local
272 time.timezone = Time.TIMEZONE_UTC;
274 time.timezone = timezone;
276 mTimezone = time.timezone;
277 time.parse3339(startDate);
278 mDtstart = time.toMillis(false /* use isDst */)
302 Time time = new Time(); local
340 Time time = new Time(timezone); local
    [all...]
  /sdk/traceview/src/com/android/traceview/
Call.java 31 /** 0-based thread-local start time */
34 /** global start time */
37 /** global end time */
54 Call(int threadId, MethodData methodData, long time, int methodAction) {
57 mThreadStartTime = time;
62 public void set(int threadId, MethodData methodData, long time, int methodAction) {
65 mThreadStartTime = time;
  /external/srec/portable/include/
ptimer.h 30 * API to facilitate computing elapsed time of operations. The units of time
54 * Starts the timer. This sets the reference time from which all new elapsed
55 * time are computed. This does not reset the elapsed time to 0. This is
66 * Returns the timer elapsed time. If the Timer is in the stopped state,
69 * time since the last time PTimerStart() was called.
75 * Resets the elapsed time to 0 and resets the reference time of the Timer
    [all...]
  /frameworks/base/services/java/com/android/server/
TwilightCalculator.java 46 // Java time on Jan 1, 2000 12:00 UTC.
50 * Time of sunset (civil twilight) in milliseconds or -1 in the case the day
56 * Time of sunrise (civil twilight) in milliseconds or -1 in the case the
65 * calculates the civil twilight bases on time and geo-coordinates.
67 * @param time time in milliseconds.
71 public void calculateTwilight(long time, double latiude, double longitude) {
72 final float daysSince2000 = (float) (time - UTC_2000) / DateUtils.DAY_IN_MILLIS;
116 if (mSunrise < time && mSunset > time) {
    [all...]
  /packages/apps/AlarmClock/src/com/android/alarmclock/
Alarms.java 157 * @param time corresponds to the ALARM_TIME column
161 * @return Time when the alarm will fire.
172 long time = 0; local
174 time = calculateAlarm(hour, minutes, daysOfWeek).getTimeInMillis();
179 minutes + " enabled " + enabled + " time " + time);
184 values.put(Alarm.Columns.ALARM_TIME, time);
237 // If we are enabling the alarm, calculate alarm time since the time
240 long time = 0 local
446 long time = prefs.getLong(PREF_SNOOZE_TIME, -1); local
    [all...]
  /packages/apps/Camera/tests/src/com/android/camera/stress/
CameraStartUp.java 14 * Test cases to measure the camera and video recorder startup time.
40 Log.v(TAG, "camera startup time: " + startupTime);
61 Log.v(TAG, "Video Startup Time = " + startupTime);
64 Log.v(TAG, "video startup time: " + startupTime);
84 out.write(Type + "startup time: " + "\n");
87 out.write(Type + " average startup time: " + averageStartupTime + " ms\n\n");
99 individualStartupTime = "Individual Video Startup Time = ";
104 // Capture the first startup time individually
120 individualStartupTime = "Individual Camera Startup Time = ";
125 // Capture the first startup time individuall
    [all...]
  /packages/apps/IM/src/com/android/im/engine/
Message.java 52 long time = source.readLong(); local
53 if(time != -1) {
54 mDate = new Date(time);
96 * Gets the date time associated with this message. If it's a message sent
97 * from this client, the date time is when the message is sent. If it's a
98 * message received from other users, the date time is either when the
101 * @return the date time.
127 long time = dateTime.getTime(); local
129 mDate = new Date(time);
131 mDate.setTime(time);
    [all...]
  /dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/
V1TBSCertificateGenerator.java 31 Time startDate, endDate;
58 Time startDate)
66 this.startDate = new Time(startDate);
70 Time endDate)
78 this.endDate = new Time(endDate);
  /development/tools/axl/
log.py 19 import time, sys namespace
33 tm = time.time()
34 return "%s:%.2d" % (time.strftime('%m/%d/%Y %H:%M:%S',
35 time.localtime(tm)),
  /external/icu4c/test/compat/
tzone.pl 33 #filter out the time zones
46 print "The following time zones had wrong results.\n";
49 #set system time zone
54 #if the result is wrong print the time zone information to a log file
62 print "\nThe number of time zones with wrong results: $count out of $index\n";
  /external/netperf/
netcpu_sysctl.c 20 # include <sys/time.h>
21 # include <time.h>
24 # include <sys/time.h>
26 # include <time.h>
85 fprintf (stderr, "Cannot get CPU time!\n");
  /external/proguard/src/proguard/gui/splash/
SawToothTiming.java 24 * This Timing ramps up linearly from 0 to 1 in a given repeated time interval.
36 * @param period the time period for a full cycle.
37 * @param phase the phase of the cycle, which is added to the actual time.
48 public double getTiming(long time)
51 return (double)((time + phase) % period) / (double)period;
SineTiming.java 24 * This Timing varies between 0 and 1, as a sine wave over time.
36 * @param period the time period for a full cycle.
37 * @param phase the phase of the cycle, which is added to the actual time.
48 public double getTiming(long time)
51 return 0.5 + 0.5 * Math.sin(2.0 * Math.PI * (time + phase) / period);
  /external/skia/src/animator/
SkOperandInterpolator.h 34 @param index The index of this frame (frames must be ordered by time)
35 @param time The millisecond time for this frame
43 bool setKeyFrame(int index, SkMSec time, const SkOperand values[], SkScalar blend = SK_Scalar1);
44 Result timeToValues(SkMSec time, SkOperand values[]) const;
  /frameworks/base/core/java/android/net/
SntpClient.java 31 * Simple SNTP client class for retrieving network time.
35 * if (client.requestTime("time.foo.com")) {
58 // system time computed from NTP server response
64 // round trip time in milliseconds
87 // get current time and write it to the request packet
119 // (response rather than request time)
124 if (Config.LOGD) Log.d(TAG, "request time failed: " + e);
132 * Returns the time computed from the NTP transaction.
134 * @return time value computed from NTP server response.
142 * corresponding to the NTP time
    [all...]
  /frameworks/base/core/tests/coretests/src/android/app/activity/
SetTimeZonePermissionsTest.java 42 * Verify that non-system processes cannot set the time zone.
47 * Attempt to set several predefined time zones, verifying that the system
48 * system default time zone has not actually changed from its prior state
52 assertTrue("No system-defined time zones - test invalid", max > 0);
61 // to the system time zone.
  /packages/apps/Browser/src/com/android/browser/
LogTag.java 36 * time the browser used to load the page.
38 * Note that a redirect will restart the timer, so this time is not
42 * @param duration the time the browser spent loading the page.
50 * log the time the user has spent on a webpage
53 * @param duration the time spent on the webpage.
  /sdk/emulator/qtools/
q2dm.cpp 27 void push(int stackLevel, uint64_t time, CallStackBase *base);
28 void pop(int stackLevel, uint64_t time, CallStackBase *base);
71 void MyFrame::push(int stackLevel, uint64_t time, CallStackBase *base)
78 stack->getGlobalTime(time), pid, stackLevel,
89 thread_time[pid] = time;
90 dmtrace->addFunctionEntry(function->id, time, pid);
93 void MyFrame::pop(int stackLevel, uint64_t time, CallStackBase *base)
100 stack->getGlobalTime(time), pid, stackLevel,
112 fprintf(stderr, "Error: q2dm function mismatch at time %llu pid %d sym %s\n",
113 stack->getGlobalTime(time), pid, sym->name)
    [all...]
  /dalvik/libcore/luni/src/main/java/java/util/
TimeZone.java 29 * {@code TimeZone} represents a time zone offset, taking into account
33 * which creates a {@code TimeZone} based on the time zone where the
36 * Japanese Standard Time.
39 * along with a time zone ID. For instance, the time zone ID for the U.S.
40 * Pacific Time zone is "America/Los_Angeles". So, you can get a U.S. Pacific
41 * Time {@code TimeZone} object with the following: <blockquote>
48 * through all the supported time zone IDs. You can then choose a supported ID
49 * to get a {@code TimeZone}. If the time zone you want is not
50 * represented by one of the supported IDs, then you can create a custom time
    [all...]
  /development/tools/zoneinfo/tzdata2009s/
zone.tab 110 CA +4734-05243 America/St_Johns Newfoundland Time, including SE Labrador
111 CA +4439-06336 America/Halifax Atlantic Time - Nova Scotia (most places), PEI
112 CA +4612-05957 America/Glace_Bay Atlantic Time - Nova Scotia - places that did not observe DST 1966-1971
113 CA +4606-06447 America/Moncton Atlantic Time - New Brunswick
114 CA +5320-06025 America/Goose_Bay Atlantic Time - Labrador - most locations
115 CA +5125-05707 America/Blanc-Sablon Atlantic Standard Time - Quebec - Lower North Shore
116 CA +4531-07334 America/Montreal Eastern Time - Quebec - most locations
117 CA +4339-07923 America/Toronto Eastern Time - Ontario - most locations
118 CA +4901-08816 America/Nipigon Eastern Time - Ontario & Quebec - places that did not observe DST 1967-1973
119 CA +4823-08915 America/Thunder_Bay Eastern Time - Thunder Bay, Ontari
    [all...]
  /external/blktrace/btt/
trace_complete.c 38 __out(ofp, iop->t.time, IOP_Q, iop->t.sector, t_sec(&iop->t), 0);
60 update_cregion(&all_regions, c_iop->t.time);
61 update_cregion(&c_iop->dip->regions, c_iop->t.time);
63 update_cregion(&c_iop->pip->regions, c_iop->t.time);
64 aqd_complete(c_iop->dip->aqd_handle, BIT_TIME(c_iop->t.time));
69 __u64 q2c = tdelta(q_iop->t.time, c_iop->t.time);
74 latency_q2c(q_iop->dip, q_iop->t.time, q2c);
77 __u64 d2c = tdelta(q_iop->d_time, c_iop->t.time);
80 latency_d2c(q_iop->dip, c_iop->t.time, d2c)
    [all...]
  /external/icu4c/i18n/unicode/
datefmt.h 108 * to produce the normal time format for that country. Use createDateTimeInstance()
109 * to produce a DateFormat that formats both date and time. You can pass in
120 * You can also set the time zone on the format if you wish. If you want even
143 * the DateTimePatterns resource. There are 4 time patterns, 4 date patterns,
144 * the default date-time pattern, and 4 date-time patterns. Each block of 4 values
234 * Formats a date into a date/time string. This is an abstract method which
240 * <P> For example, given a time text
245 * that if the same time field appears more than once in a pattern, the status will
246 * be set for the first occurence of that time field. For instance
    [all...]
  /external/webkit/JavaScriptCore/profiler/
ProfileNode.h 76 // Time members
81 void setTotalTime(double time) { m_actualTotalTime = time; m_visibleTotalTime = time; }
82 void setActualTotalTime(double time) { m_actualTotalTime = time; }
83 void setVisibleTotalTime(double time) { m_visibleTotalTime = time; }
86 void setSelfTime(double time) {m_actualSelfTime = time; m_visibleSelfTime = time;
    [all...]

Completed in 68 milliseconds

1 2 3 4 5 6 7 891011>>