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, 1); in TEST()
60 void *ptr = manager.nanoappAlloc(&app, 0); 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, 1), nullptr); in TEST()
103 void *ptr = manager.nanoappAlloc(&app, -1); in TEST()
/system/chre/platform/include/chre/platform/
Dmemory_manager.h48 void *nanoappAlloc(Nanoapp *app, uint32_t bytes);
/system/chre/platform/shared/
Dchre_api_re.cc62 nanoappAlloc(nanoapp, bytes); in chreHeapAlloc()
Dmemory_manager.cc23 void *MemoryManager::nanoappAlloc(Nanoapp *app, uint32_t bytes) { in nanoappAlloc() function in chre::MemoryManager