Home
last modified time | relevance | path

Searched refs:callback (Results 1 – 25 of 58) sorted by relevance

123

/developtools/profiler/host/smartperf/ide/src/trace/grpc/
DProfilerClient.ts72 public getProfilerClient(callback: any): any {
76 public getCapabilities(callback: any) {
77 this._client.this._client.getCapabilities(callback);
78 callback();
81 public createSession(callback: any) {
82 this._client.createSession(callback);
83 callback();
86 public startSession(callback: any) {
87 this._client.startSession(callback);
88 callback();
[all …]
/developtools/smartperf_host/ide/src/trace/grpc/
DProfilerClient.ts72 public getProfilerClient(callback: any): any {
76 public getCapabilities(callback: any) {
77 this._client.this._client.getCapabilities(callback);
78 callback();
81 public createSession(callback: any) {
82 this._client.createSession(callback);
83 callback();
86 public startSession(callback: any) {
87 this._client.startSession(callback);
88 callback();
[all …]
/developtools/global_resource_tool/src/
Dcmd_list.cpp23 uint32_t CmdList::Init(const string &filePath, HandleBack callback) in Init() argument
30 if (!callback) { in Init()
34 InitFileListCommand(root, callback); in Init()
42 callback(Option::FORCEWRITE, ""); in Init()
47 void CmdList::InitFileListCommand(Json::Value &root, HandleBack callback) in InitFileListCommand() argument
50 …istHandles_.push_back(bind(&CmdList::GetString, this, root["configPath"], Option::JSON, callback)); in InitFileListCommand()
51 …es_.push_back(bind(&CmdList::GetString, this, root["packageName"], Option::PACKAGENAME, callback)); in InitFileListCommand()
52 …tHandles_.push_back(bind(&CmdList::GetString, this, root["output"], Option::OUTPUTPATH, callback)); in InitFileListCommand()
53 …istHandles_.push_back(bind(&CmdList::GetString, this, root["startId"], Option::STARTID, callback)); in InitFileListCommand()
55 Option::DEPENDENTRY, callback)); in InitFileListCommand()
[all …]
Dresource_directory.cpp25 …ory::ScanResources(const string &resourcesDir, function<bool(const DirectoryInfo&)> callback) const in ScanResources()
47 if (!ScanResourceLimitKeyDir(it->GetFilePath().GetPath(), limitKey, callback)) { in ScanResources()
56 function<bool(const DirectoryInfo&)> callback) const in ScanResourceLimitKeyDir()
92 if (callback && !callback(info)) { in ScanResourceLimitKeyDir()
/developtools/smartperf_host/ide/src/command/
DCmd.ts21 static CmdSendPostUtils(uri: string, callback: Function, requestData: any) {
36 callback(output);
48 static execObjDump(command: string, addr: string, callback: Function) {
55 Cmd.CmdSendPostUtils(uri, callback, data);
58 static execHdcCmd(command: string, callback: Function) {
68 Cmd.CmdSendPostUtils(uri, callback, data);
71 static async execFileRecv(command: string, filePath: string, callback: Function) {
90 callback(buf);
93 static execHdcTraceCmd(command: string, serialNumber: string, callback: Function) {
104 Cmd.CmdSendPostUtils(uri, callback, data);
[all …]
/developtools/profiler/host/smartperf/ide/src/command/
DCmd.ts21 static CmdSendPostUtils(uri: string, callback: Function, requestData: any) {
36 callback(output);
48 static execObjDump(command: string, addr: string, callback: Function) {
55 Cmd.CmdSendPostUtils(uri, callback, data);
58 static execHdcCmd(command: string, callback: Function) {
68 Cmd.CmdSendPostUtils(uri, callback, data);
71 static async execFileRecv(command: string, filePath: string, callback: Function) {
90 callback(buf);
93 static execHdcTraceCmd(command: string, serialNumber: string, callback: Function) {
104 Cmd.CmdSendPostUtils(uri, callback, data);
[all …]
/developtools/global_resource_tool/include/
Dcmd_list.h31 uint32_t Init(const std::string &filePath, HandleBack callback);
33 void InitFileListCommand(Json::Value &root, HandleBack callback);
36 uint32_t GetString(const Json::Value &node, int c, HandleBack callback);
37 uint32_t GetArray(const Json::Value &node, int c, HandleBack callback);
38 uint32_t GetModuleNames(const Json::Value &node, int c, HandleBack callback);
39 uint32_t GetBool(const Json::Value &node, int c, HandleBack callback);
Dresource_directory.h31 …sources(const std::string &resourcesDir, std::function<bool(const DirectoryInfo&)> callback) const;
34 std::function<bool(const DirectoryInfo&)> callback) const;
/developtools/ace_js2bundle/ace-loader/src/
Dextgen.js22 const callback = this.async();
27 callback(parsed.errorType + ' : ' + parsed.errorMessage, '');
31 callback(null, parsed.hmlCss.hml, map);
34 callback(null, parsed.hmlCss.css, map);
37 callback(null, parsed.hmlCss.json, map);
Dread-json-plugin.js21 resolver.fileSystem.readJson = (filepath, callback) => { argument
24 return callback(error);
27 return callback(new Error("No file content"));
37 return callback(e);
39 callback(null, data);
Dmanifest-plugin.js19 const callback = this.async()
22 callback(null, JSON.stringify({ 'manifest.json': 'content' }), map)
24 callback(null, source, map)
Dmodule-script.js23 const callback = this.async()
24 callback(null, source, map)
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/data/
DRunnable.ets19 callback: {};
21 constructor(_type:string,callback:{}){
24 this.callback = callback;
31 protected setCallback(callback: {}){
32 this.callback = callback;
/developtools/ace_ets2bundle/compiler/src/
Dresolve_ohm_url.ts37 …resolver.getHook(this.source).tapAsync('OHMResolverPlugin', (request, resolveContext, callback) =>…
43 return resolver.doResolve(target, obj, null, resolveContext, callback);
45 callback();
/developtools/profiler/device/base/src/
Dschedule_task_manager.cpp75 const std::function<void(void)>& callback, in ScheduleTask() argument
78 return ScheduleTask(name, callback, repeatInterval, repeatInterval); in ScheduleTask()
82 const std::function<void(void)>& callback, in ScheduleTask() argument
90 task->callback = callback; in ScheduleTask()
177 taskRepeat->callback(); in ScheduleThread()
/developtools/ace_js2bundle/ace-loader/
Dmodule-source.js19 const exists = function(src, dst, callback) { argument
25 callback(src, dst);
28 callback(src, dst);
/developtools/profiler/device/base/include/
Dschedule_task_manager.h39 const std::function<void(void)>& callback,
43 const std::function<void(void)>& callback,
60 std::function<void(void)> callback; member
/developtools/smartperf_host/ide/src/trace/component/trace/base/
DEventCenter.ts37 subscribeOnce(event: string, callback: Function) {
39 callback(data);
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/base/
DEventCenter.ts37 subscribeOnce(event: string, callback: Function) {
39 callback(data);
/developtools/smartperf_host/ide/src/trace/component/chart/
DFrameChart.ts85 for (let callback of this.chartClickListenerList) {
86 callback(true);
99 public addChartClickListener(callback: Function) {
100 if (this.chartClickListenerList.indexOf(callback) < 0) {
101 this.chartClickListenerList.push(callback);
109 public removeChartClickListener(callback: Function) {
110 let index = this.chartClickListenerList.indexOf(callback);
664 for (let callback of this.chartClickListenerList) {
665 callback(false);
683 for (let callback of this.chartClickListenerList) {
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/component/chart/
DFrameChart.ts85 for (let callback of this.chartClickListenerList) {
86 callback(true);
99 public addChartClickListener(callback: Function) {
100 if (this.chartClickListenerList.indexOf(callback) < 0) {
101 this.chartClickListenerList.push(callback);
109 public removeChartClickListener(callback: Function) {
110 let index = this.chartClickListenerList.indexOf(callback);
664 for (let callback of this.chartClickListenerList) {
665 callback(false);
683 for (let callback of this.chartClickListenerList) {
[all …]
/developtools/hiperf/include/
Dperf_file_writer.h63 bool ReadDataSection(ProcessRecordCB &callback);
64 bool ReadRecords(ProcessRecordCB &callback);
Dperf_file_reader.h44 bool ReadDataSection(ProcessRecordCB &callback);
69 bool ReadRecord(ProcessRecordCB &callback);
/developtools/smartperf_host/trace_streamer/sdk/demo_sdk/rpc/
Drpc_server.cpp99 …RpcServer::WasmSqlQueryWithCallback(const uint8_t* data, size_t len, ResultCallBack callback) const in WasmSqlQueryWithCallback()
105 int32_t ret = ts_->SearchDatabase(sql, callback); in WasmSqlQueryWithCallback()
/developtools/smartperf_host/trace_streamer/sdk/dubai_sdk/rpc/
Drpc_server.cpp100 …RpcServer::WasmSqlQueryWithCallback(const uint8_t* data, size_t len, ResultCallBack callback) const in WasmSqlQueryWithCallback()
106 int32_t ret = ts_->SearchDatabase(sql, callback); in WasmSqlQueryWithCallback()

123