Home
last modified time | relevance | path

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

123

/developtools/integration_verification/tools/fotff/utils/
Dhttp.go27 func DoSimpleHttpReqRaw(method string, url string, body []byte, header map[string]string) (response…
33 if response, err = doSimpleHttpReqImpl(method, url, body, header); err == nil {
41 func DoSimpleHttpReq(method string, url string, body []byte, header map[string]string) (ret []byte,…
48 if resp, err = doSimpleHttpReqImpl(method, url, body, header); err == nil {
58 func doSimpleHttpReqImpl(method string, url string, body []byte, header map[string]string) (respons…
59 logrus.Infof("%s %s", method, url)
60 req, err := http.NewRequest(method, url, bytes.NewReader(body))
77 logrus.Errorf("%s %s: code: %d body: %s", method, url, resp.StatusCode, string(data))
78 return nil, fmt.Errorf("%s %s: code: %d body: %s", method, url, resp.StatusCode, string(data))
/developtools/hapsigner/hapsigntool/hap_sign_tool/src/main/java/com/ohos/hapsigntoolcmd/
DParams.java31 private String method; field in Params
46 return method; in getMethod()
49 public void setMethod(String method) { in setMethod() argument
50 this.method = method; in setMethod()
61 stringBuilder.append(method); in toString()
/developtools/profiler/device/services/ipc/src/
Dipc_generator.cpp35 const google::protobuf::MethodDescriptor* method = service->method(j); in Generate() local
36 const google::protobuf::Descriptor* inputType = method->input_type(); in Generate()
37 const google::protobuf::Descriptor* outputType = method->output_type(); in Generate()
38 … pcsp->AddServiceMethod(service->name(), method->name(), inputType->name(), outputType->name()); in Generate()
/developtools/hdc/src/test/
Dut_command.cpp46 int TestRuntimeCommandSimple(bool bTCPorUSB, int method, bool bNeedConnectDaemon) in TestRuntimeCommandSimple() argument
61 TestRuntimeCommand(method, debugServerPort, debugConnectKey); in TestRuntimeCommandSimple()
65 int TestTaskCommand(int method, const string &debugServerPort, const string &debugConnectKey) in TestTaskCommand() argument
69 switch (method) { in TestTaskCommand()
139 int TestRuntimeCommand(const int method, const string &debugServerPort, const string &debugConnectK… in TestRuntimeCommand() argument
141 switch (method) { in TestRuntimeCommand()
162 TestTaskCommand(method, debugServerPort, debugConnectKey); in TestRuntimeCommand()
Dut_command.h45 int TestRuntimeCommand(const int method, const string &debugServerPort, const string &debugConnectK…
46 int TestRuntimeCommandSimple(bool bTCPorUSB, int method, bool bNeedConnectDaemon);
Dut_runtime.h37 int InnerCall(int method);
Dut_runtime.cpp49 int Runtime::InnerCall(int method) in InnerCall() argument
51 return TestRuntimeCommand(method, DEBUG_ADDRESS.c_str(), DEBUG_TCP_CONNECT_KEY.c_str()); in InnerCall()
/developtools/ace_js2bundle/ace-loader/src/
DcardJson-plugin.js202 if (actionsValue[item].method) {
203 if (typeof(actionsValue[item].method) === 'string') {
204 if (actionsValue[item].method.toLowerCase() !== actionsValue[item].method) {
206 …'\n' + `WARNING: The key method '${actionsValue[item].method}' in the actions don't support upperc…
207 actionsValue[item].method = actionsValue[item].method.toLowerCase();
211 …type in the actions should be 'string', not '${typeof(actionsValue[item].method)}'.` + 'warnEnd'});
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/
DZipEntryHeader.java67 private short method; field in ZipEntryHeader
184 bf.putShort(method); in toBytes()
226 return method; in getMethod()
229 public void setMethod(short method) { in setMethod() argument
230 this.method = method; in setMethod()
DCentralDirectory.java79 private short method; field in CentralDirectory
217 UnsignedDecimalUtil.setUnsignedShort(bf, method); in toBytes()
275 return method; in getMethod()
278 public void setMethod(short method) { in setMethod() argument
279 this.method = method; in setMethod()
DZip.java225 short method = zipEntryData.getZipEntryHeader().getMethod(); in alignment() local
226 if (method != FILE_UNCOMPRESS_METHOD_FLAG && !isFirstUnRunnableFile) { in alignment()
231 if (method == FILE_UNCOMPRESS_METHOD_FLAG && FileUtils.isRunnableFile( in alignment()
/developtools/smartperf_host/ide/src/command/
DCmd.ts27 method: 'POST',
84 method: 'POST',
124 method: 'GET',
142 method: 'POST',
160 method: 'POST',
176 let res = await fetch(uri, { method: 'POST' });
/developtools/profiler/device/services/ipc/include/
Dipc_generator_impl.h34 bool AddMethod(std::string method, std::string request, std::string response) in AddMethod() argument
37 if (methodList_[i] == method) { in AddMethod()
41 methodList_[methodCount_] = method; in AddMethod()
/developtools/smartperf_host/ide/src/statistics/util/
DSpStatisticsHttpUtil.ts111 method: 'post',
127 method: 'post',
157 method: 'post',
/developtools/ace_ets2bundle/compiler/test/pages/
DTsModule.ts28 public method(): any { method in TsModule
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/formatter/
DIValueFormatter.ets21 * it implement IValueFormatter. Then override the getFormattedValue(...) method
32 * and memory allocations inside this method.
DIAxisValueFormatter.ets27 * and memory allocations inside this method.
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/interfaces/datasets/
DILineRadarDataSet.ets60 * as a line, disabling this will give great performance boost. Please note that this method
61 * uses the canvas.clipPath(...) method for drawing the filled area.
DIDataSet.ets82 * If the no Entry at the specified x-value is found, this method
84 * INFORMATION: This method does calculations at runtime. Do
100 * If the no Entry at the specified x-value is found, this method
102 * INFORMATION: This method does calculations at runtime. Do
115 * INFORMATION: This method does calculations at runtime. Do
134 * If the no Entry at the specified x-value is found, this method
136 * INFORMATION: This method does calculations at runtime. Do
158 * This method returns the actual
159 * index in the Entry array of the DataSet for a given xIndex. IMPORTANT: This method does
/developtools/profiler/device/plugins/arkts_plugin/src/
Darkts_plugin.cpp31 …R"({"id":1,"method":"HeapProfiler.takeHeapSnapshot","params":{"reportProgress":true,"captureNumeri…
34 R"({"id":1,"method":"HeapProfiler.startTrackingHeapObjects","params":{"trackAllocations":)";
37 R"({"id":2,"method":"HeapProfiler.stopTrackingHeapObjects","params":{"reportProgress":true}})";
39 R"({"id":3,"method":"Profiler.setSamplingInterval","params":{"interval":)";
41 const std::string CPU_PROFILER_START = R"({"id":3,"method":"Profiler.start","params":{}})";
42 const std::string CPU_PROFILER_STOP = R"({"id":3,"method":"Profiler.stop","params":{}})";
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/utils/
DUtils.ets25 * calling Utils.init(...) before usage. Inside the Chart.init() method, this is
41 * initialize method, called inside the Chart.init() method.
50 * This method converts dp unit to equivalent pixels, depending on device
161 * Replacement for the Math.nextUp(...) method that is only available in
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/agent_data/
Dagent_plugin_network_data.proto21 string method = 2; field
/developtools/hdc/src/common/
Dchannel.cpp200 switch (param->method) { in AsyncMainLoopTask()
237 void HdcChannelBase::PushAsyncMessage(const uint32_t channelId, const uint8_t method, const void *d… in PushAsyncMessage() argument
250 param->method = method; in PushAsyncMessage()
Dchannel.h27 …void PushAsyncMessage(const uint32_t channelId, const uint8_t method, const void *data, const int …
/developtools/profiler/protos/types/plugins/agent_data/
Dagent_plugin_network_data.proto21 string method = 2; field

123