Home
last modified time | relevance | path

Searched refs:mCapacity (Results 1 – 4 of 4) 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/graphics/common/libhwc2.1/libresource/
DExynosMPP.cpp154 mCapacity(-1), in ExynosMPP()
194 mCapacity = MPP_G2D_CAPACITY; in ExynosMPP()
215 mCapacity = MPP_MSC_CAPACITY; in ExynosMPP()
2332 if (mCapacity == -1) in hasEnoughCapa()
2345 mCapacity, totalUsedCapacity, requiredCapacity); in hasEnoughCapa()
2347 if (mCapacity >= (totalUsedCapacity + requiredCapacity)) in hasEnoughCapa()
2350 (totalUsedCapacity == 0) && (requiredCapacity < (mCapacity * 1.2))) { in hasEnoughCapa()
2625 if ((mppSource == NULL) || mCapacity == -1) in addCapacity()
2678 if ((mppSource == NULL) || (mCapacity == -1)) in removeCapacity()
2730 if (mCapacity == -1) in updateUsedCapacity()
[all …]
DExynosMPP.h515 float mCapacity; variable