/development/tools/winscope/src/test/unit/ |
D | parser_builder.ts | 29 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 …]
|
D | trace_builder.ts | 38 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);
|
D | traces_utils.ts | 31 const entries = new Map<TraceType, Array<{}>>(); constant 34 entries.set(trace.type, await TraceUtils.extractEntries(trace)); 38 return entries;
|
D | utils.ts | 263 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];
|
D | traces_builder.ts | 26 setEntries(type: TraceType, entries: Array<{}>): TracesBuilder { 28 builder.setEntries(entries);
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
D | DirectoryCategory.java | 21 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/ |
D | presenter_test.ts | 112 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 …]
|
D | viewer_transactions_component_test.ts | 115 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 …]
|
D | presenter.ts | 121 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/ |
D | frame_map.ts | 74 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),
|
D | trace.ts | 223 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 …]
|
D | parser_mock.ts | 28 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/ |
D | abstract_presenter_input_method_test.ts | 43 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];
|
D | ime_utils_test.ts | 23 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)),
|
D | hierarchy_presenter.ts | 104 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()) {
|
D | abstract_hierarchy_viewer_presenter.ts | 206 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/ |
D | AsmAnalyzer.java | 48 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/ |
D | payload_nonab.js | 24 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/ |
D | presenter.ts | 143 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) => {
|
D | ui_data.ts | 22 public entries: Transition[], property in UiData
|
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/ |
D | PhoneMainActivity.java | 108 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/ |
D | AppListViewModel.java | 79 List<AppEntry> entries = new ArrayList<>(); in loadData() local 83 entries.add(entry); in loadData() 86 return entries; in loadData()
|
D | PinnedAppListViewModel.java | 85 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/ |
D | presenter_test.ts | 50 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/ |
D | properties_table_component.ts | 55 objectEntries = Object.entries;
|