Home
last modified time | relevance | path

Searched refs:entries (Results 1 – 25 of 73) sorted by relevance

123

/development/tools/winscope/src/test/unit/
Dparser_builder.ts29 private entries?: T[];
40 setEntries(entries: T[]): this {
41 this.entries = entries;
69 if (!this.timestamps && !this.entries) {
76 this.timestamps = this.createTimestamps(this.entries as T[]);
79 if (!this.entries) {
80 this.entries = this.createEntries(this.timestamps);
83 if (this.entries.length !== this.timestamps.length) {
92 this.entries,
99 private createTimestamps(entries: T[]): Timestamp[] {
[all …]
Dtrace_builder.ts38 private entries?: T[];
54 setEntries(entries: T[]): TraceBuilder<T> {
55 this.entries = entries;
70 if (!this.entries) {
74 this.frameMapBuilder = new FrameMapBuilder(this.entries.length, 1000);
120 if (this.entries) {
121 builder.setEntries(this.entries);
Dtraces_utils.ts31 const entries = new Map<TraceType, Array<{}>>(); constant
34 entries.set(trace.type, await TraceUtils.extractEntries(trace));
38 return entries;
Dutils.ts263 const entries = new Map<TraceType, HierarchyTreeNode>(); constant
264 entries.set(
268 entries.set(
274 entries.set(
278 entries.set(TraceType.SURFACE_FLINGER, surfaceFlingerEntry);
279 entries.set(TraceType.WINDOW_MANAGER, windowManagerEntry);
289 return [entries, secondEntries];
Dtraces_builder.ts26 setEntries(type: TraceType, entries: Array<{}>): TracesBuilder {
28 builder.setEntries(entries);
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DDirectoryCategory.java21 private DirectoryEntry[] entries; field in DirectoryCategory
23 public DirectoryCategory(String name, DirectoryEntry[] entries) { in DirectoryCategory() argument
25 this.entries = entries; in DirectoryCategory()
33 return entries.length; in getEntryCount()
37 return entries[i]; in getEntry()
/development/tools/winscope/src/viewers/viewer_transactions/
Dpresenter_test.ts112 expect(assertDefined(outputUiData).entries.length).toEqual(
128 expect(assertDefined(outputUiData).entries.length).toEqual(
135 assertDefined(outputUiData).entries.map((entry) => entry.transactionId),
142 expect(assertDefined(outputUiData).entries.length).toEqual(
149 assertDefined(outputUiData).entries.map((entry) => entry.vsyncId),
156 assertDefined(outputUiData).entries.map((entry) => entry.vsyncId),
164 new Set(assertDefined(outputUiData).entries.map((entry) => entry.pid)),
171 new Set(assertDefined(outputUiData).entries.map((entry) => entry.pid)),
176 new Set(assertDefined(outputUiData).entries.map((entry) => entry.pid)),
183 new Set(assertDefined(outputUiData).entries.map((entry) => entry.uid)),
[all …]
Dviewer_transactions_component_test.ts115 const allEntries = makeUiData(0).entries;
120 component.uiData.entries = allEntries;
123 component.uiData.entries = allEntries.filter((entry) =>
132 const allEntries = makeUiData(0).entries;
137 component.uiData.entries = allEntries;
140 component.uiData.entries = allEntries.filter((entry) => {
149 const allEntries = makeUiData(0).entries;
152 component.uiData.entries = allEntries;
155 component.uiData.entries = allEntries.filter((entry) => {
163 const allEntries = makeUiData(0).entries;
[all …]
Dpresenter.ts121 this.uiData.entries,
251 const entries = this.allUiDataEntries; constant
253 let filteredEntries = entries;
351 this.uiData.entries,
364 entries: UiDataEntry[],
369 return entries[selectedEntryIndex].propertiesTree;
372 return entries[currentEntryIndex].propertiesTree;
403 const entries: UiDataEntry[] = []; constant
447 entries.push(
469 entries.push(
[all …]
/development/tools/winscope/src/trace/
Dframe_map.ts74 getFramesRange(entries: EntriesRange): FramesRange | undefined {
75 entries = this.clampEntriesRangeToFitBounds(entries);
76 if (entries.start >= entries.end) {
81 entries.start,
84 entries.end - 1,
162 private clampEntriesRangeToFitBounds(entries: EntriesRange): EntriesRange {
164 start: Math.max(entries.start, 0),
165 end: Math.min(entries.end, this.lengthEntries),
Dtrace.ts223 const entries = this.frameMap!.getEntriesRange({
227 return this.createSlice(entries, {start: frame, end: frame + 1});
345 const entries: EntriesRange = {
349 const frames = this.frameMap?.getFramesRange(entries);
350 return this.createSlice(entries, frames);
372 const entries: EntriesRange = {
376 const frames = this.frameMap?.getFramesRange(entries);
377 return this.createSlice(entries, frames);
389 const entries = this.frameMap!.getEntriesRange(frames);
390 return this.createSlice(entries, frames);
[all …]
Dparser_mock.ts28 private readonly entries: T[], property in ParserMock
33 if (timestamps.length !== entries.length) {
43 return this.entries.length;
67 return Promise.resolve(this.entries[index]);
/development/tools/winscope/src/viewers/common/
Dabstract_presenter_input_method_test.ts43 private entries: Map<TraceType, HierarchyTreeNode> | undefined; property in AbstractPresenterInputMethodTest
55 [this.entries, secondEntries] = await UnitTestUtils.getImeTraceEntries();
57 const traceEntries = [assertDefined(this.entries.get(this.imeTraceType))];
70 const sfEntry = this.entries.get(TraceType.SURFACE_FLINGER);
81 const wmEntry = this.entries.get(TraceType.WINDOW_MANAGER);
190 let entries: Map<TraceType, HierarchyTreeNode>;
202 entries = assertDefined(this.entries);
271 .setEntries([assertDefined(entries.get(traceType))])
295 entries = (await UnitTestUtils.getImeTraceEntries())[0];
Dime_utils_test.ts23 const entries = (await UnitTestUtils.getImeTraceEntries())[0]; constant
25 assertDefined(entries.get(TraceType.WINDOW_MANAGER)),
89 const entries = (await UnitTestUtils.getImeTraceEntries())[0]; constant
91 assertDefined(entries.get(TraceType.WINDOW_MANAGER)),
96 assertDefined(entries.get(TraceType.SURFACE_FLINGER)),
Dhierarchy_presenter.ts104 for (const entry of this.currentHierarchyTrees?.entries() ?? []) {
204 entries: Array<TraceEntry<HierarchyTreeNode>>,
217 for (const entry of entries) {
239 if (this.getHierarchyTreeNameStrategy && entries.length > 0) {
240 entries.forEach((entry) => {
269 const firstTrees = Array.from(this.currentHierarchyTrees.entries())[0];
362 for (const [trace, trees] of hierarchyTrees.entries()) {
Dabstract_hierarchy_viewer_presenter.ts206 let entries: Array<TraceEntry<HierarchyTreeNode>> = []; variable
208 entries = this.traces
224 if (entry) entries.push(entry);
228 entries,
233 const hasPreviousEntry = entries.some((e) => e.getIndex() > 0);
/development/tools/mkstubs/src/com/android/mkstubs/
DAsmAnalyzer.java48 Enumeration<? extends ZipEntry> entries = zip.entries(); in parseInputJar() local
50 while (entries.hasMoreElements()) { in parseInputJar()
51 entry = entries.nextElement(); in parseInputJar()
/development/tools/ota_analysis/src/services/
Dpayload_nonab.js24 const /** Array<Entry> */ entries = await this.packedFile.getEntries()
25 for (const entry of entries) {
122 const /** Array<Entry> */ entries = await this.packedFile.getEntries()
124 for (const entry of entries) {
/development/tools/winscope/src/viewers/viewer_transitions/
Dpresenter.ts143 const entries = await Promise.all(entryPromises); constant
146 const transitions = this.makeTransitions(entries);
159 private makeTransitions(entries: PropertyTreeNode[]): Transition[] {
160 return entries.map((transitionNode, index) => {
Dui_data.ts22 public entries: Transition[], property in UiData
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/
DPhoneMainActivity.java108 List<LocationEntry> entries = dataManager.getPoints(params[0]); in showTrack() local
109 if (entries != null && !entries.isEmpty()) { in showTrack()
112 for (LocationEntry entry : entries) { in showTrack()
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DAppListViewModel.java79 List<AppEntry> entries = new ArrayList<>(); in loadData() local
83 entries.add(entry); in loadData()
86 return entries; in loadData()
DPinnedAppListViewModel.java85 List<AppEntry> entries = new ArrayList<>(); in loadData() local
104 entries.add(entry); in loadData()
109 return entries; in loadData()
/development/tools/winscope/src/viewers/viewer_protolog/
Dpresenter_test.ts50 const entries = [ constant
128 time: assertDefined(entries[0].getChildByName('timestamp')),
136 time: assertDefined(entries[1].getChildByName('timestamp')),
144 time: assertDefined(entries[2].getChildByName('timestamp')),
152 .setEntries(entries)
/development/tools/winscope/src/viewers/components/
Dproperties_table_component.ts55 objectEntries = Object.entries;

123