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

/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/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.java21 private int mCount; field in class:VCardEntryCounter
24 return mCount;
37 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/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/media/libdrm/mobile2/src/rights/
H A DConstraint.cpp22 mCount = INIT_VALUE;
39 return (mCount == INIT_VALUE && mTimedCount == INIT_VALUE &&
80 if (mInterval == 0 || mCount == 0 ||
128 mCount = count;
134 return mCount;
193 if (mCount > 0)
195 mCount--;
/frameworks/base/core/java/android/database/
H A DBulkCursorToCursorAdaptor.java36 private int mCount; field in class:BulkCursorToCursorAdaptor
44 mCount = mBulkCursor.count();
76 return mCount;
135 int oldCount = mCount;
137 mCount = mBulkCursor.requery(getObserver(), new CursorWindow(
139 if (mCount != -1) {
144 // observer from the far side so that observers can see a correct value for mCount
172 mCount = mBulkCursor.count();
173 if (mPos < mCount) {
178 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; }
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/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/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 + "}";
H A DAsyncTask.java138 private final AtomicInteger mCount = new AtomicInteger(1);
141 return new Thread(r, "AsyncTask #" + mCount.getAndIncrement());
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteCursor.java60 private int mCount = NO_COUNT; field in class:SQLiteCursor
137 int count = mQuery.fillWindow(cw, mMaxRead, mCount);
141 mCount += mMaxRead;
144 mCount = count;
268 if (mCount == NO_COUNT) {
271 return mCount;
288 mCount = mQuery.fillWindow(mWindow, mInitialRead, 0);
290 if (mCount == NO_COUNT){
291 mCount = startPos + mInitialRead;
521 * Synchronize on the database lock to ensure that mCount matche
[all...]
/frameworks/base/media/libdrm/mobile2/include/rights/
H A DConstraint.h180 int mCount; /**< the count. */ member in class:Constraint
/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/tests/AndroidTests/src/com/android/unit_tests/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/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java224 int mCount; field in class:BatteryStatsImpl.Counter
231 mPluggedCount = mCount = in.readInt();
243 out.writeInt(mCount);
250 mUnpluggedCount = mCount = mPluggedCount;
254 mPluggedCount = mCount;
279 val = mCount;
291 pw.println(prefix + "mCount=" + mCount
298 mCount++;
302 out.writeInt(mCount);
335 int mCount; field in class:BatteryStatsImpl.Timer
927 public int mCount; field in class:BatteryStatsImpl.KernelWakelockStats
[all...]
/frameworks/base/services/java/com/android/server/
H A DPowerManagerService.java288 int mCount = 0; field in class:PowerManagerService.UnsynchronizedWakeLock
300 if (!mRefCounted || mCount++ == 0) {
313 if (!mRefCounted || --mCount == 0) {
317 if (mCount < 0) {
329 + " mCount=" + mCount + " mHeld=" + mHeld + ")";
1097 EventLog.writeEvent(LOG_POWER_SCREEN_BROADCAST_STOP, 1, mBroadcastWakeLock.mCount);
1108 EventLog.writeEvent(LOG_POWER_SCREEN_BROADCAST_SEND, mBroadcastWakeLock.mCount);
1149 mBroadcastWakeLock.mCount);
1170 mBroadcastWakeLock.mCount);
[all...]

Completed in 252 milliseconds