/development/tools/winscope/src/app/components/ |
D | app_component_test.ts | 74 let htmlElement: HTMLElement; variable 122 htmlElement = fixture.nativeElement; 158 expect(htmlElement.querySelector('.refresh-dumps')).toBeTruthy(); 165 (htmlElement.querySelector('.upload-new') as HTMLButtonElement).click(); 180 (htmlElement.querySelector('.refresh-dumps') as HTMLButtonElement).click(); 270 htmlElement.querySelector('.file-name-input-field'), 273 htmlElement.querySelector('.file-name-input-field input'), 285 htmlElement.querySelector('.shortcuts'), 305 htmlElement.querySelector('.file-name-input-field input'), 308 htmlElement.querySelector('.check-button'), [all …]
|
D | upload_traces_component_test.ts | 34 let htmlElement: HTMLElement; variable 53 htmlElement = fixture.nativeElement; 69 expect(htmlElement.querySelector('.title')?.innerHTML).toContain( 76 const dropbox = assertDefined(htmlElement.querySelector('.drop-box')); 88 assertDefined(htmlElement.querySelector('load-progress')); 94 assertDefined(htmlElement.querySelector('.uploaded-files')); 95 assertDefined(htmlElement.querySelector('.trace-actions-container')); 105 htmlElement.querySelector('.uploaded-files button'), 109 assertDefined(htmlElement.querySelector('.uploaded-files')); 120 htmlElement.querySelector('.uploaded-files button'), [all …]
|
D | adb_proxy_component_test.ts | 31 let htmlElement: HTMLElement; variable 49 htmlElement = fixture.nativeElement; 60 htmlElement.querySelector('.further-adb-info-text')?.innerHTML, 67 expect(htmlElement.querySelector('.adb-info')?.innerHTML).toBe( 70 expect(htmlElement.querySelector('.adb-icon')?.innerHTML).toBe('update'); 76 expect(htmlElement.querySelector('.adb-info')?.innerHTML).toBe( 79 expect(htmlElement.querySelector('.adb-icon')?.innerHTML).toBe('lock'); 86 const button: HTMLButtonElement | null = htmlElement.querySelector( 99 htmlElement.querySelector('.retry'); 111 let button: HTMLButtonElement | null = htmlElement.querySelector('.retry'); [all …]
|
D | trace_config_component_test.ts | 31 let htmlElement: HTMLElement; variable 49 htmlElement = fixture.nativeElement; 83 const box = assertDefined(htmlElement.querySelector('.trace-checkbox')); 91 const box = assertDefined(htmlElement.querySelector('.trace-checkbox')); 97 htmlElement.querySelector('.enable-config-opt'), 103 htmlElement.querySelector('.selection-config-opt'), 115 expect(htmlElement.querySelector('.enable-config')?.innerHTML).toContain( 122 expect(htmlElement.querySelector('.config-selection')?.innerHTML).toContain( 130 expect(htmlElement.querySelector('.config-selection')?.innerHTML).toContain(
|
D | collect_traces_component_test.ts | 42 let htmlElement: HTMLElement; variable 68 htmlElement = fixture.nativeElement; 100 const title = assertDefined(htmlElement.querySelector('.title')); 111 htmlElement.querySelector('.connecting-message'), 122 const setUpAdbEl = assertDefined(htmlElement.querySelector('.set-up-adb')); 133 expect(htmlElement.querySelector('adb-proxy')).toBeTruthy(); 142 const el = assertDefined(htmlElement.querySelector('.devices-connecting')); 154 const el = assertDefined(htmlElement.querySelector('.devices-connecting')); 167 const el = assertDefined(htmlElement.querySelector('.devices-connecting')); 177 const el = assertDefined(htmlElement.querySelector('.devices-connecting')); [all …]
|
/development/tools/winscope/src/viewers/viewer_transactions/ |
D | viewer_transactions.ts | 33 private readonly htmlElement: HTMLElement; property in ViewerTransactions 43 this.htmlElement = document.createElement('viewer-transactions'); 46 (this.htmlElement as any).inputData = data; 49 this.htmlElement.addEventListener( 56 this.htmlElement.addEventListener( 63 this.htmlElement.addEventListener( 70 this.htmlElement.addEventListener( 77 this.htmlElement.addEventListener( 84 this.htmlElement.addEventListener( 91 this.htmlElement.addEventListener( [all …]
|
D | viewer_transactions_component_test.ts | 53 let htmlElement: HTMLElement; variable 80 htmlElement = fixture.nativeElement; 91 expect(htmlElement.querySelector('.entries .filters .pid')).toBeTruthy(); 92 expect(htmlElement.querySelector('.entries .filters .uid')).toBeTruthy(); 93 expect(htmlElement.querySelector('.entries .filters .type')).toBeTruthy(); 94 expect(htmlElement.querySelector('.entries .filters .id')).toBeTruthy(); 98 expect(htmlElement.querySelector('.scroll')).toBeTruthy(); 100 const entry = assertDefined(htmlElement.querySelector('.scroll .entry')); 111 expect(htmlElement.querySelector('.properties-view')).toBeTruthy(); 116 htmlElement.addEventListener( [all …]
|
/development/tools/winscope/src/viewers/components/ |
D | surface_flinger_property_groups_component_test.ts | 37 let htmlElement: HTMLElement; variable 53 htmlElement = fixture.nativeElement; 62 const flags = assertDefined(htmlElement.querySelector('.flags')); 67 const summary = htmlElement.querySelectorAll('.summary').item(0); 74 const summary = htmlElement.querySelectorAll('.summary').item(1); 84 htmlElement.addEventListener(ViewerEvents.HighlightedIdChange, (event) => { 88 htmlElement.querySelector('.summary button'), 96 htmlElement.querySelector('.geometry .left-column'), 109 htmlElement.querySelector('.geometry .right-column'), 118 const sizeDiv = htmlElement.querySelector('.buffer .size'); [all …]
|
D | viewer_input_method_component_test.ts | 39 let htmlElement: HTMLElement; variable 63 htmlElement = fixture.nativeElement; 72 const hierarchyView = htmlElement.querySelector('.hierarchy-view'); 77 const additionalProperties = htmlElement.querySelector( 84 const propertiesView = htmlElement.querySelector('.properties-view'); 89 UnitTestUtils.checkNoCollapsedSectionButtons(htmlElement); 94 htmlElement, 103 htmlElement, 112 htmlElement,
|
D | hierarchy_component_test.ts | 46 let htmlElement: HTMLElement; variable 74 htmlElement = fixture.nativeElement; 102 const title = htmlElement.querySelector('.hierarchy-title'); 107 const viewControls = htmlElement.querySelector('.view-controls'); 109 const button = htmlElement.querySelector('.view-controls .user-option'); 114 const treeView = htmlElement.querySelector('tree-view'); 128 htmlElement.querySelector('.tree-wrapper .subtrees tree-view'), 134 const pinnedNodesDiv = htmlElement.querySelector('.pinned-items'); 139 const pinnedNodeEl = htmlElement.querySelector('.pinned-items tree-node'); 149 htmlElement.addEventListener( [all …]
|
D | properties_component_test.ts | 47 let htmlElement: HTMLElement; variable 77 htmlElement = fixture.nativeElement; 97 const title = htmlElement.querySelector('.properties-title'); 102 const viewControls = htmlElement.querySelector('.view-controls'); 104 const box = htmlElement.querySelector('.view-controls .user-option'); 117 const treeEl = htmlElement.querySelector('tree-view'); 132 htmlElement.addEventListener( 140 htmlElement.querySelector('tree-node'), 149 htmlElement.addEventListener( 156 htmlElement.querySelector('.title-section input'), [all …]
|
D | ime_additional_properties_component_test.ts | 33 let htmlElement: HTMLElement; variable 52 htmlElement = fixture.nativeElement; 53 htmlElement.addEventListener( 57 htmlElement.addEventListener( 61 htmlElement.addEventListener( 73 expect(htmlElement.querySelector('.ime-container')).toBeDefined(); 74 expect(htmlElement.querySelector('.input-method-surface')).toBeDefined(); 79 htmlElement.querySelector('.wm-state-button'), 92 htmlElement.querySelector('.ime-container-button'), 103 htmlElement.querySelector('.input-method-surface-button'), [all …]
|
D | collapsible_section_title_component_test.ts | 26 let htmlElement: HTMLElement; variable 35 htmlElement = fixture.nativeElement; 45 assertDefined(htmlElement.querySelector('button')); 46 const title = assertDefined(htmlElement.querySelector('.mat-title')); 53 htmlElement.querySelector('button'),
|
/development/tools/winscope/src/viewers/viewer_surface_flinger/ |
D | viewer_surface_flinger_component_test.ts | 46 let htmlElement: HTMLElement; variable 78 htmlElement = fixture.nativeElement; 87 const rectsView = htmlElement.querySelector('.rects-view'); 92 const hierarchyView = htmlElement.querySelector('.hierarchy-view'); 97 const propertyGroups = htmlElement.querySelector('.property-groups'); 102 const propertiesView = htmlElement.querySelector('.properties-view'); 107 UnitTestUtils.checkNoCollapsedSectionButtons(htmlElement); 112 htmlElement, 121 htmlElement, 130 htmlElement, [all …]
|
D | viewer_surface_flinger.ts | 33 private readonly htmlElement: HTMLElement; property in ViewerSurfaceFlinger 43 this.htmlElement = document.createElement('viewer-surface-flinger'); 46 (this.htmlElement as any).inputData = uiData; 54 this.presenter.addEventListeners(this.htmlElement); 56 this.htmlElement.addEventListener( 67 this.htmlElement,
|
/development/tools/winscope/src/viewers/viewer_window_manager/ |
D | viewer_window_manager_component_test.ts | 43 let htmlElement: HTMLElement; variable 71 htmlElement = fixture.nativeElement; 79 const rectsView = htmlElement.querySelector('.rects-view'); 84 const hierarchyView = htmlElement.querySelector('.hierarchy-view'); 89 const propertiesView = htmlElement.querySelector('.properties-view'); 94 UnitTestUtils.checkNoCollapsedSectionButtons(htmlElement); 99 htmlElement, 108 htmlElement, 117 htmlElement,
|
/development/tools/winscope/src/viewers/viewer_view_capture/ |
D | viewer_view_capture_component_test.ts | 43 let htmlElement: HTMLElement; variable 71 htmlElement = fixture.nativeElement; 80 const rectsView = htmlElement.querySelector('.rects-view'); 85 const hierarchyView = htmlElement.querySelector('.hierarchy-view'); 90 const propertiesView = htmlElement.querySelector('.properties-view'); 95 UnitTestUtils.checkNoCollapsedSectionButtons(htmlElement); 100 htmlElement, 109 htmlElement, 118 htmlElement,
|
D | viewer_view_capture.ts | 35 private readonly htmlElement: HTMLElement; property in ViewerViewCapture 42 this.htmlElement = document.createElement('viewer-view-capture'); 44 (this.htmlElement as any).inputData = uiData; 51 this.presenter.addEventListeners(this.htmlElement); 53 this.htmlElement.addEventListener( 63 this.htmlElement,
|
/development/tools/winscope/src/viewers/viewer_protolog/ |
D | viewer_protolog.ts | 33 private readonly htmlElement: HTMLElement; property in ViewerProtoLog 39 this.htmlElement = document.createElement('viewer-protolog'); 42 (this.htmlElement as any).inputData = data; 45 this.htmlElement.addEventListener( 51 this.htmlElement.addEventListener( 57 this.htmlElement.addEventListener( 65 this.htmlElement.addEventListener( 73 this.htmlElement.addEventListener(ViewerEvents.LogClicked, (event) => { 76 this.htmlElement.addEventListener( 87 this.htmlElement,
|
D | viewer_protolog_component_test.ts | 47 let htmlElement: HTMLElement; variable 69 htmlElement = fixture.nativeElement; 77 expect(htmlElement.querySelector('.filters .log-level')).toBeTruthy(); 78 expect(htmlElement.querySelector('.filters .tag')).toBeTruthy(); 79 expect(htmlElement.querySelector('.filters .source-file')).toBeTruthy(); 80 expect(htmlElement.querySelector('.filters .text')).toBeTruthy(); 84 expect(htmlElement.querySelector('.scroll-messages')).toBeTruthy(); 89 htmlElement.addEventListener( 106 htmlElement.addEventListener(ViewerEvents.TagsFilterChanged, (event) => { 120 htmlElement.addEventListener( [all …]
|
/development/tools/winscope/src/viewers/viewer_screen_recording/ |
D | viewer_screen_recording_component_test.ts | 32 let htmlElement: HTMLElement; variable 44 htmlElement = fixture.nativeElement; 54 htmlElement.querySelector('.header'), 65 htmlElement.querySelector('.button-minimize'), 68 htmlElement.querySelector('.video-container'), 86 htmlElement.querySelector('.button-minimize'), 89 htmlElement.querySelector('.video-container'), 107 htmlElement.querySelector('.video-container'), 121 htmlElement.querySelector('.video-container'), 129 htmlElement.querySelector('.video-container'),
|
D | viewer_screenshot.ts | 30 private readonly htmlElement: HTMLElement; property in ViewerScreenshot 35 this.htmlElement = document.createElement('viewer-screen-recording'); 39 this.htmlElement, 53 this.htmlElement as unknown as ViewerScreenRecordingComponent 55 (this.htmlElement as unknown as ViewerScreenRecordingComponent).title = 63 this.htmlElement as unknown as ViewerScreenRecordingComponent
|
/development/tools/winscope/src/viewers/common/ |
D | scroll_component_test_utils.ts | 34 let htmlElement: HTMLElement; 38 [fixture, htmlElement, viewport] = await setUpTestEnvironment(); 42 const items = htmlElement.querySelectorAll(`.${itemClassName}`)!; 56 htmlElement.querySelector(`.${itemClassName}[item-id="30"]`), 60 htmlElement.querySelector(`.${itemClassName}[item-id="70"]`), 80 htmlElement.querySelector(`.${itemClassName}[item-id="${i}"]`),
|
/development/tools/winscope/src/viewers/viewer_transitions/ |
D | viewer_transitions.ts | 31 private readonly htmlElement: HTMLElement; property in ViewerTransitions 37 this.htmlElement = document.createElement('viewer-transitions'); 40 (this.htmlElement as any).inputData = data; 43 this.htmlElement.addEventListener( 50 this.htmlElement.addEventListener( 65 this.htmlElement,
|
D | viewer_transitions_component_test.ts | 52 let htmlElement: HTMLElement; variable 72 htmlElement = fixture.nativeElement; 83 expect(htmlElement.querySelector('.scroll')).toBeTruthy(); 85 const entry = assertDefined(htmlElement.querySelector('.scroll .entry')); 92 htmlElement.querySelector('.properties-view .placeholder-text') 100 const entries = htmlElement.querySelectorAll('.entry.table-row'); 104 htmlElement.querySelector('.properties-view'), 155 htmlElement.querySelector('.properties-view'), 202 htmlElement.addEventListener(ViewerEvents.TimestampClick, (event) => { 208 htmlElement.querySelector('.send-time button'), [all …]
|