Home
last modified time | relevance | path

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

/hardware/interfaces/bluetooth/1.0/default/test/
Dasync_fd_watcher_unittest.cc43 static const size_t kBufferSize = 16; member in android::hardware::bluetooth::V1_0::implementation::AsyncFdWatcherSocketTest
84 int n = TEMP_FAILURE_RETRY(read(fd, server_buffer_, kBufferSize - 1)); in ReadIncomingMessage()
97 memset(server_buffer_, 0, kBufferSize); in SetUp()
98 memset(client_buffer_, 0, kBufferSize); in SetUp()
194 char server_buffer_[kBufferSize];
195 char client_buffer_[kBufferSize];
/hardware/interfaces/bluetooth/async/test/
Dasync_fd_watcher_unittest.cc41 static const size_t kBufferSize = 16; member in android::hardware::bluetooth::async_test::AsyncFdWatcherSocketTest
82 int n = TEMP_FAILURE_RETRY(read(fd, server_buffer_, kBufferSize - 1)); in ReadIncomingMessage()
95 memset(server_buffer_, 0, kBufferSize); in SetUp()
96 memset(client_buffer_, 0, kBufferSize); in SetUp()
192 char server_buffer_[kBufferSize];
193 char client_buffer_[kBufferSize];
/hardware/interfaces/audio/aidl/vts/
DVtsHalPresetReverbTargetTest.cpp86 static constexpr int kBufferSize = kSamplingFrequency * kDurationMilliSec / 1000; member in PresetReverbHelper
91 int mFrameCount = kBufferSize / mStereoChannelCount;
150 for (size_t i = 0; i < kBufferSize; i++) { in generateSineWaveInput()
181 std::vector<float> output(kBufferSize); in validateIncreasingEnergy()
207 std::vector<float> output(kBufferSize); in TEST_P()
216 std::vector<float> output(kBufferSize); in TEST_P()
DVtsHalVolumeTargetTest.cpp70 mInputFrameCount = kBufferSize / channelCount; in initFrameCount()
71 mOutputFrameCount = kBufferSize / channelCount; in initFrameCount()
98 static constexpr int kBufferSize = kSamplingFrequency * kDurationMilliSec / 1000; member in VolumeControlHelper
147 mInput.resize(kBufferSize); in VolumeDataTest()
194 std::vector<float> output(kBufferSize); in TEST_P()
260 std::vector<float> baseOutput(kBufferSize); in TEST_P()
276 std::vector<float> output(kBufferSize); in TEST_P()
DVtsHalVirtualizerTargetTest.cpp70 mInputFrameCount = kBufferSize / kChannelCount; in initFrameCount()
71 mOutputFrameCount = kBufferSize / kChannelCount; in initFrameCount()
100 static constexpr int kBufferSize = kSamplingFrequency * kDurationMilliSec / 1000; member in VirtualizerHelper
179 std::vector<float> input(kBufferSize); in TEST_P()
180 std::vector<float> output(kBufferSize); in TEST_P()
DVtsHalEnvironmentalReverbTargetTest.cpp285 static constexpr int kBufferSize = kSamplingFrequency * kDurationMilliSec / 1000; member in EnvironmentalReverbHelper
290 int mFrameCount = kBufferSize / mStereoChannelCount;
347 mInput.resize(kBufferSize); in EnvironmentalReverbDataTest()
358 std::vector<float> output(kBufferSize); in assertEnergyIncreasingWithParameter()
370 std::vector<float> output(kBufferSize); in assertZeroEnergyWithBypass()
427 std::vector<float> input(kBufferSize); in TEST_P()
429 std::vector<float> output(kBufferSize); in TEST_P()
DVtsHalLoudnessEnhancerTargetTest.cpp157 mOutputBuffer.resize(kBufferSize); in LoudnessEnhancerDataTest()
177 for (size_t i = 0; i < kBufferSize; i++) { in generateInputBuffer()
218 std::vector<float> baseOutput(kBufferSize); in assertSequentialGains()
255 static constexpr float kBufferSize = 128; member in LoudnessEnhancerDataTest
DVtsHalDownmixTargetTest.cpp142 mInputBuffer.resize(kBufferSize); in setDataTestParams()
186 static constexpr size_t kBufferSize = 128; member in DownmixEffectHelper
404 ASSERT_EQ(kBufferSize, mInputBuffer.size()); in validateOutput()
405 ASSERT_GE(kBufferSize, mOutputBufferSize); in validateOutput()
406 for (size_t i = 0, j = 0; i < kBufferSize && j < mOutputBufferSize; in validateOutput()
/hardware/interfaces/bluetooth/audio/2.0/default/
DA2dpSoftwareAudioProvider.cpp43 static constexpr uint32_t kBufferSize = kRtpFrameSize * kRtpFrameCount; variable
45 static constexpr uint32_t kDataMqSize = kBufferSize * kBufferCount;
DHearingAidAudioProvider.cpp39 static constexpr uint32_t kBufferSize = kRtpFrameSize * kRtpFrameCount; variable
41 static constexpr uint32_t kDataMqSize = kBufferSize * kBufferCount;
/hardware/interfaces/bluetooth/audio/aidl/default/
DHearingAidAudioProvider.cpp35 static constexpr uint32_t kBufferSize = kRtpFrameSize * kRtpFrameCount; variable
37 static constexpr uint32_t kDataMqSize = kBufferSize * kBufferCount;
DA2dpSoftwareAudioProvider.cpp39 static constexpr uint32_t kBufferSize = kRtpFrameSize * kRtpFrameCount; variable
41 static constexpr uint32_t kDataMqSize = kBufferSize * kBufferCount;
/hardware/interfaces/bluetooth/audio/2.1/default/
DHearingAidAudioProvider.cpp41 static constexpr uint32_t kBufferSize = kRtpFrameSize * kRtpFrameCount; variable
43 static constexpr uint32_t kDataMqSize = kBufferSize * kBufferCount;
DA2dpSoftwareAudioProvider.cpp45 static constexpr uint32_t kBufferSize = kRtpFrameSize * kRtpFrameCount; variable
47 static constexpr uint32_t kDataMqSize = kBufferSize * kBufferCount;
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndGlTests.cpp195 constexpr GLsizei kBufferSize = 64; in TEST_P() local
199 mGl->glBufferData(GL_ARRAY_BUFFER, kBufferSize, 0, GL_DYNAMIC_DRAW); in TEST_P()
201 std::vector<uint8_t> bufferData(kBufferSize); in TEST_P()
202 for (uint8_t i = 0; i < kBufferSize; ++i) { in TEST_P()
208 mGl->glMapBufferRange(GL_ARRAY_BUFFER, 0, kBufferSize, in TEST_P()
211 for (uint8_t i = 0; i < kBufferSize; ++i) { in TEST_P()
215 mGl->glFlushMappedBufferRange(GL_ARRAY_BUFFER, 0, kBufferSize); in TEST_P()
221 mGl->glMapBufferRange(GL_ARRAY_BUFFER, 0, kBufferSize, GL_MAP_READ_BIT)); in TEST_P()
223 for (uint8_t i = 0; i < kBufferSize; ++i) { in TEST_P()
/hardware/google/pixel/usb/include/pixelusb/
DCommonUtils.h32 constexpr int kBufferSize = 512; variable
/hardware/google/aemu/host-common/
DAndroidPipe.cpp157 size_t avail = kBufferSize - mPos; in onGuestSend()
288 if (len < 0 || len > kBufferSize) { in onLoad()
290 static_cast<int>(len), kBufferSize); in onLoad()
300 static constexpr int kBufferSize = 128; member in android::__anon4a5f02220111::ConnectorPipe
301 char mBuffer[kBufferSize];
/hardware/interfaces/usb/gadget/1.2/default/lib/
DMonitorFfs.cpp96 char buf[kBufferSize]; in startMonitorFd()
136 int numRead = read(monitorFfs->mInotifyFd, buf, kBufferSize); in startMonitorFd()
/hardware/interfaces/usb/gadget/1.1/default/lib/
DMonitorFfs.cpp96 char buf[kBufferSize]; in startMonitorFd()
136 int numRead = read(monitorFfs->mInotifyFd, buf, kBufferSize); in startMonitorFd()
/hardware/google/pixel/usb/
DMonitorFfs.cpp132 char buf[kBufferSize]; in startMonitorFd()
172 int numRead = read(monitorFfs->mInotifyFd, buf, kBufferSize); in startMonitorFd()
/hardware/interfaces/usb/gadget/1.2/default/lib/include/
DUsbGadgetCommon.h49 constexpr int kBufferSize = 512; variable
/hardware/interfaces/usb/gadget/1.1/default/lib/include/
DUsbGadgetCommon.h48 constexpr int kBufferSize = 512; variable
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DCompilationCachingTests.cpp807 constexpr size_t kBufferSize = 1000000; in copyCacheFiles() local
808 uint8_t buffer[kBufferSize]; in copyCacheFiles()
818 while ((readBytes = read(fromFd, &buffer, kBufferSize)) > 0) { in copyCacheFiles()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DCompilationCachingTests.cpp1002 constexpr size_t kBufferSize = 1000000; in copyCacheFiles() local
1003 uint8_t buffer[kBufferSize]; in copyCacheFiles()
1015 while ((readBytes = read(fromFd, &buffer, kBufferSize)) > 0) { in copyCacheFiles()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DCompilationCachingTests.cpp993 constexpr size_t kBufferSize = 1000000; in copyCacheFiles() local
994 uint8_t buffer[kBufferSize]; in copyCacheFiles()
1006 while ((readBytes = read(fromFd, &buffer, kBufferSize)) > 0) { in copyCacheFiles()