Home
last modified time | relevance | path

Searched refs:maxHandles (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libaaudio/src/utility/
DHandleTracker.cpp56 HandleTracker::HandleTracker(uint32_t maxHandles) in HandleTracker() argument
57 : mMaxHandleCount(maxHandles) in HandleTracker()
60 assert(maxHandles <= HANDLE_TRACKER_MAX_HANDLES); in HandleTracker()
63 new(std::nothrow) handle_tracker_address_t[maxHandles]; in HandleTracker()
65 mHandleHeaders = new(std::nothrow) handle_tracker_header_t[maxHandles]; in HandleTracker()
70 for (uint32_t i = 0; i < (maxHandles - 1); i++) { in HandleTracker()
75 mHandleAddresses[maxHandles - 1] = nullptr; in HandleTracker()
76 mHandleHeaders[maxHandles - 1] = 0; in HandleTracker()
DHandleTracker.h46 HandleTracker(uint32_t maxHandles = 256);