Home
last modified time | relevance | path

Searched refs:nanoappAlloc (Results 1 – 4 of 4) sorted by relevance

/system/chre/core/tests/
Dmemory_manager_test.cc40 void *ptr = manager.nanoappAlloc(&app, 1u); in TEST()
60 void *ptr = manager.nanoappAlloc(&app, 0u); in TEST()
69 void *ptr = manager.nanoappAlloc(&app, manager.getMaxAllocationBytes() + 1); in TEST()
78 node *head = static_cast<node *>(manager.nanoappAlloc(&app, sizeof(node))); in TEST()
81 curr = static_cast<node *>(manager.nanoappAlloc(&app, sizeof(node))); in TEST()
88 EXPECT_EQ(manager.nanoappAlloc(&app, 1u), nullptr); in TEST()
103 void *ptr = manager.nanoappAlloc(&app, -1u); in TEST()
/system/chre/platform/include/chre/platform/
Dmemory_manager.h49 void *nanoappAlloc(Nanoapp *app, uint32_t bytes);
/system/chre/platform/shared/
Dmemory_manager.cc23 void *MemoryManager::nanoappAlloc(Nanoapp *app, uint32_t bytes) { in nanoappAlloc() function in chre::MemoryManager
Dchre_api_re.cc68 .nanoappAlloc(nanoapp, bytes); in chreHeapAlloc()