Searched refs:mCacheSize (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorEventConnection.cpp | 33 mCacheSize(0), mMaxCacheSize(0), mPackageName(packageName), mOpPackageName(opPackageName) { in SensorEventConnection() 67 "max cache size %d\n", mPackageName.string(), mWakeLockRefCount, mUid, mCacheSize, in dump() 84 mEventsReceived - (mEventsSentFromCache + mEventsSent + mCacheSize), in dump() 164 if (mCacheSize > 0) looper_flags |= ALOOPER_EVENT_OUTPUT; in updateLooperRegistrationLocked() 285 if (mCacheSize != 0) { in sendEvents() 288 if (mCacheSize + count <= mMaxCacheSize) { in sendEvents() 289 memcpy(&mEventCache[mCacheSize], scratch, count * sizeof(sensors_event_t)); in sendEvents() 290 mCacheSize += count; in sendEvents() 294 if (mCacheSize + count < computeMaxCacheSizeLocked()) { in sendEvents() 299 int remaningCacheSize = mMaxCacheSize - mCacheSize; in sendEvents() [all …]
|
D | SensorEventConnection.h | 157 int mCacheSize, mMaxCacheSize; variable
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
D | AsyncListUtilTest.java | 93 mDataCallback.mCacheSize = 3; in tileCaching() 181 private int mCacheSize = 10; field in AsyncListUtilTest.TestDataCallback 204 return mCacheSize; in getMaxCachedTiles()
|