Searched refs:mCount (Results 1 - 25 of 42) sorted by relevance

12

/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntryCounter.java22 private int mCount; field in class:VCardEntryCounter
25 return mCount;
42 mCount++;
/frameworks/base/core/tests/coretests/src/android/os/
H A DIdleHandlerTest.java61 int mCount;
65 mCount = 0;
74 if (mCount == 1) {
78 "Idle handler called " + mCount + " times"));
84 mCount++;
95 int mCount;
99 mCount = 0;
110 if (mCount == 1) {
114 "Idle handler called " + mCount + " times"));
120 mCount
[all...]
H A DMessageQueueTest.java30 int mCount; field in class:MessageQueueTest.BaseTestHandler
48 if (mCount <= mLastMessage) {
49 if (msg.what != mCount) {
51 "Expected message #" + mCount
53 } else if (mCount == mLastMessage) {
56 mCount++;
71 mCount = 0;
90 mCount = 0;
110 int mCount; field in class:MessageQueueTest.TestFieldIntegrityHandler
128 if (mCount <
[all...]
/frameworks/base/libs/utils/
H A DCallStack.cpp211 : mCount(0)
216 : mCount(rhs.mCount)
218 if (mCount) {
219 memcpy(mStack, rhs.mStack, mCount*sizeof(void*));
229 mCount = rhs.mCount;
230 if (mCount) {
231 memcpy(mStack, rhs.mStack, mCount*sizeof(void*));
237 if (mCount !
[all...]
H A DVectorImpl.cpp44 : mStorage(0), mCount(0), mFlags(flags), mItemSize(itemSize)
49 : mStorage(rhs.mStorage), mCount(rhs.mCount),
59 LOG_ASSERT(!mCount,
63 this, (int)(mCount*mItemSize));
73 if (rhs.mCount) {
75 mCount = rhs.mCount;
79 mCount = 0;
92 _do_copy(sb->data(), mStorage, mCount);
[all...]
/frameworks/base/opengl/tests/testPauseResume/src/com/android/test/
H A DTestActivity.java27 int mCount; field in class:TestActivity
32 Log.w(TAG, "****** step " + mCount + " resume");
33 mCount++;
36 Log.w(TAG, "step " + mCount + " pause");
/frameworks/base/core/java/android/net/http/
H A DIdleCache.java48 private int mCount = 0; field in class:IdleCache
72 HttpLog.v("IdleCache size " + mCount + " host " + host);
75 if (mCount < IDLE_CACHE_MAX) {
83 mCount++;
100 if (mCount > 0) {
108 mCount--;
118 for (int i = 0; mCount > 0 && i < IDLE_CACHE_MAX; i++) {
124 mCount--;
130 if (mCount > 0) {
138 mCount
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DPlatLogoActivity.java35 int mCount; field in class:PlatLogoActivity
40 mCount++;
41 mZzz.vibrate(50 * mCount);
42 final float scale = 1f + 0.25f * mCount * mCount;
46 if (mCount <= 3) {
80 mCount = 0;
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyList.java27 private int mCount; field in class:MtpPropertyList
54 int index = mCount++;
65 int index = mCount++;
/frameworks/base/libs/hwui/
H A DSkiaShader.cpp186 mBounds(bounds), mColors(colors), mPositions(positions), mCount(count) {
209 copy->mColors = new uint32_t[mCount];
210 memcpy(copy->mColors, mColors, sizeof(uint32_t) * mCount);
211 copy->mPositions = new float[mCount];
212 memcpy(copy->mPositions, mPositions, sizeof(float) * mCount);
213 copy->mCount = mCount;
228 Texture* texture = mGradientCache->get(mColors, mPositions, mCount, mTileX);
272 copy->mColors = new uint32_t[mCount];
273 memcpy(copy->mColors, mColors, sizeof(uint32_t) * mCount);
[all...]
/frameworks/base/include/utils/
H A DCallStack.h61 size_t size() const { return mCount; }
67 size_t mCount; member in class:android::CallStack
/frameworks/base/opengl/libagl/
H A DBufferObjectManager.h67 mutable volatile int32_t mCount; member in class:android::EGLBufferObjectManager
73 android_atomic_inc(&mCount);
76 if (android_atomic_dec(&mCount) == 1) {
/frameworks/base/core/java/android/database/
H A DBulkCursorToCursorAdaptor.java33 private int mCount; field in class:BulkCursorToCursorAdaptor
45 mCount = count;
82 return mCount;
147 mCount = mBulkCursor.requery(getObserver());
148 if (mCount != -1) {
153 // observer from the far side so that observers can see a correct value for mCount
/frameworks/base/core/java/android/os/
H A DPowerManager.java222 int mCount = 0; field in class:PowerManager.WakeLock
282 if (!mRefCounted || mCount++ == 0) {
316 if (!mRefCounted || --mCount == 0) {
324 if (mCount < 0) {
367 + " held=" + mHeld + ", refCount=" + mCount + "}";
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteCursor.java51 private volatile int mCount = NO_COUNT; field in class:SQLiteCursor
155 if (mCount == NO_COUNT) {
158 return mCount;
169 mCount = count;
170 } else if (mCount <= 0) {
276 mCount = NO_COUNT;
308 mCount = NO_COUNT;
/frameworks/base/tests/TileBenchmark/tests/src/com/test/tilebenchmark/
H A DPerformanceTest.java36 private int mCount = 0; field in class:PerformanceTest.StatAggregator
39 mCount++;
65 int count = 0 == mCount ? Integer.MAX_VALUE : mCount;
/frameworks/base/services/sensorservice/
H A DFusion.cpp181 mCount[0] = 0;
182 mCount[1] = 0;
183 mCount[2] = 0;
235 mCount[0]++;
239 mCount[1]++;
244 mCount[2]++;
245 if (mCount[2] == 64) {
254 mData[0] *= 1.0f/mCount[0];
255 mData[1] *= 1.0f/mCount[1];
256 mData[2] *= 1.0f/mCount[
[all...]
H A DFusion.h73 size_t mCount[3]; member in class:android::Fusion
/frameworks/base/libs/rs/driver/
H A DrsdCore.cpp180 android_atomic_release_store(dc->mWorkers.mCount, &dc->mWorkers.mRunningCount);
181 for (uint32_t ct = 0; ct < dc->mWorkers.mCount; ct++) {
225 dc->mWorkers.mCount = (uint32_t)cpu;
226 dc->mWorkers.mThreadId = (pthread_t *) calloc(dc->mWorkers.mCount, sizeof(pthread_t));
227 dc->mWorkers.mNativeThreadId = (pid_t *) calloc(dc->mWorkers.mCount, sizeof(pid_t));
228 dc->mWorkers.mLaunchSignals = new Signal[dc->mWorkers.mCount];
233 android_atomic_release_store(dc->mWorkers.mCount, &dc->mWorkers.mRunningCount);
243 for (uint32_t ct=0; ct < dc->mWorkers.mCount; ct++) {
246 dc->mWorkers.mCount = ct;
262 for (uint32_t ct=0; ct < dc->mWorkers.mCount; c
[all...]
H A DrsdVertexArray.cpp33 mCount = numAttribs;
99 for (uint32_t ct=0; ct < mCount; ct++) {
H A DrsdCore.h53 uint32_t mCount; member in struct:RsdHalRec::Workers
H A DrsdVertexArray.h59 uint32_t mCount; member in class:RsdVertexArray
/frameworks/base/graphics/java/android/renderscript/
H A DElement.java893 int mCount; field in class:Element.Builder
902 mCount = 0;
919 if(mCount == mElements.length) {
920 Element[] e = new Element[mCount + 8];
921 String[] s = new String[mCount + 8];
922 int[] as = new int[mCount + 8];
923 System.arraycopy(mElements, 0, e, 0, mCount);
924 System.arraycopy(mElementNames, 0, s, 0, mCount);
925 System.arraycopy(mArraySizes, 0, as, 0, mCount);
930 mElements[mCount]
[all...]
/frameworks/ex/common/java/com/android/common/widget/
H A DGroupingListAdapter.java65 private int mCount; field in class:GroupingListAdapter
141 mCount = -1;
236 if (mCount != -1) {
237 return mCount;
259 mCount = count + mCursor.getCount() - cursorPosition;
260 return mCount;
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DCdmaDataConnection.java52 mCount += 1;
54 CdmaDataConnection cdmaDc = new CdmaDataConnection(phone, "CdmaDC-" + mCount,

Completed in 368 milliseconds

12