Home
last modified time | relevance | path

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

123

/developtools/smartperf_host/ide/src/trace/database/
DSqlLite.ts31 queryFunc(action: string, args: unknow, handler: Function): void {
33 this.taskMap[id] = handler;
65 …queryFunc(name: string, sql: string, args: unknow, handler: Function, action: string | null): void…
68 this.taskMap[id] = handler;
80 queryProto(name: number, args: unknow, handler: Function): void {
83 this.taskMap[id] = handler;
96 handler: (status: boolean, msg: string, splitBuffer?: ArrayBuffer) => void
104 handler(res.cutStatus, res.msg, res.cutBuffer);
106 handler(res.cutStatus, res.msg);
388 submit(name: string, sql: string, args: unknow, handler: Function, action: string | null): void {
[all …]
DConvert.ts34 getConvertData(handler: (status: boolean, msg: string, results: Blob) => void): void {
42 handler(res.status, res.msg, res.results);
128 handler: (status: boolean, msg: string, results: Blob) => void
135 thread!.getConvertData(handler);
DProcedure.ts35 queryFunc(type: string, args: unknown, transfer: unknown, handler: Function): void {
38 this.taskMap[id] = handler;
234 …submitWithName(name: string, type: string, args: unknown, transfer: unknown, handler: Function): u…
240 thread!.queryFunc(type, args, transfer, handler);
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerPerfCallchains.ts32 queryFunc(name: string, args: unknown, handler: Function, action: string | null): void {
36 this.taskMap[id] = handler;
80 submit(name: string, args: unknown, handler: Function, action: string | null): void {
86 thread.queryFunc(name, args, handler, action);
90 thread.queryFunc(name, args, handler, action);
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/data/
DXAixsMode.ets25 public handler: ViewPortHandler = new ViewPortHandler();
44 … this.handler.restrainViewPort(this.minOffset, this.minOffset, this.minOffset, this.minOffset);
45 this.handler.setChartDimens(this.width, this.height);
47 new XAxisRenderer(this.handler, this.topAxis, new Transformer(this.handler));
55 this.handler,
57 new Transformer(this.handler)
DRadarChartMode.ets87 public handler: ViewPortHandler;
240 this.handler = new ViewPortHandler();
241 … this.handler.restrainViewPort(this.minOffset, this.minOffset, this.minOffset, this.minOffset);
242 this.handler.setChartDimens(this.width, this.height);
252 let content: MyRect = this.handler.getContentRect();
257 return this.handler.getContentCenter();
/developtools/packing_tool/adapter/ohos/
DLog.java32 ConsoleHandler handler = new ConsoleHandler();
33 handler.setFormatter(formatter);
34 log.addHandler(handler);
/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 public handler: ViewPortHandler = new ViewPortHandler();
87 public 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/global_resource_tool/src/
Dresconfig_parser.cpp47 auto handler = fileListHandles_.find(item->string); in Init() local
48 if (handler == fileListHandles_.end()) { in Init()
52 if (handler->second(item) != RESTOOL_SUCCESS) { in Init()
/developtools/smartperf_host/ide/src/trace/component/schedulingAnalysis/
DTop20ThreadRunTime.ts82 queryLogicWorker(option: string, log: string, handler: (res: unknown) => void): void {
84 …ubmitWithName('logic0', option, { cpuMax: SpSchedulingAnalysis.cpuCount - 1 }, undefined, handler);
DTop20ProcessSwitchCount.ts139 queryLogicWorker(option: string, log: string, handler: (res: unknown) => void): void {
141 procedurePool.submitWithName('logic0', option, {}, undefined, handler);
DTop20ProcessThreadCount.ts144 queryLogicWorker(option: string, log: string, handler: (res: unknown) => void): void {
146 procedurePool.submitWithName('logic0', option, {}, undefined, handler);
DTabCpuAnalysis.ts154 queryLogicWorker(cpuAnalysisType: string, log: string, handler: (res: unknown) => void): void {
164 handler
DTabCpuDetailsIrq.ts178 queryLoginWorker(irqType: string, log: string, handler: (res: unknown) => void): void {
188 handler
DTabCpuDetailsIdle.ts182 queryLoginWorker(idleType: string, log: string, handler: (res: unknown) => void): void {
192 handler
DTabCpuDetailsFrequency.ts195 queryLoginWorker(cpuFrequencyType: string, log: string, handler: (res: unknown) => void): void {
205 handler
/developtools/smartperf_host/ide/src/trace/component/chart/
DVSync.ts132 export function enableVSync(press: boolean, ev: KeyboardEvent, handler?: Function): void {
138 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/ace_ets2bundle/compiler/src/fast_build/ark_compiler/
Drollup-plugin-gen-abc.ts44 handler() {
/developtools/smartperf_host/ide/src/base-ui/tree/
DLitTree.ts52 const handler = { constant
63 value.children = new Proxy([], handler);
66 value.children = new Proxy(value.children, handler);
96 a.children = new Proxy([], handler);
99 a.children = new Proxy(a.children, handler);
105 this.proxyData = new Proxy(this._treeData, handler);
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/charts/
DLineChart.ets216 let handler: ViewPortHandler = new ViewPortHandler();
218 handler.restrainViewPort(this.minOffset, this.minOffset, this.minOffset, this.minOffset)
219 handler.setChartDimens(this.width, this.height);
221 let mTran: Transformer = new Transformer(handler);
222 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.ts144 startNmMemoryWorker(type: string, args: unknown, handler: Function): void {
150 handler(res.data ? res.data : res);
156 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