/development/tools/winscope/src/trace/ |
D | timestamp_test.ts | 28 const timestamp = Timestamp.from(TimestampType.REAL, 100n, 500n); constant 29 expect(timestamp.getType()).toBe(TimestampType.REAL); 30 expect(timestamp.getValueNs()).toBe(600n); 34 let timestamp = Timestamp.from(TimestampType.ELAPSED, 100n, 500n); variable 35 expect(timestamp.getType()).toBe(TimestampType.ELAPSED); 36 expect(timestamp.getValueNs()).toBe(100n); 38 timestamp = Timestamp.from(TimestampType.ELAPSED, 100n); 39 expect(timestamp.getType()).toBe(TimestampType.ELAPSED); 40 expect(timestamp.getValueNs()).toBe(100n);
|
D | protolog.ts | 27 timestamp: bigint; property in LogMessage 35 timestamp: bigint 42 this.timestamp = timestamp; 65 let timestamp: bigint; 71 timestamp = realToElapsedTimeOffsetNs + BigInt(proto.elapsedRealtimeNanos); 72 time = TimeUtils.format(new RealTimestamp(timestamp)); 74 timestamp = BigInt(proto.elapsedRealtimeNanos); 75 time = TimeUtils.format(new ElapsedTimestamp(timestamp)); 78 super(text, time, 'INVALID', 'invalid', '', timestamp); 90 let timestamp: bigint; [all …]
|
D | trace_position.ts | 22 static fromTimestamp(timestamp: Timestamp): TracePosition { 23 return new TracePosition(timestamp); 37 this.timestamp.getValueNs() === other.timestamp.getValueNs() && 45 readonly timestamp: Timestamp,
|
/development/tools/winscope/src/app/ |
D | mediator.ts | 79 async (bugreport: File, timestamp?: Timestamp) => { 80 await this.onRemoteBugreportReceived(bugreport, timestamp); 84 this.crossToolProtocol.setOnTimestampReceived(async (timestamp: Timestamp) => { 85 await this.onRemoteTimestampReceived(timestamp); 166 const timestamp = position.timestamp; constant 167 if (timestamp.getType() !== TimestampType.REAL) { 171 ` but Winscope wants to notify timestamp type ${timestamp.getType()}.` 176 this.crossToolProtocol.sendTimestamp(timestamp); 190 private async onRemoteBugreportReceived(bugreport: File, timestamp?: Timestamp) { 193 if (timestamp !== undefined) { [all …]
|
/development/tools/repo_diff/service/repodiff/repositories/ |
D | project.go | 29 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 ×tamp, 73 return timestamp, u, nil 77 timestamp, uid, err := p.GetMostRecentOuterKey() 102 timestamp, 118 AND timestamp = ? 122 timestamp,
|
D | commit.go | 53 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 ×tamp, 93 return timestamp, u, nil 97 timestamp, uid, err := c.GetMostRecentOuterKey() 127 timestamp, 139 AND timestamp = ? 143 timestamp, [all …]
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/ |
D | MidiEventScheduler.java | 40 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()
|
D | MidiFramer.java | 49 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()
|
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/ |
D | MidiEventScheduler.java | 40 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()
|
D | MidiFramer.java | 49 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()
|
/development/tools/repo_diff/service/repodiff/utils/ |
D | time_test.go | 19 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")
|
D | time.go | 14 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/winscope/src/app/components/timeline/ |
D | timeline_component.ts | 435 updateSeekTimestamp(timestamp: Timestamp | undefined) { 436 if (timestamp) { 437 this.seekTracePosition = TracePosition.fromTimestamp(timestamp); 447 new ElapsedTimestamp(this.getCurrentTracePosition().timestamp.getValueNs()), 452 TimeUtils.format(new RealTimestamp(this.getCurrentTracePosition().timestamp.getValueNs())) 455 `${this.getCurrentTracePosition().timestamp.getValueNs()} ns` 533 const timestamp = TimeUtils.parseHumanElapsed(target.value); constant 534 await this.updatePosition(TracePosition.fromTimestamp(timestamp)); 544 const timestamp = TimeUtils.parseHumanReal(target.value); constant 545 await this.updatePosition(TracePosition.fromTimestamp(timestamp)); [all …]
|
D | timeline_component_test.ts | 206 expect(component.timelineData.getCurrentPosition()?.timestamp.getValueNs()).toEqual(100n); 235 expect(component.timelineData.getCurrentPosition()?.timestamp.getValueNs()).toEqual(100n); 262 expect(component.timelineData.getCurrentPosition()?.timestamp.getValueNs()).toEqual(100n); 269 expect(component.timelineData.getCurrentPosition()?.timestamp.getValueNs()).toEqual(110n); 274 expect(component.timelineData.getCurrentPosition()?.timestamp.getValueNs()).toEqual(110n); 279 expect(component.timelineData.getCurrentPosition()?.timestamp.getValueNs()).toEqual(100n); 285 expect(component.timelineData.getCurrentPosition()?.timestamp.getValueNs()).toEqual(110n); 291 expect(component.timelineData.getCurrentPosition()?.timestamp.getValueNs()).toEqual(112n); 303 expect(component.timelineData.getCurrentPosition()?.timestamp.getValueNs()).toEqual(100n); 312 expect(component.timelineData.getCurrentPosition()?.timestamp.getValueNs()).toEqual(105n); [all …]
|
/development/tools/logblame/ |
D | logs.py | 19 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/cross_tool/ |
D | cross_tool_protocol.ts | 50 sendTimestamp(timestamp: RealTimestamp) { 55 const message = new MessageTimestamp(timestamp.getValueNs()); 109 const timestamp = constant 111 await this.onBugreportReceived(message.file, timestamp); 115 const timestamp = new RealTimestamp(message.timestampNs); constant 116 await this.onTimestampReceived(timestamp);
|
/development/tools/winscope/src/parsers/ |
D | parser_transitions_shell.ts | 68 dispatchTime = CrossPlatform.timestamp.fromString( 78 mergeRequestTime = CrossPlatform.timestamp.fromString( 88 mergeTime = CrossPlatform.timestamp.fromString( 98 abortTime = CrossPlatform.timestamp.fromString( 150 return new ElapsedTimestamp(BigInt(decodedEntry.timestamp.elapsedNanos.toString())); 154 return new RealTimestamp(BigInt(decodedEntry.timestamp.unixNanos.toString()));
|
D | abstract_traces_parser.ts | 46 const timestamp = this.getTimestamp(type, entry); constant 47 if (timestamp === undefined) { 51 timestamps.push(timestamp);
|
D | parser_transitions_wm.ts | 44 return new ElapsedTimestamp(BigInt(decodedEntry.timestamp.elapsedNanos.toString())); 48 return new RealTimestamp(BigInt(decodedEntry.timestamp.unixNanos.toString())); 73 createTime = CrossPlatform.timestamp.fromString( 83 sendTime = CrossPlatform.timestamp.fromString( 93 abortTime = CrossPlatform.timestamp.fromString( 103 finishTime = CrossPlatform.timestamp.fromString(
|
D | parser_common_test.ts | 58 expect(BigInt(entry.timestamp.unixNanos.toString())).toEqual(1659107089075566202n); 61 expect(BigInt(entry.timestamp.unixNanos.toString())).toEqual(1659107091700249187n); 83 expect(BigInt(entry.timestamp.elapsedNanos.toString())).toEqual(850254319343n); 86 expect(BigInt(entry.timestamp.elapsedNanos.toString())).toEqual(850782750048n);
|
/development/tools/repo_diff/service/repodiff/mappers/ |
D | mappers.go | 103 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 ×tamp, [all …]
|
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/ |
D | Conversations.java | 65 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/ |
D | ChangedContacts.java | 203 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/ |
D | VoicemailImpl.java | 39 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/samples/browseable/MidiScope/src/com.example.android.midiscope/ |
D | LoggingReceiver.java | 44 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()
|