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

12

/frameworks/base/services/java/com/android/server/
H A DInputWindowList.java33 private int mCount; field in class:InputWindowList
46 if (mCount == 0) {
50 int count = mCount;
51 mCount = 0;
64 if (mCount + 1 == mArray.length) {
67 System.arraycopy(oldArray, 0, mArray, 0, mCount);
71 InputWindow item = mArray[mCount + 1];
76 mArray[mCount] = item;
77 mCount += 1;
78 mArray[mCount]
[all...]
/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
44 if (mCount <= mLastMessage) {
45 if (msg.what != mCount) {
47 "Expected message #" + mCount
49 } else if (mCount == mLastMessage) {
52 mCount++;
67 mCount = 0;
86 mCount = 0;
/frameworks/base/core/java/android/pim/vcard/
H A DVCardEntryCounter.java24 private int mCount; field in class:VCardEntryCounter
27 return mCount;
40 mCount++;
/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/libs/rs/
H A DrsVertexArray.cpp42 mCount = 0;
80 assert(mCount < RS_MAX_ATTRIBS);
81 mAttribs[mCount].set(a);
82 mAttribs[mCount].buffer = mActiveBuffer;
83 mAttribs[mCount].stride = stride;
84 mAttribs[mCount].kind = RS_KIND_USER;
85 mCount ++;
90 assert(mCount < RS_MAX_ATTRIBS);
91 mAttribs[mCount].clear();
92 mAttribs[mCount]
[all...]
H A DrsVertexArray.h66 uint32_t mCount; member in class:android::renderscript::VertexArray
/frameworks/base/core/java/android/database/
H A DBulkCursorToCursorAdaptor.java36 private int mCount; field in class:BulkCursorToCursorAdaptor
44 mCount = mBulkCursor.count();
62 mCount = count;
94 return mCount;
153 int oldCount = mCount;
155 mCount = mBulkCursor.requery(getObserver(), new CursorWindow(
157 if (mCount != -1) {
162 // observer from the far side so that observers can see a correct value for mCount
190 mCount = mBulkCursor.count();
191 if (mPos < 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
H A DVectorImpl.h35 * For performance reasons, we expose mStorage and mCount
63 inline size_t size() const { return mCount; }
64 inline bool isEmpty() const { return mCount == 0; }
132 size_t mCount; // number of items member in class:android::VectorImpl
H A DRefBase.h166 inline LightRefBase() : mCount(0) { }
168 android_atomic_inc(&mCount);
171 if (android_atomic_dec(&mCount) == 1) {
177 return mCount;
184 mutable volatile int32_t mCount; member in class:android::LightRefBase
/frameworks/base/core/java/com/android/internal/util/
H A DProcessedMessages.java123 private int mCount = 0; field in class:ProcessedMessages
142 mCount = 0;
157 return mCount;
186 mCount += 1;
/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) {
H A DBufferObjectManager.cpp38 : TokenManager(), mCount(0)
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteCursor.java64 private int mCount = NO_COUNT; field in class:SQLiteCursor
140 int count = mQuery.fillWindow(cw, mMaxRead, mCount);
144 mCount += mMaxRead;
147 mCount = count;
267 if (mCount == NO_COUNT) {
270 return mCount;
287 mCount = mQuery.fillWindow(mWindow, mInitialRead, 0);
289 if (mCount == NO_COUNT){
290 mCount = startPos + mInitialRead;
520 * Synchronize on the database lock to ensure that mCount matche
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DElement.java377 int mCount; field in class:Element.Builder
381 mCount = 0;
387 if(mCount == mElements.length) {
388 Element[] e = new Element[mCount + 8];
389 String[] s = new String[mCount + 8];
390 System.arraycopy(mElements, 0, e, 0, mCount);
391 System.arraycopy(mElementNames, 0, s, 0, mCount);
395 mElements[mCount] = element;
396 mElementNames[mCount] = name;
397 mCount
[all...]
/frameworks/base/core/java/android/os/
H A DPowerManager.java209 int mCount = 0; field in class:PowerManager.WakeLock
251 if (!mRefCounted || mCount++ == 0) {
299 if (!mRefCounted || --mCount == 0) {
306 if (mCount < 0) {
349 + " held=" + mHeld + ", refCount=" + mCount + "}";
H A DAsyncTask.java138 private final AtomicInteger mCount = new AtomicInteger(1);
141 return new Thread(r, "AsyncTask #" + mCount.getAndIncrement());
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DCdmaDataConnection.java54 mCount += 1;
56 CdmaDataConnection cdmaDc = new CdmaDataConnection(phone, "CdmaDataConnection-" + mCount);
/frameworks/base/obex/javax/obex/
H A DHeaderSet.java180 private Long mCount; // 4 byte unsigned integer field in class:HeaderSet
257 mCount = null;
266 mCount = (Long)headerValue;
448 return mCount;
506 if (mCount != null) {
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DGsmDataConnection.java68 mCount += 1;
70 GsmDataConnection gsmDc = new GsmDataConnection(phone, "GsmDataConnection-" + mCount);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DServiceTest.java131 private int mCount; field in class:ServiceTest.TestConnection
157 mCount++;
159 if (mCount == 1) {
165 if (mCount == 2) {

Completed in 2498 milliseconds

12