/development/tools/winscope/src/trace/ |
D | trace_test.ts | 95 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 …]
|
D | traces_test.ts | 151 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 …]
|
D | traces.ts | 38 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/ |
D | InlineRequestHelper.java | 20 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/ |
D | parser_transitions_wm_test.ts | 45 expect(timestamps.slice(0, 3)).toEqual(expected); 59 expect(timestamps.slice(0, 3)).toEqual(expected);
|
D | parser_transitions_shell_test.ts | 45 expect(timestamps.slice(0, 3)).toEqual(expected); 59 expect(timestamps.slice(0, 3)).toEqual(expected);
|
D | traces_parser_transitions_test.ts | 47 expect(timestamps.slice(0, 3)).toEqual(expected); 61 expect(timestamps.slice(0, 3)).toEqual(expected);
|
D | traces_parser_cujs_test.ts | 44 expect(timestamps.slice(0, 3)).toEqual(expected); 58 expect(timestamps.slice(0, 3)).toEqual(expected);
|
D | parser_view_capture_test.ts | 40 expect(parser.getTimestamps(TimestampType.ELAPSED)!.slice(0, 3)).toEqual(expected); 49 expect(parser.getTimestamps(TimestampType.REAL)!.slice(0, 3)).toEqual(expected);
|
D | parser_transactions_test.ts | 43 expect(timestamps.slice(0, 3)).toEqual(expected); 56 expect(timestamps.slice(0, 3)).toEqual(expected); 102 expect(timestamps.slice(0, 3)).toEqual(expected);
|
D | parser_screen_recording_test.ts | 45 expect(timestamps.slice(0, 3)).toEqual(expected); 58 expect(timestamps.slice(0, 3)).toEqual(expected);
|
D | parser_accessibility_test.ts | 39 expect(parser.getTimestamps(TimestampType.ELAPSED)!.slice(0, 3)).toEqual(expected); 48 expect(parser.getTimestamps(TimestampType.REAL)!.slice(0, 3)).toEqual(expected);
|
D | parser_screen_recording_legacy_test.ts | 45 expect(timestamps.slice(0, 3)).toEqual(expected); 52 expect(timestamps.slice(timestamps.length - 3, timestamps.length)).toEqual(expected);
|
D | parser_input_method_clients_test.ts | 43 expect(parser.getTimestamps(TimestampType.ELAPSED)!.slice(0, 3)).toEqual(expected); 52 expect(parser.getTimestamps(TimestampType.REAL)!.slice(0, 3)).toEqual(expected);
|
D | parser_protolog_test.ts | 66 expect(timestamps.slice(0, 3)).toEqual(expected); 78 expect(timestamps.slice(0, 3)).toEqual(expected);
|
D | parser_window_manager_test.ts | 40 expect(parser.getTimestamps(TimestampType.ELAPSED)!.slice(0, 3)).toEqual(expected); 49 expect(parser.getTimestamps(TimestampType.REAL)!.slice(0, 3)).toEqual(expected);
|
D | parser_surface_flinger_test.ts | 67 expect(parser.getTimestamps(TimestampType.ELAPSED)!.slice(0, 3)).toEqual(expected); 76 expect(parser.getTimestamps(TimestampType.REAL)!.slice(0, 3)).toEqual(expected);
|
D | parser_eventlog_test.ts | 47 expect(timestamps.slice(0, 3)).toEqual(expected);
|
/development/tools/ota_analysis/src/router/ |
D | index.js | 43 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/ |
D | payload_nonab.js | 73 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, [])
|
D | payload.js | 161 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/ |
D | FileList.vue | 89 .slice(0, deleteIndex) 91 this.modelValue.slice( 99 this.modelValue.slice(1, this.modelValue.length)
|
/development/tools/otagui/src/services/ |
D | TableService.js | 12 }).slice(offset, offset + limit);
|
/development/tools/winscope/src/test/common/ |
D | file_impl.ts | 40 slice(start?: number, end?: number, contentType?: string): Blob { method in FileImpl
|
/development/tools/winscope/src/test/e2e/ |
D | cross_tool_protocol_test.ts | 149 const inputStringStep1 = TIMESTAMP_FROM_WINSCOPE_TO_REMOTE_TOOL.slice(0, -1); 150 const inputStringStep2 = TIMESTAMP_FROM_WINSCOPE_TO_REMOTE_TOOL.slice(-1) + '\r\n';
|