/frameworks/native/libs/binder/ |
H A D | IMemory.cpp | 57 int32_t count; member in struct:android::HeapCache::heap_info_t 405 "found binder=%p, heap=%p, size=%zu, fd=%d, count=%d", 409 info.count); 410 android_atomic_inc(&info.count); 415 info.count = 1; 416 //ALOGD("adding binder=%p, heap=%p, count=%d", 417 // binder.get(), info.heap.get(), info.count); 435 int32_t c = android_atomic_dec(&info.count); 438 "removing binder=%p, heap=%p, size=%zu, fd=%d, count=%d", 442 info.count); [all...] |
/frameworks/native/libs/gui/ |
H A D | IGraphicBufferConsumer.cpp | 99 void*& buffer, size_t& size, int*& fds, size_t& count) const { 114 status_t err = mGraphicBuffer->flatten(buffer, size, fds, count); 120 status_t err = mFence->flatten(buffer, size, fds, count); 146 void const*& buffer, size_t& size, int const*& fds, size_t& count) { 156 status_t err = mGraphicBuffer->unflatten(buffer, size, fds, count); 163 status_t err = mFence->unflatten(buffer, size, fds, count); 145 unflatten( void const*& buffer, size_t& size, int const*& fds, size_t& count) argument
|
H A D | IGraphicBufferProducer.cpp | 448 void*& buffer, size_t& size, int*& fds, size_t& count) const 460 return fence->flatten(buffer, size, fds, count); 464 void const*& buffer, size_t& size, int const*& fds, size_t& count) 488 return fence->unflatten(buffer, size, fds, count); 463 unflatten( void const*& buffer, size_t& size, int const*& fds, size_t& count) argument
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | RecurrenceProcessor.java | 91 if (rrule.count != 0) { 110 // If there were only "until"s and no "count"s, then return the 398 int generateByList(int count, int freq, int byFreq) argument 403 if (count == 0) { 411 private static boolean useBYX(int freq, int freqConstant, int count) argument 413 return freq > freqConstant && count > 0; 498 int i, count, v; 507 count = r.bydayCount; 508 if (count > 0) { 527 for (i=0; i<count; [all...] |
/frameworks/rs/driver/ |
H A D | rsdShader.cpp | 599 uint32_t *count, const char *prefix) { 604 initAddUserElement(ce, names, arrayLengths, count, prefix); 608 names[*count].setTo(tmp.string()); 610 arrayLengths[*count] = e->mHal.state.fieldArraySizes[ct]; 612 (*count)++; 598 initAddUserElement(const Element *e, String8 *names, uint32_t *arrayLengths, uint32_t *count, const char *prefix) argument
|
/frameworks/rs/ |
H A D | rsElement.cpp | 273 ObjectBaseRef<const Element> Element::createRef(Context *rsc, size_t count, const Element **ein, argument 281 if (ee->getFieldCount() == count) { 283 for (uint32_t i=0; i < count; i++) { 321 e->mFields = new ElementField_t [count]; 322 e->mFieldCount = count; 323 for (size_t ct=0; ct < count; ct++) {
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | GridLayoutManagerTest.java | 666 GridTestAdapter(int count) { argument 667 super(count);
|
H A D | RecyclerViewBasicTest.java | 332 MockAdapter(int count) { argument 333 this.mCount = count; 351 void removeItems(int start, int count) { argument 352 mCount -= count; 353 notifyItemRangeRemoved(start, count); 356 void addItems(int start, int count) { argument 357 mCount += count; 358 notifyItemRangeInserted(start, count);
|
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.c | 420 int count = 0; local 428 pSube[count++] = subeffect; 432 return count; 692 int count = 2; local 703 while (node != NULL && count) { 727 count--;
|
/frameworks/av/media/libmedia/ |
H A D | IDrm.cpp | 194 size_t count = reply.readInt32(); local 195 for (size_t i = 0; i < count; i++) { 251 uint32_t count = reply.readInt32(); local 252 for (size_t i = 0; i < count; i++) { 555 uint32_t count = data.readInt32(); local 556 for (size_t i = 0; i < count; ++i) { 614 size_t count = infoMap.size(); local 615 reply->writeInt32(count); 616 for (size_t i = 0; i < count; ++i) { 667 size_t count local [all...] |
H A D | SoundPool.cpp | 533 ALOGE("Sample channel count (%d) out of range", numChannels); 735 size_t count = 0; local 739 count = sample->size() - mPos; 740 if (count > b->size) { 741 count = b->size; 743 memcpy(q, p, count); 744 // ALOGV("fill: q=%p, p=%p, mPos=%u, b->size=%u, count=%d", q, p, mPos, b->size, 745 // count); 747 count = mAudioBufferSize - mPos; 748 if (count > [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | pvdec_api.cpp | 935 int count = 0; local 944 if ((count > 1) && (*ptr == 0x01)) 951 count = 0; 953 count++; 970 int count = 0; local 980 if ((count > 1) && ((*ptr & 0xFC) == 0x80)) 987 count = 0; 989 count++;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | motion_comp.cpp | 1909 Int i, j, count = 0, count1 = 0; local 1916 mb[0][count] = (Int)(*c_prev++); 1917 mb[4][count] = (Int)(*c_prev_u++); 1918 mb[5][count++] = (Int)(*c_prev_v++); 1931 count = count1 = 0; 1935 mb[2][count++] = (Int)(*c_prev++);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/ |
H A D | omxVCM4P10_PredictIntra_16x16_s.s | 68 count RN 11 label 257 MOV count, #0 ;// count = 0 282 ADD count, count, #1 292 ADD count, count, #1 ;// if upper inc count by 1 300 CMP count, #2 ;// check if both available 308 CMP count, # [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | MyTransmitter.h | 958 size_t count = 4 - (offset % 4); local 959 switch (count) {
|
/frameworks/av/media/mtp/ |
H A D | MtpDevice.cpp | 211 int count = mDeviceInfo->mDeviceProperties->size(); local 212 for (int i = 0; i < count; i++) { 236 int count = mDeviceInfo->mDeviceProperties->size(); local 237 for (int i = 0; i < count; i++) { 250 int count = mDeviceInfo->mPlaybackFormats->size(); local 251 for (int i = 0; i < count; i++) { 478 int count = read(srcFD, buffer, sizeof(buffer)); local 479 if (count > 0) { 480 int written = mData.write(mRequestOut, buffer, count); 482 remaining -= count; [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerSinc.cpp | 669 size_t count = offset; local 674 for (size_t i=0 ; i<count ; i++) { 705 for (; count > 0; count -= 4) { 775 for (; count > 0; count -= 4) {
|
H A D | FastMixer.cpp | 43 #define FCC_2 2 // fixed channel count assumption 409 //bool didFullWrite = false; // dumpsys could display a count of partial writes 443 // FIXME count # of writes blocked excessively, CPU usage, etc. for dump 626 uint32_t count = n / kTailDenominator; local 628 for (uint32_t i = 0; i < count; ++i) {
|
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyInterfaceImpl.cpp | 513 uint32_t *count) 516 *count = 0; 525 *count = 0; 528 return audioPolicyEffects->queryDefaultInputEffects(audioSession, descriptors, count); 511 queryDefaultPreProcessing(int audioSession, effect_descriptor_t *descriptors, uint32_t *count) argument
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 479 int fps, width, height, count, pause; local 490 else if (sscanf(l, " %c %d %d %s #%6s", &pathType, &count, &pause, path, color) >= 4) { 491 // ALOGD("> type=%c, count=%d, pause=%d, path=%s, color=%s", pathType, count, pause, path, color); 494 part.count = count; 589 for (int r=0 ; !part.count || r<part.count ; r++) { 612 if (part.count != 1) { 657 if(exitPending() && !part.count) [all...] |
/frameworks/base/core/java/android/content/ |
H A D | UndoManager.java | 228 * Perform undo of last/top <var>count</var> undo states. The states impacted 233 * @param count Number of undo states to pop. 236 public int undo(UndoOwner[] owners, int count) { argument 251 while (count > 0 && (i=findPrevState(mUndos, owners, i)) >= 0) { 255 count--; 265 * Perform redo of last/top <var>count</var> undo states in the transient redo stack. 270 * @param count Number of undo states to pop. 273 public int redo(UndoOwner[] owners, int count) { argument 283 while (count > 0 && (i=findPrevState(mRedos, owners, i)) >= 0) { 287 count 305 forgetUndos(UndoOwner[] owners, int count) argument 323 forgetRedos(UndoOwner[] owners, int count) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuView.java | 64 /** Actual number of items (the 'More' view does not count as an item) shown */ 501 void setNumActualItemsShown(int count) { argument 502 mNumActualItemsShown = count;
|
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_CameraMetadata.cpp | 222 ALOGV("%s: Empty returned %d, entry count was %d", 284 if (entry.count == 0) { 295 jsize byteCount = entry.count * tagSize; 442 while ((res = TEMP_FAILURE_RETRY(read(readFd, &out[0], /*count*/1))) > 0) { 574 static int find_fields(JNIEnv *env, field *fields, int count) argument 576 for (int i = 0; i < count; i++) {
|
H A D | com_android_internal_os_Zygote.cpp | 357 jsize count = env->GetArrayLength(fdsToClose); local 365 for (i = 0; i < count; i++) {
|
/frameworks/base/libs/hwui/ |
H A D | DeferredDisplayList.cpp | 127 if (CC_LIKELY(!mAllOpsOpaque || !mBounds.contains(bounds) || count() == 1)) return false; 139 inline int count() const { return mOps.size(); } function in class:android::uirenderer::DrawBatch 320 // use invalid save count because it won't be used at flush time - RestoreToCountOp is the 339 DEFER_LOGD("batch %p restoring to count %d", this, mRestoreCount); 352 * The count used here represents the flush() time saveCount. This is as opposed to the 354 * (saveCount + mCount) respectively). Since the count is different from the original 449 DEFER_LOGD("%p adding saveLayerOp %p, flags %x, new count %d", 457 * Takes save op and it's return value - the new save count - and stores it into the stream as a 462 DEFER_LOGD("%p adding saveOp %p, flags %x, new count %d", this, op, saveFlags, newSaveCount); 466 DEFER_LOGD(" adding save barrier with new save count [all...] |