/hardware/interfaces/bluetooth/1.0/default/test/ |
D | async_fd_watcher_unittest.cc | 43 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/ |
D | async_fd_watcher_unittest.cc | 41 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/ |
D | VtsHalPresetReverbTargetTest.cpp | 86 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()
|
D | VtsHalVolumeTargetTest.cpp | 70 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()
|
D | VtsHalVirtualizerTargetTest.cpp | 70 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()
|
D | VtsHalEnvironmentalReverbTargetTest.cpp | 285 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()
|
D | VtsHalLoudnessEnhancerTargetTest.cpp | 157 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
|
D | VtsHalDownmixTargetTest.cpp | 142 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/ |
D | A2dpSoftwareAudioProvider.cpp | 43 static constexpr uint32_t kBufferSize = kRtpFrameSize * kRtpFrameCount; variable 45 static constexpr uint32_t kDataMqSize = kBufferSize * kBufferCount;
|
D | HearingAidAudioProvider.cpp | 39 static constexpr uint32_t kBufferSize = kRtpFrameSize * kRtpFrameCount; variable 41 static constexpr uint32_t kDataMqSize = kBufferSize * kBufferCount;
|
/hardware/interfaces/bluetooth/audio/aidl/default/ |
D | HearingAidAudioProvider.cpp | 35 static constexpr uint32_t kBufferSize = kRtpFrameSize * kRtpFrameCount; variable 37 static constexpr uint32_t kDataMqSize = kBufferSize * kBufferCount;
|
D | A2dpSoftwareAudioProvider.cpp | 39 static constexpr uint32_t kBufferSize = kRtpFrameSize * kRtpFrameCount; variable 41 static constexpr uint32_t kDataMqSize = kBufferSize * kBufferCount;
|
/hardware/interfaces/bluetooth/audio/2.1/default/ |
D | HearingAidAudioProvider.cpp | 41 static constexpr uint32_t kBufferSize = kRtpFrameSize * kRtpFrameCount; variable 43 static constexpr uint32_t kDataMqSize = kBufferSize * kBufferCount;
|
D | A2dpSoftwareAudioProvider.cpp | 45 static constexpr uint32_t kBufferSize = kRtpFrameSize * kRtpFrameCount; variable 47 static constexpr uint32_t kDataMqSize = kBufferSize * kBufferCount;
|
/hardware/google/gfxstream/common/end2end/ |
D | GfxstreamEnd2EndGlTests.cpp | 195 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/ |
D | CommonUtils.h | 32 constexpr int kBufferSize = 512; variable
|
/hardware/google/aemu/host-common/ |
D | AndroidPipe.cpp | 157 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/ |
D | MonitorFfs.cpp | 96 char buf[kBufferSize]; in startMonitorFd() 136 int numRead = read(monitorFfs->mInotifyFd, buf, kBufferSize); in startMonitorFd()
|
/hardware/interfaces/usb/gadget/1.1/default/lib/ |
D | MonitorFfs.cpp | 96 char buf[kBufferSize]; in startMonitorFd() 136 int numRead = read(monitorFfs->mInotifyFd, buf, kBufferSize); in startMonitorFd()
|
/hardware/google/pixel/usb/ |
D | MonitorFfs.cpp | 132 char buf[kBufferSize]; in startMonitorFd() 172 int numRead = read(monitorFfs->mInotifyFd, buf, kBufferSize); in startMonitorFd()
|
/hardware/interfaces/usb/gadget/1.2/default/lib/include/ |
D | UsbGadgetCommon.h | 49 constexpr int kBufferSize = 512; variable
|
/hardware/interfaces/usb/gadget/1.1/default/lib/include/ |
D | UsbGadgetCommon.h | 48 constexpr int kBufferSize = 512; variable
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | CompilationCachingTests.cpp | 807 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/ |
D | CompilationCachingTests.cpp | 1002 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/ |
D | CompilationCachingTests.cpp | 993 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()
|