/system/chre/util/nanoapp/ |
D | debug.cc | 31 void logBuffer(const uint8_t *buffer, size_t bufferSize) { in logBuffer() argument 37 if (bufferSize > 128) { in logBuffer() 39 bufferSize); in logBuffer() 40 bufferSize = 128; in logBuffer() 42 LOGD("Dumping buffer @ %p, size %zu", buffer, bufferSize); in logBuffer() 45 for (size_t i = 1; i <= bufferSize; i++) { in logBuffer()
|
/system/incremental_delivery/incfs/include/ |
D | incfs_ndk.h | 226 IncFsErrorCode IncFs_Root(const IncFsControl* control, char buffer[], size_t* bufferSize); 237 size_t* bufferSize); 239 size_t* bufferSize); 242 size_t* bufferSize); 244 char buffer[], size_t* bufferSize); 245 IncFsErrorCode IncFs_UnsafeGetSignatureByPath(const char* path, char buffer[], size_t* bufferSize); 254 IncFsReadInfo buffer[], size_t* bufferSize); 256 IncFsReadInfo buffer[], size_t* bufferSize); 259 IncFsReadInfoWithUid buffer[], size_t* bufferSize); 261 IncFsReadInfoWithUid buffer[], size_t* bufferSize); [all …]
|
/system/chre/platform/shared/include/chre/platform/shared/ |
D | log_buffer_manager.h | 58 size_t bufferSize) in LogBufferManager() argument 59 : mPrimaryLogBuffer(this, primaryBufferData, bufferSize), in LogBufferManager() 61 bufferSize) {} in LogBufferManager()
|
D | host_protocol_chre.h | 244 const uint8_t *logBuffer, size_t bufferSize); 250 const uint8_t *logBuffer, size_t bufferSize,
|
/system/libhwbinder/ |
D | BufferedTextOutput.cpp | 44 , bufferSize(0) in BufferState() 55 if ((len+bufferPos) > bufferSize) { in append() 61 bufferSize = newSize; in append() 71 if (bufferSize > 256) { in restart() 75 bufferSize = 256; in restart() 83 size_t bufferSize; member
|
/system/incremental_delivery/incfs/ |
D | incfs.cpp | 690 IncFsErrorCode IncFs_Root(const IncFsControl* control, char buffer[], size_t* bufferSize) { in IncFs_Root() argument 695 if (*bufferSize <= result.size()) { in IncFs_Root() 696 *bufferSize = result.size() + 1; in IncFs_Root() 701 *bufferSize = result.size(); in IncFs_Root() 957 static IncFsErrorCode getMetadata(const char* path, char buffer[], size_t* bufferSize) { in getMetadata() argument 958 const auto res = ::getxattr(path, kMetadataAttrName, buffer, *bufferSize); in getMetadata() 963 *bufferSize = neededSize; in getMetadata() 969 *bufferSize = res; in getMetadata() 974 size_t* bufferSize) { in IncFs_GetMetadataById() argument 984 return getMetadata(details::c_str(name), buffer, bufferSize); in IncFs_GetMetadataById() [all …]
|
/system/libfmq/include/fmq/ |
D | AidlMessageQueue.h | 101 android::base::unique_fd bufferFd, size_t bufferSize); 115 android::base::unique_fd bufferFd, size_t bufferSize, 133 android::base::unique_fd bufferFd, size_t bufferSize) 135 numElementsInQueue, configureEventFlagWord, std::move(bufferFd), bufferSize) {} 141 size_t bufferSize, std::enable_if_t<std::is_same_v<V, MQErased>, size_t> quantum) 143 numElementsInQueue, configureEventFlagWord, std::move(bufferFd), bufferSize,
|
D | MessageQueue.h | 47 android::base::unique_fd bufferFd, size_t bufferSize) in MessageQueue() 49 std::move(bufferFd), bufferSize) {} in MessageQueue()
|
D | AidlMQDescriptorShim.h | 46 AidlMQDescriptorShim(size_t bufferSize, native_handle_t* nHandle, size_t messageSize, 169 AidlMQDescriptorShim<T, flavor>::AidlMQDescriptorShim(size_t bufferSize, native_handle_t* nHandle, in AidlMQDescriptorShim() argument 177 bool overflow = bufferSize > std::numeric_limits<uint64_t>::max() - in AidlMQDescriptorShim() 182 sizeof(hardware::details::RingBufferPosition) + bufferSize); in AidlMQDescriptorShim() 187 " bytes. Data buffer size: " + std::to_string(bufferSize) + " bytes. Max size: " + in AidlMQDescriptorShim() 205 bufferSize, /* memory to be allocated for data buffer */ in AidlMQDescriptorShim()
|
D | MessageQueueBase.h | 75 android::base::unique_fd bufferFd, size_t bufferSize) in MessageQueueBase() 77 bufferSize, sizeof(T)) { in MessageQueueBase() 478 android::base::unique_fd bufferFd, size_t bufferSize, size_t quantum); 746 size_t bufferSize, size_t quantum) { in MessageQueueBase() argument 758 if (bufferFd != -1 && numElementsInQueue * quantum > bufferSize) { in MessageQueueBase() 759 hardware::details::logError("The supplied buffer size(" + std::to_string(bufferSize) + in MessageQueueBase()
|
/system/chre/util/include/chre/util/system/ |
D | debug_dump.h | 36 explicit DebugDumpWrapper(size_t bufferSize) in DebugDumpWrapper() argument 37 : kBuffSize(bufferSize), mCurrBuff(nullptr) {} in DebugDumpWrapper()
|
/system/chre/platform/android/ |
D | platform_audio.cc | 109 int32_t bufferSize = AAudioStream_getBufferCapacityInFrames(mStream); in PlatformAudio() local 110 LOGD("Created audio stream with %" PRId32 " frames buffer size", bufferSize); in PlatformAudio() 116 bufferSize, kAndroidAudioSampleRate) in PlatformAudio() 124 mBuffer.resize(bufferSize); in PlatformAudio()
|
/system/chre/platform/slpi/ |
D | host_link.cc | 124 unsigned char *buffer, size_t bufferSize, in copyToHostBuffer() argument 130 if (size > bufferSize) { in copyToHostBuffer() 132 size, bufferSize); in copyToHostBuffer() 251 size_t bufferSize, unsigned int *messageLen) { in generateMessageToHost() argument 262 int result = copyToHostBuffer(builder, buffer, bufferSize, messageLen); in generateMessageToHost() 272 size_t bufferSize, unsigned int *messageLen) { in generateHubInfoResponse() argument 297 return copyToHostBuffer(builder, buffer, bufferSize, messageLen); in generateHubInfoResponse() 301 unsigned char *buffer, size_t bufferSize, in generateMessageFromBuilder() argument 305 int result = copyToHostBuffer(*builder, buffer, bufferSize, messageLen); in generateMessageFromBuilder() 484 size_t bufferSize = static_cast<size_t>(bufferLen); in chre_slpi_get_message_to_host() local [all …]
|
/system/libhidl/fuzzer/ |
D | libHidlBase_parcel_fuzzer.cpp | 70 uint32_t bufferSize = mFdp.ConsumeIntegralInRange<uint32_t>(kMinSize, kMaxSize); in createRandomParcel() local 72 std::vector<GrantorDescriptor> grantDescriptor(bufferSize); in createRandomParcel() 73 for (size_t idx = 0; idx < bufferSize; ++idx) { in createRandomParcel() 82 descriptorSync = MQDescriptorSync<uint8_t>{bufferSize, testHandle, size, in createRandomParcel()
|
/system/chre/util/include/chre/util/nanoapp/ |
D | debug.h | 38 void logBuffer(const uint8_t *buffer, size_t bufferSize);
|
/system/media/audio_utils/tests/ |
D | spdif_tests.cpp | 208 size_t bufferSize = encoder.getBurstBufferSizeBytes(); in TEST() local 210 ASSERT_GE(bufferSize, pendingBytes); in TEST() 227 size_t bufferSize = encoder.getBurstBufferSizeBytes(); in TEST() local 229 ASSERT_GE(bufferSize, pendingBytes); in TEST()
|
/system/libhidl/base/include/hidl/ |
D | MQDescriptor.h | 38 MQDescriptor(size_t bufferSize, native_handle_t* nHandle, 109 MQDescriptor<T, flavor>::MQDescriptor(size_t bufferSize, native_handle_t* nHandle, in MQDescriptor() argument 124 bufferSize, /* memory to be allocated for data buffer */ in MQDescriptor()
|
/system/chre/platform/exynos/include/chre/target_platform/ |
D | platform_nanoapp_base.h | 70 bool copyNanoappFragment(const void *buffer, size_t bufferSize);
|
/system/chre/platform/slpi/include/chre/target_platform/ |
D | platform_nanoapp_base.h | 71 bool copyNanoappFragment(const void *buffer, size_t bufferSize);
|
/system/chre/platform/freertos/include/chre/target_platform/ |
D | platform_nanoapp_base.h | 88 bool copyNanoappFragment(const void *buffer, size_t bufferSize);
|
/system/chre/platform/shared/ |
D | host_protocol_chre.cc | 305 size_t bufferSize) { in encodeLogMessages() argument 307 reinterpret_cast<const int8_t *>(logBuffer), bufferSize); in encodeLogMessages() 314 size_t bufferSize, in encodeLogMessagesV2() argument 317 reinterpret_cast<const int8_t *>(logBuffer), bufferSize); in encodeLogMessagesV2()
|
D | log_buffer.cc | 30 size_t bufferSize) in LogBuffer() argument 32 mBufferMaxSize(bufferSize), in LogBuffer() 34 CHRE_ASSERT(bufferSize >= kBufferMinSize); in LogBuffer()
|
/system/incremental_delivery/libdataloader/include/ |
D | dataloader_ndk.h | 130 char buffer[], size_t* bufferSize);
|
/system/core/fs_mgr/liblp/fuzzer/ |
D | liblp_apis_fuzzer.cpp | 191 uint64_t bufferSize = mFdp.ConsumeIntegralInRange<uint64_t>( in process() local 194 buffer.resize(bufferSize); in process()
|
/system/libfmq/fuzzer/ |
D | fmq_fuzzer.cpp | 338 size_t bufferSize = numElements * sizeof(payload_t); in fuzzWithReaders() local 351 dataFd.reset(::ashmem_create_region("CustomData", bufferSize)); in fuzzWithReaders() 353 writeMq = std::make_unique<Queue>(numElements, evFlag, std::move(dataFd), bufferSize); in fuzzWithReaders()
|