Searched refs:method (Results 1 - 25 of 64) sorted by relevance

123

/system/tpm/attestation/common/
H A Dmock_tpm_utility.cc28 explicit TransformString(std::string method) : method_(method) {} argument
40 explicit UntransformString(std::string method) : method_(method) {} argument
78 std::string MockTpmUtility::Transform(const std::string& method, argument
80 return input + "_fake_transform_" + method;
H A Dmock_tpm_utility.h33 // input through Transform(<method>). E.g. The expected output of a fake Sign
36 static std::string Transform(const std::string& method,
/system/keymaster/
H A Dkeymaster1_engine.cpp387 RSA_METHOD method; local
389 method.common.references = 0;
390 method.common.is_static = 1;
391 method.app_data = nullptr;
392 method.init = nullptr;
393 method.finish = nullptr;
394 method.size = nullptr;
395 method.sign = nullptr;
396 method.verify = nullptr;
397 method
412 ECDSA_METHOD method; local
[all...]
/system/connectivity/shill/dbus/
H A Dchromeos_dhcpcd_proxy.cc59 const string& method,
63 LOG(INFO) << method << ": dhcpcd daemon appears to have exited.";
65 LOG(FATAL) << "DBus error: " << method << " " << interface << ": "
58 LogDBusError(const brillo::ErrorPtr& error, const string& method, const string& interface) argument
H A Dchromeos_dhcpcd_proxy.h42 const std::string& method,
H A Dchromeos_wimax_device_proxy.h85 // Status callbacks for async method calls.
86 void OnSuccess(const ResultCallback& callback, const std::string& method);
88 const std::string& method,
H A Dchromeos_wimax_device_proxy.cc242 const string& method) {
243 SLOG(&proxy_->GetObjectPath(), 2) << __func__ << ": " << method; local
249 const string& method,
255 method.c_str(),
241 OnSuccess(const ResultCallback& callback, const string& method) argument
248 OnFailure(const ResultCallback& callback, const string& method, brillo::Error* dbus_error) argument
/system/tools/aidl/
H A Dgenerate_cpp.cpp106 const AidlMethod& method,
108 // Build up the argument list for the server method call.
110 for (const unique_ptr<AidlArgument>& a : method.GetArguments()) {
137 const Type* return_type = method.GetType().GetLanguageType<Type>();
154 unique_ptr<Declaration> BuildMethodDecl(const AidlMethod& method, argument
167 method.GetName(),
168 BuildArgList(types, method, true /* for method decl */),
253 const AidlMethod& method) {
257 kBinderStatusLiteral, bp_name, method
105 BuildArgList(const TypeNamespace& types, const AidlMethod& method, bool for_declaration) argument
251 DefineClientTransaction(const TypeNamespace& types, const AidlInterface& interface, const AidlMethod& method) argument
286 string method = type->WriteToParcelMethod(); local
349 string method = local
407 HandleServerTransaction(const TypeNamespace& types, const AidlMethod& method, StatementBlock* b) argument
[all...]
H A Dgenerate_java_binder.cpp262 static void generate_method(const AidlMethod& method, Class* interface, argument
268 const bool oneway = proxyClass->mOneWay || method.IsOneway();
272 transactCodeName += method.GetName();
285 decl->comment = method.GetComments();
287 decl->returnType = method.GetType().GetLanguageType<Type>();
288 decl->returnTypeDimension = method.GetType().IsArray() ? 1 : 0;
289 decl->name = method.GetName();
291 for (const std::unique_ptr<AidlArgument>& arg : method.GetArguments()) {
301 // == the stub method ====================================================
305 MethodCall* realCall = new MethodCall(THIS_VALUE, method
[all...]
/system/weaved/buffet/
H A Dhttp_transport_client.h37 void SendRequest(Method method,
H A Dhttp_transport_client.cc83 void HttpTransportClient::SendRequest(Method method, argument
88 brillo::http::Request request(url, weave::EnumToString(method), transport_);
/system/webservd/libwebserv/
H A Drequest_impl.h40 const std::string& method);
H A Dprotocol_handler.h69 // |method| is optional request method verb, such as "GET" or "POST".
70 // If |method| is empty, the handler responds to any request verb.
91 const std::string& method,
97 const std::string& method,
H A Drequest_fake.h38 RequestFake(const std::string& url, const std::string& method) argument
39 : Request(url, method) {}
H A Ddbus_protocol_handler.h67 const std::string& method,
72 const std::string& method,
88 std::string method; member in struct:libwebserv::DBusProtocolHandler::HandlerMapEntry
132 // A helper method to obtain a corresponding protocol handler D-Bus proxy for
H A Ddbus_protocol_handler.cc109 const std::string& method,
113 HandlerMapEntry{url, method,
121 method,
136 const std::string& method,
141 return AddHandler(url, method, std::move(handler));
165 pair.second.method,
107 AddHandler( const std::string& url, const std::string& method, std::unique_ptr<RequestHandlerInterface> handler) argument
134 AddHandlerCallback( const std::string& url, const std::string& method, const base::Callback<RequestHandlerInterface::HandlerSignature>& handler_callback) argument
/system/connectivity/shill/cellular/
H A Dcellular_bearer.cc44 const char kPropertyMethod[] = "method";
47 IPConfig::Method ConvertMMBearerIPConfigMethod(uint32_t method) { argument
48 switch (method) {
104 uint32_t method = MM_BEARER_IP_METHOD_UNKNOWN; local
106 method = properties.GetUint(kPropertyMethod);
109 << "' does not specify an IP configuration method.";
112 *ipconfig_method = ConvertMMBearerIPConfigMethod(method);
H A Dmobile_operator_info.h138 std::string method; member in struct:shill::MobileOperatorInfo::OnlinePortal
216 const std::string& method,
H A Dmobile_operator_info.cc199 pp_result << "(url: " << olp.url << ", method: " << olp.method
251 const string& method,
255 << ", " << method
257 impl_->UpdateOnlinePortal(url, method, post_data);
250 UpdateOnlinePortal(const string& url, const string& method, const string& post_data) argument
H A Dmobile_operator_info_impl.cc353 const string& method,
357 user_olp_.method == method &&
364 user_olp_.method = method;
393 user_olp_.method.clear();
925 (raw_olp.method() == raw_olp.GET) ? "GET" : "POST",
933 olp.method != user_olp_.method ||
352 UpdateOnlinePortal(const string& url, const string& method, const string& post_data) argument
/system/webservd/webservd/
H A Dprotocol_handler.h46 // Registers a new request handler for the given URL and request method.
50 const std::string& method,
56 // Finds a handler for given URL/Method. This is the method used to look up
60 const base::StringPiece& method) const;
104 std::string method; member in struct:webservd::final::HandlerMapEntry
H A Dprotocol_handler.cc44 const char* method,
51 std::string request_handler_id = handler->FindRequestHandler(url, method);
53 request_handler_id, url, method, version, connection, handler
99 const std::string& method,
103 HandlerMapEntry{url, method, std::move(handler)});
113 const base::StringPiece& method) const {
119 bool method_match = (pair.second.method == method);
133 // Multiply by 2 to allow for extra score point for matching the method.
138 if (!method_match && pair.second.method
41 ConnectionHandler(void *cls, MHD_Connection* connection, const char* url, const char* method, const char* version, const char* upload_data, size_t* upload_data_size, void** con_cls) argument
97 AddRequestHandler( const std::string& url, const std::string& method, std::unique_ptr<RequestHandlerInterface> handler) argument
[all...]
H A Dlog_manager.h50 const std::string& method,
/system/connectivity/shill/bin/
H A Dset_apn58 local method="$2"
62 "${object}" "${method}" "$@"
/system/core/libziparchive/
H A Dzip_writer_test.cc64 EXPECT_EQ(kCompressStored, data.method);
101 EXPECT_EQ(kCompressStored, data.method);
110 EXPECT_EQ(kCompressStored, data.method);
119 EXPECT_EQ(kCompressStored, data.method);
266 EXPECT_EQ(kCompressDeflated, data.method);
304 EXPECT_EQ(kCompressDeflated, data.method);

Completed in 847 milliseconds

123