Home
last modified time | relevance | path

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

/hardware/libhardware/modules/sensors/
DSensorEventQueue.cpp27 mCapacity = capacity; in SensorEventQueue()
31 mData = new sensors_event_t[mCapacity]; in SensorEventQueue()
42 if (mSize == mCapacity || requestedLength <= 0) { in getWritableRegion()
47 int firstWritable = (mStart + mSize) % mCapacity; in getWritableRegion()
52 if (lastWritable > mCapacity - 1) { in getWritableRegion()
53 lastWritable = mCapacity - 1; in getWritableRegion()
78 if (mSize == mCapacity) { in dequeue()
82 mStart = (mStart + 1) % mCapacity; in dequeue()
88 while (mSize == mCapacity) { in waitForSpace()
DSensorEventQueue.h34 int mCapacity; variable
/hardware/google/aemu/base/
DMessageChannel.cpp20 MessageChannelBase::MessageChannelBase(size_t capacity) : mCapacity(capacity) {} in MessageChannelBase()
49 while (mCount >= mCapacity && !mStopped) { in beforeWrite()
55 if (result >= mCapacity) { in beforeWrite()
56 result -= mCapacity; in beforeWrite()
64 if (mCount >= mCapacity || mStopped) { in beforeTryWrite()
68 if (result >= mCapacity) { in beforeTryWrite()
69 result -= mCapacity; in beforeTryWrite()
112 if (++mPos == mCapacity) { in afterRead()
/hardware/google/gfxstream/guest/android-emu/aemu/base/synchronization/
DAndroidMessageChannel.cpp20 MessageChannelBase::MessageChannelBase(size_t capacity) : mCapacity(capacity) {} in MessageChannelBase()
49 while (mCount >= mCapacity && !mStopped) { in beforeWrite()
55 if (result >= mCapacity) { in beforeWrite()
56 result -= mCapacity; in beforeWrite()
64 if (mCount >= mCapacity || mStopped) { in beforeTryWrite()
68 if (result >= mCapacity) { in beforeTryWrite()
69 result -= mCapacity; in beforeTryWrite()
111 if (++mPos == mCapacity) { in afterRead()
DAndroidMessageChannel.h98 size_t mCapacity; variable
/hardware/google/aemu/base/include/aemu/base/containers/
DSmallVector.h105 size_type capacity() const { return mCapacity; } in capacity()
176 this->mCapacity = capacity; in init()
234 this->mCapacity = newCap; in set_capacity()
252 return (const void*)(&mCapacity + 1); in smallBufferStart()
260 size_type mCapacity; variable
292 static_assert(offsetof(base, mCapacity) + sizeof(base::mCapacity) == in SmallFixedVector()
333 this->mCapacity = other.mCapacity; in SmallFixedVector()
341 this->mCapacity = kSmallSize; in SmallFixedVector()
359 this->mCapacity = other.mCapacity;
364 if (this->isAllocated() && this->mCapacity < other.size()) {
/hardware/google/gfxstream/guest/android-emu/aemu/base/containers/
DSmallVector.h105 size_type capacity() const { return mCapacity; } in capacity()
176 this->mCapacity = capacity; in init()
234 this->mCapacity = newCap; in set_capacity()
252 return (const void*)(&mCapacity + 1); in smallBufferStart()
260 size_type mCapacity; variable
292 static_assert(offsetof(base, mCapacity) + sizeof(base::mCapacity) == in SmallFixedVector()
333 this->mCapacity = other.mCapacity; in SmallFixedVector()
341 this->mCapacity = kSmallSize; in SmallFixedVector()
359 this->mCapacity = other.mCapacity;
364 if (this->isAllocated() && this->mCapacity < other.size()) {
/hardware/google/aemu/base/include/aemu/base/files/
DGzipStreambuf.h40 std::size_t mCapacity; variable
69 std::size_t mCapacity; variable
97 std::size_t mCapacity; variable
/hardware/google/pixel/power-libperfmgr/aidl/
DUClampVoter.h96 : VoteRange(active, startTime, durationNs), mCapacity(capacity) {} in GpuVote()
97 Cycles mCapacity; member
DUClampVoter.cpp66 res = res.value_or(Cycles(0)) + it->second.mCapacity; in getGpuCapacityRequest()
/hardware/google/aemu/base/include/aemu/base/synchronization/
DMessageChannel.h98 size_t mCapacity; variable
/hardware/google/graphics/common/libhwc2.1/libresource/
DExynosMPP.cpp158 mCapacity(-1), in ExynosMPP()
201 mCapacity = MPP_G2D_CAPACITY; in ExynosMPP()
222 mCapacity = MPP_MSC_CAPACITY; in ExynosMPP()
2383 if (mCapacity == -1) in hasEnoughCapa()
2395 mCapacity, totalUsedCapacity, requiredCapacity); in hasEnoughCapa()
2397 if (mCapacity >= (totalUsedCapacity + requiredCapacity)) in hasEnoughCapa()
2409 (requiredCapacity < (mCapacity * MPP_HDR_MARGIN)))) { in isCapacityExceptionCondition()
2683 if ((mppSource == NULL) || mCapacity == -1) in addCapacity()
2736 if ((mppSource == NULL) || (mCapacity == -1)) in removeCapacity()
2788 if (mCapacity == -1) in updateUsedCapacity()
[all …]
DExynosMPP.h537 float mCapacity; variable
DExynosResourceManager.cpp2213 int fps = ceil(msecsPerSec / mpp.mCapacity); in setFrameRateForPerformance()
2334 if (mpp.mCapacity < 0) in getResourceUsedCapa()
2699 return mM2mMPPs[i]->mCapacity; in getM2MCapa()
2744 mM2mMPPs[i]->mCapacity = capa; in setM2MCapa()