Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/rtsp/
DARTPSource.cpp594 size_t cnt = 0; in addNACK() local
597 for (it = list.begin(); it != list.end() && cnt < kMaxFCIs; it++) { in addNACK()
598 *(FCI + cnt) = *it; in addNACK()
599 cnt++; in addNACK()
602 data[3] = (3 + cnt) - 1; // total (3 + #ofFCI) * sizeof(int32_t) byte in addNACK()
606 return cnt; in addNACK()
611 int cnt = 0; in getSeqNumToNACK() local
614 for(it = mNACKMap.begin(); it != mNACKMap.end() && cnt < size; it++) { in getSeqNumToNACK()
627 cnt++; in getSeqNumToNACK()
631 return cnt; in getSeqNumToNACK()
[all …]
DARTPConnection.cpp521 int cnt = it->mSources.valueAt(i)->addNACK(buffer); in onPollStreams() local
522 if (cnt > 0) { in onPollStreams()
523 ALOGV("Send NACK for lost %d Packets", cnt); in onPollStreams()
/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.java114 int cnt; in readKernelWakelockStats() local
115 while ((cnt = is.read(mKernelWakelockBuffer, len, in readKernelWakelockStats()
117 len += cnt; in readKernelWakelockStats()
/frameworks/base/core/java/android/database/
DAbstractCursor.java302 int cnt = getCount(); in isLast() local
303 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/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/
DARTPSource.h93 void noticeAbandonBuffer(int cnt=1);
/frameworks/base/libs/hwui/jni/
DGIFMovie.cpp342 int cnt = bm->width() * bm->height(); in disposeFrameIfNeeded() local
343 memcpy(dst, src, cnt*sizeof(uint32_t)); in disposeFrameIfNeeded()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3782 size_t cnt = pi->types[j].numEntries; in copy_package() local
3783 newpi->types[j].numEntries = cnt; in copy_package()
3786 if (te != NULL && (cnt < 0xFFFFFFFF-1) && (cnt < cnt_max)) { in copy_package()
3787 theme_entry* newte = (theme_entry*)malloc(cnt*sizeof(theme_entry)); in copy_package()
3789 memcpy(newte, te, cnt*sizeof(theme_entry)); in copy_package()
3855 size_t cnt = typeList.isEmpty() ? 0 : typeList[0]->entryCount; in applyStyle() local
3857 size_t buff_size = (cnt < cnt_max && cnt < 0xFFFFFFFF-1) ? in applyStyle()
3858 cnt*sizeof(theme_entry) : 0; in applyStyle()
3861 curPI->types[t].numEntries = cnt; in applyStyle()
3969 int cnt = 20; in getAttribute() local
[all …]
/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.java914 Integer cnt = receivers.get(opPackageName); in registerAccountListener() local
915 receivers.put(opPackageName, cnt != null ? cnt + 1 : 1); in registerAccountListener()
946 Integer cnt = receivers.get(opPackageName); in unregisterAccountListener() local
947 if (cnt == 1) { in unregisterAccountListener()
950 receivers.put(opPackageName, cnt - 1); in unregisterAccountListener()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java6894 final int cnt = mOnChildAttachStateListeners.size(); in dispatchChildDetached() local
6895 for (int i = cnt - 1; i >= 0; i--) { in dispatchChildDetached()
6908 final int cnt = mOnChildAttachStateListeners.size(); in dispatchChildAttached() local
6909 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.java10387 Integer cnt = ProcessList.getLmkdKillCount(0, oom_adj); in reportLmkKillAtOrBelow() local
10388 if (cnt != null) { in reportLmkKillAtOrBelow()
10389 pw.println(" kills at or below oom_adj " + oom_adj + ": " + cnt); in reportLmkKillAtOrBelow()
10397 Integer cnt = ProcessList.getLmkdKillCount(ProcessList.UNKNOWN_ADJ, in dumpLmkLocked() local
10399 if (cnt == null) { in dumpLmkLocked()
10402 pw.println(" Total number of kills: " + cnt); in dumpLmkLocked()