Searched refs:mAvailable (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/core/java/com/android/internal/util/ |
D | TokenBucket.java | 44 private int mAvailable; // Current number of available tokens. field in TokenBucket 56 mAvailable = Math.min(checkArgumentNonnegative(tokens), mCapacity); in TokenBucket() 73 mAvailable = Math.min(tokens, mCapacity); in reset() 85 return mAvailable; in available() 91 return mAvailable > 0; in has() 109 if (n > mAvailable) { in get() 110 int got = mAvailable; in get() 111 mAvailable = 0; in get() 114 mAvailable -= n; in get() 121 mAvailable = Math.min(mCapacity, mAvailable + diff); in fill()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | LowMemDetector.java | 30 private boolean mAvailable; field in LowMemDetector 47 mAvailable = false; in LowMemDetector() 49 mAvailable = true; in LowMemDetector() 55 return mAvailable; in isAvailable() 82 mAvailable = false; in run()
|
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
D | BufferPool.java | 30 private int mAvailable; field in BufferPool 41 if (mAvailable != 0) { in acquire() 42 mAvailable -= 1; in acquire() 43 return grow(mBuffers[mAvailable], needed); in acquire() 62 mBuffers[mAvailable++] = buffer; in release()
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraManager.h | 110 mAvailable(callback->onCameraAvailable), in Callback() 116 mAvailable(callback->availabilityCallbacks.onCameraAvailable), in Callback() 122 return (mAvailable == other.mAvailable && 136 if (mAvailable != other.mAvailable) return mAvailable < other.mAvailable; 142 ACameraManager_AvailabilityCallback mAvailable; member
|
D | ACameraManager.cpp | 415 cb.mAvailable : cb.mUnavailable; in onStatusChangedLocked()
|
/frameworks/av/camera/ndk/ndk_vendor/impl/ |
D | ACameraManager.h | 106 mAvailable(callback->onCameraAvailable), in Callback() 111 return (mAvailable == other.mAvailable && 121 if (mAvailable != other.mAvailable) return mAvailable < other.mAvailable; 127 ACameraManager_AvailabilityCallback mAvailable; member
|
D | ACameraManager.cpp | 442 cb.mAvailable : cb.mUnavailable; in onStatusChangedLocked()
|
/frameworks/native/libs/sensor/ |
D | SensorEventQueue.cpp | 41 : mSensorEventConnection(connection), mRecBuffer(nullptr), mAvailable(0), mConsumed(0), in SensorEventQueue() 67 if (mAvailable == 0) { in read() 73 mAvailable = static_cast<size_t>(err); in read() 76 size_t count = min(numEvents, mAvailable); in read() 78 mAvailable -= count; in read()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LinearLayoutManager.java | 561 if (mLayoutState.mAvailable > 0) { 562 extraForEnd += mLayoutState.mAvailable; 571 if (mLayoutState.mAvailable > 0) { 573 extraForStart = mLayoutState.mAvailable; 586 if (mLayoutState.mAvailable > 0) { 587 extraForStart += mLayoutState.mAvailable; 596 if (mLayoutState.mAvailable > 0) { 597 extraForEnd = mLayoutState.mAvailable; 705 mLayoutState.mAvailable = 0; in layoutForPredictiveAnimations() 714 mLayoutState.mAvailable = 0; in layoutForPredictiveAnimations() [all …]
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobServiceContext.java | 132 private boolean mAvailable; field in JobServiceContext 188 mAvailable = true; in JobServiceContext() 201 if (!mAvailable) { in executeRunnableJob() 291 mAvailable = false; in executeRunnableJob() 804 mAvailable = true; in closeAndCleanupJobLocked()
|
/frameworks/native/libs/sensor/include/sensor/ |
D | SensorEventQueue.h | 110 size_t mAvailable; variable
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 99773 Lcom/android/internal/util/TokenBucket;->mAvailable:I
|