Home
last modified time | relevance | path

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

/frameworks/av/services/oboeservice/
DSharedMemoryWrapper.cpp29 constexpr int COUNTER_SIZE_IN_BYTES = sizeof(android::fifo_counter_t); variable
30 constexpr int WRAPPER_SIZE_IN_BYTES = 2 * COUNTER_SIZE_IN_BYTES;
56 mWriteCounterAddress = (android::fifo_counter_t*) &mCounterMemoryAddress[COUNTER_SIZE_IN_BYTES]; in SharedMemoryWrapper()
63 munmap(mCounterMemoryAddress, COUNTER_SIZE_IN_BYTES); in ~SharedMemoryWrapper()
121 const int readCounterSize = (counterFilling & READ) == NONE ? 0 : COUNTER_SIZE_IN_BYTES; in fillParcelable()
122 const int writeCounterSize = (counterFilling & WRITE) == NONE ? 0 : COUNTER_SIZE_IN_BYTES; in fillParcelable()
128 {counterFdIndex, COUNTER_SIZE_IN_BYTES, writeCounterSize}); in fillParcelable()