Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 – 25 of 49) sorted by relevance

12

/development/tools/winscope/spec/
DTagErrorSpec.js17 expect(data.entries[0].timestamp.toString()).toEqual('159979677861');
18 expect(data.entries[1].timestamp.toString()).toEqual('161268519083');
19 expect(data.entries[2].timestamp.toString()).toEqual('161126718496');
20 expect(data.entries[3].timestamp.toString()).toEqual('161613497398');
21 expect(data.entries[4].timestamp.toString()).toEqual('161227062777');
22 expect(data.entries[5].timestamp.toString()).toEqual('161268519083');
23 expect(data.entries[6].timestamp.toString()).toEqual('161825945076');
24 expect(data.entries[7].timestamp.toString()).toEqual('162261072567');
50 expect(tagTrace.entries[0].timestamp.toString()).toEqual('280186737540384');
51 expect(tagTrace.entries[1].timestamp.toString()).toEqual('280187243649340');
[all …]
/development/tools/repo_diff/service/repodiff/repositories/
Dproject.go29 timestamp,
52 var timestamp int64
55 …`SELECT timestamp, uuid FROM project_differential WHERE upstream_target_id = ? AND downstream_targ…
56 …SELECT MAX(timestamp) FROM project_differential WHERE upstream_target_id = ? AND downstream_target…
63 &timestamp,
73 return timestamp, u, nil
77 timestamp, uid, err := p.GetMostRecentOuterKey()
102 timestamp,
118 AND timestamp = ?
122 timestamp,
Dcommit.go53 timestamp,
72 var timestamp int64
75 …`SELECT timestamp, uuid FROM project_commit WHERE upstream_target_id = ? AND downstream_target_id …
76 …SELECT MAX(timestamp) FROM project_commit WHERE upstream_target_id = ? AND downstream_target_id = ?
83 &timestamp,
93 return timestamp, u, nil
97 timestamp, uid, err := c.GetMostRecentOuterKey()
127 timestamp,
139 AND timestamp = ?
143 timestamp,
[all …]
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DMidiEventScheduler.java40 public void onSend(byte[] msg, int offset, int count, long timestamp) in onSend() argument
42 MidiEvent event = createScheduledEvent(msg, offset, count, timestamp); in onSend()
58 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { in MidiEvent() argument
59 super(timestamp); in MidiEvent()
79 long timestamp) { in createScheduledEvent() argument
82 event = new MidiEvent(msg, offset, count, timestamp); in createScheduledEvent()
90 event.setTimestamp(timestamp); in createScheduledEvent()
DMidiFramer.java49 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
70 offset - sysExStartOffset + 1, timestamp); in onSend()
84 offset - sysExStartOffset, timestamp); in onSend()
87 mReceiver.send(data, offset, 1, timestamp); in onSend()
96 mReceiver.send(mBuffer, 0, mCount, timestamp); in onSend()
108 offset - sysExStartOffset, timestamp); in onSend()
DEventScheduler.java100 public SchedulableEvent(long timestamp) { in SchedulableEvent() argument
101 mTimestamp = timestamp; in SchedulableEvent()
115 public void setTimestamp(long timestamp) { in setTimestamp() argument
116 mTimestamp = timestamp; in setTimestamp()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DMidiEventScheduler.java40 public void onSend(byte[] msg, int offset, int count, long timestamp) in onSend() argument
42 MidiEvent event = createScheduledEvent(msg, offset, count, timestamp); in onSend()
58 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { in MidiEvent() argument
59 super(timestamp); in MidiEvent()
79 long timestamp) { in createScheduledEvent() argument
82 event = new MidiEvent(msg, offset, count, timestamp); in createScheduledEvent()
90 event.setTimestamp(timestamp); in createScheduledEvent()
DMidiFramer.java49 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
70 offset - sysExStartOffset + 1, timestamp); in onSend()
84 offset - sysExStartOffset, timestamp); in onSend()
87 mReceiver.send(data, offset, 1, timestamp); in onSend()
96 mReceiver.send(mBuffer, 0, mCount, timestamp); in onSend()
108 offset - sysExStartOffset, timestamp); in onSend()
DEventScheduler.java100 public SchedulableEvent(long timestamp) { in SchedulableEvent() argument
101 mTimestamp = timestamp; in SchedulableEvent()
115 public void setTimestamp(long timestamp) { in setTimestamp() argument
116 mTimestamp = timestamp; in setTimestamp()
/development/tools/repo_diff/service/repodiff/utils/
Dtime_test.go19 var timestamp ent.RepoTimestamp = 1519322647
20 assert.Equal(t, "2018-02-22", TimestampToDate(timestamp), "Date conversion")
24 var timestamp ent.RepoTimestamp = 1519322647
25 assert.Equal(t, "2018022210", TimestampToDataStudioDatetime(timestamp), "Datetime conversion")
Dtime.go14 func TimestampToDate(timestamp ent.RepoTimestamp) string {
15 year, month, day := t.Unix(int64(timestamp), 0).Date()
20 func TimestampToDataStudioDatetime(timestamp ent.RepoTimestamp) string {
21 asTime := t.Unix(int64(timestamp), 0)
/development/tools/logblame/
Dlogs.py19 def __init__(self, buf=None, timestamp=None, uid=None, pid=None, tid=None, level=None, argument
22 self.timestamp = timestamp
32 return "{%s} {%s} {%s} {%s} {%s} {%s}/{%s}: {%s}" % (self.buf, self.timestamp, self.uid,
38 and self.timestamp == other.timestamp
48 logLine = LogLine(self.buf, self.timestamp, self.uid, self.pid, self.tid, self.level,
68 clone.timestamp = logLine.timestamp
80 timestamp = None
127 timestamp=m.group(1),
145 timestamp=m.group(1),
/development/tools/winscope/src/
Dmain.js53 let timestamp = Infinity;
55 if (file.timeline[0] && file.timeline[0] < timestamp) {
56 timestamp = file.timeline[0];
60 return timestamp === Infinity ? undefined : timestamp;
121 setCurrentTimestamp(state, timestamp) { argument
122 state.currentTimestamp = timestamp;
265 const timestamp = findSmallestTimestamp(files);
266 if (timestamp !== undefined) {
267 context.commit('setCurrentTimestamp', timestamp);
270 updateTimelineTime(context, timestamp) { argument
[all …]
Dtransform_transaction.js43 const timestamp = entry.timeStamp;
44 const time = nanos_to_string(timestamp);
58 timestamp, property
71 timestamp, property
Dtransform_protolog.js56 return a.timestamp - b.timestamp;
/development/tools/winscope/src/traces/
DProtoLog.ts45 timestamp: Number; property in LogMessage
47 constructor({ text, time, tag, level, at, timestamp }) {
53 this.timestamp = timestamp;
69 timestamp: entry.elapsedRealtimeNanos,
82 timestamp: entry.elapsedRealtimeNanos,
/development/tools/repo_diff/service/repodiff/mappers/
Dmappers.go103 func diffRowToPersistCols(d e.AnalyzedDiffRow, uuidBytes string, timestamp e.RepoTimestamp, rowInde…
105 timestamp,
120 func commitRowToPersistCols(c e.AnalyzedCommitRow, uuidBytes string, timestamp e.RepoTimestamp, row…
122 timestamp,
133 func DiffRowsToPersistCols(diffRows []e.AnalyzedDiffRow, timestamp e.RepoTimestamp) [][]interface{}…
141 timestamp,
213 func CommitRowsToPersistCols(commitRows []e.AnalyzedCommitRow, timestamp e.RepoTimestamp) [][]inter…
221 timestamp,
254 var timestamp e.RepoTimestamp
256 &timestamp,
[all …]
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
DConversations.java65 private final long timestamp; field in Conversations.Conversation
72 this.timestamp = System.currentTimeMillis(); in Conversation()
88 return timestamp; in getTimestamp()
95 ", timestamp=" + timestamp + "]"; in toString()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DChangedContacts.java203 long timestamp = 0; in onLoadFinished() local
215 timestamp = data.getLong(data.getColumnIndex( in onLoadFinished()
219 if (timestamp > 0) { in onLoadFinished()
220 saveLastTimestamp(timestamp, PREF_KEY_CHANGE); in onLoadFinished()
221 mChangeButton.setText("Changed since " + timestamp); in onLoadFinished()
229 timestamp = data.getLong(data.getColumnIndex( in onLoadFinished()
233 if (timestamp > 0) { in onLoadFinished()
234 saveLastTimestamp(timestamp, PREF_KEY_DELETE); in onLoadFinished()
235 mDeleteButton.setText("Deleted since " + timestamp); in onLoadFinished()
296 String timestamp = cursor.getString(cursor.getColumnIndex( in bindView() local
[all …]
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
DVoicemailImpl.java39 Long timestamp, in VoicemailImpl() argument
51 mTimestamp = timestamp; in VoicemailImpl()
64 public static Builder createForInsertion(long timestamp, String number) { in createForInsertion() argument
65 return new Builder().setNumber(number).setTimestamp(timestamp); in createForInsertion()
112 public Builder setTimestamp(long timestamp) { in setTimestamp() argument
113 mBuilderTimestamp = timestamp; in setTimestamp()
/development/tools/winscope/src/flickerlib/tags/
DTagState.ts20 TagState.fromProto = function (timestamp: number, protos: any[]): TagState {
22 const state = new TagState(`${timestamp}`, tags);
/development/tools/winscope/src/flickerlib/errors/
DErrorState.ts20 ErrorState.fromProto = function (protos: any[], timestamp: number): ErrorState {
22 const state = new ErrorState(errors, `${timestamp}`);
/development/samples/browseable/MidiScope/src/com.example.android.midiscope/
DLoggingReceiver.java44 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
47 if (timestamp == 0) { in onSend()
50 long monoTime = timestamp - mStartTime; in onSend()
/development/tools/winscope/src/flickerlib/layers/
DLayerTraceEntry.ts22 timestamp: number, hwcBlob: string, where: string = ''): LayerTraceEntry {
25 const builder = new LayerTraceEntryBuilder(timestamp, layers, displays, hwcBlob, where);
36 entry.timestampMs = entry.timestamp.toString()
/development/tools/winscope/src/mixins/
DTimeline.js152 const startTimes = id.filter(tag => tag.isStartTag).map(tag => tag.timestamp);
153 const endTimes = id.filter(tag => !tag.isStartTag).map(tag => tag.timestamp);
203 error => ({ pos: this.position(error.timestamp), ts: error.timestamp })
348 var timestamp = parseInt(this.timeline[clickedOnTsIndex]); variable
353 timestamp = parseInt(this.timeline[0])
355 this.$store.dispatch('updateTimelineTime', timestamp);

12