/frameworks/base/core/tests/coretests/src/android/app/backup/ |
H A D | BackupDataTest.java | 91 int count = 0; 94 count++; 96 assertEquals("only one entity in this stream", 1, count); 112 int count = 0; 114 readAndVerifyEntity(bdi, KEYS[count], DATA[count].getBytes()); 115 count++; 117 assertEquals("four entities in this stream", KEYS.length, count); 133 int count = 0; 135 readAndVerifyDeletedEntity(bdi, KEYS[count]); [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
H A D | ListWithScreenOfNoSelectablesTest.java | 72 for(int count = 0; count < maxDowns && mListView.getLastVisiblePosition() <= lastPosition; count++) {
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | RootCursorWrapper.java | 46 final int count = cursor.getCount(); 47 if (maxCount > 0 && count > maxCount) { 50 mCount = count;
|
H A D | SortingCursorWrapper.java | 46 final int count = cursor.getCount(); 47 mPosition = new int[count]; 50 mValueString = new String[count]; 56 mValueLong = new long[count]; 63 for (int i = 0; i < count; i++) { 172 final int count = position.length; 173 for (int start = 1; start < count; start++) { 218 final int count = position.length; 219 for (int start = 1; start < count; start++) {
|
/frameworks/volley/tests/src/com/android/volley/toolbox/ |
H A D | ImageRequestTest.java | 92 int count; 93 while ((count = in.read(buffer)) != -1) { 94 bytes.write(buffer, 0, count);
|
/frameworks/av/include/media/nbaio/ |
H A D | AudioBufferProviderSource.h | 45 virtual ssize_t read(void *buffer, size_t count, int64_t readPTS);
|
H A D | NBAIO.h | 51 // attributes, rather than a struct with separate fields for format, sample rate, channel count, 55 // Sample rate and channel count are explicit, PCM interleaved 16-bit is assumed. 70 // Convert a sample rate in Hz and channel count to an NBAIO_Format 77 // Return the channel count of an NBAIO_Format 81 typedef ssize_t (*writeVia_t)(void *user, void *buffer, size_t count); 83 size_t count, int64_t readPTS); 159 // larger transfer count, however it will make a good faith effort to give an accurate estimate. 170 // count Maximum number of frames to transfer. 180 virtual ssize_t write(const void *buffer, size_t count) = 0; 189 // block Number of frames per block, that is a suggested value for 'count' i [all...] |
H A D | PipeReader.h | 48 virtual ssize_t read(void *buffer, size_t count, int64_t readPTS);
|
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | ByteArrayOutput.h | 49 * Write bytes from the given buffer. The number of bytes given in the count 55 virtual status_t write(const uint8_t* buf, size_t offset, size_t count);
|
H A D | FileInput.h | 52 * of bytes given in the count argument will be read. Bytes will be written 58 virtual ssize_t read(uint8_t* buf, size_t offset, size_t count);
|
H A D | FileOutput.h | 35 virtual status_t write(const uint8_t* buf, size_t offset, size_t count);
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | ton_stab.h | 95 Word16 count; member in struct:__anon388
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | armVCM4P2_BlockMatch_Integer.c | 98 OMX_INT outer, inner, count,index; local 156 for (outer = 0, count = 0, index = 0, candSAD = 0; 160 for (inner = 0; inner < BlockSize; inner++, count++, index++) 162 candSAD += armAbs (pTempSrcRefBuf[index] - pSrcCurrBuf[count]);
|
H A D | omxVCM4P2_DecodeBlockCoef_Intra.c | 124 OMX_INT predDir, predACDir, i, j, count; local 226 for (j = 0, count = 0; j < 8; j++) 228 for(i = 0; i < 8; i++, count++) 230 pDst[i] = armClip (0, 255, pTempBuf2[count]);
|
H A D | omxVCM4P2_EncodeMV.c | 104 OMX_INT iBlk, i, count = 1; local 133 count = 4; 137 count = 1; 143 for (iBlk = 0; iBlk < count; iBlk++)
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ProcFileReader.java | 75 private void consumeBuf(int count) throws IOException { argument 78 System.arraycopy(mBuffer, count, mBuffer, 0, mTail - count); 79 mTail -= count;
|
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
H A D | SoundPoolTest.java | 132 int count = mSounds.length; 133 for (int index = 0; index < count; index++) { 154 int count = mScale.length; 155 for (int step = 0; step < count; step++) { 176 int count = mScale.length; 186 for (int step = 1; step < count; step++) { 261 for (int count = 0; count < 5; count++) { 288 for (int count [all...] |
/frameworks/base/test-runner/src/android/test/ |
H A D | ViewAsserts.java | 318 * Assert the specified group's integrity. The children count should be >= 0 and each 324 final int count = parent.getChildCount(); 325 assertTrue("child count should be >= 0", count >= 0); 327 for (int i = 0; i < count; i++) { 340 final int count = parent.getChildCount(); 341 assertTrue("Child count should be >= 0", count >= 0); 344 for (int i = 0; i < count; i++) { 364 final int count [all...] |
/frameworks/base/tools/aapt/ |
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/minikin/include/minikin/ |
H A D | Layout.h | 78 void doLayout(const uint16_t* buf, size_t start, size_t count, size_t bufSize, 113 void doLayoutRunCached(const uint16_t* buf, size_t start, size_t count, size_t bufSize, 117 void doLayoutWord(const uint16_t* buf, size_t start, size_t count, size_t bufSize, 121 void doLayoutRun(const uint16_t* buf, size_t start, size_t count, size_t bufSize,
|
/frameworks/native/include/gui/ |
H A D | IDisplayEventConnection.h | 50 virtual void setVsyncRate(uint32_t count) = 0;
|
/frameworks/native/services/sensorservice/ |
H A D | BatteryService.cpp | 49 info.count++; 50 return info.count == 1; 58 info.count--; 59 return info.count == 0;
|
H A D | CorrectedGyroSensor.h | 40 CorrectedGyroSensor(sensor_t const* list, size_t count);
|
H A D | GravitySensor.h | 40 GravitySensor(sensor_t const* list, size_t count);
|
H A D | LinearAccelerationSensor.h | 42 LinearAccelerationSensor(sensor_t const* list, size_t count);
|