/packages/apps/Mms/src/com/android/mms/dom/smil/ |
TimeListImpl.java | 22 import org.w3c.dom.smil.Time; 26 private final ArrayList<Time> mTimes; 31 TimeListImpl(ArrayList<Time> times) { 43 public Time item(int index) { 44 Time time = null; local 46 time = mTimes.get(index); 50 return time;
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TimeUtil.java | 28 * Return a prettified version of the given elapsed time 35 StringBuilder time = new StringBuilder(); local 37 time.append(hours); 38 time.append("h "); 41 time.append(minutes); 42 time.append("m "); 44 time.append(seconds); 45 time.append("s"); 47 return time.toString(); 60 * Return the given time as a {@link String} suitable for displaying [all...] |
/external/chromium_org/chrome/browser/performance_monitor/ |
key_builder.h | 21 const std::string time; member in struct:performance_monitor::RecentKey 43 const std::string time; member in struct:performance_monitor::MetricKey 59 // Key Schema: <Time> 60 std::string CreateActiveIntervalKey(const base::Time& time); 62 // Key Schema: <Metric>-<Time>-<Activity> 63 std::string CreateMetricKey(const base::Time& time, 67 // Key Schema: <Time>-<Event Type> 68 std::string CreateEventKey(const base::Time& time, const EventType type) [all...] |
performance_monitor_util.h | 9 #include "base/time/time.h" 32 const base::Time& time, 40 scoped_ptr<Event> CreateRendererFailureEvent(const base::Time& time, 44 scoped_ptr<Event> CreateUncleanExitEvent(const base::Time& time, 47 scoped_ptr<Event> CreateChromeUpdateEvent(const base::Time& time, [all...] |
database.h | 16 #include "base/time/time.h" 26 TimeRange(base::Time start_time, base::Time end_time); 29 base::Time start; 30 base::Time end; 54 // database is constructed, the time is noted as the start of the active 55 // interval. Then, every write operation the current time is marked as the end 57 // a certain amount of time, then the database is considered inactive for that 58 // time period and a new start time is noted. Having the key be the beginnin [all...] |
/frameworks/base/media/java/android/media/ |
MediaTimeProvider.java | 21 // we do not allow negative media time 23 * Presentation time value if no timed event notification is requested. 31 * notification when the presentation time reaches (becomes greater) than 32 * the value specified. This happens immediately if the current media time 35 * @param timeUs presentation time to get timed event callback at (or 54 * Get the current presentation time. 56 * @param precise Whether getting a precise time is important. This is 58 * @param monotonic Whether returned time should be monotonic: that is, 59 * greater than or equal to the last returned time. Don't 70 * Called when the registered time was reached naturally [all...] |
/external/chromium/net/ftp/ |
ftp_directory_listing_parser.h | 14 #include "base/time.h" 32 // Last modified time, in local time zone. 33 base::Time last_modified; 39 const base::Time& current_time,
|
/external/chromium_org/base/process/ |
process_info_linux.cc | 11 #include "base/time/time.h" 16 const Time CurrentProcessInfo::CreationTime() { 22 Time boot_time = internal::GetBootTime(); 24 return Time(boot_time + start_offset);
|
/external/chromium_org/base/test/ |
mock_time_provider.cc | 16 DCHECK(!DefaultValue<Time>::IsSet()); 18 DefaultValue<Time>::Set(Time::FromInternalValue(0)); 23 DefaultValue<Time>::Clear(); 27 Time MockTimeProvider::StaticNow() {
|
/external/chromium_org/build/android/pylib/utils/ |
time_profile.py | 6 import time namespace 18 self._starttime = time.time() 23 stoptime = time.time()
|
/external/chromium_org/chrome/browser/translate/ |
translate_event_details.h | 10 #include "base/time/time.h" 17 // The time when this event was created. 18 base::Time time; member in struct:TranslateEventDetails
|
/external/chromium_org/chrome/common/translate/ |
language_detection_details.h | 11 #include "base/time/time.h" 18 // The time when this was created. 19 base::Time time; member in struct:LanguageDetectionDetails
|
/external/chromium_org/net/quic/ |
quic_clock.h | 16 // Clock to efficiently retrieve an approximately accurate time from an 23 // Returns the approximate current time as a QuicTime object. 26 // Returns the current time as a QuicTime object. 30 // WallNow returns the current wall-time - a time that is consistent across
|
/external/chromium_org/net/socket/ |
client_socket_pool_histograms.h | 11 #include "base/time/time.h" 26 void AddRequestTime(base::TimeDelta time) const; 27 void AddUnusedIdleTime(base::TimeDelta time) const; 28 void AddReusedIdleTime(base::TimeDelta time) const;
|
/external/chromium_org/tools/telemetry/telemetry/page/actions/ |
wait_unittest.py | 5 import time namespace 24 start_time = time.time() 26 self.assertAlmostEqual(time.time() - start_time, 1, places=1)
|
/external/compiler-rt/lib/asan/lit_tests/TestCases/Linux/ |
time_null_regtest.cc | 6 // A regression test for time(NULL), which caused ASan to crash in the 13 #include <time.h> 16 time_t t = time(NULL); 17 fprintf(stderr, "Time: %s\n", ctime(&t)); // NOLINT 18 // CHECK: {{Time: .* .* .*}}
|
/external/icu4c/test/perf/howExpensiveIs/ |
sieve.h | 17 * Calculate the standardized sieve time (1 run) 22 * Calculate the mean time, with margin of error 26 * @return the mean time, or negative if error/imprecision. 31 * Get the standardized sieve time. (Doesn't recalculate if already computed. 33 * @return the mean time, or negative if error/imprecision.
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTime.java | 4 import android.text.format.Time; 16 @Implements(Time.class) 19 private Time time; field in class:ShadowTime 34 time.timezone = timezone; 35 time.year = 1970; 36 time.monthDay = 1; 37 time.isDst = -1; 40 public void __constructor__(Time other) { 45 public void set(Time other) [all...] |
/external/tcpdump/ |
atime.awk | 4 # <ack time> <seq no> 5 # where <ack time> is the time packet was acked (in seconds with 6 # zero at time of first packet) and <seq no> is the tcp sequence 9 # convert time to seconds
|
stime.awk | 4 # <send time> <seq no> 5 # where <send time> is the time packet was sent (in seconds with 6 # zero at time of first packet) and <seq no> is the tcp sequence 9 # convert time to seconds
|
/external/chromium/base/ |
time_posix.cc | 5 #include "base/time.h" 7 #include <sys/time.h> 8 #include <time.h> 20 if (microseconds >= Time::kMicrosecondsPerSecond) { 22 microseconds -= seconds * Time::kMicrosecondsPerSecond; 26 microseconds * Time::kNanosecondsPerMicrosecond}; 31 // The Time routines in this file use standard POSIX routines, or almost- 35 // Time ----------------------------------------------------------------------- 38 // so that our time representations match across all platforms. See bug 14734. 39 // irb(main):010:0> Time.at(0).getutc( [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/file_system/ |
touch_operation_unittest.cc | 8 #include "base/time/time.h" 28 const base::Time::Exploded kLastAccessTime = { 31 const base::Time::Exploded kLastModifiedTime = { 38 base::Time::FromUTCExploded(kLastAccessTime), 39 base::Time::FromUTCExploded(kLastModifiedTime), 46 EXPECT_EQ(base::Time::FromUTCExploded(kLastAccessTime), 47 base::Time::FromInternalValue(entry.file_info().last_accessed())); 48 EXPECT_EQ(base::Time::FromUTCExploded(kLastModifiedTime), 49 base::Time::FromInternalValue(entry.file_info().last_modified())) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
DERUTCTime.java | 13 * UTC time object. 18 private byte[] time; field in class:DERUTCTime 21 * return an UTC Time from the passed in object. 35 return new ASN1UTCTime(((DERUTCTime)obj).time); 54 * return an UTC Time from a tagged object. 86 * @param time the time string. 89 String time) 91 this.time = Strings.toByteArray(time); [all...] |
/external/chromium_org/content/public/renderer/ |
document_state.h | 13 #include "base/time/time.h" 51 // The time that this navigation was requested. 52 const base::Time& request_time() const { 55 void set_request_time(const base::Time& value) { 60 // The time that the document load started. 61 const base::Time& start_load_time() const { 64 void set_start_load_time(const base::Time& value) { 71 // The time that the document load was committed. 72 const base::Time& commit_load_time() const [all...] |
/external/chromium_org/base/time/ |
time.h | 5 // Time represents an absolute point in time, internally represented as 10 // TimeDelta represents a duration of time, internally represented in 13 // TimeTicks represents an abstract time that is most of the time incrementing 14 // for use in measuring time durations. It is internally represented in 15 // microseconds. It can not be converted to a human-readable time, but is 17 // Time::Now() may actually decrease or jump). But note that TimeTicks may 26 #include <time.h> 40 #include <sys/time.h [all...] |