Home
last modified time | relevance | path

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

12

/system/chre/util/system/
Ddebug_dump.cc25 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/
Ddebug.cc31 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/chre/core/
Dgnss_manager.cc40 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()
Dnanoapp.cc91 size_t bufferSize) const { in logStateToBuffer()
92 PlatformNanoapp::logStateToBuffer(buffer, bufferPos, bufferSize); in logStateToBuffer()
94 buffer, bufferPos, bufferSize, in logStateToBuffer()
Dwwan_request_manager.cc78 size_t bufferSize) const { in logStateToBuffer()
79 debugDumpPrint(buffer, bufferPos, bufferSize, "\nWWAN:\n"); in logStateToBuffer()
81 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
Devent_loop.cc320 size_t bufferSize) const { in logStateToBuffer()
321 debugDumpPrint(buffer, bufferPos, bufferSize, "\nNanoapps:\n"); in logStateToBuffer()
323 app->logStateToBuffer(buffer, bufferPos, bufferSize); in logStateToBuffer()
326 debugDumpPrint(buffer, bufferPos, bufferSize, "\nEvent Loop:\n"); in logStateToBuffer()
327 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
Dwifi_request_manager.cc261 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()
Daudio_request_manager.cc109 size_t bufferSize) const { in logStateToBuffer()
110 debugDumpPrint(buffer, bufferPos, bufferSize, "\nAudio:\n"); in logStateToBuffer()
115 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
125 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
/system/libhwbinder/
DBufferedTextOutput.cpp45 , bufferSize(0) in BufferState()
55 if ((len+bufferPos) > bufferSize) { in append()
61 bufferSize = newSize; in append()
72 if (bufferSize > 256) { in restart()
76 bufferSize = 256; in restart()
84 size_t bufferSize; member
/system/chre/platform/android/
Dplatform_audio.cc109 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/
Dhost_link.cc140 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/chre/platform/shared/
Dmemory_manager.cc87 size_t bufferSize) const { in logStateToBuffer()
88 debugDumpPrint(buffer, bufferPos, bufferSize, in logStateToBuffer()
/system/bt/stack/a2dp/
Da2dp_aac_decoder.cc67 UINT bufferSize = p_buf->len; in a2dp_aac_decoder_decode_packet() local
71 &pBuffer, &bufferSize, &bytesValid); in a2dp_aac_decoder_decode_packet()
/system/chre/util/include/chre/util/nanoapp/
Ddebug.h38 void logBuffer(const uint8_t *buffer, size_t bufferSize);
/system/chre/util/include/chre/util/system/
Ddebug_dump.h35 void debugDumpPrint(char *buffer, size_t *bufferPos, size_t bufferSize,
/system/chre/core/include/chre/core/
Dgnss_manager.h91 void logStateToBuffer(char *buffer, size_t *bufferPos, size_t bufferSize)
337 size_t bufferSize) const;
Dwwan_request_manager.h75 size_t bufferSize) const;
Dnanoapp.h158 size_t bufferSize) const;
/system/chre/platform/include/chre/platform/
Dplatform_nanoapp.h107 size_t bufferSize) const;
Dmemory_manager.h102 size_t bufferSize) const;
/system/bt/binder/android/bluetooth/
DIBluetoothHidDeviceCallback.aidl25 void onGetReport(in BluetoothDevice device, in byte type, in byte id, in int bufferSize); in onGetReport() argument
DIBluetoothHidHost.aidl50 boolean getReport(in BluetoothDevice device, byte reportType, byte reportId, int bufferSize); in getReport() argument
/system/chre/platform/slpi/include/chre/target_platform/
Dplatform_nanoapp_base.h68 bool copyNanoappFragment(const void *buffer, size_t bufferSize);
/system/libhidl/base/include/hidl/
DMQDescriptor.h68 MQDescriptor(size_t bufferSize, native_handle_t* nHandle,
185 MQDescriptor<T, flavor>::MQDescriptor(size_t bufferSize, native_handle_t *nHandle, in MQDescriptor() argument
197 bufferSize, /* memory to be allocated for data buffer */ in MQDescriptor()
/system/bt/btif/include/
Dbtif_hh.h114 uint16_t bufferSize);

12