OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:messageLen
(Results
1 - 8
of
8
) sorted by null
/system/chre/platform/shared/
host_protocol_common.cc
55
bool HostProtocolCommon::verifyMessage(const void *message, size_t
messageLen
) {
60
messageLen
);
/system/chre/platform/slpi/
platform_log.cc
61
const size_t
messageLen
= kMaxLogMessageSize - 1 - sizeof(uint64_t);
62
int strLen = vsnprintf(logBuffer,
messageLen
, formatStr, argList);
70
if (static_cast<size_t>(strLen) >=
messageLen
) {
71
logBuffer[
messageLen
] = '\0';
/frameworks/base/media/tests/NativeMidiDemo/jni/
messagequeue.cpp
33
size_t
messageLen
= strlen(message);
34
if (
messageLen
== 0) return;
36
messageLen
+= 1; // Also count in the null terminator.
38
if (
messageLen
>= messageBufferSize) {
39
snprintf(buffer, sizeof(buffer), "!!! Message too long: %zu bytes !!!",
messageLen
);
41
messageLen
= strlen(message);
45
if (wrappedWritePos +
messageLen
>= messageBufferSize) {
52
memcpy(messageBuffer + wrappedWritePos, message,
messageLen
);
53
lastWritePos +=
messageLen
;
103
size_t
messageLen
= strlen(messageBufferCopy + (readPos % messageBufferSize))
[
all
...]
/system/core/liblog/include/log/
logprint.h
65
size_t
messageLen
;
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/protobuf/
ProtobufWireAdapter.java
125
int
messageLen
= (int) PoloUtil.intBigEndianBytesToLong(preambleBuffer);
128
byte[] messageBuffer = readBytesBlocking(
messageLen
);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
BluetoothMapBmessageParser.java
315
int
messageLen
= mBmsg.mBbodyLength - MSG_CONTAINER_LEN;
316
int offset =
messageLen
+ CRLF_LEN;
335
mBmsg.mMessage = new String(data, 0,
messageLen
, StandardCharsets.UTF_8);
371
mBmsg.mMessage = remng.substring(0,
messageLen
);
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
BmessageParser.java
301
int
messageLen
= mBmsg.mBbodyLength - MSG_CONTAINER_LEN;
302
int offset =
messageLen
+ CRLF_LEN;
319
mBmsg.mMessage = new String(data, 0,
messageLen
, StandardCharsets.UTF_8);
354
mBmsg.mMessage = remng.substring(0,
messageLen
);
/system/chre/host/msm/daemon/
chre_daemon.cc
254
unsigned int
messageLen
;
259
messageLen
= 0;
262
messageBuffer, sizeof(messageBuffer), &
messageLen
);
263
LOGV("Got message from CHRE with size %u (result %d)",
messageLen
, result);
268
} else if (result == CHRE_FASTRPC_SUCCESS &&
messageLen
> 0) {
269
log_buffer(messageBuffer,
messageLen
);
273
messageBuffer,
messageLen
, &hostClientId, &messageType)) {
285
static_cast<size_t>(
messageLen
));
288
static_cast<size_t>(
messageLen
), hostClientId);
Completed in 140 milliseconds