/frameworks/base/core/tests/coretests/src/android/os/ |
D | IdleHandlerTest.java | 61 int mCount; in testOneShotFirst() 65 mCount = 0; in testOneShotFirst() 74 if (mCount == 1) { in testOneShotFirst() 78 "Idle handler called " + mCount + " times")); in testOneShotFirst() 84 mCount++; in testOneShotFirst() 95 int mCount; in testOneShotLater() 99 mCount = 0; in testOneShotLater() 110 if (mCount == 1) { in testOneShotLater() 114 "Idle handler called " + mCount + " times")); in testOneShotLater() 120 mCount++; in testOneShotLater() [all …]
|
D | MessageQueueTest.java | 30 int mCount; field in MessageQueueTest.BaseTestHandler 48 if (mCount <= mLastMessage) { in handleMessage() 49 if (msg.what != mCount) { in handleMessage() 51 "Expected message #" + mCount in handleMessage() 53 } else if (mCount == mLastMessage) { in handleMessage() 56 mCount++; in handleMessage() 71 mCount = 0; in testMessageOrder() 90 mCount = 0; in testAtFrontOfQueue() 110 int mCount; field in MessageQueueTest.TestFieldIntegrityHandler 128 if (mCount <= mLastMessage) { in handleMessage() [all …]
|
/frameworks/base/libs/utils/ |
D | CallStack.cpp | 211 : mCount(0) in CallStack() 216 : mCount(rhs.mCount) in CallStack() 218 if (mCount) { in CallStack() 219 memcpy(mStack, rhs.mStack, mCount*sizeof(void*)); in CallStack() 229 mCount = rhs.mCount; in operator =() 230 if (mCount) { in operator =() 231 memcpy(mStack, rhs.mStack, mCount*sizeof(void*)); in operator =() 237 if (mCount != rhs.mCount) in operator ==() 239 return !mCount || (memcmp(mStack, rhs.mStack, mCount*sizeof(void*)) == 0); in operator ==() 247 if (mCount != rhs.mCount) in operator <() [all …]
|
D | VectorImpl.cpp | 44 : mStorage(0), mCount(0), mFlags(flags), mItemSize(itemSize) in VectorImpl() 49 : mStorage(rhs.mStorage), mCount(rhs.mCount), in VectorImpl() 59 LOG_ASSERT(!mCount, in ~VectorImpl() 63 this, (int)(mCount*mItemSize)); in ~VectorImpl() 73 if (rhs.mCount) { in operator =() 75 mCount = rhs.mCount; in operator =() 79 mCount = 0; in operator =() 92 _do_copy(sb->data(), mStorage, mCount); in editArrayImpl() 284 mCount = 0; in finish_vector() 289 _shrink(0, mCount); in clear() [all …]
|
/frameworks/base/core/java/android/net/http/ |
D | IdleCache.java | 48 private int mCount = 0; field in IdleCache 72 HttpLog.v("IdleCache size " + mCount + " host " + host); in cacheConnection() 75 if (mCount < IDLE_CACHE_MAX) { in cacheConnection() 83 mCount++; in cacheConnection() 100 if (mCount > 0) { in getConnection() 108 mCount--; in getConnection() 118 for (int i = 0; mCount > 0 && i < IDLE_CACHE_MAX; i++) { in clear() 124 mCount--; in clear() 130 if (mCount > 0) { in clearIdle() 138 mCount--; in clearIdle() [all …]
|
/frameworks/base/libs/hwui/ |
D | SkiaShader.cpp | 186 mBounds(bounds), mColors(colors), mPositions(positions), mCount(count) { in SkiaLinearGradientShader() 209 copy->mColors = new uint32_t[mCount]; in copy() 210 memcpy(copy->mColors, mColors, sizeof(uint32_t) * mCount); in copy() 211 copy->mPositions = new float[mCount]; in copy() 212 memcpy(copy->mPositions, mPositions, sizeof(float) * mCount); in copy() 213 copy->mCount = mCount; in copy() 228 Texture* texture = mGradientCache->get(mColors, mPositions, mCount, mTileX); in setupProgram() 272 copy->mColors = new uint32_t[mCount]; in copy() 273 memcpy(copy->mColors, mColors, sizeof(uint32_t) * mCount); in copy() 274 copy->mPositions = new float[mCount]; in copy() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | PlatLogoActivity.java | 35 int mCount; field in PlatLogoActivity 40 mCount++; 41 mZzz.vibrate(50 * mCount); 42 final float scale = 1f + 0.25f * mCount * mCount; 46 if (mCount <= 3) { 80 mCount = 0; in onCreate()
|
/frameworks/base/opengl/tests/testPauseResume/src/com/android/test/ |
D | TestActivity.java | 27 int mCount; field in TestActivity 32 Log.w(TAG, "****** step " + mCount + " resume"); 33 mCount++; 36 Log.w(TAG, "step " + mCount + " pause");
|
/frameworks/base/libs/rs/driver/ |
D | rsdCore.cpp | 180 android_atomic_release_store(dc->mWorkers.mCount, &dc->mWorkers.mRunningCount); in rsdLaunchThreads() 181 for (uint32_t ct = 0; ct < dc->mWorkers.mCount; ct++) { in rsdLaunchThreads() 225 dc->mWorkers.mCount = (uint32_t)cpu; in rsdHalInit() 226 dc->mWorkers.mThreadId = (pthread_t *) calloc(dc->mWorkers.mCount, sizeof(pthread_t)); in rsdHalInit() 227 dc->mWorkers.mNativeThreadId = (pid_t *) calloc(dc->mWorkers.mCount, sizeof(pid_t)); in rsdHalInit() 228 dc->mWorkers.mLaunchSignals = new Signal[dc->mWorkers.mCount]; in rsdHalInit() 233 android_atomic_release_store(dc->mWorkers.mCount, &dc->mWorkers.mRunningCount); in rsdHalInit() 243 for (uint32_t ct=0; ct < dc->mWorkers.mCount; ct++) { in rsdHalInit() 246 dc->mWorkers.mCount = ct; in rsdHalInit() 262 for (uint32_t ct=0; ct < dc->mWorkers.mCount; ct++) { in SetPriority() [all …]
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardEntryCounter.java | 22 private int mCount; field in VCardEntryCounter 25 return mCount; in getCount() 42 mCount++; in onEntryEnded()
|
/frameworks/base/core/java/android/database/ |
D | BulkCursorToCursorAdaptor.java | 33 private int mCount; field in BulkCursorToCursorAdaptor 45 mCount = count; in initialize() 82 return mCount; in getCount() 147 mCount = mBulkCursor.requery(getObserver()); in requery() 148 if (mCount != -1) { in requery()
|
/frameworks/base/services/sensorservice/ |
D | Fusion.cpp | 181 mCount[0] = 0; in init() 182 mCount[1] = 0; in init() 183 mCount[2] = 0; in init() 235 mCount[0]++; in checkInitComplete() 239 mCount[1]++; in checkInitComplete() 244 mCount[2]++; in checkInitComplete() 245 if (mCount[2] == 64) { in checkInitComplete() 254 mData[0] *= 1.0f/mCount[0]; in checkInitComplete() 255 mData[1] *= 1.0f/mCount[1]; in checkInitComplete() 256 mData[2] *= 1.0f/mCount[2]; in checkInitComplete()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteCursor.java | 51 private volatile int mCount = NO_COUNT; field in SQLiteCursor 151 if (mCount == NO_COUNT) { in getCount() 154 return mCount; in getCount() 165 mCount = count; in fillWindow() 166 } else if (mCount <= 0) { in fillWindow() 272 mCount = NO_COUNT; in requery() 304 mCount = NO_COUNT; in setWindow()
|
/frameworks/base/opengl/libagl/ |
D | BufferObjectManager.h | 67 mutable volatile int32_t mCount; 73 android_atomic_inc(&mCount); in incStrong() 76 if (android_atomic_dec(&mCount) == 1) { in decStrong()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpPropertyList.java | 27 private int mCount; field in MtpPropertyList 54 int index = mCount++; in append() 65 int index = mCount++; in append()
|
/frameworks/base/graphics/java/android/renderscript/ |
D | Element.java | 806 int mCount; field in Element.Builder 815 mCount = 0; in Builder() 832 if(mCount == mElements.length) { in add() 833 Element[] e = new Element[mCount + 8]; in add() 834 String[] s = new String[mCount + 8]; in add() 835 int[] as = new int[mCount + 8]; in add() 836 System.arraycopy(mElements, 0, e, 0, mCount); in add() 837 System.arraycopy(mElementNames, 0, s, 0, mCount); in add() 838 System.arraycopy(mArraySizes, 0, as, 0, mCount); in add() 843 mElements[mCount] = element; in add() [all …]
|
/frameworks/base/core/java/android/os/ |
D | PowerManager.java | 222 int mCount = 0; field in PowerManager.WakeLock 282 if (!mRefCounted || mCount++ == 0) { in acquireLocked() 316 if (!mRefCounted || --mCount == 0) { in release() 324 if (mCount < 0) { in release() 367 + " held=" + mHeld + ", refCount=" + mCount + "}"; in toString()
|
/frameworks/base/tests/TileBenchmark/tests/src/com/test/tilebenchmark/ |
D | PerformanceTest.java | 36 private int mCount = 0; field in PerformanceTest.StatAggregator 39 mCount++; in aggregate() 65 int count = 0 == mCount ? Integer.MAX_VALUE : mCount; in getBundle()
|
/frameworks/ex/common/java/com/android/common/widget/ |
D | GroupingListAdapter.java | 65 private int mCount; field in GroupingListAdapter 141 mCount = -1; in resetCache() 236 if (mCount != -1) { in getCount() 237 return mCount; in getCount() 259 mCount = count + mCursor.getCount() - cursorPosition; in getCount() 260 return mCount; in getCount()
|
/frameworks/base/include/utils/ |
D | CallStack.h | 61 size_t size() const { return mCount; } in size() 67 size_t mCount; variable
|
D | VectorImpl.h | 63 inline size_t size() const { return mCount; } in size() 64 inline bool isEmpty() const { return mCount == 0; } in isEmpty() 132 size_t mCount; // number of items variable
|
/frameworks/opt/mailcommon/tests/src/com/android/mailcommon/ |
D | MergedAdapterTest.java | 39 private int mCount; field in MergedAdapterTest.TestAdapter 43 mCount = count; in TestAdapter() 48 return mCount; in getCount() 52 mCount = count; in setCount()
|
/frameworks/base/obex/javax/obex/ |
D | HeaderSet.java | 180 private Long mCount; // 4 byte unsigned integer field in HeaderSet 257 mCount = null; in setHeader() 266 mCount = (Long)headerValue; in setHeader() 448 return mCount; in getHeader() 506 if (mCount != null) { in getHeaderList()
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
D | CdmaDataConnection.java | 49 mCount += 1; in makeDataConnection() 51 CdmaDataConnection cdmaDc = new CdmaDataConnection(phone, "CdmaDC-" + mCount, in makeDataConnection()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ServiceTest.java | 131 private int mCount; field in ServiceTest.TestConnection 157 mCount++; in onServiceConnected() 159 if (mCount == 1) { in onServiceConnected() 165 if (mCount == 2) { in onServiceConnected()
|