Home
last modified time | relevance | path

Searched refs:slice (Results 1 – 25 of 72) sorted by relevance

123

/development/tools/winscope/src/trace/
Dtrace_test.ts95 const slice = trace.sliceEntries(1, -1); constant
96 expect(await slice.findClosestEntry(time9)?.getValue()).toEqual('entry-1');
97 expect(await slice.findClosestEntry(time10)?.getValue()).toEqual('entry-1');
98 expect(await slice.findClosestEntry(time11)?.getValue()).toEqual('entry-1');
99 expect(await slice.findClosestEntry(time12)?.getValue()).toEqual('entry-3');
100 expect(await slice.findClosestEntry(time13)?.getValue()).toEqual('entry-3');
101 expect(await slice.findClosestEntry(time14)?.getValue()).toEqual('entry-3');
119 const slice = trace.sliceEntries(1, -1); constant
120 expect(await slice.findFirstGreaterOrEqualEntry(time9)?.getValue()).toEqual(
124 await slice.findFirstGreaterOrEqualEntry(time10)?.getValue(),
[all …]
Dtraces_test.ts243 const slice = traces.sliceTime(time3, time3); constant
244 expect(await TracesUtils.extractEntries(slice)).toEqual(
250 const slice = traces.sliceTime(); constant
251 expect(await TracesUtils.extractEntries(slice)).toEqual(
257 const slice = traces.sliceTime(time4, time8); constant
258 expect(await TracesUtils.extractEntries(slice)).toEqual(
267 const slice = traces.sliceTime(time8); constant
268 expect(await TracesUtils.extractEntries(slice)).toEqual(
277 const slice = traces.sliceTime(undefined, time8); constant
278 expect(await TracesUtils.extractEntries(slice)).toEqual(
[all …]
Dtraces.ts78 const slice = new Traces(); constant
80 slice.addTrace(trace.sliceTime(start, end));
82 return slice;
86 const slice = new Traces(); constant
88 slice.addTrace(trace.sliceFrames(start, end));
90 return slice;
/development/samples/InlineFillService/src/com/example/android/inlinefillservice/
DInlineRequestHelper.java20 import android.app.slice.Slice;
62 final Slice slice = createSlice("Tap to auth response", null, null, null, attribution); in maybeCreateInlineAuthenticationResponse() local
64 return new InlinePresentation(slice, spec, false); in maybeCreateInlineAuthenticationResponse()
71 final Slice slice = createSlice(value, null, null, null, attribution); in createInlineDataset() local
74 return new InlinePresentation(slice, spec, false); in createInlineDataset()
99 final Slice slice = createSlice(null, null, icon, null, attribution); in createInlineAction() local
103 return new InlinePresentation(slice, spec, true); in createInlineAction()
/development/tools/winscope/src/common/
Dtimestamp_utils.ts69 return timestampHuman.slice(0, 10);
76 return timestampHuman.slice(12);
79 return timestampHuman.slice(11);
109 const parts: Array<{value: bigint; unit: string}> = TIME_UNITS.slice()
Dfile_utils.ts32 return filename.slice(lastDot + 1);
38 return name.slice(startIndex);
47 return name.slice(0, lastIndex);
111 const bufferStart = new Uint8Array((await file.arrayBuffer()).slice(0, 2));
Dstring_utils.ts57 for (const token of tokensCapitalized.slice(1)) {
103 return word[0].toUpperCase() + word.slice(1);
Durl_utils.ts21 return fullUrl.slice(0, posLastSlash + 1);
/development/tools/ota_analysis/src/services/
Dpayload.js161 this.buffer.slice(this.cursor, this.cursor + size))
189 this.buffer = await buffer.slice(0, _PAYLOAD_HEADER_SIZE).arrayBuffer()
193 this.buffer.slice(this.cursor, _MAGIC.length))
218 buffer = await buffer.slice(
227 buffer = await buffer.slice(
316 return entry.slice(prefix.length + 1, entry.length)
Dpayload_nonab.js73 for (const line of lines.slice(4)) {
79 op.dstExtents = elements.slice(1).reduce(parseRange, [])
89 op.dstExtents = elements.slice(1).reduce(parseRange, [])
92 op.dstExtents = elements.slice(1).reduce(parseRange, [])
/development/tools/ota_analysis/src/router/
Dindex.js43 const nearestWithTitle = to.matched.slice().reverse().find(r => r.meta && r.meta.title);
46 const nearestWithMeta = to.matched.slice().reverse().find(r => r.meta && r.meta.metaTags);
48 …const previousNearestWithMeta = from.matched.slice().reverse().find(r => r.meta && r.meta.metaTags…
/development/tools/winscope/src/parsers/screen_recording/
Dparser_screen_recording_legacy_test.ts52 expect(timestamps.slice(0, 3)).toEqual(expected);
59 expect(timestamps.slice(timestamps.length - 3, timestamps.length)).toEqual(
/development/tools/otagui/src/components/
DFileList.vue89 .slice(0, deleteIndex)
91 this.modelValue.slice(
99 this.modelValue.slice(1, this.modelValue.length)
/development/tools/winscope/src/parsers/events/
Dparser_eventlog.ts87 return splitLogs.slice(firstIndexOfEventLogTrace);
89 return splitLogs.slice(firstIndexOfEventLogTrace, lastIndexOfEventLogTrace);
/development/tools/winscope/src/parsers/legacy/
Dparsing_utils.ts27 traceBuffer.slice(0, magicNumber.length),
/development/tools/winscope/src/viewers/viewer_view_capture/operations/
Dsimplify_names.ts26 node.setDisplayName(node.name.split('.').slice(-1)[0]);
/development/tools/winscope/src/parsers/transactions/legacy/
Dparser_transactions_test.ts55 expect(timestamps.slice(0, 3)).toEqual(expected);
143 expect(timestamps.slice(0, 3)).toEqual(expected);
/development/tools/winscope/src/viewers/common/operations/
Dsimplify_names.ts31 const className = classParts.slice(-1)[0]; // last element
/development/tools/otagui/src/services/
DTableService.js12 }).slice(offset, offset + limit);
/development/tools/winscope/src/test/e2e/
Dutils.ts130 await E2eTestUtils.checkWinscopeRealTimestamp(timestamp.slice(12));
138 await E2eTestUtils.checkWinscopeRealTimestamp(timestamp.slice(12));
180 const inputStringStep1 = newInput.slice(0, -1);
181 const inputStringStep2 = newInput.slice(-1) + '\r\n';
/development/tools/winscope/src/parsers/input_method/perfetto/
Dparser_input_method_service_test.ts51 expect(assertDefined(parser.getTimestamps()).slice(0, 3)).toEqual(expected);
Dparser_input_method_manager_service_test.ts53 expect(assertDefined(parser.getTimestamps()).slice(0, 3)).toEqual(expected);
/development/tools/winscope/src/viewers/components/
Dviewer_input_method_component.ts122 return this.inputData.hierarchyTrees.slice(1);
/development/tools/winscope/src/app/
Dtrace_file_filter.ts110 .slice(startIndex)
114 return substr.slice(start + 1);
/development/tools/winscope/src/viewers/common/
Dwm_ime_utils.ts143 tasks.push(...rootOrganizedTask.getAllChildren().slice().reverse());
169 const children = task.getAllChildren().slice().reverse();

123