| /developtools/hdc/ |
| D | README_zh.md | 1 # HDC-OpenHarmony设备连接器<a name="ZH-CN_TOPIC_0000001149090043"></a> 3 - [HDC-OpenHarmony设备连接器<a name="ZH-CN_TOPIC_0000001149090043"></a>](#) 4 - [简介<a name="section662115419449"></a>](#简介) 5 - [架构<a name="section15908143623714"></a>](#架构) 6 - [目录<a name="section161941989596"></a>](#目录) 7 - [pc端编译说明<a name="section129654513262"></a>](#pc端编译说明) 8 - [pc端获取说明<a name="section129654513263"></a>](#pc端获取说明) 9 - [Linux端USB设备权限说明<a name="section129654513264"></a>](#linux端usb设备权限说明) 10 - [命令帮助<a name="section129654513265"></a>](#命令帮助) 11 - [使用问题自查说明<a name="section1371113476307"></a>](#使用问题自查说明) [all …]
|
| D | README.md | 1 # HDC-OpenHarmony Device Connector<a name="EN-US_TOPIC_0000001149090043"></a> 3 - [HDC-OpenHarmony Device Connector<a name="EN-US_TOPIC_0000001149090043"></a>](#hdc-OpenHarmony-De… 4 - [Introduction<a name="section662115419449"></a>](#introduction) 5 - [Architecture<a name="section15908143623714"></a>](#architecture) 6 - [Table of Contents<a name="section161941989596"></a>](#table-of-contents) 7 …- [PC-side compilation instructions<a name="section129654513262"></a>](#pc-side-compilation-instru… 8 - [Getting instructions on pc<a name="section129654513263"></a>](#getting-instructions-on-pc) 9 - [More help and docs<a name="section129654513264"></a>](#more-help-and-docs) 11 ## Introduction<a name="section662115419449"></a> 13 HDC (OpenHarmony Device Connector) is a command-line tool for developers to connect and debug the d… [all …]
|
| /developtools/profiler/ |
| D | README_zh.md | 1 # 性能调优组件<a name="ZH-CN_TOPIC_0000001149491319"></a> 23 ## 简介<a name="section6874544183112"></a> 29 ## 架构图<a name="section1514713331342"></a> 33 ## 目录<a name="section1742612449345"></a> 72 ## 说明<a name="section2165102016359"></a> 76 ### 接口说明<a name="section558917318367"></a> 84 <a name="table214mcpsimp"></a> 85 …idth="30%" id="mcps1.2.4.1.1"><p id="p223mcpsimp"><a name="p223mcpsimp"></a><a name="p223mcpsimp">… 87 …00000003%" id="mcps1.2.4.1.2"><p id="p225mcpsimp"><a name="p225mcpsimp"></a><a name="p225mcpsimp">… 89 …h="39.98%" id="mcps1.2.4.1.3"><p id="p227mcpsimp"><a name="p227mcpsimp"></a><a name="p227mcpsimp">… [all …]
|
| /developtools/smartperf_host/ide/src/base-ui/tabs/ |
| D | lit-tabs.ts | 120 Array.from(items).forEach((a, index) => { 122 this.tabPos[a.dataset.key] = { 124 width: a.offsetWidth, 125 height: a.offsetHeight, 126 left: a.offsetLeft, 127 top: a.offsetTop, 128 label: a.textContent, 174 panes.forEach((a) => { 175 if (a.key === this.activekey) { 176 a.style.display = 'block'; [all …]
|
| /developtools/smartperf_host/ide/src/trace/component/trace/sheet/vmtracker/ |
| D | TabPaneVmTrackerShmSelection.ts | 64 this.shmData = result.sort((a, b) => b.size - a.size); 87 private compareValues(a: any, b: any, sort: number): number { 89 return a > b ? 1 : a < b ? -1 : 0; 91 return a < b ? 1 : a > b ? -1 : 0; 96 const comparisonFunctions: { [key: string]: (a: any, b: any) => number } = { 97 'ts': (a, b) => this.compareValues(a.startNS, b.startNS, sort), 98 'fd': (a, b) => this.compareValues(a.fd, b.fd, sort), 99 'sizeStr': (a, b) => this.compareValues(a.size, b.size, sort), 100 'adj': (a, b) => this.compareValues(a.adj, b.adj, sort), 101 'name': (a, b) => this.compareValues(a.name, b.name, sort), [all …]
|
| D | TabPaneDmaSelectVmTracker.ts | 134 private compareValues(a: any, b: any, sort: number): number { 136 return a > b ? 1 : a < b ? -1 : 0; 138 return a < b ? 1 : a > b ? -1 : 0; 143 const comparisonFunctions: { [key: string]: (a: any, b: any) => number } = { 144 'startNs': (a, b) => this.compareValues(a.startNs, b.startNs, sort), 145 'expTaskComm': (a, b) => this.compareValues(`${a.expTaskComm}`, `${b.expTaskComm}`, sort), 146 'fd': (a, b) => this.compareValues(a.fd, b.fd, sort), 147 'size': (a, b) => this.compareValues(a.size, b.size, sort), 148 'ino': (a, b) => this.compareValues(a.ino, b.ino, sort), 149 'expPid': (a, b) => this.compareValues(a.expPid, b.expPid, sort), [all …]
|
| /developtools/smartperf_host/ide/src/base-ui/select/ |
| D | LitSelect.ts | 246 els.forEach((a: any) => (a.style.display = 'flex')); 257 els.forEach((a: any) => { 258 let value = a.getAttribute('value'); 261 a.textContent.toLowerCase().indexOf(ev.target.value.toLowerCase()) !== -1 263 a.style.display = 'flex'; 265 a.style.display = 'none'; 274 this.selectMultipleRootEl.childNodes.forEach((a: any) => { 275 if (a.tagName === 'DIV') { 276 delNodes.push(a); 287 this.querySelectorAll('lit-select-option').forEach((a) => a.removeAttribute('selected')); [all …]
|
| D | LitSelectV.ts | 189 options.filter((a: LitSelectOption) => { 190 if (a.textContent!.indexOf(this.selectVSearchInputEl!.value) <= -1) { 191 a.style.display = 'none'; 193 a.style.display = 'flex'; 237 this.shadowRoot?.querySelectorAll('lit-select-option').forEach((a) => { 238 a.setAttribute('check', ''); 239 a.addEventListener('onSelected', (e: any) => { 240 if (a.hasAttribute('selected')) { 241 let number = this.showItems.indexOf(a.textContent!); 248 a.removeAttribute('selected'); [all …]
|
| D | LitAllocationSelect.ts | 241 …let filter = [...this.shadowRoot!.querySelectorAll<HTMLDivElement>('.option')].filter((a: HTMLDivE… 242 if (a.textContent!.indexOf(this.selectAllocationInputEl!.value) <= -1) { 243 a.style.display = 'none'; 245 a.style.display = 'block'; 251 this.shadowRoot?.querySelectorAll('.option').forEach((a) => { 252 a.addEventListener('mousedown', (e) => { 253 a.dispatchEvent( 257 text: a.textContent, 262 a.addEventListener('onSelected', (e: any) => {
|
| /developtools/hiperf/test/unittest/common/native/ |
| D | report_test.cpp | 99 ReportItemCallFrame a("a", 0x0, "aa", 0, 0); variable 108 EXPECT_EQ(a == a, true); 109 EXPECT_EQ(a != a, false); 110 EXPECT_EQ(a == aDuplicated, true); 111 EXPECT_EQ(a == a2, false); 112 EXPECT_EQ(a == aDiffAddr, false); 113 EXPECT_EQ(a == aDiffEvent, true); 114 EXPECT_EQ(a == aDiffSelfEvent, true); 115 EXPECT_EQ(a == aDiffDso, false); 116 EXPECT_EQ(a == b, false); [all …]
|
| D | perf_file_format_test.cpp | 32 static void CompareVecSymFile(const std::vector<SymbolFileStruct> &a, 35 static void CompareEventDesc(const std::vector<AttrWithId> &a, 108 void PerfFileFormatTest::CompareVecSymFile(const std::vector<SymbolFileStruct> &a, in CompareVecSymFile() argument 111 ASSERT_EQ(a.size(), b.size()); in CompareVecSymFile() 112 for (size_t i = 0; i < a.size(); i++) { in CompareVecSymFile() 113 ASSERT_EQ(a[i].filePath_, b[i].filePath_); in CompareVecSymFile() 114 ASSERT_EQ(a[i].symbolType_, b[i].symbolType_); in CompareVecSymFile() 115 ASSERT_EQ(a[i].textExecVaddr_, b[i].textExecVaddr_); in CompareVecSymFile() 116 ASSERT_EQ(a[i].textExecVaddrFileOffset_, b[i].textExecVaddrFileOffset_); in CompareVecSymFile() 117 ASSERT_EQ(a[i].buildId_, b[i].buildId_); in CompareVecSymFile() [all …]
|
| /developtools/profiler/device/plugins/ftrace_plugin/src/ |
| D | kernel_symbols_parser.cpp | 46 bool KernelSymbolsParser::IsValidTextSymbol(const KernelSymbol& a) in IsValidTextSymbol() argument 48 if (a.addr == 0 || a.name.empty()) { in IsValidTextSymbol() 51 if (a.name[0] == '$') { in IsValidTextSymbol() 54 if (a.type != 't' && a.type != 'T') { in IsValidTextSymbol() 60 bool KernelSymbolsParser::CompareSymbolInfo(const KernelSymbol& a, const KernelSymbol& b) in CompareSymbolInfo() argument 62 if (a.addr != b.addr) { in CompareSymbolInfo() 63 return a.addr < b.addr; in CompareSymbolInfo() 65 if (a.name != b.name) { in CompareSymbolInfo() 66 return a.name < b.name; in CompareSymbolInfo() 68 return a.type < b.type; in CompareSymbolInfo()
|
| /developtools/bytrace/ |
| D | README_zh.md | 1 # bytrace组件<a name="ZH-CN_TOPIC_0000001102209942"></a> 9 ## 简介<a name="section152771918494"></a> 16 ## 架构图<a name="section6808195518497"></a> 20 ## 目录<a name="section1610792125019"></a> 34 ## 说明<a name="section18684185975017"></a> 92 ## 相关仓<a name="section1849151125618"></a>
|
| D | README.md | 1 # ByTrace<a name="EN-US_TOPIC_0000001102209942"></a> 9 ## Introduction<a name="section152771918494"></a> 11 ByTrace is a tool for you to trace processes and monitor performance. It encapsulates and extends t… 14 …a user-space or kernel-space label you want to view (run the **bytrace -l** command to query all t… 16 ## Architecture<a name="section6808195518497"></a> 20 ## Directory Structure<a name="section1610792125019"></a> 34 ## Usage<a name="section18684185975017"></a> 45 | --trace_clock clock | Sets the type of the clock for adding a timestamp to a trace, which can be … 47 | --trace_dump | Dumps traced data to a specified position (the default position is the console). | 48 | --trace_finish | Stops capturing traces and dumps traced data to a specified position (the defaul… [all …]
|
| /developtools/smartperf_host/ide/src/base-ui/tree/ |
| D | LitTree.ts | 85 v.forEach((a) => { 86 if (!a.children) { 87 a.children = new Proxy([], handler); 89 a.children = new Proxy(a.children, handler); 90 setProxy(a.children || []); 141 …rray.from(this.shadowRoot!.querySelectorAll('lit-tree-node[checked]')).map((a: any) => a.data.key); 145 …rn Array.from(this.shadowRoot!.querySelectorAll('lit-tree-node[checked]')).map((a: any) => a.data); 180 array.forEach((a:TreeItemData) => { 183 node.title = a.title; 184 node.setAttribute('key', a.key); [all …]
|
| /developtools/hiperf/include/ |
| D | report.h | 62 static int CompareSortingEventCount(const ReportItemCallFrame &a, const ReportItemCallFrame &b) in CompareSortingEventCount() argument 64 return a.eventCount_ > b.eventCount_; in CompareSortingEventCount() 174 static int CompareEventCount(const ReportItem &a, const ReportItem &b) in CompareEventCount() argument 176 if (a.eventCount_ != b.eventCount_) { in CompareEventCount() 177 return (a.eventCount_ > b.eventCount_) ? 1 : -1; in CompareEventCount() 183 static int CompareSortingEventCount(const ReportItem &a, const ReportItem &b) in CompareSortingEventCount() argument 185 return a.eventCount_ > b.eventCount_; in CompareSortingEventCount() 188 static const std::string GetEventCount(const ReportItem &a, size_t len, in GetEventCount() argument 191 return StringPrintf(format.c_str(), len, a.eventCount_); in GetEventCount() 195 static int ComparePid(const ReportItem &a, const ReportItem &b) in ComparePid() argument [all …]
|
| /developtools/ace_ets2bundle/compiler/codegen/ |
| D | codegen_ets.js | 15 …a="Expected a function",i="__lodash_hash_undefined__",s="__lodash_placeholder__",p=32,l=128,c=1/0,… argument
|
| /developtools/smartperf_host/patches/ |
| D | productdefine_common.patch | 15 diff --git a/inherit/default.json b/inherit/default.json 17 --- a/inherit/default.json 30 diff --git a/inherit/ipcamera.json b/inherit/ipcamera.json 32 --- a/inherit/ipcamera.json 45 diff --git a/inherit/pc.json b/inherit/pc.json 47 --- a/inherit/pc.json 60 diff --git a/inherit/rich.json b/inherit/rich.json 62 --- a/inherit/rich.json 75 diff --git a/inherit/tablet.json b/inherit/tablet.json 77 --- a/inherit/tablet.json
|
| /developtools/smartperf_host/ide/src/trace/component/trace/sheet/ark-ts/ |
| D | TabPaneComparison.ts | 114 this.selectEl!.querySelectorAll('lit-select-option').forEach((a) => { 115 a.addEventListener('onSelected', (e) => { 151 this.comparisonTableEl!.snapshotDataSource = this.leftArray.sort((a, b) => { 152 return sort === 1 ? a.addedCount - b.addedCount : b.addedCount - a.addedCount; 156 this.comparisonTableEl!.snapshotDataSource = this.leftArray.sort((a, b) => { 157 return sort === 1 ? a.removedCount - b.removedCount : b.removedCount - a.removedCount; 161 this.comparisonTableEl!.snapshotDataSource = this.leftArray.sort((a, b) => { 162 return sort === 1 ? a.deltaCount - b.deltaCount : b.deltaCount - a.deltaCount; 166 this.comparisonTableEl!.snapshotDataSource = this.leftArray.sort((a, b) => { 168 (`${a.objectName }`).localeCompare(`${b.objectName }`) : [all …]
|
| /developtools/smartperf_host/ide/src/trace/database/ |
| D | StateBusyTimeWorker.ts | 26 let includeData = initFreqResult.findIndex((a) => a.ts >= leftStartNs); 35 let includeStateData = initStateResult.findIndex((a) => a.ts >= startNS); 113 e.data.cpuFiliterOrder.forEach((a: number) => { 115 e.data.result.filter((f: any) => f.cpu == a), 116 e.data.res.filter((f: any) => f.cpu == a), 122 e.data.sampleMap.forEach((a: any) => { 123 a.busyTime = parseFloat((a.busyTime / 1000000.0).toFixed(6));
|
| /developtools/smartperf_host/ide/test/base-ui/chart/column/ |
| D | LitChartColumn.test.ts | 66 color: (a: any) => { 67 if (a.size === 'big core') { 73 tip: (a: any) => { 74 if (a && a[0]) { 77 for (let obj of a) { 85 <div>tid:${a[0].obj.tid}</div>
|
| /developtools/hapsigner/ |
| D | README.md | 5 To ensure that all apps and binary tools (such as lldb-server) come from a known and approved sourc… 7 …s generating a key pair, a certificate signing request (CSR), or a certificate, and signing a prof… 56 **Signing a Profile** 68 You can use commands to sign a profile and a HAP or binary tool. 70 1. Sign a profile. 78 sign-profile: Sign a provisioning profile. 91 2. Sign a HAP or binary tool. 99 sign-app: sign a HAP or binary tool 104 …isioning profile in p7b format. This parameter is mandatory for a HAP and optional for a binary to… 106 …gned. The value can be zip, elf, or bin. It is zip for a HAP, elf for a binary tool, and bin for a… [all …]
|
| /developtools/smartperf_host/ide/test/trace/component/trace/sheet/fps/ |
| D | TabPaneFps.test.ts | 36 let a = { rightNs: 1, leftNs: 1 }; variable 37 expect((tabPaneFps.data = a)).toBeTruthy(); 43 let a = { rightNs: 1, leftNs: 1 }; variable 44 expect((tabPaneFps.data = a)).toBeTruthy();
|
| /developtools/ace_js2bundle/ace-loader/test/rich/testcase/pages/expression/ |
| D | expression.hml | 35 <text class="text-text">{{a}}</text> 36 <text class="text-text">{{1>2?a:b}}</text> 38 <text class="{{this.a}}{{Math.PI}}"></text> 39 <text class="text-text">{{1>b?(v>4?a:6):7}}</text> 46 <input value="{{a.b.c.d}}"></input> 47 <input value="{{a.b.c[1]}}"></input> 48 <input value="{{(a.b.c)[1]}}"></input> 50 <text if="{{showauto}}">a</text>
|
| /developtools/ace_ets2bundle/compiler/ |
| D | README.md | 29 For a quick start 38 ### 3. Create a new project 40 The way to create a new project 50 For example, use the following line to create a project named `foo`: 61 ### 4. Create a new page 63 For example, create a file `bar.ets` in the `page` directory. And then add the following lines to `… 71 ### 5. Compile a project 73 The way to compile a project
|