Home
last modified time | relevance | path

Searched refs:kBufferSize (Results 1 – 12 of 12) sorted by relevance

/system/core/init/
Dproto_utils.h29 constexpr size_t kBufferSize = 4096; variable
32 char buffer[kBufferSize] = {}; in ReadMessage()
49 if (message_string.size() > kBufferSize) { in SendMessage()
/system/core/adb/
Dshell_protocol.h101 kBufferSize = MAX_PAYLOAD, enumerator
108 char buffer_[kBufferSize];
/system/bt/vendor_libs/test_vendor_lib/test/
Dasync_manager_unittest.cc34 static const size_t kBufferSize = 16; member in test_vendor_lib::AsyncManagerSocketTest
70 int n = TEMP_FAILURE_RETRY(read(fd, server_buffer_, kBufferSize - 1)); in ReadIncomingMessage()
82 memset(server_buffer_, 0, kBufferSize); in SetUp()
133 char server_buffer_[kBufferSize];
134 char client_buffer_[kBufferSize];
Dpolled_socket_test.cc36 static const size_t kBufferSize = 16; member in test_vendor_lib::net::PolledSocketTest
/system/iorap/src/perfetto/
Dmain.cc61 static const uint32_t kBufferSize = 4096; in CreateCommandLinePerfettoDependenciesComponent() local
72 kBufferSize); in CreateCommandLinePerfettoDependenciesComponent()
82 kBufferSize); in CreateCommandLinePerfettoDependenciesComponent()
Drx_producer.cc79 static const uint32_t kBufferSize = in CreateComponent() local
87 kBufferSize); in CreateComponent()
/system/update_engine/common/
Dhash_calculator.cc52 const int kBufferSize = 128 * 1024; // 128 KiB in UpdateFile() local
53 brillo::Blob buffer(kBufferSize); in UpdateFile()
/system/core/fs_mgr/
Dfile_wait.cpp193 static constexpr size_t kBufferSize = sizeof(struct inotify_event) + NAME_MAX + 1; in ConsumeEvents() local
194 char buffer[kBufferSize]; in ConsumeEvents()
/system/netd/server/
DSockDiag.h44 static const int kBufferSize = 4096;
/system/update_engine/payload_generator/
Dpayload_generation_config_android.cc98 constexpr uint64_t kBufferSize = 1024 * 1024; in VerifyVerityConfig() local
99 size_t bytes_to_read = std::min(kBufferSize, data_end - offset); in VerifyVerityConfig()
/system/core/libunwindstack/tests/
DMapsTest.cpp446 constexpr size_t kBufferSize = 2048; in TEST() local
454 for (index = 0; index < kBufferSize / entry_len; index++) { in TEST()
461 size_t leftover = kBufferSize % entry_len; in TEST()
474 size_t bytes_left_in_buffer = kBufferSize - extra; in TEST()
/system/chre/platform/slpi/see/
Dsee_helper.cc2002 constexpr size_t kBufferSize = sns_remote_proc_state_config_size; in initRemoteProcSensor() local
2003 pb_byte_t msgBuffer[kBufferSize]; in initRemoteProcSensor()
2005 if (encodeSnsRemoteProcSensorConfig(msgBuffer, kBufferSize, &msgLen, in initRemoteProcSensor()