Home
last modified time | relevance | path

Searched refs:cnt (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DDataVerify.java69 int cnt = 0; in verifyData() local
75 if (cnt++ > WAIT_COUNT) { in verifyData()
/frameworks/base/core/java/com/android/internal/os/
DKernelWakelockReader.java111 int cnt; in readKernelWakelockStats() local
112 while ((cnt = is.read(mKernelWakelockBuffer, len, in readKernelWakelockStats()
114 len += cnt; in readKernelWakelockStats()
/frameworks/base/core/java/android/database/
DAbstractCursor.java296 int cnt = getCount(); in isLast() local
297 return mPos == (cnt - 1) && cnt != 0; in isLast()
/frameworks/av/media/libeffects/factory/
DEffectsFactory.c538 uint32_t cnt = 0; in updateNumEffects() local
547 cnt++; in updateNumEffects()
552 gNumEffects = cnt; in updateNumEffects()
554 return cnt; in updateNumEffects()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3669 size_t cnt = pi->types[j].numEntries; in copy_package() local
3670 newpi->types[j].numEntries = cnt; in copy_package()
3673 if (te != NULL && (cnt < 0xFFFFFFFF-1) && (cnt < cnt_max)) { in copy_package()
3674 theme_entry* newte = (theme_entry*)malloc(cnt*sizeof(theme_entry)); in copy_package()
3676 memcpy(newte, te, cnt*sizeof(theme_entry)); in copy_package()
3742 size_t cnt = typeList.isEmpty() ? 0 : typeList[0]->entryCount; in applyStyle() local
3744 size_t buff_size = (cnt < cnt_max && cnt < 0xFFFFFFFF-1) ? in applyStyle()
3745 cnt*sizeof(theme_entry) : 0; in applyStyle()
3748 curPI->types[t].numEntries = cnt; in applyStyle()
3856 int cnt = 20; in getAttribute() local
[all …]
DAssetManager2.cpp1209 int cnt = 20; in GetAttribute() local
1227 if (cnt > 0) { in GetAttribute()
1228 cnt--; in GetAttribute()
/frameworks/base/core/jni/android/graphics/
DGIFMovie.cpp339 int cnt = bm->width() * bm->height(); in disposeFrameIfNeeded() local
340 memcpy(dst, src, cnt*sizeof(uint32_t)); in disposeFrameIfNeeded()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java799 final int cnt = mSwapTargets.size(); in findSwapTargets() local
800 for (int j = 0; j < cnt; j++) { in findSwapTargets()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java905 Integer cnt = receivers.get(opPackageName); in registerAccountListener() local
906 receivers.put(opPackageName, cnt != null ? cnt + 1 : 1); in registerAccountListener()
937 Integer cnt = receivers.get(opPackageName); in unregisterAccountListener() local
938 if (cnt == 1) { in unregisterAccountListener()
941 receivers.put(opPackageName, cnt - 1); in unregisterAccountListener()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java6773 final int cnt = mOnChildAttachStateListeners.size(); in dispatchChildDetached() local
6774 for (int i = cnt - 1; i >= 0; i--) { in dispatchChildDetached()
6787 final int cnt = mOnChildAttachStateListeners.size(); in dispatchChildAttached() local
6788 for (int i = cnt - 1; i >= 0; i--) { in dispatchChildAttached()
/frameworks/base/tools/aapt/
DResource.cpp1053 ssize_t cnt = table.lockBag(0x01010000, &entry); in getPlatformAssetCookie() local
1054 if (cnt >= 0) { in getPlatformAssetCookie()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java11325 Integer cnt = ProcessList.getLmkdKillCount(0, oom_adj); in reportLmkKillAtOrBelow() local
11326 if (cnt != null) { in reportLmkKillAtOrBelow()
11327 pw.println(" kills at or below oom_adj " + oom_adj + ": " + cnt); in reportLmkKillAtOrBelow()
11335 Integer cnt = ProcessList.getLmkdKillCount(ProcessList.UNKNOWN_ADJ, in dumpLmkLocked() local
11337 if (cnt == null) { in dumpLmkLocked()
11340 pw.println(" Total number of kills: " + cnt); in dumpLmkLocked()