| /developtools/ace_js2bundle/ace-loader/plugin/codegen/ |
| D | index.js | 1 …e={904:(e,t)=>{var n;let o;Object.defineProperty(t,"__esModule",{value:!0}),t.setDomain=t.getDomai… argument
|
| /developtools/ace_ets2bundle/compiler/codegen/ |
| D | codegen_ets.js | 15 …e={6486:function(e,t,r){var o;e=r.nmd(e),function(){var n,a="Expected a function",i="__lodash_hash… argument
|
| /developtools/smartperf_host/ide/src/trace/database/ui-worker/ |
| D | ProcedureWorker.ts | 158 self.onmessage = (e: any): void => { 159 clear(e); 160 if (e.data.params && e.data.params.list) { 161 dataList[e.data.type] = convertJSON(e.data.params.list); 162 if (e.data.params.offscreen) { 163 canvasList[e.data.type] = e.data.params.offscreen; 164 contextList[e.data.type] = e.data.params.offscreen!.getContext('2d'); 165 contextList[e.data.type].scale(e.data.params.dpr, e.data.params.dpr); 168 if (!dataFilter[e.data.type]) { 169 dataFilter[e.data.type] = []; [all …]
|
| /developtools/smartperf_host/ide/src/base-ui/modal/ |
| D | LitModal.ts | 264 this.shadowRoot!.querySelector<HTMLDivElement>('.modal')!.onclick = (e) => { 265 e.stopPropagation(); 281 this.onmousemoveFunc = (e: any) => { 282 e.stopPropagation(); 284 direction = this.onmousemoveFuncRule(direction,e,srcResizeRect,resizeWidth); 285 …this.resizingFunc(direction,e,srcResizeClientX,srcResizeClientY,srcResizeHeight,srcResizeWidth,src… 288 this.onmouseupFunc = (e: any) => { 293 this.onmouseleave = this.onmouseup = (e) => { 294 if (this.onmouseleaveMoveFunc) this.onmouseleaveMoveFunc(e); 295 if (this.onmouseupFunc) this.onmouseupFunc(e); [all …]
|
| /developtools/smartperf_host/ide/src/trace/component/trace/sheet/cpu/ |
| D | TabPaneBoxChild.ts | 60 result.map((e) => { 61 e.startTime = Utils.getTimeString(e.startNs); 62 e.absoluteTime = ((window as any).recordStartNS + e.startNs) / 1000000000; 63 e.state = Utils.getEndState(e.state)!; 64 e.prior = e.priority == undefined || e.priority == null ? '-' : e.priority + ''; 65 e.core = e.cpu == undefined || e.cpu == null ? '-' : 'CPU' + e.cpu; 66 e.processName = 67 … (e.process == undefined || e.process == null ? 'process' : e.process) + '(' + e.processId + ')'; 68 …e.threadName = (e.thread == undefined || e.thread == null ? 'thread' : e.thread) + '(' + e.threadI… 69 e.note = '-';
|
| D | TabPaneCpuByThread.ts | 80 for (let e of result) { 81 sumWall += e.wallDuration; 82 sumOcc += e.occurrences; 83 this.updateThreadMap(e, cpuByThreadValue, map); 88 private updateThreadMap(e: any, cpuByThreadValue: any, map: Map<string, any>): void { 89 if (map.has(`${e.tid}`)) { 90 this.updateExistingThread(e, cpuByThreadValue, map); 92 this.createThread(e, cpuByThreadValue, map); 96 private updateExistingThread(e: any, cpuByThreadValue: any, map: Map<string, any>): void { 97 let thread = map.get(`${e.tid}`)!; [all …]
|
| D | TabPaneCpuByProcess.ts | 53 for (let e of result) { 54 let process = Utils.PROCESS_MAP.get(e.pid); 55 e.process = process == null || process.length == 0 ? '[NULL]' : process; 56 sumWall += e.wallDuration; 57 sumOcc += e.occurrences; 58 e.wallDuration = parseFloat((e.wallDuration / 1000000.0).toFixed(5)); 59 e.avgDuration = parseFloat((parseFloat(e.avgDuration) / 1000000.0).toFixed(5)).toString();
|
| /developtools/smartperf_host/ide/src/trace/database/ |
| D | SqlLiteWorker.ts | 82 self.onmessage = async (e: any) => { 83 if (e.data.action === 'open') { 84 let array = new Uint8Array(e.data.buffer); 89 self.postMessage({ id: e.data.id, ready: true, index: 0 }); 94 id: e.data.id, 100 self.postMessage({ id: e.data.id, init: true }); 102 } else if (e.data.action === 'close') { 103 …} else if (e.data.action === 'exec' || e.data.action === 'exec-buf' || e.data.action === 'exec-met… 105 let action = e.data.action; //: "exec" 106 let sql = e.data.sql; [all …]
|
| D | TraceWorker.ts | 228 self.onmessage = async (e: MessageEvent) => { 229 currentAction = e.data.action; 230 currentActionId = e.data.id; 232 if (e.data.action === 'reset') { 234 } else if (e.data.action === 'open') { 239 id: e.data.id, 240 action: e.data.action, 244 let uint8Array = new Uint8Array(e.data.buffer); 275 let parseConfig = e.data.parseConfig; 282 let wasmConfigStr = e.data.wasmConfig; [all …]
|
| D | ConvertTraceWorker.ts | 42 self.onmessage = async (e: MessageEvent) => { 43 if (e.data.action === 'getConvertData') { 45 let fileData = e.data.buffer; 55 let traceAllData = new Uint8Array(e.data.buffer); 59 … handleRowTrace(e, fileData, dataHeader, traceInsPtr, currentPosition, traceAllData, totalSize); 89 postMessage(e, allDataStr); 98 e: MessageEvent, 110 let allRowTraceData = new Uint8Array(e.data.buffer); 116 setCommonDataOffsetList(e, allRowTraceData, commonTotalLength, commonDataOffsetList); 130 e: MessageEvent, [all …]
|
| D | StateBusyTimeWorker.ts | 110 self.onmessage = (e: MessageEvent) => { 111 let leftStartNs = e.data.frqSampleParam.leftNs + e.data.frqSampleParam.recordStartNs; 112 let rightEndNs = e.data.frqSampleParam.rightNs + e.data.frqSampleParam.recordStartNs; 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), 117 e.data.sampleMap, 122 e.data.sampleMap.forEach((a: any) => { 126 self.postMessage(e.data.sampleMap);
|
| /developtools/smartperf_host/ide/src/trace/component/trace/sheet/ |
| D | TabPaneFilter.ts | 52 private getFilter: ((e: FilterData) => void) | undefined; 53 private getMining: ((e: MiningData) => void) | undefined; 54 private getLibrary: ((e: MiningData) => void) | undefined; 55 private getCallTree: ((e: any) => void) | undefined; 56 private getCallTreeConstraints: ((e: any) => void) | undefined; 57 private getStatisticsType: ((e: any) => void) | undefined; 58 private getCallTransfer: ((e: any) => void) | undefined; 137 (e: HTMLDivElement, idx: number): void => { 138 this.miningButtonClickListener(e, idx); 154 this.shadowRoot!.querySelector<HTMLDivElement>('#data-mining')!.onclick = (e): void => { [all …]
|
| /developtools/integration_verification/DeployDevice/src/aw/poweronoff/ |
| D | serial_power_on_off.py | 25 except Exception as e: 26 if isinstance(e, ConnectionRefusedError): 29 logger.error(e) 56 except Exception as e: 57 logger.error(e) 103 except Exception as e: 104 logger.error(e) 158 except Exception as e: 159 logger.error(e) 207 except Exception as e: [all …]
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/verify/ |
| D | VerifyAndParseProvision.java | 63 } catch (IOException e) { in verifyAndParseProvision() 78 } catch (IOException e) { in checkProvisionFile() 79 LOGGER.error("getCanonicalPath failed", e); in checkProvisionFile() 89 } catch (IOException e) { in getSignedProvisionData() 90 LOGGER.error("readFileToByteArray failed.", e); in getSignedProvisionData() 103 } catch (SignatureException | CMSException e) { in getUnsignedProvisionData() 104 LOGGER.error("get unsigned provision data failed.", e); in getUnsignedProvisionData() 114 } catch (IOException e) { in outputUnsignedProvisionToFile() 115 LOGGER.error("output unsigned provision to file failed.", e); in outputUnsignedProvisionToFile()
|
| D | VerifyHap.java | 100 } catch (CMSException e) { in getProfileContent() 159 } catch (IOException e) { in verify() 160 LOGGER.error("Write certificate chain error", e); in verify() 169 } catch (IOException e) { in verify() 170 LOGGER.error("Output optional blocks error", e); in verify() 228 } catch (IOException e) { in checkSignFile() 229 LOGGER.error("signedFile is invalid.", e); in checkSignFile() 267 } catch (IOException e) { in verifyHap() 268 LOGGER.error("Verify Hap has IO error!", e); in verifyHap() 269 result = new VerifyResult(false, VerifyResult.RET_IO_ERROR, e.getMessage()); in verifyHap() [all …]
|
| /developtools/smartperf_host/ide/src/trace/component/trace/sheet/process/ |
| D | TabPaneThreadStates.ts | 167 for (let e of targetListTemp) { 168 if (threadStatesParam.processIds.includes(e.pid)) { 169 let process = Utils.PROCESS_MAP.get(e.pid); 170 let thread = Utils.THREAD_MAP.get(e.tid); 171 e.process = process == null || process.length == 0 ? '[NULL]' : process; 172 e.thread = thread == null || thread.length == 0 ? '[NULL]' : thread; 174 e.stateJX = e.state; 175 e.state = Utils.getEndState(e.stateJX); 176 e.avgDuration = parseFloat(((e.wallDuration / e.occurrences) / 1000000.0).toFixed(5)); 177 e.wallDuration = parseFloat((e.wallDuration / 1000000.0).toFixed(5)); [all …]
|
| /developtools/smartperf_host/ide/src/base-ui/popover/ |
| D | LitPopoverV.ts | 441 popover.onclick = (e: any) => { 442 e.stopPropagation(); 444 popover.addEventListener('mousemove', (e: any) => { 445 e.stopPropagation(); 447 this.onclick = (e: any) => { 448 e.stopPropagation(); 449 if (e.relatedTarget?.hasAttribute('not-close')) {
|
| /developtools/integration_verification/cases/smoke/basic/screenshot32/APL_compare_03/ |
| D | read_device.py | 40 except Exception as e: 41 apl_set_log_content(LogLevel(1).name, log_tag, '{}'.format(e.msg)) 51 except AplCompareException as e: 52 apl_set_log_content(LogLevel(1).name, log_tag, '{}'.format(e.msg)) 68 except sqlite3.OperationalError as e: 69 apl_set_log_content(LogLevel(2).name, log_tag, 'database {}'.format(e.args[0])) 71 except AplCompareException as e: 72 apl_set_log_content(LogLevel(1).name, log_tag, '{}'.format(e.msg))
|
| /developtools/integration_verification/cases/smoke/basic/screenshot32/xdevice_smoke/APL_compare_03/ |
| D | read_device.py | 40 except Exception as e: 41 apl_set_log_content(LogLevel(1).name, log_tag, '{}'.format(e.msg)) 51 except AplCompareException as e: 52 apl_set_log_content(LogLevel(1).name, log_tag, '{}'.format(e.msg)) 68 except sqlite3.OperationalError as e: 69 apl_set_log_content(LogLevel(2).name, log_tag, 'database {}'.format(e.args[0])) 71 except AplCompareException as e: 72 apl_set_log_content(LogLevel(1).name, log_tag, '{}'.format(e.msg))
|
| /developtools/hdc/hdc_rust/src/daemon/ |
| D | main.rs | 62 if let Err(e) = task::dispatch_task(msg, session_id).await { in handle_message() 63 hdc::error!("dispatch task failed: {}", e.to_string()); in handle_message() 66 Err(e) => { in handle_message() 67 if e.kind() == ErrorKind::Other { in handle_message() 68 hdc::warn!("unpack task failed: {}", e.to_string()); in handle_message() 69 return Err(e); in handle_message() 166 if let Err(e) = in uart_handle_client() 169 hdc::warn!("unpack task failed: {}, reopen fd...", e.to_string()); in uart_handle_client() 170 println!("handshake error:{:#?}", e); in uart_handle_client() 204 if let Err(e) = in uart_handle_client() [all …]
|
| /developtools/smartperf_host/ide/src/trace/component/trace/sheet/frequsage/ |
| D | TabPaneFreqUsage.ts | 142 for (let e of result) { 143 if (threadStatesParam.processIds.includes(e.pid)) { 144 if (needDeal.get(e.pid + '_' + e.tid) === undefined) { 145 … this.threadArr.push(new TabPaneFreqUsageConfig(Utils.THREAD_MAP.get(e.tid) + ' ' + e.tid, 146 '', e.pid, e.tid, 0, '', '', 0, '', 0, 'thread', -1, [])); 147 needDeal.set(e.pid + '_' + e.tid, new Array()); 149 if (e.ts < threadStatesParam.leftNs + threadStatesParam.recordStartNs && 150 e.ts + e.dur > threadStatesParam.leftNs + threadStatesParam.recordStartNs) { 151 const ts = e.ts; 152 e.ts = threadStatesParam.leftNs + threadStatesParam.recordStartNs; [all …]
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/sign/ |
| D | BcSignedDataGenerator.java | 145 } catch (NoSuchAlgorithmException e) { in computeDigest() 146 throw new CodeSignException("Invalid algorithm" + e.getMessage(), e); in computeDigest() 155 } catch (IOException e) { in getEncoded() 156 throw new CodeSignException("cannot encode authed", e); in getEncoded() 165 } catch (CRLException e) { in getJcaX509CRLHolder() 166 throw new CodeSignException("Create crl failed", e); in getJcaX509CRLHolder() 175 } catch (CertificateEncodingException e) { in getJcaX509CertificateHolder() 176 throw new CodeSignException("Create sign info failed", e); in getJcaX509CertificateHolder() 213 } catch (InvalidKeyException | SignatureException e) { in verifySignFromServer() 215 e); in verifySignFromServer() [all …]
|
| /developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/data/ |
| D | DataSet.ets | 23 * groups of values inside the Chart (e.g. the values for a specific line in the 81 for (let e of this.mEntries.dataSouce) { 82 this.myCalcMinMax(e); 86 public myCalcMinMax(e ?: T) : void { 87 if (!e) 89 this.calcMinMaxX(e); 90 this.myCalcMinMaxY(e); 112 protected calcMinMaxX(e : T) : void { 114 if (e.getX() < this.mXMin) 115 this.mXMin = e.getX(); [all …]
|
| /developtools/integration_verification/DeployDevice/src/aw/Telnet/ |
| D | TelnetClient.py | 53 except Exception as e: 54 logger.error(e) 69 except Exception as e: 70 logger.error(e) 82 except Exception as e: 83 logger.error(e) 95 except Exception as e: 96 logger.error(e) 117 except Exception as e: 118 logger.error(e)
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/fsverity/ |
| D | FsVerityGenerator.java | 63 } catch (IOException e) { in generateMerkleTree() 64 throw new FsVerityDigestException("IOException: " + e.getMessage()); in generateMerkleTree() 65 } catch (NoSuchAlgorithmException e) { in generateMerkleTree() 66 throw new FsVerityDigestException("Invalid algorithm:" + e.getMessage()); in generateMerkleTree() 101 } catch (NoSuchAlgorithmException e) { in generateFsVerityDigest() 102 throw new FsVerityDigestException("Invalid algorithm" + e.getMessage(), e); in generateFsVerityDigest()
|