/system/chre/util/system/ |
D | debug_dump.cc | 25 void debugDumpPrint(char *buffer, size_t *bufferPos, size_t bufferSize, in debugDumpPrint() argument 27 if (*bufferPos < bufferSize) { in debugDumpPrint() 30 int strLen = vsnprintf(&buffer[*bufferPos], bufferSize - *bufferPos, in debugDumpPrint() 36 if (bufferSize < strLenBytes || in debugDumpPrint() 37 *bufferPos >= (bufferSize - strLenBytes)) { in debugDumpPrint() 38 *bufferPos = bufferSize; in debugDumpPrint() 39 buffer[bufferSize - 1] = '\0'; in debugDumpPrint()
|
/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 buffer, 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/core/libstats/socket/tests/ |
D | stats_event_test.cpp | 100 size_t bufferSize; in TEST() local 101 uint8_t* buffer = stats_event_get_buffer(event, &bufferSize); in TEST() 102 uint8_t* bufferEnd = buffer + bufferSize; in TEST() 138 size_t bufferSize; in TEST() local 139 uint8_t* buffer = stats_event_get_buffer(event, &bufferSize); in TEST() 140 uint8_t* bufferEnd = buffer + bufferSize; in TEST() 163 size_t bufferSize; in TEST() local 164 uint8_t* buffer = stats_event_get_buffer(event, &bufferSize); in TEST() 165 uint8_t* bufferEnd = buffer + bufferSize; in TEST() 197 size_t bufferSize; in TEST() local [all …]
|
/system/incremental_delivery/incfs/include/ |
D | incfs_ndk.h | 167 IncFsErrorCode IncFs_Root(const IncFsControl* control, char buffer[], size_t* bufferSize); 175 size_t* bufferSize); 177 size_t* bufferSize); 180 size_t* bufferSize); 182 char buffer[], size_t* bufferSize); 183 IncFsErrorCode IncFs_UnsafeGetSignatureByPath(const char* path, char buffer[], size_t* bufferSize); 192 IncFsReadInfo buffer[], size_t* bufferSize); 194 IncFsReadInfo buffer[], size_t* bufferSize);
|
/system/chre/core/ |
D | gnss_manager.cc | 40 char *buffer, size_t *bufferPos, size_t bufferSize) const { in logStateToBuffer() 41 debugDumpPrint(buffer, bufferPos, bufferSize,"\nGNSS:"); in logStateToBuffer() 42 mLocationSession.logStateToBuffer(buffer, bufferPos, bufferSize); in logStateToBuffer() 43 mMeasurementSession.logStateToBuffer(buffer, bufferPos, bufferSize); in logStateToBuffer() 115 char *buffer, size_t *bufferPos, size_t bufferSize) const { in logStateToBuffer() 116 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer() 119 debugDumpPrint(buffer, bufferPos, bufferSize, " Requests:\n"); in logStateToBuffer() 121 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer() 128 debugDumpPrint(buffer, bufferPos, bufferSize, " Transition queue:\n"); in logStateToBuffer() 130 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
|
D | nanoapp.cc | 91 size_t bufferSize) const { in logStateToBuffer() 92 PlatformNanoapp::logStateToBuffer(buffer, bufferPos, bufferSize); in logStateToBuffer() 94 buffer, bufferPos, bufferSize, in logStateToBuffer()
|
D | wwan_request_manager.cc | 77 size_t bufferSize) const { in logStateToBuffer() 78 debugDumpPrint(buffer, bufferPos, bufferSize, "\nWWAN:\n"); in logStateToBuffer() 80 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
|
D | event_loop.cc | 326 size_t bufferSize) const { in logStateToBuffer() 327 debugDumpPrint(buffer, bufferPos, bufferSize, "\nNanoapps:\n"); in logStateToBuffer() 329 app->logStateToBuffer(buffer, bufferPos, bufferSize); in logStateToBuffer() 332 debugDumpPrint(buffer, bufferPos, bufferSize, "\nEvent Loop:\n"); in logStateToBuffer() 333 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
|
D | wifi_request_manager.cc | 261 size_t bufferSize) const { in logStateToBuffer() 262 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer() 265 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer() 268 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer() 273 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer() 278 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer() 281 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
|
/system/incremental_delivery/incfs/ |
D | incfs.cpp | 548 IncFsErrorCode IncFs_Root(const IncFsControl* control, char buffer[], size_t* bufferSize) { in IncFs_Root() argument 553 if (*bufferSize <= result.size()) { in IncFs_Root() 554 *bufferSize = result.size() + 1; in IncFs_Root() 559 *bufferSize = result.size(); in IncFs_Root() 773 static IncFsErrorCode getMetadata(const char* path, char buffer[], size_t* bufferSize) { in getMetadata() argument 774 const auto res = ::getxattr(path, android::incfs::kMetadataAttrName, buffer, *bufferSize); in getMetadata() 779 *bufferSize = neededSize; in getMetadata() 785 *bufferSize = res; in getMetadata() 790 size_t* bufferSize) { in IncFs_GetMetadataById() argument 800 return getMetadata(android::incfs::details::c_str(name), buffer, bufferSize); in IncFs_GetMetadataById() [all …]
|
/system/libhwbinder/ |
D | BufferedTextOutput.cpp | 45 , bufferSize(0) in BufferState() 56 if ((len+bufferPos) > bufferSize) { in append() 62 bufferSize = newSize; in append() 72 if (bufferSize > 256) { in restart() 76 bufferSize = 256; in restart() 84 size_t bufferSize; member
|
/system/chre/platform/android/ |
D | platform_audio.cc | 109 int32_t bufferSize = AAudioStream_getBufferCapacityInFrames(mStream); in PlatformAudio() local 111 bufferSize); in PlatformAudio() 116 bufferSize, kAndroidAudioSampleRate).toRawNanoseconds(); in PlatformAudio() 123 mBuffer.resize(bufferSize); in PlatformAudio()
|
/system/chre/platform/slpi/ |
D | host_link.cc | 140 size_t bufferSize, unsigned int *messageLen) { in copyToHostBuffer() argument 145 if (size > bufferSize) { in copyToHostBuffer() 147 size, bufferSize); in copyToHostBuffer() 311 size_t bufferSize, unsigned int *messageLen) { in generateMessageToHost() argument 321 int result = copyToHostBuffer(builder, buffer, bufferSize, messageLen); in generateMessageToHost() 331 size_t bufferSize, unsigned int *messageLen) { in generateHubInfoResponse() argument 358 return copyToHostBuffer(builder, buffer, bufferSize, messageLen); in generateHubInfoResponse() 362 FlatBufferBuilder *builder, unsigned char *buffer, size_t bufferSize, in generateMessageFromBuilder() argument 365 int result = copyToHostBuffer(*builder, buffer, bufferSize, messageLen); in generateMessageFromBuilder() 606 size_t bufferSize = static_cast<size_t>(bufferLen); in chre_slpi_get_message_to_host() local [all …]
|
/system/bt/stack/a2dp/ |
D | a2dp_aac_decoder.cc | 67 UINT bufferSize = p_buf->len; in a2dp_aac_decoder_decode_packet() local 71 &pBuffer, &bufferSize, &bytesValid); in a2dp_aac_decoder_decode_packet()
|
/system/chre/platform/shared/ |
D | memory_manager.cc | 87 size_t bufferSize) const { in logStateToBuffer() 88 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
|
/system/chre/util/include/chre/util/nanoapp/ |
D | debug.h | 38 void logBuffer(const uint8_t *buffer, size_t bufferSize);
|
/system/chre/util/include/chre/util/system/ |
D | debug_dump.h | 35 void debugDumpPrint(char *buffer, size_t *bufferPos, size_t bufferSize,
|
/system/chre/core/include/chre/core/ |
D | gnss_manager.h | 91 void logStateToBuffer(char *buffer, size_t *bufferPos, size_t bufferSize) 337 size_t bufferSize) const;
|
D | wwan_request_manager.h | 75 size_t bufferSize) const;
|
D | nanoapp.h | 158 size_t bufferSize) const;
|
/system/chre/platform/include/chre/platform/ |
D | platform_nanoapp.h | 107 size_t bufferSize) const;
|
D | memory_manager.h | 102 size_t bufferSize) const;
|
/system/bt/binder/android/bluetooth/ |
D | IBluetoothHidDeviceCallback.aidl | 25 void onGetReport(in BluetoothDevice device, in byte type, in byte id, in int bufferSize); in onGetReport() argument
|
D | IBluetoothHidHost.aidl | 50 boolean getReport(in BluetoothDevice device, byte reportType, byte reportId, int bufferSize); in getReport() argument
|
/system/chre/platform/slpi/include/chre/target_platform/ |
D | platform_nanoapp_base.h | 68 bool copyNanoappFragment(const void *buffer, size_t bufferSize);
|