/external/snakeyaml/src/test/java/examples/jodatime/ |
JodaTimeFlowStylesTest.java | 37 private static final long timestamp = 1000000000000L; field in class:JodaTimeFlowStylesTest 45 DateTime etalon = new DateTime(timestamp, DateTimeZone.UTC); 76 * 'date' must be used only with the explicit '!!timestamp' tag. 86 * '!!timestamp' tag. 106 * !!timestamp must be used, without it the implicit tag will be ignored 109 * Since the timestamp contains ':' character it cannot use plain scalar 111 * style and that is why the explicit '!!timestamp' is present in the YAML 120 DateTime etalon = new DateTime(timestamp, DateTimeZone.UTC); 128 "!!examples.jodatime.MyBean {date: !!timestamp '2001-09-09T01:46:40Z', id: id123}\n", 143 if (nnode.getTag().equals(new Tag("tag:yaml.org,2002:timestamp"))) { [all...] |
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/ |
test_api_video.cc | 85 uint32_t timestamp, 90 ByteWriter<uint32_t>::WriteBigEndian(dataBuffer + 4, timestamp); 97 uint32_t timestamp, 107 // Correct seq num, timestamp and payload type. 108 size_t header_length = BuildRTPheader(buffer, timestamp, sequence_number); 145 uint32_t timestamp = 3000; local 147 timestamp, 148 timestamp / 90, 157 uint32_t timestamp = 3000; local 169 size_t packet_size = PaddingPacket(padding_packet, timestamp, seq_num [all...] |
/external/netperf/src/ |
hist.h | 128 HIST_timestamp - take a timestamp suitable for use in a histogram. 132 void HIST_timestamp(hrtime_t *timestamp); 134 void HIST_timestamp(hrt_t *timestamp); 136 void HIST_timestamp(LARGE_INTEGER *timestamp); 138 void HIST_timestamp(struct timeval *timestamp); 142 HIST_timestamp_start - start a new timestamp 148 HIST_timestamp_stop_add - complete the oldest outstanding timestamp
|
/frameworks/base/wifi/java/android/net/wifi/ |
WifiActivityEnergyInfo.java | 26 * underlying wifi stack state. Timestamp the record with elapsed 71 public WifiActivityEnergyInfo(long timestamp, int stackState, 74 mTimestamp = timestamp; 86 + " timestamp=" + mTimestamp 99 long timestamp = in.readLong(); 106 return new WifiActivityEnergyInfo(timestamp, stackState, 174 * @return timestamp(wall clock) of record creation
|
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/ |
MostRecentImageSaver.java | 104 for (Long timestamp : toRemove) { 105 imageMap.remove(timestamp); 124 long timestamp = image.getTimestamp(); local 125 if (!pairFound || timestamp > oldestTimestamp) { 126 oldestTimestamp = timestamp; 152 private ImageProxy getThumbnail(long timestamp) { 153 return mThumbnails.get(timestamp);
|
/external/autotest/client/cros/netprotos/ |
cros_p2p.py | 147 def get_peers(self, timestamp=None): 150 @param timestamp: The deadline timestamp to consider the responses. 157 self._p2p_domain, dpkt.dns.DNS_PTR, timestamp) 161 p2p_peer, dpkt.dns.DNS_SRV, timestamp) 166 srvname, dpkt.dns.DNS_A, timestamp) 172 def get_peer_files(self, peer_name, timestamp=None): 176 @param timestamp: The deadline timestamp to consider the responses. 181 peer_name, dpkt.dns.DNS_TXT, timestamp) [all...] |
/external/clang/test/Modules/ |
fmodules-validate-once-per-build-session.c | 16 // RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache -fsyntax-only -isystem %t/Inputs -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session %s 17 // RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache-user -fsyntax-only -I %t/Inputs -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session %s 18 // RUN: ls -R %t/modules-cache | grep Foo.pcm.timestamp 19 // RUN: ls -R %t/modules-cache-user | grep Foo.pcm.timestamp 25 // RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache -fsyntax-only -isystem %t/Inputs -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session %s 26 // RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache-user -fsyntax-only -I %t/Inputs -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session %s 27 // RUN: ls -R %t/modules-cache | grep Foo.pcm.timestamp 28 // RUN: ls -R %t/modules-cache-user | grep Foo.pcm.timestamp 42 // RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache -fsyntax-only -isystem %t/Inputs -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session %s 43 // RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache-user -fsyntax-only -I %t/Inputs -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session % [all...] |
/external/libdrm/freedreno/kgsl/ |
kgsl_bo.c | 86 uint32_t timestamp = kgsl_bo_get_timestamp(to_kgsl_bo(bo)); local 103 if (timestamp > current) 109 if (timestamp) 110 fd_pipe_wait(pipe, timestamp); 251 * the timestamp of the last ISSUEIBCMDS on the buffer. 254 * 1) Only set the timestamp for buffers w/ an flink name, ie. 257 * 2) Only set the timestamp for buffers submitted to the 3d ring 264 * The waiting on timestamp happens before flush, and setting of 265 * timestamp happens after flush. It is transparent to the user 271 uint32_t timestamp) 292 uint32_t timestamp = 0; local [all...] |
/tools/test/connectivity/acts/framework/acts/ |
logger.py | 37 """Parses a logline timestamp into a tuple. 40 t: Timestamp in logline format. 52 def is_valid_logline_timestamp(timestamp): 53 if len(timestamp) == log_line_timestamp_len: 54 if logline_timestamp_re.match(timestamp): 62 t1: Timestamp in logline format. 63 t2: Timestamp in logline format. 88 """Returns a timestamp in the format used by log lines. 97 A timestamp in log line format with an offset. 102 """Returns a timestamp in the format used for log file names [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/timeline/ |
thread.py | 81 def AddSample(self, category, name, timestamp, args=None): 82 if len(self._samples) and timestamp < self._samples[-1].start: 84 'Samples must be added in increasing timestamp order') 86 category, name, timestamp, args=args) 95 def BeginSlice(self, category, name, timestamp, thread_timestamp=None, 103 * timestamp: The timetsamp of the slice, in milliseconds. 104 * thread_timestamp: Thread specific clock (scheduled) timestamp of the 110 if len(self._open_slices) > 0 and timestamp < self._open_slices[-1].start: 112 'Slices must be added in increasing timestamp order') 113 new_slice = slice_module.Slice(self, category, name, timestamp, [all...] |
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
inv_sysfs_utils.c | 73 * @timestamp: Time when data was read from device. Use NULL if unsupported. 76 int inv_read_buffer(int fd, long *data, long long *timestamp) 84 if (!timestamp) 88 &data[2], timestamp); 90 if (count < (timestamp?4:3)) 99 * @timestamp: Time when data was read from device. Use NULL if unsupported. 103 long long *timestamp) 111 if (!timestamp) 115 &data[2], timestamp); 116 if (count < (timestamp?4:3) [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
inv_sysfs_utils.c | 67 * @timestamp: Time when data was read from device. Use NULL if unsupported. 70 int inv_read_buffer(int fd, long *data, long long *timestamp) 78 if (!timestamp) 82 &data[2], timestamp); 84 if (count < (timestamp?4:3)) 93 * @timestamp: Time when data was read from device. Use NULL if unsupported. 97 long long *timestamp) 105 if (!timestamp) 109 &data[2], timestamp); 110 if (count < (timestamp?4:3) [all...] |
/hardware/intel/common/libmix/mix_video/src/ |
mixframemanager.c | 324 guint64 timestamp = 0; local 344 if (mix_videoframe_get_timestamp(_frame, ×tamp) 360 if (lowest_timestamp > timestamp) 362 lowest_timestamp = timestamp; 429 * the expected next timestamp is also updated. with this 430 * updated expected next timestamp, we search for expected 436 guint64 timestamp = 0; local 440 ret = mix_videoframe_get_timestamp(mvf, ×tamp); 453 * what timestamp of next frame shall be? 455 fm->next_frame_timestamp = timestamp + fm->frame_timestamp_delta 587 guint64 timestamp = 0; local [all...] |
/external/chromium-trace/catapult/devil/devil/android/perf/ |
surface_stats_collector.py | 76 timestamps += [timestamp for timestamp in new_timestamps 77 if timestamp > last_timestamp] 143 # C) timestamp immediately after SF submitted that frame to the h/w 145 # The difference between the 1st and 3rd timestamp is the frame-latency. 168 # latency data, SurfaceFlinger gives the frame a timestamp of INT64_MAX. 177 timestamp = long(fields[1]) 178 if timestamp == pending_fence_timestamp: 180 timestamp /= nanoseconds_per_millisecond 181 timestamps.append(timestamp) [all...] |
/external/drm_hwcomposer/ |
vsyncworker.cpp | 90 * Returns the timestamp of the next vsync in phase with last_timestamp_. 99 * Thus, we must sleep until timestamp 687 to maintain phase with the last 100 * timestamp. 112 int VSyncWorker::SyntheticWaitVBlank(int64_t *timestamp) { 134 *timestamp = (int64_t)vsync.tv_sec * kOneSecondNs + (int64_t)vsync.tv_nsec; 177 int64_t timestamp; local 182 ret = SyntheticWaitVBlank(×tamp); 186 timestamp = (int64_t)vblank.reply.tval_sec * kOneSecondNs + 200 procs->vsync(procs, display, timestamp); 201 last_timestamp_ = timestamp; [all...] |
/external/valgrind/helgrind/ |
README_MSMProp2.txt | 38 segment contains a vector timestamp. The expression "HB(SS, currS)" 43 where happens_before(S,T) means that S's vector timestamp is ordered 44 before-or-equal to T's vector timestamp. 50 is equivalent to saying that currS has a timestamp which is 68 update a single vector timestamp. The following two equivalences 73 adding a segment S join-ing S's vector timestamp 74 to the segment-set to the current vector timestamp 77 currS's timestamp, 78 current vector timestamp ) 92 where LS is a lockset (as before) and VTS is a vector timestamp [all...] |
/external/webrtc/talk/app/webrtc/test/ |
mockpeerconnectionobservers.h | 132 stats_.timestamp = r->timestamp(); 142 stats_.timestamp = r->timestamp(); 146 stats_.timestamp = r->timestamp(); 157 double timestamp() const { return stats_.timestamp; } function in class:webrtc::MockStatsObserver 219 timestamp = 0; 230 double timestamp; member in struct:webrtc::MockStatsObserver::__anon27526 [all...] |
/frameworks/av/camera/ |
ICameraClient.cpp | 74 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) 79 data.writeInt64(timestamp); 85 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { 89 data.writeInt64(timestamp); 132 nsecs_t timestamp = data.readInt64(); local 135 dataCallbackTimestamp(timestamp, msgType, imageData); 141 nsecs_t timestamp; local 142 status_t res = data.readInt64(×tamp); 144 ALOGE("%s: Failed to read timestamp: %s (%d)", __FUNCTION__, strerror(-res), res); 154 recordingFrameHandleCallbackTimestamp(timestamp, handle) [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
BandwidthTestUtil.java | 78 * @param timestamp 82 String timestamp) { 84 "×tamp=" + timestamp; 119 * Post a given file for a given device and timestamp to the server. 122 * @param timestamp {@link String} timestamp 126 public static boolean postFileToServer(String server, String deviceId, String timestamp, 140 new StringPart("timestamp", timestamp), [all...] |
/frameworks/base/media/java/android/media/midi/ |
MidiReceiver.java | 58 * @param timestamp the timestamp of the message (based on {@link java.lang.System#nanoTime} 61 abstract public void onSend(byte[] msg, int offset, int count, long timestamp) 90 * Called to send MIDI data to the receiver without a timestamp. 109 * Called to send MIDI data to the receiver with a specified timestamp. 110 * Data will be processed by receiver in order first by timestamp, then in the order sent. 120 * @param timestamp the timestamp of the message, based on {@link java.lang.System#nanoTime} 123 public void send(byte[] msg, int offset, int count, long timestamp) 128 onSend(msg, offset, length, timestamp); [all...] |
/frameworks/base/services/usage/java/com/android/server/usage/ |
IntervalStats.java | 95 void update(String packageName, long timeStamp, int eventType) { 104 usageStats.mTotalTimeInForeground += timeStamp - usageStats.mLastTimeUsed; 113 usageStats.mLastTimeUsed = timeStamp; 115 usageStats.mEndTimeStamp = timeStamp; 121 endTime = timeStamp; 124 void updateConfigurationStats(Configuration config, long timeStamp) { 127 activeStats.mTotalTimeActive += timeStamp - activeStats.mLastTimeActive; 128 activeStats.mLastTimeActive = timeStamp - 1; 133 configStats.mLastTimeActive = timeStamp; 138 endTime = timeStamp; [all...] |
/external/speex/libspeex/ |
jitter.c | 139 spx_uint32_t pointer_timestamp; /**< Timestamp of what we will *get* next */ 140 spx_uint32_t last_returned_timestamp; /**< Useful for getting the next packet with the same timestamp (for fragmented media) */ 143 spx_int32_t buffered; /**< Amount of data we think is still buffered by the application (timestamp units)*/ 146 spx_uint32_t arrival[SPEEX_JITTER_MAX_BUFFER_SIZE]; /**< Packet arrival time (0 means it was late, even though it's a valid timestamp) */ 150 spx_int32_t delay_step; /**< Size of the steps when adjusting buffering (timestamp units) */ 170 The optimised function is in timestamp units and is: 173 @param late_factor Equivalent cost of a late frame (in timestamp units) 311 /* Timestamp is actually undefined at this point */ 372 /*fprintf (stderr, "put packet %d %d\n", timestamp, span);*/ 380 if (jitter->packets[i].data && LE32(jitter->packets[i].timestamp + jitter->packets[i].span, jitter->pointer_timestamp) [all...] |
/external/webrtc/webrtc/common_video/ |
i420_video_frame_unittest.cc | 48 EXPECT_EQ(123u, frame.timestamp()); 72 uint32_t timestamp = 1; local 84 small_frame.set_timestamp(timestamp); 118 uint32_t timestamp = 1; local 140 frame1.set_timestamp(timestamp); 157 EXPECT_EQ(frame2.timestamp(), frame1.timestamp()); 162 frame2.set_timestamp(timestamp + 1); 167 EXPECT_NE(frame2.timestamp(), frame1.timestamp()); [all...] |
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
data_builder.h | 102 inv_time_t timestamp; member in struct:inv_single_sensor_t 115 inv_time_t timestamp; member in struct:inv_quat_sensor_t 243 inv_error_t inv_build_gyro(const short *gyro, inv_time_t timestamp); 245 inv_time_t timestamp); 247 inv_time_t timestamp); 248 inv_error_t inv_build_temp(const long temp, inv_time_t timestamp); 249 inv_error_t inv_build_quat(const long *quat, int status, inv_time_t timestamp); 250 inv_error_t inv_build_pressure(const long pressure, int status, inv_time_t timestamp); 295 void inv_get_accel_set(long *data, int8_t *accuracy, inv_time_t * timestamp); 296 void inv_get_gyro_set(long *data, int8_t *accuracy, inv_time_t * timestamp); [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
data_builder.h | 100 inv_time_t timestamp; member in struct:inv_single_sensor_t 113 inv_time_t timestamp; member in struct:inv_quat_sensor_t 240 inv_error_t inv_build_gyro(const short *gyro, inv_time_t timestamp); 242 inv_time_t timestamp); 244 inv_time_t timestamp); 245 inv_error_t inv_build_temp(const long temp, inv_time_t timestamp); 246 inv_error_t inv_build_quat(const long *quat, int status, inv_time_t timestamp); 247 inv_error_t inv_build_pressure(const long pressure, int status, inv_time_t timestamp); 291 void inv_get_accel_set(long *data, int8_t *accuracy, inv_time_t * timestamp); 292 void inv_get_gyro_set(long *data, int8_t *accuracy, inv_time_t * timestamp); [all...] |