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

123

/frameworks/native/libs/utils/
H A DCallStack.cpp30 mCount(0) {
34 mCount(rhs.mCount) {
35 if (mCount) {
36 memcpy(mStack, rhs.mStack, mCount * sizeof(backtrace_frame_t));
44 mCount = rhs.mCount;
45 if (mCount) {
46 memcpy(mStack, rhs.mStack, mCount * sizeof(backtrace_frame_t));
52 if (mCount !
[all...]
H A DVectorImpl.cpp45 : mStorage(0), mCount(0), mFlags(flags), mItemSize(itemSize)
50 : mStorage(rhs.mStorage), mCount(rhs.mCount),
60 ALOGW_IF(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/av/media/libstagefright/wifi-display/
H A DTimeSeries.cpp25 : mCount(0),
30 if (mCount < kHistorySize) {
31 mValues[mCount++] = val;
42 if (mCount < 1) {
46 return mSum / mCount;
50 if (mCount < 1) {
57 for (size_t i = 0; i < mCount; ++i) {
64 return sqrt(sum / mCount);
H A DTimeSeries.h39 size_t mCount; member in struct:android::TimeSeries
/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/native/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/av/media/libstagefright/wifi-display/sink/
H A DLinearRegression.cpp30 mCount(0),
42 if (mCount == mHistorySize) {
49 --mCount;
52 Point *newest = &mHistory[mCount++];
63 if (mCount < 2) {
71 float meanX = mSumX / (float)mCount;
72 float meanY = mSumY / (float)mCount;
74 for (size_t i = 0; i < mCount; ++i) {
H A DLinearRegression.h42 size_t mCount; member in struct:android::LinearRegression
/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/core/java/android/os/
H A DUpdateLock.java42 int mCount = 0; field in class:UpdateLock
113 if (!mRefCounted || mCount++ == 0) {
137 if (!mRefCounted || --mCount == 0) {
147 if (mCount < 0) {
H A DPowerManager.java628 private int mCount; field in class:PowerManager.WakeLock
708 if (!mRefCounted || mCount++ == 0) {
751 if (!mRefCounted || --mCount == 0) {
761 if (mCount < 0) {
823 + " held=" + mHeld + ", refCount=" + mCount + "}";
/frameworks/rs/driver/
H A DrsdCore.cpp208 android_atomic_release_store(dc->mWorkers.mCount, &dc->mWorkers.mRunningCount);
209 for (uint32_t ct = 0; ct < dc->mWorkers.mCount; ct++) {
261 dc->mWorkers.mCount = 0;
267 dc->mWorkers.mCount = (uint32_t)(cpu - 1);
268 dc->mWorkers.mThreadId = (pthread_t *) calloc(dc->mWorkers.mCount, sizeof(pthread_t));
269 dc->mWorkers.mNativeThreadId = (pid_t *) calloc(dc->mWorkers.mCount, sizeof(pid_t));
270 dc->mWorkers.mLaunchSignals = new Signal[dc->mWorkers.mCount];
275 android_atomic_release_store(dc->mWorkers.mCount, &dc->mWorkers.mRunningCount);
285 for (uint32_t ct=0; ct < dc->mWorkers.mCount; ct++) {
288 dc->mWorkers.mCount
[all...]
H A DrsdCore.h51 uint32_t mCount; member in struct:RsdHalRec::Workers
/frameworks/support/renderscript/v8/rs_support/driver/
H A DrsdCore.cpp199 android_atomic_release_store(dc->mWorkers.mCount, &dc->mWorkers.mRunningCount);
200 for (uint32_t ct = 0; ct < dc->mWorkers.mCount; ct++) {
249 dc->mWorkers.mCount = (uint32_t)cpu;
250 dc->mWorkers.mThreadId = (pthread_t *) calloc(dc->mWorkers.mCount, sizeof(pthread_t));
251 dc->mWorkers.mNativeThreadId = (pid_t *) calloc(dc->mWorkers.mCount, sizeof(pid_t));
252 dc->mWorkers.mLaunchSignals = new Signal[dc->mWorkers.mCount];
257 android_atomic_release_store(dc->mWorkers.mCount, &dc->mWorkers.mRunningCount);
267 for (uint32_t ct=0; ct < dc->mWorkers.mCount; ct++) {
270 dc->mWorkers.mCount = ct;
286 for (uint32_t ct=0; ct < dc->mWorkers.mCount; c
[all...]
H A DrsdCore.h51 uint32_t mCount; member in struct:RsdHalRec::Workers
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteCursor.java52 private int mCount = NO_COUNT; field in class:SQLiteCursor
132 if (mCount == NO_COUNT) {
135 return mCount;
141 if (mCount == NO_COUNT) {
143 mCount = mQuery.fillWindow(mWindow, startPos, requiredPos, true);
146 Log.d(TAG, "received count(*) from native_fill_window: " + mCount);
219 mCount = NO_COUNT;
236 mCount = NO_COUNT;
/frameworks/native/include/utils/
H A DCallStack.h62 size_t size() const { return mCount; }
65 size_t mCount; member in class:android::CallStack
/frameworks/native/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.java35 private int mCount; field in class:BulkCursorToCursorAdaptor
46 mCount = d.count;
71 return mCount;
136 mCount = mBulkCursor.requery(getObserver());
137 if (mCount != -1) {
142 // observer from the far side so that observers can see a correct value for mCount
/frameworks/base/libs/hwui/
H A DSkiaShader.cpp185 mBounds(bounds), mColors(colors), mPositions(positions), mCount(count) {
210 copy->mColors = new uint32_t[mCount];
211 memcpy(copy->mColors, mColors, sizeof(uint32_t) * mCount);
212 copy->mPositions = new float[mCount];
213 memcpy(copy->mPositions, mPositions, sizeof(float) * mCount);
214 copy->mCount = mCount;
232 Texture* texture = mGradientCache->get(mColors, mPositions, mCount);
275 copy->mColors = new uint32_t[mCount];
276 memcpy(copy->mColors, mColors, sizeof(uint32_t) * mCount);
[all...]
/frameworks/wilhelm/src/itf/
H A DIMetadataTraversal.c55 SLuint32 count = thiz->mCount;
126 thiz->mCount = 0;
/frameworks/native/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...]

Completed in 1985 milliseconds

123