Home
last modified time | relevance | path

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

123

/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.cpp26 …ory::ScanResources(const string &resourcesDir, function<bool(const DirectoryInfo&)> callback) const in ScanResources()
48 if (!ScanResourceLimitKeyDir(it->GetFilePath().GetPath(), limitKey, callback)) { in ScanResources()
57 function<bool(const DirectoryInfo&)> callback) const in ScanResourceLimitKeyDir()
95 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/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/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/src/
Dschedule_task_manager.cpp63 int32_t ScheduleTaskManager::ScheduleTask(const std::function<void(void)>& callback, const uint64_t… in ScheduleTask() argument
82 func = std::bind(&ScheduleTaskManager::HandleSingleTask, this, timerFd, callback); in ScheduleTask()
88 func = callback; in ScheduleTask()
153 void ScheduleTaskManager::HandleSingleTask(int32_t fd, std::function<void(void)> callback) in HandleSingleTask() argument
155 callback(); in HandleSingleTask()
/developtools/profiler/device/base/include/
Dschedule_task_manager.h47 …int32_t ScheduleTask(const std::function<void(void)>& callback, const uint64_t interval, bool once…
61 void HandleSingleTask(int32_t fd, std::function<void(void)> callback);
/developtools/smartperf_host/ide/src/trace/component/trace/base/
DEventCenter.ts37 subscribeOnce(event: string, callback: Function) {
39 callback(data);
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/
DTabPaneCurrentSelection.ts125 callback: ((data: WakeupBean | null) => void) | undefined = undefined,
138 if (callback) {
139 callback(bean);
496 callback: ((data: Array<any>) => void) | undefined = undefined
512 this.queryThreadDetails(data, list, jankJumperList, callback, scrollWakeUp, scrollCallback);
573 callback: ((data: Array<any>) => void) | undefined,
596 if (callback) {
597 callback(jankJumperList);
741 callback: ((data: Array<any>) => void) | undefined = undefined,
750 this.handleTypeJank(data, list, scrollCallback, callback);
[all …]
/developtools/hiperf/include/
Dperf_file_writer.h65 bool ReadDataSection(ProcessRecordCB &callback);
66 bool ReadRecords(ProcessRecordCB &callback);
Dperf_file_reader.h44 bool ReadDataSection(ProcessRecordCB &callback);
69 bool ReadRecord(ProcessRecordCB &callback);
/developtools/smartperf_host/trace_streamer/src/rpc/
Drpc_server.h48 … bool SqlMetricsQueryWithCallback(const uint8_t* data, size_t len, ResultCallBack callback) const;
49 … int32_t WasmSqlQueryWithCallback(const uint8_t* data, size_t len, ResultCallBack callback) const;
52 SqllitePreparCacheData::TLVResultCallBack callback) const;
/developtools/profiler/device/plugins/native_hook/src/
Dstack_writer.cpp76 const std::function<bool()>& callback) in WriteWithPayloadTimeout() argument
87 callback); in WriteWithPayloadTimeout()
/developtools/smartperf_host/trace_streamer/sdk/demo_sdk/rpc/
Ddemo_rpc_server.cpp99 …erver::DemoWasmSqlQueryWithCallback(const uint8_t* data, size_t len, ResultCallBack callback) const in DemoWasmSqlQueryWithCallback()
105 int32_t ret = demoTs_->SearchDatabase(demoSql, callback); in DemoWasmSqlQueryWithCallback()
/developtools/profiler/device/plugins/xpower_plugin/include/
Dxpower_common.h29 std::function<void(const std::uint32_t, const std::uint8_t *, size_t)> callback; member
/developtools/syscap_codec/napi/
Dnapi_query_syscap.cpp210 napi_value callback = nullptr; in QuerySystemCapability() local
212 napi_get_reference_value(env, asyncContext->callbackRef, &callback); in QuerySystemCapability()
213 … napi_call_function(env, nullptr, callback, 2, result, &returnVal); // 2, count of result in QuerySystemCapability()
/developtools/ace_ets2bundle/compiler/server/
Dbuild_pipe_server.js70 let callback = undefined; variable
81 callback = cb;
328 if (callback) {
329 callback(JSON.stringify(receivedMsg_));

123