Searched defs:mCount (Results 1 - 20 of 20) sorted by relevance

/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; }
130 size_t mCount; // number of items member in class:android::VectorImpl
H A DRefBase.h150 inline LightRefBase() : mCount(0) { }
152 android_atomic_inc(&mCount);
155 if (android_atomic_dec(&mCount) == 1) {
161 return mCount;
168 mutable volatile int32_t mCount; member in class:android::LightRefBase
/frameworks/base/core/tests/coretests/src/android/os/
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/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/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/libs/rs/
H A DrsVertexArray.h66 uint32_t mCount; member in class:android::renderscript::VertexArray
/frameworks/base/media/libdrm/mobile2/include/rights/
H A DConstraint.h180 int mCount; /**< the count. */ member in class:Constraint
/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/android/pim/vcard/
H A DVCardEntryCounter.java24 private int mCount; field in class:VCardEntryCounter
27 return mCount;
40 mCount++;
/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/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/core/java/android/database/sqlite/
H A DSQLiteCursor.java60 private int mCount = NO_COUNT; field in class:SQLiteCursor
136 int count = mQuery.fillWindow(cw, mMaxRead, mCount);
140 mCount += mMaxRead;
143 mCount = count;
263 if (mCount == NO_COUNT) {
266 return mCount;
283 mCount = mQuery.fillWindow(mWindow, mInitialRead, 0);
285 if (mCount == NO_COUNT){
286 mCount = startPos + mInitialRead;
516 * Synchronize on the database lock to ensure that mCount matche
[all...]
/frameworks/base/core/java/android/os/
H A DPowerManager.java209 int mCount = 0; field in class:PowerManager.WakeLock
248 if (!mRefCounted || mCount++ == 0) {
296 if (!mRefCounted || --mCount == 0) {
303 if (mCount < 0) {
320 + " held=" + mHeld + ", refCount=" + 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) {
/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/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/telephony/java/com/android/internal/telephony/
H A DDataConnection.java96 protected static int mCount; field in class:DataConnection
/frameworks/base/services/java/com/android/server/
H A DPowerManagerService.java293 int mCount = 0; field in class:PowerManagerService.UnsynchronizedWakeLock
305 if (!mRefCounted || mCount++ == 0) {
318 if (!mRefCounted || --mCount == 0) {
322 if (mCount < 0) {
334 + " mCount=" + mCount + " mHeld=" + mHeld + ")";
1179 EventLog.writeEvent(EventLogTags.POWER_SCREEN_BROADCAST_STOP, 1, mBroadcastWakeLock.mCount);
1190 EventLog.writeEvent(EventLogTags.POWER_SCREEN_BROADCAST_SEND, mBroadcastWakeLock.mCount);
1231 mBroadcastWakeLock.mCount);
1252 mBroadcastWakeLock.mCount);
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java234 final AtomicInteger mCount = new AtomicInteger(); field in class:BatteryStatsImpl.Counter
242 mCount.set(mPluggedCount);
254 out.writeInt(mCount.get());
262 mCount.set(mPluggedCount);
266 mPluggedCount = mCount.get();
291 val = mCount.get();
303 pw.println(prefix + "mCount=" + mCount.get()
310 mCount.incrementAndGet();
314 int count = mCount
349 int mCount; field in class:BatteryStatsImpl.Timer
950 public int mCount; field in class:BatteryStatsImpl.KernelWakelockStats
[all...]

Completed in 540 milliseconds