Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 54) sorted by relevance

123

/developtools/smartperf_host/ide/src/trace/database/
DSqlLite.ts29 queryFunc(action: string, args: any, handler: Function) {
31 this.taskMap[id] = handler;
60 queryFunc(name: string, sql: string, args: any, handler: Function, action: string | null) {
63 this.taskMap[id] = handler;
74 queryProto(name: number, args: any, handler: Function) {
77 this.taskMap[id] = handler;
90 handler: (status: boolean, msg: string, splitBuffer?: ArrayBuffer) => void
97 handler(res.cutStatus, res.msg, res.cutBuffer);
99 handler(res.cutStatus, res.msg);
358 submit(name: string, sql: string, args: any, handler: Function, action: string | null) {
[all …]
DConvert.ts34 getConvertData(handler: (status: boolean, msg: string, results: Blob) => void) {
39 handler(res.status, res.msg, res.results);
120 handler: (status: boolean, msg: string, results: Blob) => void
127 thread!.getConvertData(handler);
DProcedure.ts35 queryFunc(type: string, args: any, transfer: any, handler: Function) {
38 this.taskMap[id] = handler;
212 …submitWithName(name: string, type: string, args: any, transfer: any, handler: Function): Procedure…
218 thread!.queryFunc(type, args, transfer, handler);
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerPerfCallchains.ts32 queryFunc(name: string, args: any, handler: Function, action: string | null) {
35 this.taskMap[id] = handler;
77 submit(name: string, args: any, handler: Function, action: string | null) {
83 thread.queryFunc(name, args, handler, action);
87 thread.queryFunc(name, args, handler, action);
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/data/
DXAixsMode.ets27 handler:ViewPortHandler = new ViewPortHandler();
46 this.handler.restrainViewPort(this.minOffset,this.minOffset,this.minOffset,this.minOffset)
47 this.handler.setChartDimens(this.width,this.height);
48 …sRendererTop:XAxisRenderer = new XAxisRenderer(this.handler,this.topAxis,new Transformer(this.hand…
55 …ererBottom:XAxisRenderer = new XAxisRenderer(this.handler,this.bottomAxis,new Transformer(this.han…
DRadarChartMode.ets88 handler:ViewPortHandler
241 this.handler = new ViewPortHandler();
242 … this.handler.restrainViewPort(this.minOffset, this.minOffset, this.minOffset, this.minOffset)
243 this.handler.setChartDimens(this.width, this.height);
254 let content:MyRect = this.handler.getContentRect();
259 return this.handler.getContentCenter();
/developtools/packing_tool/adapter/ohos/
DLog.java38 ConsoleHandler handler = new ConsoleHandler(); in Log() local
39 handler.setFormatter(formatter); in Log()
40 log.addHandler(handler); in Log()
/developtools/ace_ets2bundle/compiler/sample/pages/testcases/
DstateStateBindingProp.ets35 …console.log("onClick handler on GreenButton, updated value this.greenButtonState.width: " + this.g…
51 …console.log("onClick handler on RedButton, updated value this.redButtonState: " + this.redButtonSt…
67 …console.log("onClick handler on YellowButton, updated value this.yellowButtonState: " + this.yello…
86 … console.log("onClick handler on ShufflingContainer, updated value this.shuffle: " + this.shuffle);
93 …console.log("onClick handler on ShufflingContainer, updated value of yellowButtonProp: " + this.ye…
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/components/renderer/
DYAxisView.ets84 handler: ViewPortHandler = new ViewPortHandler();
87 mTran: Transformer = new Transformer(this.handler);
96 this.mAxisRenderer = new YAxisRenderer(this.handler, this.yAxis, this.mTran);
101 this.handler.restrainViewPort(this.minOffset, this.minOffset, this.minOffset, this.minOffset)
102 this.handler.setChartDimens(this.width, this.height);
/developtools/smartperf_host/ide/src/trace/component/schedulingAnalysis/
DTop20ThreadRunTime.ts78 queryLogicWorker(option: string, log: string, handler: (res: any) => void) {
80 …ubmitWithName('logic0', option, { cpuMax: SpSchedulingAnalysis.cpuCount - 1 }, undefined, handler);
DTop20ProcessSwitchCount.ts121 queryLogicWorker(option: string, log: string, handler: (res: any) => void) {
123 procedurePool.submitWithName('logic0', option, {}, undefined, handler);
DTop20ProcessThreadCount.ts122 queryLogicWorker(option: string, log: string, handler: (res: any) => void) {
124 procedurePool.submitWithName('logic0', option, {}, undefined, handler);
DTabCpuAnalysis.ts146 queryLogicWorker(cpuAnalysisType: string, log: string, handler: (res: any) => void) {
156 handler
DTabCpuDetailsIdle.ts159 queryLoginWorker(idleType: string, log: string, handler: (res: any) => void) {
169 handler
DTabCpuDetailsIrq.ts153 queryLoginWorker(irqType: string, log: string, handler: (res: any) => void) {
163 handler
DTabCpuDetailsFrequency.ts172 queryLoginWorker(cpuFrequencyType: string, log: string, handler: (res: any) => void) {
182 handler
/developtools/smartperf_host/ide/src/trace/component/chart/
DVSync.ts125 export function enableVSync(press: boolean, ev: KeyboardEvent, handler?: Function): void {
133 handler?.();
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/
Drollup-plugin-gen-abc.ts38 handler() {
/developtools/profiler/device/plugins/ftrace_plugin/src/
Dprocess_utils.cpp167 static std::string ReceiveOutputAndSigchld(int pipeFd, const PipedSigHandler& handler) in ReceiveOutputAndSigchld() argument
176 poller.AddFd(handler.GetNotifyFd(), POLLIN, [&]() { in ReceiveOutputAndSigchld()
179 read(handler.GetNotifyFd(), &sig, sizeof(sig)); in ReceiveOutputAndSigchld()
/developtools/smartperf_host/ide/src/base-ui/tree/
DLitTree.ts52 const handler = { constant
59 value.children = new Proxy([], handler);
61 value.children = new Proxy(value.children, handler);
87 a.children = new Proxy([], handler);
89 a.children = new Proxy(a.children, handler);
95 this.proxyData = new Proxy(this._treeData, handler);
/developtools/hdc/hdc_rust/src/common/
Dhdctransfer.rs259 let handler = queue.pop_front(); in read_and_send_data() localVariable
260 let handler = handler.unwrap(); in read_and_send_data() localVariable
261 let (is_finish, task_message) = handler.await.unwrap(); in read_and_send_data()
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/charts/
DLineChart.ets213 let handler: ViewPortHandler = new ViewPortHandler();
215 handler.restrainViewPort(this.minOffset, this.minOffset, this.minOffset, this.minOffset)
216 handler.setChartDimens(this.width, this.height);
218 let mTran: Transformer = new Transformer(handler);
219 var mAxisRenderer: YAxisRenderer = new YAxisRenderer(handler, yAxis, mTran);
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/ark-ts/
DTabPaneJsCpuStatistics.ts73 …private getDataByWorker(data: SelectionParam | Array<JsCpuProfilerChartFrame>, handler: Function):…
92 handler(results);
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/native-memory/
DTabPaneNMemory.ts137 startNmMemoryWorker(type: string, args: any, handler: Function): void {
141 handler(res.data ? res.data : res);
146 handler(this.memorySource);
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/hiperf/
DTabPerfBottomUp.ts59 …private getDataByWorker(val: SelectionParam, handler: (results: Array<PerfBottomUpStruct>) => void…
76 handler(results);

123