Home
last modified time | relevance | path

Searched refs:handle_tracker_address_t (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libaaudio/src/utility/
DHandleTracker.h28 typedef void *handle_tracker_address_t; // address of something that is stored here typedef
64 aaudio_handle_t put(handle_tracker_type_t expectedType, handle_tracker_address_t address);
76 handle_tracker_address_t get(handle_tracker_type_t expectedType, aaudio_handle_t handle) const;
88 handle_tracker_address_t remove(handle_tracker_type_t expectedType, aaudio_handle_t handle);
93 handle_tracker_address_t * mHandleAddresses; // address of objects or a free linked list node
97 handle_tracker_address_t * mNextFreeAddress;
DHandleTracker.cpp62 mHandleAddresses = (handle_tracker_address_t *) in HandleTracker()
63 new(std::nothrow) handle_tracker_address_t[maxHandles]; in HandleTracker()
170 handle_tracker_address_t HandleTracker::get(handle_tracker_type_t type, aaudio_handle_t handle) con… in get()
185 handle_tracker_address_t HandleTracker::remove(handle_tracker_type_t type, aaudio_handle_t handle) { in remove()
194 handle_tracker_address_t address = mHandleAddresses[index]; in remove()
204 mNextFreeAddress = (handle_tracker_address_t *) &mHandleAddresses[index]; in remove()
/frameworks/av/media/libaaudio/tests/
Dtest_handle_tracker.cpp33 handle_tracker_address_t found; in TEST()
70 handle_tracker_address_t found; in TEST()