Home
last modified time | relevance | path

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

123

/system/chre/util/tests/
Ddebug_dump_test.cc29 const auto &buffers = debugDump.getBuffers(); in TEST() local
30 EXPECT_TRUE(buffers.empty()); in TEST()
37 const auto &buffers = debugDump.getBuffers(); in TEST() local
38 EXPECT_EQ(buffers.size(), 1); in TEST()
39 EXPECT_TRUE(strcmp(buffers.front().get(), str) == 0); in TEST()
48 const auto &buffers = debugDump.getBuffers(); in TEST() local
49 EXPECT_EQ(buffers.size(), 1); in TEST()
53 EXPECT_TRUE(strcmp(buffers.front().get(), bothStr) == 0); in TEST()
60 const auto &buffers = debugDump.getBuffers(); in TEST() local
63 EXPECT_EQ(buffers.size(), 1); in TEST()
[all …]
/system/core/fastboot/
Dsocket.cpp121 bool Send(std::vector<cutils_socket_buffer_t> buffers) override;
147 bool UdpSocket::Send(std::vector<cutils_socket_buffer_t> buffers) { in Send() argument
149 for (const auto& buffer : buffers) { in Send()
154 sock_, buffers.data(), buffers.size())) == static_cast<ssize_t>(total_length); in Send()
179 bool Send(std::vector<cutils_socket_buffer_t> buffers) override;
202 bool TcpSocket::Send(std::vector<cutils_socket_buffer_t> buffers) { in Send() argument
203 while (!buffers.empty()) { in Send()
205 socket_send_buffers_function_(sock_, buffers.data(), buffers.size())); in Send()
212 auto iter = buffers.begin(); in Send()
227 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()
/system/nfc/src/adaptation/
Ddebug_nfcsnoop.cc66 static ringbuffer_t* buffers[BUFFER_SIZE] = {nullptr, nullptr}; variable
82 while (ringbuffer_available(buffers[buffer_index]) < in nfcsnoop_cb()
84 ringbuffer_pop(buffers[buffer_index], (uint8_t*)&header, in nfcsnoop_cb()
86 ringbuffer_delete(buffers[buffer_index], header.length); in nfcsnoop_cb()
102 ringbuffer_insert(buffers[buffer_index], (uint8_t*)&header, in nfcsnoop_cb()
104 ringbuffer_insert(buffers[buffer_index], data, length); in nfcsnoop_cb()
155 if (isDebuggable && ringbuffer_available(buffers[SYSTEM_BUFFER_INDEX]) < in nfcsnoop_capture()
160 ringbuffer_free(buffers[SYSTEM_BUFFER_INDEX]); in nfcsnoop_capture()
161 buffers[SYSTEM_BUFFER_INDEX] = nullptr; in nfcsnoop_capture()
182 if (buffers[buffer_index] == nullptr) { in debug_nfcsnoop_init()
[all …]
/system/core/libcutils/
Dsockets_windows.cpp58 const cutils_socket_buffer_t* buffers, in socket_send_buffers() argument
70 reinterpret_cast<char*>(const_cast<void*>(buffers[i].data)); in socket_send_buffers()
71 wsa_buffers[i].len = buffers[i].length; in socket_send_buffers()
Dsockets_unix.cpp35 const cutils_socket_buffer_t* buffers, in socket_send_buffers() argument
46 iovec_buffers[i].iov_base = const_cast<void*>(buffers[i].data); in socket_send_buffers()
47 iovec_buffers[i].iov_len = buffers[i].length; in socket_send_buffers()
/system/logging/logd/
DREADME.replay.md30 appear in these dirty pages, and a baseline is taken before allocating the log buffers, so only
35 4. `print_logs BUFFER_TYPE [buffers] [print_point]` - this prints the logs as processed by the given
36 buffer_type from the buffers specified by `buffers` starting after the number of logs specified by
40 `buffers` is a comma separated list of the numeric buffer id values from `<android/log.h>`. For
41 example, `0,1,3` represents the main, radio, and system buffers. It can can also be `all`.
DReplayMessages.cpp109 static LogMask BuffersToLogMask(const char* buffers) { in BuffersToLogMask() argument
110 if (buffers == nullptr || !strcmp(buffers, "all")) { in BuffersToLogMask()
113 auto string_ids = Split(buffers, ","); in BuffersToLogMask()
280 PrintLogs(log_time first_log_timestamp, const char* buffer, const char* buffers, in PrintLogs() argument
283 mask_ = BuffersToLogMask(buffers); in PrintLogs()
351 PrintAllLogs(log_time first_log_timestamp, const char* buffer, const char* buffers) in PrintAllLogs() argument
353 LogMask mask = BuffersToLogMask(buffers); in PrintAllLogs()
/system/sepolicy/prebuilts/api/29.0/private/
Dmediadrmserver.te5 # allocate and use graphic buffers
Dmediaserver.te6 # allocate and use graphic buffers
/system/sepolicy/private/
Dmediadrmserver.te5 # allocate and use graphic buffers
/system/sepolicy/prebuilts/api/31.0/private/
Dmediadrmserver.te5 # allocate and use graphic buffers
Dmediaserver.te7 # allocate and use graphic buffers
/system/sepolicy/prebuilts/api/34.0/private/
Dmediadrmserver.te5 # allocate and use graphic buffers
/system/sepolicy/prebuilts/api/32.0/private/
Dmediadrmserver.te5 # allocate and use graphic buffers
Dmediaserver.te7 # allocate and use graphic buffers
/system/sepolicy/prebuilts/api/30.0/private/
Dmediadrmserver.te5 # allocate and use graphic buffers
Dmediaserver.te7 # allocate and use graphic buffers
/system/sepolicy/prebuilts/api/33.0/private/
Dmediadrmserver.te5 # allocate and use graphic buffers
Dmediaserver.te7 # allocate and use graphic buffers
/system/core/fastboot/fuzzer/
Dsocket_mock_fuzz.cpp45 bool SocketMockFuzz::Send(std::vector<cutils_socket_buffer_t> buffers) { in Send() argument
47 for (const auto& buffer : buffers) { in Send()
/system/memory/libion/include/ion/
Dion.h49 int ion_query_get_heaps(int fd, int cnt, void* buffers);
/system/core/libcutils/include_outside_system/cutils/
Dsockets.h132 const cutils_socket_buffer_t* buffers,
/system/core/libcutils/include/cutils/
Dsockets.h132 const cutils_socket_buffer_t* buffers,

123