Home
last modified time | relevance | path

Searched refs:chreHeapAlloc (Results 1 – 25 of 34) sorted by relevance

12

/system/chre/apps/test/chqts/src/general_test/
Dheap_alloc_stress_test.cc34 void *ptr = chreHeapAlloc(hugeSize); in tryAbsurdMalloc()
73 reinterpret_cast<void **>(chreHeapAlloc(kNumPtrs * sizeof(void *))); in setUp()
83 void *ptr = chreHeapAlloc(curr_alloc_size); in setUp()
89 ptr = chreHeapAlloc(curr_alloc_size); in setUp()
104 ptrs[index] = chreHeapAlloc(last_alloc_size); in setUp()
Dsimple_heap_alloc_test.cc118 mPtrs[0] = chreHeapAlloc(kSizes[0]); in setUp()
119 mPtrs[1] = chreHeapAlloc(kSizes[1]); in setUp()
122 mPtrs[2] = chreHeapAlloc(23); in setUp()
123 mPtrs[3] = chreHeapAlloc(kSizes[3]); in setUp()
131 mPtrs[4] = chreHeapAlloc(kSizes[4]); in setUp()
132 mPtrs[2] = chreHeapAlloc(kSizes[2]); in setUp()
Dheap_exhaustion_stability_test.cc69 chreHeapAlloc(kNumPtrs * sizeof(*mExhaustionPtrs))); in exhaustHeap()
82 void *ptr = chreHeapAlloc(allocSize); in exhaustHeap()
88 ptr = chreHeapAlloc(allocSize); in exhaustHeap()
/system/chre/util/pigweed/
Dchre_channel_output.cc47 chreHeapAlloc(static_cast<uint32_t>( in sendToNanoapp()
121 chreHeapAlloc(static_cast<uint32_t>(buffer.size()))); in Send()
/system/chre/util/
Dcontainer_support.cc32 void *chreHeapAlloc(uint32_t bytes) { in chreHeapAlloc() function
/system/chre/chre_api/legacy/v1_0/chre/
Dre.h306 void* chreHeapAlloc(uint32_t bytes);
/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/nearby/
Dapp_manager.cc220 void *msg_buf = chreHeapAlloc(3); in RespondHostSetFilterRequest()
295 void *msg_buf = chreHeapAlloc(kFilterResultsBufSize); in SendFilterResultsToHost()
325 void *msg_buf = chreHeapAlloc(kFilterResultsBufSize); in SendFilterResultToHost()
542 uint8_t *msg_buf = (uint8_t *)chreHeapAlloc(kFilterResultsBufSize); in SendExtConfigResponseToHost()
578 uint8_t *msg_buf = (uint8_t *)chreHeapAlloc(kFilterResultsBufSize); in SendFilterExtensionResultToHost()
674 uint8_t *msg_buf = (uint8_t *)chreHeapAlloc(kTrackerReportsBufSize); in SendTrackerReportsToHost()
Dadv_report_cache.cc103 static_cast<uint8_t *>(chreHeapAlloc(sizeof(uint8_t) * dataLength)); in Push()
/system/chre/test/simulation/
Dmemory_test.cc50 void *ptr = chreHeapAlloc(*bytes); in TEST_F()
119 void *ptr = chreHeapAlloc(*bytes); in TEST_F()
175 void *ptr = chreHeapAlloc(*bytes); in TEST_F()
/system/chre/apps/test/common/chre_reliable_message_test/src/
Dchre_reliable_message_test_manager.cc111 mMessage = static_cast<uint8_t *>(chreHeapAlloc(command->messageSize)); in sendMessages()
221 message = chreHeapAlloc(kSize); in handleMessageFromHost()
/system/chre/chre_api/legacy/v1_3/chre/
Dre.h372 void *chreHeapAlloc(uint32_t bytes);
/system/chre/chre_api/legacy/v1_1/chre/
Dre.h366 void *chreHeapAlloc(uint32_t bytes);
/system/chre/apps/test/chqts/src/echo_message/
Decho_message.cc55 static_cast<uint8_t *>(chreHeapAlloc(msg->messageSize)); in nanoappHandleEvent()
/system/chre/chre_api/legacy/v1_2/chre/
Dre.h372 void *chreHeapAlloc(uint32_t bytes);
/system/chre/chre_api/legacy/v1_8/chre/
Dre.h386 void *chreHeapAlloc(uint32_t bytes);
/system/chre/chre_api/legacy/v1_4/chre/
Dre.h386 void *chreHeapAlloc(uint32_t bytes);
/system/chre/chre_api/legacy/v1_7/chre/
Dre.h386 void *chreHeapAlloc(uint32_t bytes);
/system/chre/chre_api/legacy/v1_6/chre/
Dre.h386 void *chreHeapAlloc(uint32_t bytes);
/system/chre/chre_api/legacy/v1_5/chre/
Dre.h386 void *chreHeapAlloc(uint32_t bytes);
/system/chre/chre_api/legacy/v1_9/chre/
Dre.h389 void *chreHeapAlloc(uint32_t bytes);
/system/chre/std_overrides/
Dstdlib_wrapper.cc55 : chreHeapAlloc(static_cast<uint32_t>(size)); in malloc()
/system/chre/util/include/chre/util/
Dcontainer_support.h47 return chreHeapAlloc(static_cast<uint32_t>(size)); in memoryAlloc()
/system/chre/chre_api/include/chre_api/chre/
Dre.h441 void *chreHeapAlloc(uint32_t bytes);
/system/chre/apps/test/common/shared/src/
Dsend_message.cc102 pb_byte_t *bytes = static_cast<pb_byte_t *>(chreHeapAlloc(size)); in sendMessageToHost()
/system/chre/platform/shared/
Dchre_api_re.cc97 DLL_EXPORT void *chreHeapAlloc(uint32_t bytes) { in chreHeapAlloc() function

12