/system/libfmq/tests/ |
D | fmq_unit_tests.cpp | 254 const size_t dataLen = 64; in ReaderThreadBlocking() local 255 uint8_t data[dataLen]; in ReaderThreadBlocking() 271 if ((efState & kFmqNotEmpty) && fmq->read(data, dataLen)) { in ReaderThreadBlocking() 287 const size_t dataLen = 64; in ReaderThreadBlocking2() local 288 uint8_t data[dataLen]; in ReaderThreadBlocking2() 294 dataLen, in ReaderThreadBlocking2() 419 constexpr size_t dataLen = 4; in TEST_F() local 420 uint8_t data[dataLen] = {12, 11, 10, 9}; in TEST_F() 421 fmq.write(data, dataLen); in TEST_F() 423 int8_t readData[dataLen]; in TEST_F() [all …]
|
D | msgq_test_client.cpp | 110 bool requestReadFmqSync(size_t dataLen) { in requestReadFmqSync() argument 112 auto ret = mService->requestReadFmqSync(dataLen, &result); in requestReadFmqSync() 115 bool requestWriteFmqSync(size_t dataLen) { in requestWriteFmqSync() argument 117 auto ret = mService->requestWriteFmqSync(dataLen, &result); in requestWriteFmqSync() 145 bool requestReadFmqSync(size_t dataLen) { in requestReadFmqSync() argument 146 auto ret = mService->requestReadFmqSync(dataLen); in requestReadFmqSync() 149 bool requestWriteFmqSync(size_t dataLen) { in requestWriteFmqSync() argument 150 auto ret = mService->requestWriteFmqSync(dataLen); in requestWriteFmqSync() 187 bool requestReadFmqUnsync(size_t dataLen, std::shared_ptr<ITestAidlMsgQ> service) { in requestReadFmqUnsync() argument 189 auto ret = service->requestReadFmqUnsync(dataLen, &result); in requestReadFmqUnsync() [all …]
|
/system/chre/apps/test/common/shared/src/ |
D | audio_validation.cc | 26 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/ |
D | hmac.c | 45 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()
|
D | hmac.h | 68 size_t dataLen, void *outHash, size_t hashLen); 92 void hmacUpdate(struct HmacContext *ctx, const void *inData, size_t dataLen); 106 size_t dataLen);
|
D | sha2.c | 146 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()
|
D | sha2.h | 70 void sha256(const void *inData, uint32_t dataLen, void *outHash, 94 size_t dataLen);
|
/system/logging/liblog/include/log/ |
D | log_safetynet.h | 28 #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_vndk/log/ |
D | log_safetynet.h | 28 #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/ |
D | log_event_write.cpp | 26 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/ |
D | audio_validation.h | 31 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/ |
D | host_link_base.h | 60 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/ |
D | fbs_daemon_base.h | 45 size_t dataLen) override; 103 virtual bool doSendMessage(void *data, size_t dataLen) = 0;
|
D | daemon_base.h | 89 size_t dataLen) = 0;
|
/system/chre/platform/tests/ |
D | trace_test.cc | 223 uint8_t dataLen = static_cast<uint8_t>(strlen(data)); in TEST() local 234 uint8_t expectedBuffer[CHRE_TRACE_STR_BUFFER_SIZE] = {dataLen, 't', 'e', 's', in TEST() 236 for (std::size_t i = dataLen + 1; i < CHRE_TRACE_STR_BUFFER_SIZE; i++) { in TEST()
|
/system/chre/platform/tinysys/ |
D | host_link.cc | 576 DRAM_REGION_FUNCTION bool HostLinkBase::send(uint8_t *data, size_t dataLen) { in send() argument 583 LOGV("HostLinkBase::%s: %zu, %p", __func__, dataLen, data); in send() 586 msg.size = dataLen; in send() 598 memcpy(dstAddr, data, dataLen); in send() 619 LOGV("chre ipi send with wrong size(%zu)", dataLen); in send()
|
/system/security/identity/util/src/java/com/android/security/identity/internal/ |
D | Util.java | 433 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/ |
D | XfrmController.cpp | 187 size_t dataLen = valueSize; in fillNlAttr() local 188 int padLength = NLMSG_ALIGN(dataLen) - dataLen; in fillNlAttr() 189 nlAttr->nla_len = (__u16)(dataLen + sizeof(nlattr)); in fillNlAttr()
|