Home
last modified time | relevance | path

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

12

/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');
117 const slice = trace.sliceEntries(1, -1); constant
118 expect(await slice.findFirstGreaterOrEqualEntry(time9)?.getValue()).toEqual('entry-1');
119 expect(await slice.findFirstGreaterOrEqualEntry(time10)?.getValue()).toEqual('entry-1');
[all …]
Dtraces_test.ts151 const slice = traces.sliceTime(time3, time3); constant
152 expect(await TracesUtils.extractEntries(slice)).toEqual(extractedEntriesEmpty);
156 const slice = traces.sliceTime(); constant
157 expect(await TracesUtils.extractEntries(slice)).toEqual(extractedEntriesFull);
161 const slice = traces.sliceTime(time4, time8); constant
162 expect(await TracesUtils.extractEntries(slice)).toEqual(
171 const slice = traces.sliceTime(time8); constant
172 expect(await TracesUtils.extractEntries(slice)).toEqual(
181 const slice = traces.sliceTime(undefined, time8); constant
182 expect(await TracesUtils.extractEntries(slice)).toEqual(
[all …]
Dtraces.ts38 const slice = new Traces(); constant
40 slice.setTrace(type, trace.sliceTime(start, end));
42 return slice;
46 const slice = new Traces(); constant
48 slice.setTrace(type, trace.sliceFrames(start, end));
50 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/parsers/
Dparser_transitions_wm_test.ts45 expect(timestamps.slice(0, 3)).toEqual(expected);
59 expect(timestamps.slice(0, 3)).toEqual(expected);
Dparser_transitions_shell_test.ts45 expect(timestamps.slice(0, 3)).toEqual(expected);
59 expect(timestamps.slice(0, 3)).toEqual(expected);
Dtraces_parser_transitions_test.ts47 expect(timestamps.slice(0, 3)).toEqual(expected);
61 expect(timestamps.slice(0, 3)).toEqual(expected);
Dtraces_parser_cujs_test.ts44 expect(timestamps.slice(0, 3)).toEqual(expected);
58 expect(timestamps.slice(0, 3)).toEqual(expected);
Dparser_view_capture_test.ts40 expect(parser.getTimestamps(TimestampType.ELAPSED)!.slice(0, 3)).toEqual(expected);
49 expect(parser.getTimestamps(TimestampType.REAL)!.slice(0, 3)).toEqual(expected);
Dparser_transactions_test.ts43 expect(timestamps.slice(0, 3)).toEqual(expected);
56 expect(timestamps.slice(0, 3)).toEqual(expected);
102 expect(timestamps.slice(0, 3)).toEqual(expected);
Dparser_screen_recording_test.ts45 expect(timestamps.slice(0, 3)).toEqual(expected);
58 expect(timestamps.slice(0, 3)).toEqual(expected);
Dparser_accessibility_test.ts39 expect(parser.getTimestamps(TimestampType.ELAPSED)!.slice(0, 3)).toEqual(expected);
48 expect(parser.getTimestamps(TimestampType.REAL)!.slice(0, 3)).toEqual(expected);
Dparser_screen_recording_legacy_test.ts45 expect(timestamps.slice(0, 3)).toEqual(expected);
52 expect(timestamps.slice(timestamps.length - 3, timestamps.length)).toEqual(expected);
Dparser_input_method_clients_test.ts43 expect(parser.getTimestamps(TimestampType.ELAPSED)!.slice(0, 3)).toEqual(expected);
52 expect(parser.getTimestamps(TimestampType.REAL)!.slice(0, 3)).toEqual(expected);
Dparser_protolog_test.ts66 expect(timestamps.slice(0, 3)).toEqual(expected);
78 expect(timestamps.slice(0, 3)).toEqual(expected);
Dparser_window_manager_test.ts40 expect(parser.getTimestamps(TimestampType.ELAPSED)!.slice(0, 3)).toEqual(expected);
49 expect(parser.getTimestamps(TimestampType.REAL)!.slice(0, 3)).toEqual(expected);
Dparser_surface_flinger_test.ts67 expect(parser.getTimestamps(TimestampType.ELAPSED)!.slice(0, 3)).toEqual(expected);
76 expect(parser.getTimestamps(TimestampType.REAL)!.slice(0, 3)).toEqual(expected);
Dparser_eventlog_test.ts47 expect(timestamps.slice(0, 3)).toEqual(expected);
/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/ota_analysis/src/services/
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, [])
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)
/development/tools/otagui/src/components/
DFileList.vue89 .slice(0, deleteIndex)
91 this.modelValue.slice(
99 this.modelValue.slice(1, this.modelValue.length)
/development/tools/otagui/src/services/
DTableService.js12 }).slice(offset, offset + limit);
/development/tools/winscope/src/test/common/
Dfile_impl.ts40 slice(start?: number, end?: number, contentType?: string): Blob { method in FileImpl
/development/tools/winscope/src/test/e2e/
Dcross_tool_protocol_test.ts149 const inputStringStep1 = TIMESTAMP_FROM_WINSCOPE_TO_REMOTE_TOOL.slice(0, -1);
150 const inputStringStep2 = TIMESTAMP_FROM_WINSCOPE_TO_REMOTE_TOOL.slice(-1) + '\r\n';

12