/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
SensorSynchronizationTestActivity.java | 21 * Test cross-sensor timestamp alignment by detecting major change in each 81 accMovementTimestamp = event.timestamp; 89 magMovementTimestamp = event.timestamp; 97 gyrMovementTimestamp = event.timestamp; 113 appendText(String.format("\nSensor | Relative Timestamp (msec)\n" 119 "Cross sensor timestamp alignment off by more than %d msec.", 137 appendText("This test provides a rough indication of cross-sensor timestamp synchronization.");
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
TimestampClockSourceVerification.java | 33 * A {@link ISensorVerification} which verifies that the timestamp of the {@link SensorEvent} is 53 * @param maxLatencyNs Maximum allowed timestamp delta between event timestamp and current time 98 new StringBuilder(" Incorrect timestamp clock source failures: "); 138 * Verifies timestamp clock source for each collected event 156 long eventTimestampNs = event.timestamp; 164 builder.append(", timestamp=").append(String.format("%.2fms",
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_StreamItemsTest.java | 77 values.put(StreamItems.TIMESTAMP, UPDATE_TIMESTAMP); 102 values.put(StreamItems.TIMESTAMP, INSERT_TIMESTAMP); 125 .withValue(StreamItems.TIMESTAMP, INSERT_TIMESTAMP) 151 .withValue(StreamItems.TIMESTAMP, UPDATE_TIMESTAMP) 168 private void assertStreamItem(Uri uri, String text, long timestamp, String comments) { 174 assertEquals(timestamp, cursor.getLong( 175 cursor.getColumnIndexOrThrow(StreamItems.TIMESTAMP)));
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/ |
VoicemailImpl.java | 39 Long timestamp, 51 mTimestamp = timestamp; 62 * The number and the timestamp are mandatory for insertion. 64 public static Builder createForInsertion(long timestamp, String number) { 65 return new Builder().setNumber(number).setTimestamp(timestamp); 112 public Builder setTimestamp(long timestamp) { 113 mBuilderTimestamp = timestamp;
|
/external/autotest/client/tests/kvm/deps/ |
heartbeat_slu.py | 93 hostname, seq, timestamp = heartbeat.rsplit() 94 timestamp = float(timestamp) 105 client_clock_offset[hostname] = timestamp - local_timestamp 107 drift = timestamp - local_timestamp - client_clock_offset[hostname] 116 timestamp = client_prev_timestamp[hostname] 117 delta = local_timestamp - timestamp
|
/external/autotest/contrib/virt/ |
site_job.py | 31 self.parser.add_option('--timestamp', action='store_true', 32 help='Add a timestamp to the name of the job') 176 # add timestamp to the jobname 178 if self.command_line_options.timestamp: 179 logging.debug("Adding timestamp to jobname") 180 timestamp = time.strftime(" %m-%d-%Y %H:%M:%S", time.localtime()) 181 self.jobname += timestamp
|
/external/autotest/site_utils/admin/ |
clean_staged_images.py | 10 staged.timestamp and do following. 13 2. Check if the modified time of the timestamp file is older than a given cutoff 15 3. If that's True, delete the folder containing staged.timestamp. 30 _TIMESTAMP_FILENAME = 'staged.timestamp' 35 """Get all directories that has timestamp file. 37 @param root: The top folder to look for timestamp file. 38 @return: An iterator of directories that have timestamp file in it.
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
video.py | 64 timestamp = 0 65 for timestamp, bmp in frame_generator: 70 start_time = timestamp 71 for timestamp, bmp in frame_generator: 72 yield timestamp - start_time, image_util.Crop(bmp, *content_box) 140 """Returns the frame timestamp in integer milliseconds from the dump log. 145 We have to be careful to only read a single timestamp per call to avoid
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/vpc/ |
test_vpngateway.py | 49 'SignatureVersion', 'Timestamp', 83 'SignatureVersion', 'Timestamp', 108 'SignatureVersion', 'Timestamp', 136 'SignatureVersion', 'Timestamp', 163 'SignatureVersion', 'Timestamp', 189 'SignatureVersion', 'Timestamp', 215 'SignatureVersion', 'Timestamp',
|
/external/chromium-trace/catapult/tracing/tracing/metrics/system_health/ |
responsiveness_metric_test.html | 121 var timestamp = 0; 123 timestamp += 16; 126 start: timestamp, 127 end: timestamp + 1 130 timestamp += 1000; 133 start: timestamp, 134 end: timestamp + 1
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
JavaBeanWithNullValuesTest.java | 18 import java.sql.Timestamp; 88 javaBeanWithNullValues.setTimestamp(new Timestamp(System.currentTimeMillis())); 113 javaBeanWithNullValues.setTimestamp(new Timestamp(System.currentTimeMillis())); 147 javaBeanWithNullValues.setTimestamp(new Timestamp(System.currentTimeMillis())); 156 this.representers.put(java.sql.Timestamp.class, new RepresentTime()); 182 return representScalar(new Tag(Tag.PREFIX + "java.sql.Timestamp"), 183 ((java.sql.Timestamp) data).toString());
|
/external/vogar/src/vogar/ |
XmlReportPrinter.java | 78 String timestamp = getGMTTimestamp(); local 82 suite.printReport(timestamp, fileName); 126 private void print(KXmlSerializer serializer, String timestamp) throws IOException { 133 serializer.attribute(ns, XmlReportConstants.TIMESTAMP, timestamp); 175 void printReport(String timestamp, String fileName) { 185 print(serializer, timestamp);
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/ |
omx_swvdec_utils.h | 125 ///< number of elements in timestamp list 127 /// OMX SwVdec timestamp element structure. 130 long long timestamp; ///< timestamp member in struct:__anon34148 133 /// OMX SwVdec timestamp list class 141 bool push(long long timestamp); 146 ///< list of timestamp elements
|
/libcore/ojluni/src/main/java/java/lang/ref/ |
SoftReference.java | 71 * Timestamp clock, updated by the garbage collector 76 * Timestamp updated by each invocation of the get method. The VM may use 80 private long timestamp; field in class:SoftReference 90 this.timestamp = clock; 104 this.timestamp = clock; 117 if (o != null && this.timestamp != clock) 118 this.timestamp = clock;
|
/external/webrtc/webrtc/base/ |
timeutils_unittest.cc | 31 TimeStamp ts_earlier = Time(); 33 TimeStamp ts_now = Time(); 47 TimeStamp ts_later = TimeAfter(100); 81 TimeStamp ts_earlier = Time(); 82 TimeStamp ts_later = TimeAfter(500); 105 TimeStamp ts_earlier = static_cast<TimeStamp>(-50); 106 TimeStamp ts_later = ts_earlier + 100; 173 // Set use of the test RNG to get deterministic expiration timestamp.
|
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
initial_delay_manager.cc | 31 last_packet_rtp_info_.header.timestamp = 0; 83 uint32_t timestamp_increase = current_header->timestamp - 84 last_header->timestamp; 95 // A timestamp that reflects the initial delay, while buffering. 144 sync_stream->rtp_info.header.timestamp -= timestamp_update; 167 // If there is no estimate of timestamp increment, |timestamp_step_|, then 202 sync_stream->rtp_info.header.timestamp += timestamp_update; 213 last_packet_rtp_info_.header.timestamp += timestamp_update; 236 playout_timestamp_ = current_header.timestamp - static_cast<uint32_t>(
|
/external/webrtc/webrtc/modules/video_coding/test/ |
plotReceiveTrace.m | 4 %DEBUG ; ( 8:32:33:375 | 0) VIDEO CODING:1 ; 5260; Decoding timestamp 1869534934 6 %DEBUG ; ( 8:32:33:375 | 0) VIDEO CODING:-1 ; 5260; Frame decoded: timeStamp=1870511259 decTime=0 maxDecTime=0, at 19965 7 %DEBUG ; ( 7:59:42:500 | 0) VIDEO:-1 ; 2500; Received complete frame timestamp 1870514263 frame type 1 frame size 7862 at time 19965, jitter estimate was 130 68 [p, count] = sscanf(message, 'Decoding timestamp %lu at %lu'); 82 [p, count] = sscanf(message, 'Frame decoded: timeStamp=%lu decTime=%d maxDecTime=%lu, at %lu'); 89 [p, count] = sscanf(message, 'Received complete frame timestamp %lu frame type %u frame size %*u at time %lu, jitter estimate was %lu'); 180 xlabel('RTP timestamp (in ms)'); 196 % xlabel('RTP timestamp'); 210 xlabel('RTP timestamp');
|
/frameworks/av/services/camera/libcameraservice/utils/ |
TagMonitor.cpp | 93 void TagMonitor::monitorMetadata(eventSource source, int64_t frameNumber, nsecs_t timestamp, 99 if (timestamp == 0) { 100 timestamp = systemTime(SYSTEM_TIME_BOOTTIME); 134 mMonitoringEvents.emplace(source, frameNumber, timestamp, entry); 143 mMonitoringEvents.emplace(source, frameNumber, timestamp, entry); 166 event.frameNumber, event.timestamp, 268 TagMonitor::MonitorEvent::MonitorEvent(eventSource src, uint32_t frameNumber, nsecs_t timestamp, 272 timestamp(timestamp),
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
forgetting_curve_utils.cpp | 49 const int timestamp = newHistoricalInfo->getTimestamp(); local 54 return HistoricalInfo(timestamp, level, count); 63 return HistoricalInfo(timestamp, level, 0 /* count */); 66 return HistoricalInfo(timestamp, level, clampToValidCountRange(count, headerPolicy)); 73 return HistoricalInfo(timestamp, 77 return HistoricalInfo(timestamp, 81 return HistoricalInfo(timestamp, originalHistoricalInfo->getLevel(), updatedCount); 154 /* static */ int ForgettingCurveUtils::getElapsedTimeStepCount(const int timestamp, 156 const int elapsedTimeInSeconds = TimeKeeper::peekCurrentTime() - timestamp;
|
/prebuilts/go/darwin-x86/src/runtime/ |
trace.go | 9 // in a compact form. A precise nanosecond-precision timestamp and a stack 20 traceEvBatch = 1 // start of per-P batch of events [pid, timestamp] 23 traceEvGomaxprocs = 4 // current value of GOMAXPROCS [timestamp, GOMAXPROCS, stack id] 24 traceEvProcStart = 5 // start of P [timestamp, thread id] 25 traceEvProcStop = 6 // stop of P [timestamp] 26 traceEvGCStart = 7 // GC start [timestamp, stack id] 27 traceEvGCDone = 8 // GC done [timestamp] 28 traceEvGCScanStart = 9 // GC scan start [timestamp] 29 traceEvGCScanDone = 10 // GC scan done [timestamp] 30 traceEvGCSweepStart = 11 // GC sweep start [timestamp, stack id [all...] |
/prebuilts/go/linux-x86/src/runtime/ |
trace.go | 9 // in a compact form. A precise nanosecond-precision timestamp and a stack 20 traceEvBatch = 1 // start of per-P batch of events [pid, timestamp] 23 traceEvGomaxprocs = 4 // current value of GOMAXPROCS [timestamp, GOMAXPROCS, stack id] 24 traceEvProcStart = 5 // start of P [timestamp, thread id] 25 traceEvProcStop = 6 // stop of P [timestamp] 26 traceEvGCStart = 7 // GC start [timestamp, stack id] 27 traceEvGCDone = 8 // GC done [timestamp] 28 traceEvGCScanStart = 9 // GC scan start [timestamp] 29 traceEvGCScanDone = 10 // GC scan done [timestamp] 30 traceEvGCSweepStart = 11 // GC sweep start [timestamp, stack id [all...] |
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
DeletedContactUtil.java | 75 * Queries all records after a given timestamp. 80 long timestamp) { 82 String[] args = new String[] {timestamp + ""};
|
/development/testrunner/ |
logger.py | 60 """Returns the log_string prepended with current timestamp """ 66 # timestamp logging disabled 88 """ Enable or disable outputting a timestamp with each log entry"""
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
CodeSignerTest.java | 42 private Timestamp ts = new Timestamp(now, cpath); 57 * timestamp can be null
|
/external/apache-http/src/org/apache/http/util/ |
VersionInfo.java | 73 public final static String PROPERTY_TIMESTAMP = "info.timestamp"; 85 /** The timestamp from the version info. */ 147 * Obtains the timestamp of the versioned module or informal unit. 150 * @return the timestamp, never <code>null</code> 295 String timestamp = null; local 307 timestamp = (String) info.get(PROPERTY_TIMESTAMP); 308 if ((timestamp != null) && 309 ((timestamp.length() < 1) || 310 (timestamp.equals("${mvn.timestamp}"))) [all...] |