/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberFormattingTextWatcher.java | 77 public void beforeTextChanged(CharSequence s, int start, int count, argument 83 if (count > 0 && hasSeparator(s, start, count)) { 89 public void onTextChanged(CharSequence s, int start, int before, int count) { argument 94 if (count > 0 && hasSeparator(s, start, count)) { 166 private boolean hasSeparator(final CharSequence s, final int start, final int count) { argument 167 for (int i = start; i < start + count; i++) {
|
/frameworks/base/tools/aidl/ |
H A D | options_test.cpp | 23 int count = 0; local 24 while (expected[count] != NULL) { 25 count++; 27 if (got.size() != count) { 30 for (int i=0; i<count; i++) { 50 size_t count = got.size(); local 51 for (size_t i=0; i<count; i++) { 240 const int count = sizeof(g_tests)/sizeof(g_tests[0]); local 241 int matches[count]; 244 for (int i=0; i<count; [all...] |
/frameworks/base/voip/jni/rtp/ |
H A D | G711Codec.cpp | 42 int decode(int16_t *samples, int count, void *payload, int length); 67 int UlawCodec::decode(int16_t *samples, int count, void *payload, int length) argument 70 if (length > count) { 71 length = count; 93 int decode(int16_t *samples, int count, void *payload, int length); 117 int AlawCodec::decode(int16_t *samples, int count, void *payload, int length) argument 120 if (length > count) { 121 length = count;
|
/frameworks/compile/mclinker/unittests/ |
H A D | HashTableTest.cpp | 156 int count; local 159 count = hashTable->erase(key); 160 EXPECT_EQ(1, count); 182 int count; local 205 int count; local 208 count = hashTable->erase(key); 209 EXPECT_EQ(1, count); 320 unsigned int count = 0; local 323 count++; 325 ASSERT_EQ(16, count); [all...] |
/frameworks/native/include/utils/ |
H A D | BitSet.h | 43 inline uint32_t count() const { return __builtin_popcount(value); } function in struct:android::BitSet32
|
/frameworks/native/libs/gui/ |
H A D | SensorManager.cpp | 92 size_t count = mSensors.size(); local 93 mSensorList = (Sensor const**)malloc(count * sizeof(Sensor*)); 94 for (size_t i=0 ; i<count ; i++) {
|
/frameworks/native/libs/utils/ |
H A D | CallStack.cpp | 95 ssize_t count = unwind_backtrace(mStack, ignoreDepth + 1, maxDepth); local 96 mCount = count > 0 ? count : 0;
|
H A D | WorkQueue.cpp | 82 size_t count = mWorkUnits.size(); local 83 for (size_t i = 0; i < count; i++) { 107 size_t count = mWorkThreads.size(); local 108 for (size_t i = 0; i < count; i++) {
|
/frameworks/native/opengl/libs/GLES_CM/ |
H A D | gl.cpp | 43 const GLvoid *ptr, GLsizei count); 45 const GLvoid *pointer, GLsizei count); 47 GLsizei stride, const GLvoid *pointer, GLsizei count); 49 GLsizei stride, const GLvoid *pointer, GLsizei count); 51 GLsizei stride, const GLvoid *pointer, GLsizei count); 53 GLsizei stride, const GLvoid *pointer, GLsizei count); 55 GLsizei stride, const GLvoid *pointer, GLsizei count); 59 const GLvoid *ptr, GLsizei count) { 63 const GLvoid *pointer, GLsizei count) { 67 GLsizei stride, const GLvoid *pointer, GLsizei count) { 58 glColorPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr, GLsizei count) argument 62 glNormalPointerBounds(GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 66 glTexCoordPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 70 glVertexPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 75 glPointSizePointerOESBounds(GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 80 glMatrixIndexPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 85 glWeightPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument [all...] |
/frameworks/native/services/sensorservice/ |
H A D | SensorDevice.cpp | 57 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, &list); local 58 mActivationCount.setCapacity(count); 60 for (size_t i=0 ; i<size_t(count) ; i++) { 72 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, &list); local 74 snprintf(buffer, SIZE, "%d h/w sensors:\n", int(count)); 78 for (size_t i=0 ; i<size_t(count) ; i++) { 80 snprintf(buffer, SIZE, "handle=0x%08x, active-count=%d, rates(ms)={ ", 97 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, list); 98 return count; 105 ssize_t SensorDevice::poll(sensors_event_t* buffer, size_t count) { argument [all...] |
H A D | SensorFusion.cpp | 31 ssize_t count = mSensorDevice.getSensorList(&list); local 32 if (count > 0) { 33 for (size_t i=0 ; i<size_t(count) ; i++) {
|
/frameworks/rs/cpp/ |
H A D | Type.cpp | 49 uint32_t count = x * y * z * faces; local 61 count += x * y * z * faces; 63 mElementCount = count;
|
/frameworks/wilhelm/src/ |
H A D | entry.c | 89 // if an engine already exists, then increment its ref count 188 SLuint32 count = 0; local 197 ++count; 206 *pNumSupportedInterfaces = count;
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | MutableFrameFormat.java | 81 public void setDimensionCount(int count) { argument 82 mDimensions = new int[count];
|
H A D | NativeBuffer.java | 39 public NativeBuffer(int count) { argument 40 allocate(count * getElementSize()); 63 public int count() { method in class:NativeBuffer
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
H A D | Point.java | 88 public Point rotated90(int count) { argument 91 for (int i = 0; i < count; ++i) {
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_util.cpp | 58 ALOGE("JavaObject: Reference count is NULL! JavaObject may be corrupted."); 75 ALOGE("JavaObject: Reference count is NULL! JavaObject may be corrupted."); 149 const jint count = env->GetArrayLength(static_cast<jintArray>(object)); local 150 result = MakeIntArrayValue(elems, count); 154 const jint count = env->GetArrayLength(static_cast<jfloatArray>(object)); local 155 result = MakeFloatArrayValue(elems, count);
|
/frameworks/av/libvideoeditor/osal/src/ |
H A D | M4OSA_CharStar.c | 317 M4OSA_UInt32 count; local 334 /* count the number of %[flags][width][.precision]ll[conversion] */ 383 count = count_ll + count_tm + count_aa; 385 if(!count)
|
/frameworks/av/media/libmedia/ |
H A D | MemoryLeakTrackUtil.cpp | 91 size_t count = overallSize / infoSize; local 93 snprintf(buffer, SIZE, " Allocation count %i\n", count); 98 AllocEntry * entries = new AllocEntry[count]; 100 for (size_t i = 0; i < count; i++) { 119 for (size_t i = 0; i < (count - 1); i++) { 142 for (size_t i = 0; i < count; i++) {
|
/frameworks/av/media/libnbaio/ |
H A D | NBAIO.cpp | 110 size_t count = total - accumulator; local 111 if (count > block) { 112 count = block; 114 ssize_t ret = via(user, buffer, count); 116 ALOG_ASSERT((size_t) ret <= count); 147 size_t count = total - accumulator; local 148 if (count > block) { 149 count = block; 151 ssize_t ret = read(buffer, count, readPTS); 153 ALOG_ASSERT((size_t) ret <= count); [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | stat_bits.c | 46 * description: count ms stereo bits demand 75 * description: count tns bit demand core function 84 Word32 count; local 88 count = 0; 105 /*count += 1; */ 109 count += 1; 111 count += 2; 114 count += 1; 117 count += 4; 118 count [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | dtx_enc.cpp | 64 1. Modified FOR loops to count down. 226 CLOCK CYCLES: (cycle count equation for this function) + (variable 227 used to represent cycle count for each subroutine 229 where: (cycle count variable) = cycle count for [subroutine 347 CLOCK CYCLES: (cycle count equation for this function) + (variable 348 used to represent cycle count for each subroutine 350 where: (cycle count variable) = cycle count for [subroutine 454 CLOCK CYCLES: (cycle count equatio 1126 Word16 count; local [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | EvaluationTestBench.c | 331 void H264SwDecMemcpy(void *dest, void *src, u32 count) argument 333 memcpy(dest, src, count); 346 void H264SwDecMemset(void *ptr, i32 value, u32 count) argument 348 memset(ptr, value, count);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/ |
H A D | h264bsd_interpolate_chroma_hor.s | 41 count RN 2 label 149 ;// pack values to count register 158 ADD count, count, tmp2, LSL #16 ;// chromaPartHeight-1 159 ADD count, count, tmp2, LSL #24 ;// loop_y 160 ADD count, count, tmp1, LSL #20 ;// chromaPartWidth-1 161 AND tmp2, count, #0x00F00000 ;// loop_x 175 ADD count, coun [all...] |
H A D | h264bsd_interpolate_chroma_hor_ver.s | 42 count RN 2 label 155 ;// pack values to count register 164 ADD count, count, tmp2, LSL #16 ;// chromaPartHeight-1 165 ADD count, count, tmp2, LSL #24 ;// loop_y 166 ADD count, count, tmp1, LSL #20 ;// chromaPartWidth-1 167 AND tmp2, count, #0x00F00000 ;// loop_x 190 ADD count, coun [all...] |