HomeSort by relevance Sort by last modified time
    Searched refs:Time (Results 176 - 200 of 639) sorted by null

1 2 3 4 5 6 78 91011>>

  /system/update_engine/
mock_payload_state.h 64 MOCK_METHOD0(GetBackoffExpiryTime, base::Time());
72 MOCK_METHOD0(GetP2PFirstAttemptTimestamp, base::Time());
  /system/update_engine/update_manager/
chromeos_policy_unittest.cc 24 #include <base/time/time.h>
33 using base::Time;
60 fake_clock_.SetMonotonicTime(Time::FromInternalValue(12345678L));
61 fake_clock_.SetWallclockTime(Time::FromInternalValue(12345678901234L));
66 new Time(fake_clock_.GetWallclockTime()));
68 new Time(fake_clock_.GetWallclockTime()));
123 // faking the current wall clock time as needed. Restores the default state.
126 Time next_update_check;
132 Time curr_time = next_update_check
    [all...]
boxed_value.cc 25 #include <base/time/time.h>
83 string BoxedValue::ValuePrinter<base::Time>(const void* value) {
84 const base::Time* val = reinterpret_cast<const base::Time*>(value);
  /frameworks/base/core/java/android/widget/
AnalogClock.java 29 import android.text.format.Time;
48 private Time mCalendar;
97 mCalendar = new Time();
129 // The time zone may have changed while the receiver wasn't registered, so update the Time
130 mCalendar = new Time();
132 // Make sure we update to the current time
256 String tz = intent.getStringExtra("time-zone");
257 mCalendar = new Time(TimeZone.getTimeZone(tz).getID());
266 private void updateContentDescription(Time time)
    [all...]
  /external/libweave/src/privet/
auth_manager.cc 35 uint32_t ToJ2000Time(const base::Time& time) {
36 return std::max(time.ToTimeT(), kJ2000ToTimeT) - kJ2000ToTimeT;
39 base::Time FromJ2000Time(uint32_t time) {
40 return base::Time::FromTimeT(time + kJ2000ToTimeT);
77 explicit TimestampCaveat(const base::Time& timestamp)
88 explicit ExpirationCaveat(const base::Time& timestamp)
166 const base::Time& time
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/agenda/
AgendaListView.java 32 import android.text.format.Time;
51 private Time mTime;
92 mTime = new Time(mTimeZone);
135 Time time = new Time(mTimeZone); local
136 time.set(now);
137 int todayJulianDay = Time.getJulianDay(now, time.gmtoff);
208 public void goTo(Time time, long id, String searchQuery, boolean forced
    [all...]
  /external/v8/src/base/platform/
condition-variable.cc 8 #include <time.h>
10 #include "src/base/platform/time.h"
20 // On Free/Net/OpenBSD and Linux with glibc we can change the time
87 // not depend on the real time clock, which is what you really WANT here!
96 // On Free/Net/OpenBSD and Linux with glibc we can change the time
100 Time now = Time::FromTimespec(ts);
102 // The timeout argument to pthread_cond_timedwait() is in absolute time.
103 Time now = Time::NowFromSystemTime()
    [all...]
  /external/webrtc/webrtc/base/
timeutils_unittest.cc 20 uint32_t ts_earlier = Time();
22 uint32_t ts_now = Time();
25 // Make sure the Time is not returning in smaller unit like microseconds.
31 TimeStamp ts_earlier = Time();
33 TimeStamp ts_now = Time();
46 // Obtain a third time
81 TimeStamp ts_earlier = Time();
85 // since time elapses between the calls to Time() and TimeAfter(500)
89 // Time has elapsed since ts_earlie
    [all...]
  /external/webrtc/webrtc/system_wrappers/source/
clock.cc 18 #include <sys/time.h>
19 #include <time.h>
88 // against system time (update ref_point_, make it non-const) periodically to
109 uint64_t Time;
116 Time = (((uint64_t) StartTime.dwHighDateTime) << 32) +
119 // Convert the hecto-nano second time to tv format.
120 Time -= FILETIME_1970;
122 tv.tv_sec = (uint32_t)(Time / (uint64_t)10000000);
123 tv.tv_usec = (uint32_t)((Time % (uint64_t)10000000) / 10);
132 // time MUST be fetched inside the critical section to avoid non-monotoni
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
CalendarUtils.java 29 import android.text.format.Time;
46 * This class contains methods specific to reading and writing time zone
63 private volatile static String mHomeTZ = Time.getCurrentTimezone();
70 // reasons, as it's what PreferenceManager assigned the first time the file was created.
74 * This is the key used for writing whether or not a home time zone should
79 * This is the key used for writing the time zone that should be used if
80 * home time zones are enabled for the Calendar app.
86 * time zone settings in Calendar.
155 * Formats a date or a time range according to the local conventions.
157 * This formats a date/time range using Calendar's time zone and th
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/alerts/
AlertAdapter.java 28 import android.text.format.Time;
119 tz = Time.TIMEZONE_UTC;
127 Time time = new Time(tz); local
128 time.set(startMillis);
129 boolean isDST = time.isDst != 0;
132 if (!allDay && tz != Time.getCurrentTimezone()) {
  /packages/apps/Messaging/src/com/android/messaging/util/
Dates.java 21 import android.text.format.Time;
59 * Get the relative time as a string
61 * @param time The time
63 * @return The relative time
65 public static CharSequence getRelativeTimeSpanString(final long time) {
67 if (now - time < DateUtils.MINUTE_IN_MILLIS) {
75 // here and use a slightly less precise time.
77 return DateUtils.getRelativeTimeSpanString(time, now, DateUtils.MINUTE_IN_MILLIS,
80 return getShortRelativeTimeSpanString(time);
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/event/
EditEventHelper.java 33 import android.text.format.Time;
363 // to end at the new start time.
367 // Update the current repeating event to end at the new start time. We
595 * When we aren't given an explicit start time, we default to the next
598 * @return a UTC time in milliseconds representing the next upcoming half
602 Time defaultStart = new Time();
615 * When we aren't given an explicit end time, we default to an hour after
616 * the start time.
617 * @param startTime the start time
673 Time time = new Time(Time.TIMEZONE_UTC); local
    [all...]
  /packages/apps/Calendar/tests/src/com/android/calendar/alerts/
AlertServiceTest.java 32 import android.text.format.Time;
314 assertEquals("Begin time not expected for notification " + id + debugStr,
316 assertEquals("End time not expected for notification " + id + debugStr,
328 assertEquals("Digest item " + i + ": Begin time in digest not expected"
330 assertEquals("Digest item " + i + ": End time in digest not expected"
388 // Catch updates of new state, notify time, and received time
452 // Current time - 5:00
456 // time so simulate that here with our order of adds to AlertsTable.
482 // should be lowest start time on top
    [all...]
  /cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
ShortcutManagerUsageTest.java 27 import android.text.format.Time;
54 Time tobj = new Time();
  /development/samples/Wiktionary/src/com/example/android/wiktionary/
WordWidget.java 32 import android.text.format.Time;
84 Time today = new Time();
  /development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
WordWidget.java 32 import android.text.format.Time;
73 Time today = new Time();
  /external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
Contacts.java 34 import android.text.format.Time;
234 public void setLastUpdateTime(long time) {
235 mLastUpdateTime = time;
242 public void setVolteTimestamp(long time) {
243 mVolteTimeStamp = time;
250 public void setVideoTimestamp(long time) {
251 mVideoTimeStamp = time;
269 .append("\nLast update time: " + mLastUpdateTime + "(" +
280 private String getTimeString(long time) {
281 if (time <= 0)
    [all...]
  /external/libbrillo/brillo/message_loops/
fake_message_loop_unittest.cc 19 using base::Time;
62 Time start = Time::FromInternalValue(1000000);
68 // If the callback didn't run, the time shouldn't change.
71 // If we run only one callback, the time should be set to the time that
77 // callback without blocking, since the firing time is in the past.
80 // The time should not change even if the callback is due in the past.
  /frameworks/opt/timezonepicker/src/com/android/timezonepicker/
TimeZonePickerUtils.java 25 import android.text.format.Time;
50 // labels every time getGmtDisplayName is called), we'll cache the lists of override IDs
57 * display name (e.g. Pacific Time GMT-7).
61 * @param millis The time (daylight savings or not)
83 Time time = new Time(tz.getID()); local
84 time.set(timeMillis);
88 String displayName = getDisplayName(tz, time.isDst != 0);
156 * @param daylightTime True for daylight time, false for standard tim
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/month/
MonthByWeekFragment.java 36 import android.text.format.Time;
87 // The minimum time between requeries of the data if the db is
93 private final Time mDesiredDay = new Time();
108 Time day = (Time) msg.obj;
180 // -1 to ensure we get all day events from any time zone
184 // +1 to ensure we get all day events from any time zone
205 mFirstLoadedJulianDay = Time.getJulianDay(first, mTempTime.gmtoff);
207 mLastLoadedJulianDay = Time.getJulianDay(last, mTempTime.gmtoff)
    [all...]
  /system/connectivity/shill/cellular/
active_passive_out_of_credits_detector.cc 91 connect_start_time_ = base::Time::Now();
203 // auto-connect until the next time the user manually connects.
212 time_since_resume = base::Time::Now() - service()->resume_start_time();
237 time_since_connect = base::Time::Now() - connect_start_time_;
  /packages/apps/DeskClock/src/com/android/deskclock/
AnalogClock.java 31 import android.text.format.Time;
43 private Time mCalendar;
96 mCalendar = new Time();
120 // The time zone may have changed while the receiver wasn't registered, so update the Time
121 mCalendar = new Time();
123 // Make sure we update to the current time
258 String tz = intent.getStringExtra("time-zone");
259 mCalendar = new Time(TimeZone.getTimeZone(tz).getID());
276 private void updateContentDescription(Time time)
    [all...]
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DefaultSignedAttributeTableGenerator.java 15 import org.bouncycastle.asn1.cms.Time;
85 new DERSet(new Time(signingTime)));
  /external/libbrillo/brillo/
backoff_entry.cc 31 // the normal case, the calculated release time (in the next
36 // The reason why we are not just cutting the release time to
38 // time set by SetCustomReleaseTime and on the other we would like
42 // those failures will not reset the release time, further
81 // Release time is further than now, we are managing it.
143 calculated_release_time_us *= base::Time::kMicrosecondsPerMillisecond;
150 maximum_release_time_us *= base::Time::kMicrosecondsPerMillisecond;
154 // Decide between maximum release time and calculated release time, accounting

Completed in 2126 milliseconds

1 2 3 4 5 6 78 91011>>