Home
last modified time | relevance | path

Searched refs:buffers (Results 1 – 25 of 57) sorted by relevance

123

/system/core/fastboot/
Dsocket.cpp115 bool Send(std::vector<cutils_socket_buffer_t> buffers) override;
141 bool UdpSocket::Send(std::vector<cutils_socket_buffer_t> buffers) { in Send() argument
143 for (const auto& buffer : buffers) { in Send()
148 sock_, buffers.data(), buffers.size())) == static_cast<ssize_t>(total_length); in Send()
173 bool Send(std::vector<cutils_socket_buffer_t> buffers) override;
196 bool TcpSocket::Send(std::vector<cutils_socket_buffer_t> buffers) { in Send() argument
197 while (!buffers.empty()) { in Send()
199 socket_send_buffers_function_(sock_, buffers.data(), buffers.size())); in Send()
206 auto iter = buffers.begin(); in Send()
221 if (iter == buffers.end()) { in Send()
[all …]
Dsocket_test.cpp177 std::vector<cutils_socket_buffer_t> buffers{{data[0].data(), data[0].length()}, in TEST() local
184 sock->socket_send_buffers_function_ = [&buffers, &mock_return_value]( in TEST()
187 EXPECT_EQ(buffers.size(), num_sent_buffers); in TEST()
189 EXPECT_EQ(buffers[i].data, sent_buffers[i].data); in TEST()
190 EXPECT_EQ(buffers[i].length, sent_buffers[i].length); in TEST()
196 EXPECT_TRUE(sock->Send(buffers)); in TEST()
199 EXPECT_FALSE(sock->Send(buffers)); in TEST()
202 EXPECT_FALSE(sock->Send(buffers)); in TEST()
205 EXPECT_FALSE(sock->Send(buffers)); in TEST()
214 std::vector<cutils_socket_buffer_t> buffers{{data[0].data(), data[0].length()}, in TEST() local
[all …]
Dsocket_mock.cpp65 bool SocketMock::Send(std::vector<cutils_socket_buffer_t> buffers) { in Send() argument
67 for (const auto& buffer : buffers) { in Send()
Dsocket_mock.h59 bool Send(std::vector<cutils_socket_buffer_t> buffers) override;
Dsocket.h80 virtual bool Send(std::vector<cutils_socket_buffer_t> buffers) = 0;
/system/core/libcutils/
Dsockets_windows.cpp63 const cutils_socket_buffer_t* buffers, in socket_send_buffers() argument
75 reinterpret_cast<char*>(const_cast<void*>(buffers[i].data)); in socket_send_buffers()
76 wsa_buffers[i].len = buffers[i].length; in socket_send_buffers()
Dsockets_unix.cpp42 const cutils_socket_buffer_t* buffers, in socket_send_buffers() argument
53 iovec_buffers[i].iov_base = const_cast<void*>(buffers[i].data); in socket_send_buffers()
54 iovec_buffers[i].iov_len = buffers[i].length; in socket_send_buffers()
/system/core/libpixelflinger/
Dclear.cpp108 if (c->state.buffers.color.format == 0) in ggl_clear()
111 if (c->state.buffers.depth.format == 0) in ggl_clear()
114 if (c->state.buffers.stencil.format == 0) in ggl_clear()
122 c->state.buffers.color.format, in ggl_clear()
131 memset2d(c, c->state.buffers.color, packed, l, t, w, h); in ggl_clear()
140 memset2d(c, c->state.buffers.depth, packed, l, t, w, h); in ggl_clear()
Dpixelflinger.cpp112 if (surface->format != c->state.buffers.color.format) in ggl_colorBuffer()
115 if (surface->width > c->state.buffers.coverageBufferSize) { in ggl_colorBuffer()
117 free(c->state.buffers.coverage); in ggl_colorBuffer()
118 c->state.buffers.coverage = (int16_t*)malloc(surface->width * 2); in ggl_colorBuffer()
119 c->state.buffers.coverageBufferSize = in ggl_colorBuffer()
120 c->state.buffers.coverage ? surface->width : 0; in ggl_colorBuffer()
122 ggl_set_surface(c, &(c->state.buffers.color), surface); in ggl_colorBuffer()
123 if (c->state.buffers.read.format == 0) { in ggl_colorBuffer()
124 ggl_set_surface(c, &(c->state.buffers.read), surface); in ggl_colorBuffer()
132 ggl_set_surface(c, &(c->state.buffers.read), surface); in ggl_readBuffer()
[all …]
Dpicker.cpp44 new_needs.n |= GGL_BUILD_NEEDS(c->state.buffers.color.format, CB_FORMAT); in ggl_pick()
50 uint32_t n = GGL_BUILD_NEEDS(c->state.buffers.color.format, CB_FORMAT); in ggl_pick()
57 const GGLFormat& cbf = c->formats[ c->state.buffers.color.format ]; in ggl_pick()
/system/sepolicy/prebuilts/api/27.0/private/
Dmediadrmserver.te5 # allocate and use graphic buffers
Dmediaserver.te5 # allocate and use graphic buffers
/system/sepolicy/prebuilts/api/29.0/private/
Dmediadrmserver.te5 # allocate and use graphic buffers
Dmediaserver.te6 # allocate and use graphic buffers
/system/sepolicy/prebuilts/api/28.0/private/
Dmediadrmserver.te5 # allocate and use graphic buffers
Dmediaserver.te5 # allocate and use graphic buffers
/system/sepolicy/prebuilts/api/26.0/private/
Dmediadrmserver.te5 # allocate and use graphic buffers
Dmediaserver.te5 # allocate and use graphic buffers
/system/sepolicy/private/
Dmediadrmserver.te5 # allocate and use graphic buffers
Dmediaserver.te6 # allocate and use graphic buffers
/system/core/libion/include/ion/
Dion.h49 int ion_query_get_heaps(int fd, int cnt, void* buffers);
/system/core/libcutils/include/cutils/
Dsockets.h140 const cutils_socket_buffer_t* buffers,
/system/core/libcutils/include_vndk/cutils/
Dsockets.h140 const cutils_socket_buffer_t* buffers,
/system/sepolicy/prebuilts/api/26.0/public/
Dvr_hwc.te17 # Window Manager to receive the layers/buffers.
/system/sepolicy/prebuilts/api/28.0/public/
Dvr_hwc.te17 # Window Manager to receive the layers/buffers.

123