Home
last modified time | relevance | path

Searched refs:Response (Results 1 – 24 of 24) sorted by relevance

/system/nvram/messages/
Dnvram_messages.cpp160 template<> struct DescriptorForType<Response> {
162 MakeField(1, &Response::result),
163 MakeOneOfField(2, &Response::payload, COMMAND_GET_INFO),
164 MakeOneOfField(3, &Response::payload, COMMAND_CREATE_SPACE),
165 MakeOneOfField(4, &Response::payload, COMMAND_GET_SPACE_INFO),
166 MakeOneOfField(5, &Response::payload, COMMAND_DELETE_SPACE),
167 MakeOneOfField(6, &Response::payload, COMMAND_DISABLE_CREATE),
168 MakeOneOfField(7, &Response::payload, COMMAND_WRITE_SPACE),
169 MakeOneOfField(8, &Response::payload, COMMAND_READ_SPACE),
170 MakeOneOfField(9, &Response::payload, COMMAND_LOCK_SPACE_WRITE),
[all …]
/system/netd/resolv/
DDnsTlsDispatcher.cpp85 DnsTlsTransport::Response DnsTlsDispatcher::query( in query()
92 DnsTlsTransport::Response code = DnsTlsTransport::Response::internal_error; in query()
98 case DnsTlsTransport::Response::success: in query()
99 case DnsTlsTransport::Response::limit_error: in query()
104 case DnsTlsTransport::Response::network_error: in query()
105 case DnsTlsTransport::Response::internal_error: in query()
115 DnsTlsTransport::Response DnsTlsDispatcher::query(const DnsTlsServer& server, unsigned mark, in query()
136 DnsTlsTransport::Response code = result.code; in query()
137 if (code == DnsTlsTransport::Response::success) { in query()
140 code = DnsTlsTransport::Response::limit_error; in query()
DDnsTlsServer.h40 enum class Response : uint8_t { success, network_error, limit_error, internal_error }; enum
43 Response code;
Ddns_tls_test.cpp155 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
191 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
213 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
278 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
297 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
316 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
337 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
359 EXPECT_EQ(DnsTlsTransport::Response::internal_error, r.code); in TEST_F()
385 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
404 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
[all …]
DDnsTlsTransport.h49 typedef DnsTlsServer::Response Response; typedef
DDnsTlsQueryMap.h44 typedef DnsTlsServer::Response Response; typedef
DDnsTlsDispatcher.h51 DnsTlsTransport::Response query(const std::list<DnsTlsServer>& tlsServers, unsigned mark,
58 DnsTlsTransport::Response query(const DnsTlsServer& server, unsigned mark,
DDnsTlsTransport.cpp39 return (Result) { .code = Response::internal_error }; in query()
182 if (r.code != Response::success) { in validate()
DDnsTlsQueryMap.cpp53 Result r = { .code = Response::network_error }; in expire()
139 Result r = { .code = Response::success, .response = std::move(response) }; in onResponse()
Dres_send.cpp1269 case DnsTlsTransport::Response::success: in res_tls_send()
1272 case DnsTlsTransport::Response::network_error: in res_tls_send()
1274 case DnsTlsTransport::Response::internal_error: in res_tls_send()
1285 case DnsTlsTransport::Response::success: in res_tls_send()
1288 case DnsTlsTransport::Response::network_error: in res_tls_send()
/system/bt/service/ipc/dbus/
Dbluetooth_adapter.cc26 using ::dbus::Response;
76 response_sender.Run(Response::FromMethodCall(method_call)); in Enable()
83 response_sender.Run(Response::FromMethodCall(method_call)); in Disable()
96 std::unique_ptr<Response> response(Response::FromMethodCall(method_call)); in Introspect()
/system/nvram/messages/tests/
Dnvram_messages_test.cpp49 Response response; in TEST()
65 Response decoded; in TEST()
118 Response response; in TEST()
122 Response decoded; in TEST()
148 Response response; in TEST()
159 Response decoded; in TEST()
202 Response response; in TEST()
206 Response decoded; in TEST()
226 Response response; in TEST()
230 Response decoded; in TEST()
[all …]
/system/nvram/hal/
Dtesting_nvram_implementation.cpp42 nvram::Response* response) override;
51 bool SendRequest(const nvram::Request& request, nvram::Response* response);
71 nvram::Response* response) { in Execute()
95 nvram::Response* response) { in SendRequest()
Dfake_nvram.cpp134 nvram::Response response; in ProcessCommand()
Dnvram_device_adapter.cpp43 nvram::Response response; in Execute()
/system/nvram/hal/include/nvram/hal/
Dnvram_device_adapter.h37 nvram::Response* response) = 0;
/system/core/libutils/include/utils/
DLooper.h433 struct Response { struct
471 Vector<Response> mResponses;
/system/nvram/core/include/nvram/core/
Dnvram_manager.h38 void Dispatch(const Request& request, Response* response);
/system/nvram/
DREADME.md41 and `nvram::Response` objects, the glue code will adapt it to the full NVRAM API
49 HAL function. The `nvram::Request` and `nvram::Response` wrappers keep track of
/system/nvram/messages/include/nvram/messages/
Dnvram_messages.h174 struct Response { struct
/system/core/libutils/
DLooper.cpp177 const Response& response = mResponses.itemAt(mResponseIndex++); in pollOnce()
341 Response& response = mResponses.editItemAt(i); in pollInner()
418 Response response; in pushResponse()
/system/bt/service/doc/
DIBluetoothGattServerCallback.txt83 * Response" procedure and sendResponse should not be called. If
103 * Response" procedure and sendResponse should not be called. If
DIBluetoothGattClient.txt82 * - WRITE_TYPE_NO_RESPONSE (0x01): Write Without Response procedure
83 * - WRITE_TYPE_SIGNED (0x04): Signed Write Without Response procedure.
/system/nvram/core/
Dnvram_manager.cpp111 nvram::Response* response) { in Dispatch()