/libcore/ojluni/src/main/java/java/sql/ |
SQLInput.java | 197 * Reads the next attribute in the stream and returns it as a <code>java.sql.Time</code> object. 205 java.sql.Time readTime() throws SQLException;
|
SQLOutput.java | 200 * Writes the next attribute to the stream as a java.sql.Time object. 210 void writeTime(java.sql.Time x) throws SQLException;
|
CallableStatement.java | 332 * Retrieves the value of the designated JDBC <code>TIME</code> parameter as a 333 * <code>java.sql.Time</code> object. 344 java.sql.Time getTime(int parameterIndex) throws SQLException; 525 * Retrieves the value of the designated JDBC <code>TIME</code> parameter as a 526 * <code>java.sql.Time</code> object, using 528 * to construct the time. 530 * can calculate the time taking into account a custom timezone and locale. 537 * to construct the time 546 java.sql.Time getTime(int parameterIndex, Calendar cal) [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarController.java | 39 import android.text.format.Time; 87 private final Time mTime = new Time(); 158 public Time selectedTime; // the selected time in focus 161 // - local time for GO_TO commands 162 // - UTC time for VIEW_EVENT and other event-related commands 163 public Time startTime; 164 public Time endTime; 185 * Set to {@link #EXTRA_GOTO_TIME} to go to the specified date/time [all...] |
DayFragment.java | 25 import android.text.format.Time; 57 Time mSelectedDay = new Time(); 143 long time = getSelectedTimeInMillis(); local 144 if (time != -1) { 145 outState.putLong(BUNDLE_KEY_RESTORE_TIME, time); 173 private void goTo(Time goToTime, boolean ignoreTime, boolean animateToday) { 175 // The view hasn't been set yet. Just save the time and use it later. 182 // How does goTo time compared to what's already displaying? 213 * Returns the selected time in milliseconds. The milliseconds are measure [all...] |
SearchActivity.java | 37 import android.text.format.Time; 147 // Didn't find a time in the bundle, look in intent or current time 182 Time t = new Time(); 212 private void search(String searchQuery, Time goToTime) { 277 Time t = null; 280 t = new Time(); 304 // later time)." 333 // We call this in case the user changed the time zon [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
DateUtils.java | 21 import android.text.format.Time; 223 * anniversary of the date that is equal to or after the current point in time if the date 224 * does not contain a year, or the date converted to the local time zone (if the date contains 227 * @param target The date we wish to convert(in the UTC time zone). 229 * that is after the current point in time (in the local time zone). Otherwise, returns the 230 * adjusted Date in the local time zone. 236 // Round the current time to the exact start of today so that when we compare 263 // to be in 4 years time). 277 * @param time Instance of time object to use for calculations [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/extensions/ |
Xfixes.h | 70 Time timestamp; 71 Time selection_timestamp; 82 Time timestamp; 289 Time timestamp;
|
/system/connectivity/shill/cellular/ |
active_passive_out_of_credits_detector.h | 23 #include <base/time/time.h> 114 // Time when the last connect request started. 115 base::Time connect_start_time_;
|
/system/update_engine/common/ |
mock_hardware.h | 67 MOCK_CONST_METHOD1(IsOOBEComplete, bool(base::Time* out_time_of_oobe));
|
utils_unittest.cc | 387 EXPECT_EQ(base::Time::UnixEpoch(), utils::TimeFromStructTimespec(&ts)); 392 base::Time::Exploded exploded = (base::Time::Exploded) { 395 EXPECT_EQ(base::Time::FromUTCExploded(exploded), 424 // Monday. In Unix time, this point in time is easily obtained via 431 // Points in time *on and after* the Omaha epoch should not fail. 433 base::Time::FromTimeT(omaha_epoch), &value)); 438 base::Time::FromTimeT(omaha_epoch - 1), &value)); 440 base::Time::FromTimeT(omaha_epoch - 100*24*3600), &value)) [all...] |
/external/libbrillo/brillo/streams/ |
fake_stream.cc | 18 base::TimeDelta CalculateDelay(const base::Time& now, 19 const base::Time& delay_until) { 31 // Given the current clock time, and expected delays for read and write 34 void GetMinDelayAndMode(const base::Time& now, 35 bool read, const base::Time& delay_read_until, 36 bool write, const base::Time& delay_write_until, 95 delay_input_until_ = base::Time{}; 146 delay_output_until_ = base::Time{};
|
/libcore/luni/src/test/java/libcore/java/sql/ |
OldResultSetGetterTests.java | 29 import java.sql.Time; 133 java.sql.Time.class, // Types.TIME, 166 + " dateVal DATE, " + " timeVal TIME, " + " TS TIMESTAMP, " 700 * "DOUBLE", "FLOAT", "DECIMAL", "NUMERIC", "CHAR(20)", "DATE", "TIME", 708 "TIME", "TIMESTAMP", "DATETIME", "BLOB", "BLOB", "BLOB", 922 // getTime should return Time value for a TIMESTAMP type but returns null 932 // set with calendar value (correct init time: since epoch) 934 Time t1 = new java.sql.Time(millis) [all...] |
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaByDayAdapter.java | 24 import android.text.format.Time; 51 private Time mTmpTime; 68 mTmpTime = new Time(mTimeZone); 80 mTmpTime = new Time(mTimeZone); 211 // time zone. 217 mTmpTime = new Time(tz); 223 Time date = mTmpTime; 260 // notion of multi-day event and the start time of each instance of a multi-day event 303 Time tempTime = new Time(mTimeZone) [all...] |
/external/llvm/lib/Support/ |
Timer.cpp | 32 // this by creating the string the first time it is needed and never destroying 43 TrackSpace("track-memory", cl::desc("Enable -time-passes memory " 62 // each time -stats or -time-passes wants to print output to it. To 143 Time -= TimeRecord::getCurrentTime(true); 147 Time += TimeRecord::getCurrentTime(false); 275 TimersToPrint.emplace_back(T.Time, T.Name); 305 // Sort the timers in descending order by amount of time taken. 320 // If this is not an collection of ungrouped times, print the total time. 324 OS << format(" Total Execution Time: %5.4f seconds (%5.4f wall clock)\n" [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
AlarmSchedulerTest.java | 32 import android.text.format.Time; 148 * Expect an alarm for the specified time. 181 // Invoke scheduleNextAlarm and verify alarm was set at the expected time. 189 long startMillisUtc = Utils.createTimeInMillis(0, 0, 0, 1, 5, 2012, Time.TIMEZONE_UTC); 191 Time.getCurrentTimezone()); 197 // Invoke scheduleNextAlarm and verify alarm was set at the expected time. 205 long startMillisUtc = Utils.createTimeInMillis(0, 0, 0, 1, 5, 2012, Time.TIMEZONE_UTC); 207 Time.getCurrentTimezone()); 213 // Invoke scheduleNextAlarm and verify alarm was set at the expected time. 241 // Invoke scheduleNextAlarm and verify alarm was set at the expected time [all...] |
/external/libchrome/base/message_loop/ |
message_loop_test.cc | 79 // This function records the time when Run was called in a Time object, which is 82 void RecordRunTimeFunc(Time* run_time, int* quit_counter) { 83 *run_time = Time::Now(); 85 // Cause our Run function to take some time to execute. As a result we can 86 // count on subsequent RecordRunTimeFunc()s running at a future time, 132 Time run_time; 138 Time time_before_run = Time::Now(); 140 Time time_after_run = Time::Now() [all...] |
message_pump_glib_unittest.cc | 46 TimeDelta delta = events_[0].time - Time::NowFromSystemTime(); 53 return events_[0].time <= Time::NowFromSystemTime(); 91 Time time; member in struct:base::__anon14301::EventInjector::Event 102 Time last_time; 104 last_time = (events_.end()-1)->time; 106 last_time = Time::NowFromSystemTime(); 108 Time future = last_time + TimeDelta::FromMilliseconds(delay_ms) [all...] |
/external/libchrome/base/ |
observer_list_unittest.cc | 100 start_(Time::Now()), 127 if ((Time::Now() - start_).InMilliseconds() > kThreadRunTime) { 170 Time start_; // The time we started the test. 392 Time start = Time::Now(); 394 if ((Time::Now() - start).InMilliseconds() > kThreadRunTime)
|
/external/libweave/src/notification/ |
xmpp_channel.cc | 61 // Factor by which the waiting time will be multiplied. 65 // between 90%-100% of the calculated time. 68 // Maximum amount of time we are willing to delay our request in ms. 71 // Time to keep an entry from being discarded even when it 438 base::Time::Now()), 440 base::Time::Now())); 443 void XmppChannel::OnPingResponse(base::Time sent_time, 445 VLOG(1) << "XMPP response received after " << (base::Time::Now() - sent_time); 451 void XmppChannel::OnPingTimeout(base::Time sent_time) { 453 << (base::Time::Now() - sent_time) [all...] |
/external/webrtc/webrtc/video/ |
stream_synchronization_unittest.cc | 31 class Time { 33 explicit Time(int64_t offset) 73 send_time_ = new Time(kSendTimeOffsetMs); 74 receive_time_ = new Time(kReceiveTimeOffsetMs); 122 // Capture an audio and a video frame at the same time. 345 Time* send_time_; // The simulated clock at the sender. 346 Time* receive_time_; // The simulated clock at the receiver. 510 // would take VoE time to adapt.
|
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 39 * elapsed time and date ranges, strings for days of the week and months, and AM/PM text etc. 81 * and pass in {@link Time#TIMEZONE_UTC Time.TIMEZONE_UTC} for the timeZone instead. 96 // Date and time format strings that are constant and don't need to be 246 * Returns a string describing the elapsed time since startTime. 249 * @param startTime some time in the past. 250 * @return a String object containing the elapsed time. 258 * Returns a string describing 'time' as a time relative to 'now'. 260 * Time spans in the past are formatted like "42 minutes ago" 468 Time time = new Time(); local [all...] |
/frameworks/base/core/java/android/widget/ |
DateTimeView.java | 23 import static android.text.format.Time.getJulianDay; 35 import android.text.format.Time; 49 // - listen for the next threshold time to update the view. 55 * Displays a given time in a convenient human-readable foramt. 119 public void setTime(long time) { 120 Time t = new Time(); 121 t.set(time); 154 Date time = mTime; local 156 Time t = new Time() 445 final long time = mAttachedViews.get(i).mUpdateTimeMillis; local [all...] |
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
SafeSaxTest.java | 29 import android.text.format.Time; 228 video.dateAdded = new Time(Time.TIMEZONE_UTC); 475 video.dateAdded = new Time(Time.TIMEZONE_UTC); 535 public Time dateAdded;
|
/system/update_engine/ |
p2p_manager_unittest.cc | 144 base::Time start_time = base::Time::FromDoubleT(1246996800.); 150 base::Time file_time = start_time + TimeDelta::FromMinutes(n); 188 // We set the cutoff time to be 1 billion seconds (01:46:40 UTC on 9 192 base::Time cutoff_time = base::Time::FromTimeT(1000000000); 221 base::Time file_date = cutoff_time + (n - 2) * TimeDelta::FromDays(1) 415 // One more time, this time with a .tmp variant. First ensure it errors out..
|