Home
last modified time | relevance | path

Searched refs:chreHeapAlloc (Results 1 – 25 of 26) 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.cc66 chreHeapAlloc(kNumPtrs * sizeof(*mExhaustionPtrs))); in exhaustHeap()
79 void *ptr = chreHeapAlloc(allocSize); in exhaustHeap()
85 ptr = chreHeapAlloc(allocSize); in exhaustHeap()
Dtimer_set_test.cc110 mStages = static_cast<Stage *>(chreHeapAlloc(sizeof(*mStages) * kStageCount)); in initStages()
Dsend_message_to_host_test.cc217 sLargeMessageData[i] = chreHeapAlloc(kLargeSizes[i]); in prepTestMemory()
Dbasic_wifi_test.cc131 void *array = chreHeapAlloc(sizeof(chreWifiRangingTarget) * targetLength); in testRequestRangingAsync()
/system/chre/util/include/chre/util/
Dcontainer_support.h42 return chreHeapAlloc(static_cast<uint32_t>(size)); in memoryAlloc()
/system/chre/std_overrides/
Dstdlib_wrapper.cc51 : chreHeapAlloc(static_cast<uint32_t>(size)); in malloc()
/system/chre/util/
Dcontainer_support.cc33 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/test/chqts/src/echo_message/
Decho_message.cc51 static_cast<uint8_t *>(chreHeapAlloc(msg->messageSize)); in nanoappHandleEvent()
/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/chre_api/legacy/v1_2/chre/
Dre.h372 void *chreHeapAlloc(uint32_t bytes);
/system/chre/chre_api/legacy/v1_4/chre/
Dre.h386 void *chreHeapAlloc(uint32_t bytes);
/system/chre/chre_api/include/chre_api/chre/
Dre.h386 void *chreHeapAlloc(uint32_t bytes);
/system/chre/apps/test/common/chre_settings_test/src/
Dchre_settings_test_util.cc49 pb_byte_t *bytes = static_cast<pb_byte_t *>(chreHeapAlloc(size)); in sendTestResultToHost()
/system/chre/apps/test/common/shared/src/
Dsend_message.cc68 pb_byte_t *bytes = static_cast<pb_byte_t *>(chreHeapAlloc(size)); in sendTestResultWithMsgToHost()
/system/chre/platform/shared/
Dchre_api_re.cc64 DLL_EXPORT void *chreHeapAlloc(uint32_t bytes) { in chreHeapAlloc() function
/system/chre/apps/test/pts/audio_enable_disable_test/src/
Daudio_enable_disable_test.cc74 pb_byte_t *bytes = static_cast<pb_byte_t *>(chreHeapAlloc(size)); in sendTestResult()
/system/chre/apps/power_test/common/
Dpower_test.cc53 void *buffer = chreHeapAlloc(bufferCopySize); in sendResponseMessageToHost()
/system/chre/apps/test/chqts/src/busy_startup/
Dbusy_startup.cc165 void *ptr = chreHeapAlloc(15); in nanoappStart()
/system/chre/apps/test/chqts/src/shared/
Dsend_message.cc88 ret = chreHeapAlloc(static_cast<uint32_t>(*size)); in getMessageMemory()
/system/chre/apps/test/common/chre_cross_validator_wifi/src/
Dchre_cross_validator_wifi_manager.cc283 pb_byte_t *buffer = static_cast<pb_byte_t *>(chreHeapAlloc(encodedSize)); in encodeAndSendMessageToHost()
/system/chre/apps/test/common/chre_cross_validator_sensor/src/
Dchre_cross_validator_sensor_manager.cc577 pb_byte_t *buffer = static_cast<pb_byte_t *>(chreHeapAlloc(encodedSize)); in sendMessageToHost()

12