/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'); 119 const slice = trace.sliceEntries(1, -1); constant 120 expect(await slice.findFirstGreaterOrEqualEntry(time9)?.getValue()).toEqual( 124 await slice.findFirstGreaterOrEqualEntry(time10)?.getValue(), [all …]
|
D | traces_test.ts | 243 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 …]
|
D | traces.ts | 78 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/ |
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/common/ |
D | timestamp_utils.ts | 69 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()
|
D | file_utils.ts | 32 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));
|
D | string_utils.ts | 57 for (const token of tokensCapitalized.slice(1)) { 103 return word[0].toUpperCase() + word.slice(1);
|
D | url_utils.ts | 21 return fullUrl.slice(0, posLastSlash + 1);
|
/development/tools/ota_analysis/src/services/ |
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)
|
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, [])
|
/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/winscope/src/parsers/screen_recording/ |
D | parser_screen_recording_legacy_test.ts | 52 expect(timestamps.slice(0, 3)).toEqual(expected); 59 expect(timestamps.slice(timestamps.length - 3, timestamps.length)).toEqual(
|
/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/winscope/src/parsers/events/ |
D | parser_eventlog.ts | 87 return splitLogs.slice(firstIndexOfEventLogTrace); 89 return splitLogs.slice(firstIndexOfEventLogTrace, lastIndexOfEventLogTrace);
|
/development/tools/winscope/src/parsers/legacy/ |
D | parsing_utils.ts | 27 traceBuffer.slice(0, magicNumber.length),
|
/development/tools/winscope/src/viewers/viewer_view_capture/operations/ |
D | simplify_names.ts | 26 node.setDisplayName(node.name.split('.').slice(-1)[0]);
|
/development/tools/winscope/src/parsers/transactions/legacy/ |
D | parser_transactions_test.ts | 55 expect(timestamps.slice(0, 3)).toEqual(expected); 143 expect(timestamps.slice(0, 3)).toEqual(expected);
|
/development/tools/winscope/src/viewers/common/operations/ |
D | simplify_names.ts | 31 const className = classParts.slice(-1)[0]; // last element
|
/development/tools/otagui/src/services/ |
D | TableService.js | 12 }).slice(offset, offset + limit);
|
/development/tools/winscope/src/test/e2e/ |
D | utils.ts | 130 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/ |
D | parser_input_method_service_test.ts | 51 expect(assertDefined(parser.getTimestamps()).slice(0, 3)).toEqual(expected);
|
D | parser_input_method_manager_service_test.ts | 53 expect(assertDefined(parser.getTimestamps()).slice(0, 3)).toEqual(expected);
|
/development/tools/winscope/src/viewers/components/ |
D | viewer_input_method_component.ts | 122 return this.inputData.hierarchyTrees.slice(1);
|
/development/tools/winscope/src/app/ |
D | trace_file_filter.ts | 110 .slice(startIndex) 114 return substr.slice(start + 1);
|
/development/tools/winscope/src/viewers/common/ |
D | wm_ime_utils.ts | 143 tasks.push(...rootOrganizedTask.getAllChildren().slice().reverse()); 169 const children = task.getAllChildren().slice().reverse();
|