/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 | 73 for(int count = 0; count < maxDowns && mListView.getLastVisiblePosition() <= lastPosition; count++) {
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | EditTextTypeActivity.java | 39 final int count = 100; 42 StringBuilder builder = new StringBuilder(count * string.length()); 43 for (int i = 0; i < count; i++) {
|
/frameworks/av/camera/ndk/ |
H A D | NdkCaptureRequest.cpp | 115 ACaptureRequest* req, uint32_t tag, uint32_t count, const NDK_TYPE* data) { \ 117 if (req == nullptr || (count > 0 && data == nullptr)) { \ 118 ALOGE("%s: invalid argument! req %p, tag 0x%x, count %d, data 0x%p", \ 119 __FUNCTION__, req, tag, count, data); \ 122 return req->settings->update(tag, count, data); \
|
/frameworks/av/include/media/nbaio/ |
H A D | AudioBufferProviderSource.h | 45 virtual ssize_t read(void *buffer, size_t count);
|
H A D | AudioStreamOutSink.h | 49 virtual ssize_t write(const void *buffer, size_t count);
|
H A D | NBAIO.h | 54 // attributes, rather than a struct with separate fields for format, sample rate, channel count, 58 // Sample rate and channel count are explicit, PCM interleaved 16-bit is assumed. 73 // Convert a sample rate in Hz and channel count to an NBAIO_Format 80 // Return the channel count of an NBAIO_Format 84 typedef ssize_t (*writeVia_t)(void *user, void *buffer, size_t count); 85 typedef ssize_t (*readVia_t)(void *user, const void *buffer, size_t count); 161 // larger transfer count, however it will make a good faith effort to give an accurate estimate. 177 // count Maximum number of frames to transfer. 187 virtual ssize_t write(const void *buffer, size_t count) = 0; 196 // block Number of frames per block, that is a suggested value for 'count' i [all...] |
H A D | Pipe.h | 57 virtual ssize_t write(const void *buffer, size_t count);
|
H A D | PipeReader.h | 48 virtual ssize_t read(void *buffer, size_t count);
|
/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/libnbaio/include/ |
H A D | AudioBufferProviderSource.h | 45 virtual ssize_t read(void *buffer, size_t count);
|
H A D | AudioStreamOutSink.h | 49 virtual ssize_t write(const void *buffer, size_t count);
|
H A D | NBAIO.h | 54 // attributes, rather than a struct with separate fields for format, sample rate, channel count, 58 // Sample rate and channel count are explicit, PCM interleaved 16-bit is assumed. 73 // Convert a sample rate in Hz and channel count to an NBAIO_Format 80 // Return the channel count of an NBAIO_Format 84 typedef ssize_t (*writeVia_t)(void *user, void *buffer, size_t count); 85 typedef ssize_t (*readVia_t)(void *user, const void *buffer, size_t count); 161 // larger transfer count, however it will make a good faith effort to give an accurate estimate. 177 // count Maximum number of frames to transfer. 187 virtual ssize_t write(const void *buffer, size_t count) = 0; 196 // block Number of frames per block, that is a suggested value for 'count' i [all...] |
H A D | Pipe.h | 57 virtual ssize_t write(const void *buffer, size_t count);
|
H A D | PipeReader.h | 48 virtual ssize_t read(void *buffer, size_t count);
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | ton_stab.h | 95 Word16 count; member in struct:__anon538
|
/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/android/accessibilityservice/ |
H A D | AccessibilityButtonController.java | 159 for (int i = 0, count = entries.size(); i < count; i++) { 184 for (int i = 0, count = entries.size(); i < count; i++) {
|
/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/services/core/java/com/android/server/display/ |
H A D | DisplayTransformManager.java | 120 final int count = mColorMatrix.size(); 121 if (count == 0) { 127 for (int i = 0; i < count; i++) { 131 return result[count % 2];
|