/developers/samples/android/common/src/java/com/example/android/common/midi/ |
MidiEventScheduler.java | 40 public void onSend(byte[] msg, int offset, int count, long timestamp) 42 MidiEvent event = createScheduledEvent(msg, offset, count, timestamp); 58 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { 59 super(timestamp); 79 long timestamp) { 82 event = new MidiEvent(msg, offset, count, timestamp); 90 event.setTimestamp(timestamp);
|
/frameworks/base/core/java/com/android/internal/midi/ |
MidiEventScheduler.java | 39 public void onSend(byte[] msg, int offset, int count, long timestamp) 41 MidiEvent event = createScheduledEvent(msg, offset, count, timestamp); 62 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { 63 super(timestamp); 83 long timestamp) { 86 event = new MidiEvent(msg, offset, count, timestamp); 94 event.setTimestamp(timestamp);
|
/external/clang/test/Modules/ |
prune.m | 13 // Run Clang twice so we end up creating the timestamp file (the second time). 16 // RUN: ls %t | grep modules.timestamp 20 // Set the timestamp back more than two days. We should try to prune, 22 // RUN: touch -m -a -t 201101010000 %t/modules.timestamp 24 // RUN: ls %t | grep modules.timestamp 29 // This shouldn't prune anything, because the timestamp has been updated, so 33 // RUN: ls %t | grep modules.timestamp 37 // Set both timestamp and DependsOnModule.pcm back beyond the cutoff. 39 // RUN: touch -m -a -t 201101010000 %t/modules.timestamp 42 // RUN: ls %t | grep modules.timestamp [all...] |
/external/libdrm/freedreno/kgsl/ |
kgsl_pipe.c | 59 static int kgsl_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp) 63 .timestamp = timestamp, 74 kgsl_pipe_process_pending(kgsl_pipe, timestamp); 78 int kgsl_pipe_timestamp(struct kgsl_pipe *kgsl_pipe, uint32_t *timestamp) 89 *timestamp = req.timestamp; 146 uint32_t timestamp = kgsl_bo_get_timestamp(kgsl_bo); local 147 if (timestamp) 148 fd_pipe_wait(kgsl_pipe->p3d, timestamp); [all...] |
kgsl_priv.h | 60 /* list of bo's that have been submitted but timestamp has 65 /* if we are the 2d pipe, and want to wait on a timestamp 82 /* timestamp (per pipe) for bo's in a pipe's pending_list: */ 83 uint32_t timestamp[FD_PIPE_MAX]; member in struct:kgsl_bo 96 int kgsl_pipe_timestamp(struct kgsl_pipe *kgsl_pipe, uint32_t *timestamp); 99 void kgsl_pipe_post_submit(struct kgsl_pipe *pipe, uint32_t timestamp); 100 void kgsl_pipe_process_pending(struct kgsl_pipe *pipe, uint32_t timestamp); 112 void kgsl_bo_set_timestamp(struct kgsl_bo *bo, uint32_t timestamp);
|
msm_kgsl.h | 91 driver. The timestamp fields are volatile because they are written by the 111 /* timestamp id*/ 113 KGSL_TIMESTAMP_CONSUMED = 0x00000001, /* start-of-pipeline timestamp */ 114 KGSL_TIMESTAMP_RETIRED = 0x00000002, /* end-of-pipeline timestamp*/ 228 /* block until the GPU has executed past a given timestamp 232 unsigned int timestamp; member in struct:kgsl_device_waittimestamp 241 unsigned int timestamp; member in struct:kgsl_device_waittimestamp_ctxtid 253 * timestamp is a returned counter value which can be passed to 261 unsigned int timestamp; /*output param */ member in struct:kgsl_ringbuffer_issueibcmds 268 /* read the most recently executed timestamp valu 273 unsigned int timestamp; \/*output param *\/ member in struct:kgsl_cmdstream_readtimestamp 290 unsigned int timestamp; member in struct:kgsl_cmdstream_freememontimestamp 343 unsigned int timestamp; \/*output param *\/ member in struct:kgsl_cmdstream_readtimestamp_ctxtid 353 unsigned int timestamp; member in struct:kgsl_cmdstream_freememontimestamp_ctxtid 486 unsigned int timestamp; \/* Timestamp to trigger event on *\/ member in struct:kgsl_timestamp_event [all...] |
/frameworks/base/services/usage/java/com/android/server/usage/ |
IntervalStats.java | 96 void update(String packageName, long timeStamp, int eventType) { 105 usageStats.mTotalTimeInForeground += timeStamp - usageStats.mLastTimeUsed; 114 usageStats.mLastTimeUsed = timeStamp; 116 usageStats.mLastTimeSystemUsed = timeStamp; 117 usageStats.mEndTimeStamp = timeStamp; 123 endTime = timeStamp; 127 * Updates the last active time for the package. The timestamp uses a timebase that 130 * @param timeStamp 132 void updateBeginIdleTime(String packageName, long timeStamp) { 134 usageStats.mBeginIdleTime = timeStamp; [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
ResendMessageAction.java | 69 long timestamp = System.currentTimeMillis(); local 71 // MMS expects timestamp rounded to nearest second 72 timestamp = 1000 * ((timestamp + 500) / 1000); 76 + "; changed timestamp from " + message.getReceivedTimeStamp() + " to " 77 + timestamp); 81 values.put(MessageColumns.RECEIVED_TIMESTAMP, timestamp); 82 values.put(MessageColumns.SENT_TIMESTAMP, timestamp); 83 values.put(MessageColumns.RETRY_START_TIMESTAMP, timestamp);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3ZslStream.cpp | 43 TimestampFinder(nsecs_t timestamp) : mTimestamp(timestamp) {} 57 * 2) Timestamp is closest to the needle (and lower). 58 * 3) Timestamp is closest to the needle (and higher). 70 // Best result: timestamp is identical 86 // Order i1,i2 so that always i1.timestamp < i2.timestamp 92 // Second best: closest (lower) timestamp 99 // Worst: closest (higher) timestamp 190 nsecs_t timestamp, [all...] |
/system/gatekeeper/ |
gatekeeper.cpp | 48 uint64_t timestamp = GetMillisecondsSinceBoot(); local 60 if (ThrottleRequest(uid, timestamp, &record, throttle_secure, response)) return; 62 if (!IncrementFailureRecord(uid, user_id, timestamp, &record, throttle_secure)) { 122 uint64_t timestamp = GetMillisecondsSinceBoot(); local 134 if (ThrottleRequest(uid, timestamp, &record, throttle_secure, response)) return; 136 if (!IncrementFailureRecord(uid, user_id, timestamp, &record, throttle_secure)) { 150 MintAuthToken(&auth_token_buffer, &auth_token_len, timestamp, 216 uint64_t timestamp, secure_id_t user_id, secure_id_t authenticator_id, 228 token->timestamp = htobe64(timestamp); [all...] |
/frameworks/av/media/libnbaio/ |
AudioStreamOutSink.cpp | 69 status_t AudioStreamOutSink::getNextWriteTimestamp(int64_t *timestamp) { 70 ALOG_ASSERT(timestamp != NULL); 78 return mStream->get_next_write_timestamp(mStream, timestamp); 81 status_t AudioStreamOutSink::getTimestamp(AudioTimestamp& timestamp) 88 int ok = mStream->get_presentation_position(mStream, &position64, ×tamp.mTime); 92 timestamp.mPosition = position64;
|
/hardware/qcom/msm8x27/original-kernel-headers/linux/ |
msm_kgsl.h | 127 driver. The timestamp fields are volatile because they are written by the 147 /* timestamp id*/ 149 KGSL_TIMESTAMP_CONSUMED = 0x00000001, /* start-of-pipeline timestamp */ 150 KGSL_TIMESTAMP_RETIRED = 0x00000002, /* end-of-pipeline timestamp*/ 214 /* block until the GPU has executed past a given timestamp 218 unsigned int timestamp; member in struct:kgsl_device_waittimestamp 227 unsigned int timestamp; member in struct:kgsl_device_waittimestamp_ctxtid 239 * timestamp is a returned counter value which can be passed to 247 unsigned int timestamp; /*output param */ member in struct:kgsl_ringbuffer_issueibcmds 254 /* read the most recently executed timestamp valu 259 unsigned int timestamp; \/*output param *\/ member in struct:kgsl_cmdstream_readtimestamp 276 unsigned int timestamp; member in struct:kgsl_cmdstream_freememontimestamp 328 unsigned int timestamp; \/*output param *\/ member in struct:kgsl_cmdstream_readtimestamp_ctxtid 338 unsigned int timestamp; member in struct:kgsl_cmdstream_freememontimestamp_ctxtid 478 unsigned int timestamp; \/* Timestamp to trigger event on *\/ member in struct:kgsl_timestamp_event [all...] |
/external/chromium-trace/trace-viewer/tracing/tracing/ui/ |
timeline_display_transform_animations.html | 50 takeOverFor: function(existing, timestamp, target) { 53 var remainingTimeOnExisting = timestamp - ( 62 start: function(timestamp, target) { 63 this.startTimeMs = timestamp; 68 tick: function(timestamp, target) { 69 var percentDone = (timestamp - this.startTimeMs) / this.durationMs; 75 return timestamp >= this.startTimeMs + this.durationMs; 140 takeOverFor: function(existingAnimation, timestamp, target) { 144 start: function(timestamp, target) { 145 this.startTimeMs = timestamp; [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
BuildProperties.java | 42 private String timestamp; field in class:BuildProperties 43 // the name of the directory containing the builds, typically <buildType>-<buildType><build date>-<timestamp> 106 timestamp = buildProperties.get("timestamp").toString(); 109 "Value for timestamp not found in monitor.properties"); 205 * Returns the timestamp. 209 return timestamp; 221 * Sets the timestamp. 222 * @param timestamp The timestamp to se [all...] |
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
BluetoothPacketEncoder.java | 44 // timestamp for first message in current packet 56 public void onSend(byte[] msg, int offset, int count, long timestamp) 60 int milliTimestamp = (int)(timestamp / MILLISECOND_NANOS) & MILLISECOND_MASK; 75 // SysEx start byte must be preceded by a timestamp 78 // SysEx continuation packets must not have timestamp byte 81 if (needsTimestamp) bytesNeeded++; // add one for timestamp byte 95 // write new timestamp byte if necessary 97 // timestamp byte with bits 0 - 6 of timestamp 126 // SysEx End command must be preceeded by a timestamp byt [all...] |
/external/chromium-trace/trace-viewer/tracing/tracing/ui/units/ |
time_duration_span_test.html | 17 var timeStamp = tr.ui.units.createTimeDurationSpan(3.14); 18 assert.strictEqual(timeStamp.tagName, 'TR-UI-U-TIME-DURATION-SPAN'); 19 assert.strictEqual(timeStamp.duration, 3.14); 20 assert.strictEqual(timeStamp.ownerDocument, document); 24 var timeStamp = tr.ui.units.createTimeDurationSpan(-273.15, config); 25 assert.strictEqual(timeStamp.tagName, 'TR-UI-U-TIME-DURATION-SPAN'); 26 assert.strictEqual(timeStamp.duration, -273.15); 27 assert.strictEqual(timeStamp.ownerDocument, THIS_DOC);
|
/external/clang/test/Driver/ |
modules.m | 13 // RUN: %clang -fbuild-session-timestamp=1280703457 -### %s 2>&1 | FileCheck -check-prefix=TIMESTAMP_ONLY %s 14 // TIMESTAMP_ONLY: -fbuild-session-timestamp=128 16 // RUN: %clang -fbuild-session-file=%t.build-session-file -fbuild-session-timestamp=123 -### %s 2>&1 | FileCheck -check-prefix=CONFLICT %s 17 // CONFLICT: error: invalid argument '-fbuild-session-file={{.*}}.build-session-file' not allowed with '-fbuild-session-timestamp' 19 // RUN: %clang -fbuild-session-timestamp=123 -fmodules-validate-once-per-build-session -### %s 2>&1 | FileCheck -check-prefix=MODULES_VALIDATE_ONCE %s 20 // MODULES_VALIDATE_ONCE: -fbuild-session-timestamp=123 24 // MODULES_VALIDATE_ONCE_FILE: -fbuild-session-timestamp=128 28 // MODULES_VALIDATE_ONCE_ERR: option '-fmodules-validate-once-per-build-session' requires '-fbuild-session-timestamp=<seconds since Epoch>' or '-fbuild-session-file=<file>'
|
/external/wpa_supplicant_8/hs20/server/ |
sql.txt | 5 timestamp TEXT, 12 timestamp TEXT,
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
ContactInteractionUtil.java | 55 public static String formatDateStringFromTimestamp(long timestamp, Context context) { 56 return formatDateStringFromTimestamp(timestamp, context, Calendar.getInstance()); 60 * Takes in a timestamp and outputs a human legible date. This checks the timestamp against 63 * 1. If the timestamp is today, the time is shown 64 * 2. If the timestamp occurs tomorrow or yesterday, that is displayed 68 public static String formatDateStringFromTimestamp(long timestamp, Context context, 71 interactionCalendar.setTimeInMillis(timestamp);
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
data_builder.c | 337 *ts = sensors.quat.timestamp; 339 if (sensors.quat.timestamp_prev != sensors.quat.timestamp) 343 *ts = sensors.gyro.timestamp; 345 if (sensors.gyro.timestamp_prev != sensors.gyro.timestamp) 349 *ts = sensors.accel.timestamp; 351 if (sensors.accel.timestamp_prev != sensors.accel.timestamp) 355 *ts = sensors.compass.timestamp; 357 if (sensors.compass.timestamp_prev != sensors.compass.timestamp) 367 /** Gets best timestamp and if there is a new piece of data for a 9-axis sensor combination. 381 *ts = sensors.quat.timestamp; 603 inv_time_t timestamp = 0; local [all...] |
/external/chromium-trace/trace-viewer/tracing/tracing/model/ |
kernel_test.html | 62 assert.equal(ctr1.series[0].samples[0].timestamp, 102); 63 assert.equal(ctr1.series[0].samples[1].timestamp, 202); 65 assert.equal(ctr2.series[0].samples[0].timestamp, 302); 66 assert.equal(ctr2.series[0].samples[1].timestamp, 402);
|
/external/chromium-trace/trace-viewer/tracing/tracing/ui/base/ |
animation.html | 49 start: function(timestamp, target) { 57 * @param {Number} timestamp When the animation was stopped. 63 didStopEarly: function(timestamp, target, 70 tick: function(timestamp, target) {
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/ |
build.xml | 27 <property name="timestamp" value="${date}${time}" /> 32 <property name="buildLabel" value="${buildType}-${buildId}-${timestamp}" /> 45 timestamp=${timestamp}
|
/external/ltrace/testsuite/ltrace.minor/ |
time-record.c | 2 Objectives : Verify that Ltrace can record timestamp and spent
|
/external/skia/src/gpu/gl/ |
GrGLTexture.h | 42 const TexParams& getCachedTexParams(GrGpu::ResetTimestamp* timestamp) const { 43 *timestamp = fTexParamsTimestamp; 48 GrGpu::ResetTimestamp timestamp) { 50 fTexParamsTimestamp = timestamp;
|