/frameworks/av/media/libstagefright/ |
H A D | AMRExtractor.cpp | 103 ssize_t count = source->readAt(offset, &header, 1); local 104 if (count == 0) { 106 } else if (count < 0) {
|
H A D | SurfaceMediaSource.cpp | 158 ALOGE("Failed to find the advertised buffer count"); 185 status_t SurfaceMediaSource::setMaxAcquiredBufferCount(size_t count) { argument 186 ALOGV("setMaxAcquiredBufferCount(%zu)", count); 189 CHECK_GT(count, 1); 190 mMaxAcquiredBufferCount = count;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | omxVCM4P2_MotionEstimationMB.c | 295 OMX_INT intraSAD, average, count, index, x, y; local 334 for (y = 0, index = count = 0; y < 16; y++, index += srcCurrStep - 16) 336 for(x = 0; x < 16; x++, count++, index++) 338 pTempSrcCurrBuf[count] = pSrcCurrBuf[index]; 516 for (count = 0, average = 0; count < 256 ; count++) 518 average = average + pTempSrcCurrBuf[count]; 525 for (count = 0; count < 25 [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | H264SwDecApi.c | 97 void H264SwDecMemcpy(void *dest, void *src, u32 count) { argument 98 memcpy(dest, src, count); 101 void H264SwDecMemset(void *ptr, i32 value, u32 count) { argument 102 memset(ptr, value, count);
|
H A D | TestBenchMultipleInstance.c | 439 void H264SwDecMemcpy(void *dest, void *src, u32 count) argument 441 memcpy(dest, src, count); 449 void H264SwDecMemset(void *ptr, i32 value, u32 count) argument 451 memset(ptr, value, count);
|
/frameworks/av/radio/ |
H A D | IRadio.cpp | 315 int count = radio_metadata_get_count(info.metadata); local 316 if (count > 0) {
|
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerFirProcess.h | 181 size_t count, 197 for (size_t i = 0; i < count; ++i) { 198 TC c = TFUNC::interpolatep(coefsP[0], coefsP[count], lerpP); 206 c = TFUNC::interpolaten(coefsN[count], coefsN[0], lerpP); 221 for (size_t i = 0; i < count; ++i) { 222 mac(l, r, TFUNC::interpolatep(coefsP[0], coefsP[count], lerpP), sP); 225 mac(l, r, TFUNC::interpolaten(coefsN[count], coefsN[0], lerpP), sN); 233 for (size_t i = 0; i < count; ++i) { 234 mac(l, TFUNC::interpolatep(coefsP[0], coefsP[count], lerpP), sP); 237 mac(l, TFUNC::interpolaten(coefsN[count], coefs 180 ProcessBase(TO* const out, size_t count, const TC* coefsP, const TC* coefsN, const TI* sP, const TI* sN, TINTERP lerpP, const TO* const volumeLR) argument 251 ProcessL(TO* const out, int count, const TC* coefsP, const TC* coefsN, const TI* sP, const TI* sN, const TO* const volumeLR) argument 297 Process(TO* const out, int count, const TC* coefsP, const TC* coefsN, const TC* coefsP1 __unused, const TC* coefsN1 __unused, const TI* sP, const TI* sN, TINTERP lerpP, const TO* const volumeLR) argument [all...] |
/frameworks/av/services/audioflinger/tests/ |
H A D | resampler_tests.cpp | 53 // we should have enough buffer space, so there is no short count. 156 unsigned count = (end - start + stride - 1) / stride; local 157 return accum / count;
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioInputDescriptor.cpp | 227 uint32_t count = 0; local 231 count++; 234 return count;
|
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyEffects.cpp | 102 // EffectVector is existing and we just need to increase ref count 157 uint32_t *count) 169 *count = 0; 176 if (i < *count) { 180 if (effects.size() > *count) { 183 *count = effects.size(); 190 uint32_t *count) 202 *count = 0; 209 if (i < *count) { 213 if (effects.size() > *count) { 155 queryDefaultInputEffects(audio_session_t audioSession, effect_descriptor_t *descriptors, uint32_t *count) argument 188 queryDefaultOutputSessionEffects(audio_session_t audioSession, effect_descriptor_t *descriptors, uint32_t *count) argument [all...] |
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.h | 70 int count; // The number of times this part should repeat, 0 for infinite member in struct:android::BootAnimation::Animation::Part
|
/frameworks/base/core/java/android/content/res/ |
H A D | AssetFileDescriptor.java | 225 public int read(byte[] buffer, int offset, int count) throws IOException { argument 228 if (count > mRemaining) count = (int)mRemaining; 229 int res = super.read(buffer, offset, count); 234 return super.read(buffer, offset, count); 243 public long skip(long count) throws IOException { argument 246 if (count > mRemaining) count = mRemaining; 247 long res = super.skip(count); 252 return super.skip(count); 300 write(byte[] buffer, int offset, int count) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | MemoryFile.java | 51 int srcOffset, int destOffset, int count, boolean isUnpinned) throws IOException; 53 int srcOffset, int destOffset, int count, boolean isUnpinned) throws IOException; 194 * @param count number of bytes to read. 198 public int readBytes(byte[] buffer, int srcOffset, int destOffset, int count) argument 203 if (destOffset < 0 || destOffset > buffer.length || count < 0 204 || count > buffer.length - destOffset 206 || count > mLength - srcOffset) { 209 return native_read(mFD, mAddress, buffer, srcOffset, destOffset, count, mAllowPurging); 219 * @param count number of bytes to write. 222 public void writeBytes(byte[] buffer, int srcOffset, int destOffset, int count) argument 50 native_read(FileDescriptor fd, long address, byte[] buffer, int srcOffset, int destOffset, int count, boolean isUnpinned) argument 52 native_write(FileDescriptor fd, long address, byte[] buffer, int srcOffset, int destOffset, int count, boolean isUnpinned) argument 303 read(byte buffer[], int offset, int count) argument 336 write(byte buffer[], int offset, int count) argument [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | DateFormat.java | 386 int count; 388 for (int i = 0; i < length; i += count) { 389 count = 1; 393 count = skipQuotedText(inFormat, i, length); 407 int count = 1; 415 count++; 424 count++; 428 return count; 440 int count; 446 for (int i = 0; i < len; i += count) { 533 getDayOfWeekString(LocaleData ld, int day, int count, int kind) argument 544 getMonthString(LocaleData ld, int month, int count, int kind) argument 558 getTimeZoneString(Calendar inDate, int count) argument 570 formatZoneOffset(int offset, int count) argument 589 getYearString(int year, int count) argument [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | PasswordTransformationMethod.java | 71 int count, int after) { 76 int before, int count) { 103 if (count > 0) { 106 if (count == 1) { 107 sp.setSpan(new Visible(sp, this), start, start + count, 70 beforeTextChanged(CharSequence s, int start, int count, int after) argument 75 onTextChanged(CharSequence s, int start, int before, int count) argument
|
/frameworks/base/core/java/android/util/ |
H A D | Base64.java | 574 private int count; field in class:Base64.Encoder 592 count = do_newline ? LINE_GROUPS : -1; 608 int count = this.count; 650 if (--count == 0) { 653 count = LINE_GROUPS; 672 if (--count == 0) { 675 count = LINE_GROUPS; 714 } else if (do_newline && op > 0 && count != LINE_GROUPS) { 734 this.count [all...] |
/frameworks/base/core/java/android/util/jar/ |
H A D | StrictJarFile.java | 159 int count = 0; 161 count += chain.length; 165 Certificate[] certs = new Certificate[count]; 268 private long count; field in class:StrictJarFile.JarFileInputStream 275 count = size; 283 if (count > 0) { 287 count--; 289 count = 0; 291 if (count == 0) { 308 if (count > [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | FindActionModeCallback.java | 257 int count, 266 int count) { 255 beforeTextChanged(CharSequence s, int start, int count, int after) argument 263 onTextChanged(CharSequence s, int start, int before, int count) argument
|
/frameworks/base/core/java/android/widget/ |
H A D | ViewAnimator.java | 151 final int count = getChildCount(); 152 for (int i = 0; i < count; i++) { 218 // Displayed is above child count, so float down to top of stack 230 public void removeViews(int start, int count) { argument 231 super.removeViews(start, count); 235 } else if (mWhichChild >= start && mWhichChild < start + count) { 241 public void removeViewsInLayout(int start, int count) { argument 242 removeViews(start, count);
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | SparseMappingTable.java | 111 * @param count The number of bytes to allocate. Must be less than 118 public int getOrAddKey(byte id, int count) { argument 128 // Get an array with enough space to store 'count' values. 132 if (mParent.mNextIndex + count > array.length) { 146 mParent.mNextIndex += count; 187 * @param index The offset from that key. Must be less than the count 221 * @param index The offset from that key. Must be less than the count 267 * @param index The offset from that key. Must be less than the count
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | LoggingPrintStream.java | 120 public synchronized void write(byte bytes[], int start, int count) { argument 129 int end = start + count;
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | FastPrintWriter.java | 33 public void write(char[] buf, int offset, int count) throws IOException { argument 562 * Writes {@code count} characters from {@code buffer} starting at {@code 572 * @param count 575 * if {@code offset < 0} or {@code count < 0}, or if {@code 576 * offset + count} is greater than the length of {@code buf}. 579 public void write(char[] buf, int offset, int count) { argument 582 appendLocked(buf, offset, count); 631 * Writes {@code count} characters from {@code str} starting at {@code 638 * @param count 641 * if {@code offset < 0} or {@code count < 645 write(String str, int offset, int count) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_location_ActivityRecognitionHardware.cpp | 83 int count) { 89 if (events == NULL || count <= 0) { 90 ALOGE("Invalid activity_callback. Count: %d, Events: %p", count, events); 108 jobjectArray events_array = env->NewObjectArray(count, event_class, NULL); 109 for (int i = 0; i < count; ++i) { 80 activity_callback( const activity_recognition_callback_procs_t* procs, const activity_event_t* events, int count) argument
|
H A D | android_net_LocalSocketImpl.cpp | 135 int count local 138 if (count < 0) { 144 fdArray = env->NewObjectArray(count, class_FileDescriptor, NULL); 150 for (int i = 0; i < count; i++) {
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | ActivityTestsBase.java | 60 public void setInternalIterations(int count) { argument
|