Home
last modified time | relevance | path

Searched refs:dataLen (Results 1 – 18 of 18) sorted by relevance

/system/libfmq/tests/
Dfmq_unit_tests.cpp253 const size_t dataLen = 64; in ReaderThreadBlocking() local
254 uint8_t data[dataLen]; in ReaderThreadBlocking()
270 if ((efState & kFmqNotEmpty) && fmq->read(data, dataLen)) { in ReaderThreadBlocking()
286 const size_t dataLen = 64; in ReaderThreadBlocking2() local
287 uint8_t data[dataLen]; in ReaderThreadBlocking2()
293 dataLen, in ReaderThreadBlocking2()
411 constexpr size_t dataLen = 4; in TEST_F() local
412 uint8_t data[dataLen] = {12, 11, 10, 9}; in TEST_F()
413 fmq.write(data, dataLen); in TEST_F()
415 int8_t readData[dataLen]; in TEST_F()
[all …]
Dmsgq_test_client.cpp107 bool requestReadFmqSync(size_t dataLen) { in requestReadFmqSync() argument
109 auto ret = mService->requestReadFmqSync(dataLen, &result); in requestReadFmqSync()
112 bool requestWriteFmqSync(size_t dataLen) { in requestWriteFmqSync() argument
114 auto ret = mService->requestWriteFmqSync(dataLen, &result); in requestWriteFmqSync()
136 bool requestReadFmqSync(size_t dataLen) { in requestReadFmqSync() argument
137 auto ret = mService->requestReadFmqSync(dataLen); in requestReadFmqSync()
140 bool requestWriteFmqSync(size_t dataLen) { in requestWriteFmqSync() argument
141 auto ret = mService->requestWriteFmqSync(dataLen); in requestWriteFmqSync()
177 bool requestReadFmqUnsync(size_t dataLen, std::shared_ptr<ITestAidlMsgQ> service) { in requestReadFmqUnsync() argument
179 auto ret = service->requestReadFmqUnsync(dataLen, &result); in requestReadFmqUnsync()
[all …]
/system/chre/apps/test/common/shared/src/
Daudio_validation.cc26 bool checkAudioSamplesAllZeros(const int16_t *data, const size_t dataLen) { in checkAudioSamplesAllZeros() argument
27 for (size_t i = 0; i < dataLen; ++i) { in checkAudioSamplesAllZeros()
35 bool checkAudioSamplesAllSame(const int16_t *data, const size_t dataLen) { in checkAudioSamplesAllSame() argument
36 if (dataLen > 0) { in checkAudioSamplesAllSame()
38 for (size_t i = 1; i < dataLen; ++i) { in checkAudioSamplesAllSame()
/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/nearby/crypto/
Dhmac.c45 const size_t dataLen) { in hmacUpdate() argument
47 sha2processBytes(&ctx->sha2ctx, inData, dataLen); in hmacUpdate()
55 const size_t dataLen) { in hmacUpdateHashInit() argument
61 hmacUpdate(ctx, inData, dataLen); in hmacUpdateHashInit()
76 const size_t dataLen, void *outHash, const size_t hashLen) { in hmacSha256() argument
79 hmacUpdate(&ctx, inData, dataLen); in hmacSha256()
Dhmac.h68 size_t dataLen, void *outHash, size_t hashLen);
92 void hmacUpdate(struct HmacContext *ctx, const void *inData, size_t dataLen);
106 size_t dataLen);
Dsha2.c146 size_t dataLen) { in sha2processBytes() argument
149 ctx->msgLen += dataLen; in sha2processBytes()
150 while (dataLen) { in sha2processBytes()
154 bytesToCopy = dataLen; in sha2processBytes()
159 dataLen -= bytesToCopy; in sha2processBytes()
200 void sha256(const void *inData, const uint32_t dataLen, void *outHash, in sha256() argument
204 sha2processBytes(&ctx, inData, dataLen); in sha256()
Dsha2.h70 void sha256(const void *inData, uint32_t dataLen, void *outHash,
94 size_t dataLen);
/system/logging/liblog/include_vndk/log/
Dlog_safetynet.h28 #define android_errorWriteWithInfoLog(tag, subTag, uid, data, dataLen) \ argument
29 __android_log_error_write(tag, subTag, uid, data, dataLen)
32 const char* data, uint32_t dataLen);
/system/logging/liblog/include/log/
Dlog_safetynet.h28 #define android_errorWriteWithInfoLog(tag, subTag, uid, data, dataLen) \ argument
29 __android_log_error_write(tag, subTag, uid, data, dataLen)
32 const char* data, uint32_t dataLen);
/system/logging/liblog/
Dlog_event_write.cpp26 uint32_t dataLen) { in __android_log_error_write() argument
29 if (subTag && (data || !dataLen)) { in __android_log_error_write()
38 ret = android_log_write_string8_len(ctx, data, dataLen); in __android_log_error_write()
/system/chre/apps/test/common/shared/inc/
Daudio_validation.h31 bool checkAudioSamplesAllZeros(const int16_t *data, const size_t dataLen);
38 bool checkAudioSamplesAllSame(const int16_t *data, const size_t dataLen);
/system/chre/platform/exynos/include/chre/target_platform/
Dhost_link_base.h60 bool send(uint8_t *data, size_t dataLen) { in send() argument
61 return mailboxWriteChre(data, dataLen) == 0; in send()
/system/chre/host/common/include/chre_host/
Dfbs_daemon_base.h45 size_t dataLen) override;
103 virtual bool doSendMessage(void *data, size_t dataLen) = 0;
Ddaemon_base.h83 size_t dataLen) = 0;
/system/chre/platform/tinysys/
Dhost_link.cc499 bool HostLinkBase::send(uint8_t *data, size_t dataLen) { in send() argument
506 LOGV("HostLinkBase::%s: %zu, %p", __func__, dataLen, data); in send()
509 msg.size = dataLen; in send()
521 memcpy(dstAddr, data, dataLen); in send()
542 LOGV("chre ipi send with wrong size(%zu)", dataLen); in send()
/system/core/libcutils/
Dashmem_test.cpp64 void FillData(uint8_t* data, size_t dataLen) { in FillData() argument
65 for (size_t i = 0; i < dataLen; i++) { in FillData()
/system/security/identity/util/src/java/com/android/security/identity/internal/
DUtil.java433 int dataLen = (data != null ? data.length : 0); in coseSign1Sign() local
435 if (dataLen > 0 && detachedContentLen > 0) { in coseSign1Sign()
531 int dataLen = payload.length; in coseSign1CheckSignature() local
533 if (dataLen > 0 && detachedContentLen > 0) { in coseSign1CheckSignature()
675 int dataLen = (data != null ? data.length : 0); in coseMac0() local
677 if (dataLen > 0 && detachedContentLen > 0) { in coseMac0()
/system/netd/server/
DXfrmController.cpp189 size_t dataLen = valueSize; in fillNlAttr() local
190 int padLength = NLMSG_ALIGN(dataLen) - dataLen; in fillNlAttr()
191 nlAttr->nla_len = (__u16)(dataLen + sizeof(nlattr)); in fillNlAttr()