/external/chromium_org/chrome/browser/history/android/ |
visit_sql_handler.cc | 10 using base::Time; 31 // The created time is updated according the given |row|. 32 // We simulate updating created time by 34 // b. Insert a new visit which has visit time same as created time. 58 // If created time is updated or new visit count is less than the current 93 // Add a row if the last visit time is different from created time. 115 bool VisitSQLHandler::AddVisit(URLID url_id, const Time& visit_time) { 125 const Time& last_visit_time) [all...] |
/external/chromium_org/content/browser/speech/endpointer/ |
endpointer.cc | 7 #include "base/time/time.h" 10 using base::Time; 29 static_cast<int64>(1.7 * Time::kMicrosecondsPerSecond); 31 static_cast<int64>(0.5 * Time::kMicrosecondsPerSecond); 35 1 * Time::kMicrosecondsPerSecond; 65 audio_frame_time_us_ = 0; // Reset time for packets sent to endpointer. 88 EpStatus Endpointer::Status(int64 *time) { 89 return energy_endpointer_.Status(time); 108 audio_frame_time_us_ += (frame_size_ * Time::kMicrosecondsPerSecond) [all...] |
/external/chromium_org/net/dns/ |
mdns_cache.h | 14 #include "base/time/time.h" 78 base::Time now) const; 82 void CleanupRecords(base::Time now, 85 // Returns a time less than or equal to the next time a record will expire. 87 // base::Time when the cache is empty. 88 base::Time next_expiration() const { return next_expiration_; } 99 // Get the effective expiration of a cache entry, based on its creation time 102 static base::Time GetEffectiveExpiration(const RecordParsed* entry) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
timing.cc | 34 #include <sys/time.h> 68 struct timeval time; local 69 gettimeofday(&time, NULL); 71 return (static_cast<double>(time.tv_sec) + 72 static_cast<double>(time.tv_usec) * 1.0e-6); 75 struct _timeb time; 76 _ftime(&time); 78 return (static_cast<double>(time.time) + 79 static_cast<double>(time.millitm) * 1.0e-3) [all...] |
/external/icu4c/i18n/ |
zonemeta.h | 47 * Conveninent method returning CLDR canonical ID for the given time zone 52 * Return the canonical country code for this tzid. If we have none, or if the time zone 62 * Returns a CLDR metazone ID for the given Olson tzid and time. 75 * Returns the pointer to the persistent time zone ID string, or NULL if the given tzid is not in the 89 * @return A custom TimeZone for the offset with normalized time zone id 94 * Returns the time zone's short ID (null terminated) for the zone. 96 * @param tz the time zone 97 * @return the short ID of the time zone, or null if the short ID is not available. 102 * Returns the time zone's short ID (null terminated) for the zone ID. 104 * @param tz the time zone I [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/input/combomoves/ |
ComboMoveExecution.java | 54 private boolean isStateSatisfied(HashSet<String> pressedMappings, float time, 58 // check if an appropriate amount of time has passed 60 if (moveTime + state.getTimeElapsed() >= time){ 79 public void updateExpiration(float time){ 80 if (!finalState && moveTime > 0 && moveTime + TIME_LIMIT < time){ 93 * @param time Current time since start of app 96 public boolean updateState(HashSet<String> pressedMappings, float time){ 98 if (isStateSatisfied(pressedMappings, time, currentState)){ 100 moveTime = time; [all...] |
/external/mdnsresponder/mDNSCore/ |
Implementer Notes.txt | 7 operation, to calculate the time at which it needed to be called back to 13 spends a lot of CPU time working out what to do next, when what it needs 33 The value returned from mDNS_Execute() is the next time (in absolute 34 platform time units) at which mDNS_Execute() MUST be called again to 36 scheduled query packet, etc.) Note that the time returned is an absolute 37 time, not the time *interval* between now and the next required call. 39 mDNSPlatformTimeNow() must be subtracted from the absolute time to get 57 callback timer to fire at the indicated time. 61 platform callback timer to fire at the indicated time [all...] |
/external/wpa_supplicant_8/src/ap/ |
acs.c | 46 * - Current implementation depends heavily on the amount of time willing to 58 * - collect a histogram of interference over time allowing more educated 69 * observed busy time over the time we spent on the channel, 76 * (busy time - tx time) / (active time - tx time) * 2^(chan_nf + band_min_nf) 81 * What this does is it decreases the observed busy time ratio if the 86 * If channel busy time is not available the fallback is to use channel RX time [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/DOM/resources/dom-perf/ |
template.js | 142 <td class=\"header2 lower\">time (ms)</td> \ 143 <td class=\"header2 lower\">avg time (ms)</td> \ 148 <td class=\"value\" jscontent=\"time\"></td> \ 953 {"name":"Chrome:Init","time":5}, 954 {"delta":0,"name":"Shutdown:window_close:time","time":111,"value":1}, 956 {"delta":0,"name":"Shutdown:window_close:time_pe","time":111,"value":1}, 958 {"delta":0,"name":"Shutdown:renderers:total","time":1,"value":1}, 960 {"delta":0,"name":"Shutdown:renderers:slow","time":0,"value":1}, 962 {"delta":0,"name":"DNS:PrefetchQueue","time":2,"value":6} [all...] |
/external/chromium_org/chrome/browser/ui/webui/performance_monitor/ |
performance_monitor_ui_util.h | 27 // is the start time of the metrics to aggregate, |intervals| is the vector 29 // aggregate, and |resolution| is the time distance between aggregated points. 33 const base::Time& start, 45 // time distance between aggregated points. 50 const base::Time& time_start, 51 const base::Time& time_end, 62 const base::Time& time_start, 63 const base::Time& time_end, 73 const base::Time& time_start, 74 const base::Time& time_end [all...] |
/external/chromium_org/net/quic/congestion_control/ |
inter_arrival_overuse_detector.h | 8 // time of the received packets relative to the time those packets were sent; 63 // built up delay within reasonable time. 84 // received delta time. This function assumes that there is no re-orderings. 85 // If multiple packets are sent at the same time (identical send_time) 87 // this function. If there is only one packet sent at a given time 89 // received_delta is the time difference between receiving this packet and the 102 // built up buffer within reasonable time. The pacer should use the 119 // Update the statistics with the absolute receive time relative to the 120 // absolute send time [all...] |
/external/chromium_org/net/ssl/ |
server_bound_cert_store.h | 13 #include "base/time/time.h" 34 base::Time creation_time, 35 base::Time expiration_time, 42 // The time the certificate was created, also the start of the certificate 44 base::Time creation_time() const { return creation_time_; } 45 // The time after which this certificate is no longer valid. 46 base::Time expiration_time() const { return expiration_time_; } 56 base::Time creation_time_; 57 base::Time expiration_time_ [all...] |
/libcore/luni/src/main/java/java/util/ |
TimeZone.java | 32 * {@code TimeZone} represents a time zone, primarily used for configuring a {@link Calendar} or 36 * the time zone where the program is running. 47 * <li>Somewhere like California, where daylight time is used. 49 * must be used to determine whether or not daylight time applies to a given {@code Date}. 52 * actual offset from UTC <i>for a given point in time</i>; this is the raw offset plus (if the 53 * point in time is {@link #inDaylightTime in daylight time}) the applicable 55 * <li>Somewhere like Japan, where daylight time is not used. 80 * The long display name style, such as {@code Pacific Daylight Time}. 95 * Returns a new time zone with the same ID, raw offset, and dayligh [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...] |
CalendarViewAdapter.java | 24 import android.text.format.Time; 66 // The current selected event's time, used to calculate the date and day of the week 75 private Handler mMidnightHandler = null; // Used to run a time update every midnight 78 // Updates time specific variables (time-zone, today's Julian day). 100 // Sets time specific variables and starts a thread for midnight updates 107 // Sets the time zone and today's Julian day to be used by the adapter. 111 Time time = new Time(mTimeZone) local 125 Time time = new Time(mTimeZone); local [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertUtils.java | 32 import android.text.format.Time; 70 // of event ID, begin time, and alarm time. The value will be the fired time. 73 // The last time the SharedPrefs was scanned and flushed of old alerts data. 109 * @param alarmTime The time to fire the intent in UTC millis since epoch 147 * Format the second line which shows time and location for single alert or the 149 * 1) Show time only for non-all day events 157 Time time = new Time(tz) [all...] |
/external/chromium_org/third_party/icu/source/tools/ctestfw/unicode/ |
utimer.h | 21 # include <time.h> 22 # include <sys/time.h> 29 * i) Loop until a threshold time is reached: 50 * // time the normalization function 57 * // time the loop for 10 seconds at least and find out the loop count and time taken 62 * ii) Measure the time taken 105 * //compute the time 213 * Intializes the timer with the current time 215 * @param timer A pointer to UTimer struct to recieve the current time [all...] |
/external/chromium_org/webkit/renderer/compositor_bindings/ |
web_float_animation_curve_unittest.cc | 61 // Tests that a float animation with multiple keys at a given time works sanely. 131 const double time = i * 0.25; local 132 EXPECT_FLOAT_EQ(timing_function->GetValue(time), curve->getValue(time)); 145 const double time = i * 0.25; local 146 EXPECT_FLOAT_EQ(time, curve->getValue(time)); 161 const double time = i * 0.25; local 162 EXPECT_FLOAT_EQ(timing_function->GetValue(time), curve->getValue(time)); 177 const double time = i * 0.25; local 193 const double time = i * 0.25; local 212 const double time = i * 0.25; local 227 const double time = i * 0.25; local [all...] |
/external/icu4c/tools/ctestfw/unicode/ |
utimer.h | 21 # include <time.h> 22 # include <sys/time.h> 29 * i) Loop until a threshold time is reached: 50 * // time the normalization function 57 * // time the loop for 10 seconds at least and find out the loop count and time taken 62 * ii) Measure the time taken 105 * //compute the time 213 * Intializes the timer with the current time 215 * @param timer A pointer to UTimer struct to recieve the current time [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
NetworkManager.js | 261 * @param {NetworkAgent.Timestamp} time 265 requestWillBeSent: function(requestId, frameId, loaderId, documentURL, request, time, initiator, redirectResponse) 272 this.responseReceived(requestId, frameId, loaderId, time, PageAgent.ResourceType.Other, redirectResponse); 273 networkRequest = this._appendRedirect(requestId, time, request.url); 278 networkRequest.startTime = time; 299 * @param {NetworkAgent.Timestamp} time 303 responseReceived: function(requestId, frameId, loaderId, time, resourceType, response) 322 networkRequest.responseReceivedTime = time; 332 * @param {NetworkAgent.Timestamp} time 336 dataReceived: function(requestId, time, dataLength, encodedDataLength [all...] |
/frameworks/ex/common/java/com/android/common/ |
OperationScheduler.java | 21 import android.text.format.Time; 142 * Compute the time of the next operation. Does not modify any state 146 * @return the wall clock time ({@link System#currentTimeMillis()}) when the 148 * before the current time. 159 // clipped to the current time so we don't languish forever. 170 long time = triggerTimeMillis; local 172 time = Math.min(time, lastSuccessTimeMillis + options.periodicIntervalMillis); 175 time = Math.max(time, moratoriumTimeMillis) 228 long time = mStorage.getLong(name, 0); local 361 Time time = new Time(); local [all...] |
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
calendar.h | 56 * time with millisecond precision. See UDate 75 * time fields have been initialized with the current date and time: 83 * A <code>Calendar</code> object can produce all the time field values 84 * needed to implement the date-time formatting for a particular language 88 * When computing a <code>UDate</code> from time fields, two special circumstances 117 * For the time of day: 146 * The date or time format strings are not part of the definition of a 159 * adding the specified (signed) amount of time to a particular time field [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_epoll.py | 26 import time namespace 156 now = time.time() 158 then = time.time() 169 now = time.time() 171 then = time.time() 177 now = time.time( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_epoll.py | 26 import time namespace 156 now = time.time() 158 then = time.time() 169 now = time.time() 171 then = time.time() 177 now = time.time( [all...] |
/sdk/emulator/qtools/ |
check_stack.cpp | 20 void compareStacks(uint64_t time, int pid); 32 uint64_t time; member in struct:frame 37 frame(uint64_t time, uint32_t addr, const char *name, bool isNative) { 38 this->time = time; 132 pframe = new frame(method_record.time, method_record.addr, 155 if (debugTime != 0 && event.time >= debugTime) 156 printf("time: %llu debug time: %lld\n", event.time, debugTime) [all...] |