Searched refs:count (Results 251 - 275 of 1215) sorted by relevance

<<11121314151617181920>>

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIccUtils.java90 int count = 0;
91 for (int i = offset; count < length; i++) {
97 if (++count == length) break;
102 ++count;
260 int count = 0;
261 while (count < len && data[offset + count] >= 0)
262 count++;
265 offset, count));
267 offset += count;
[all...]
/frameworks/native/cmds/installd/
H A Dinstalld.cpp464 static int readx(int s, void *_buf, int count) argument
468 if (count < 0) return -1;
469 while (n < count) {
470 r = read(s, buf + n, count - n);
485 static int writex(int s, const void *_buf, int count) argument
489 if (count < 0) return -1;
490 while (n < count) {
491 r = write(s, buf + n, count - n);
513 unsigned short count; local
558 count
757 unsigned short count; local
[all...]
/frameworks/av/camera/
H A DCameraUtils.cpp42 if (entry.count == 0) {
48 if (entry.count == 0) {
/frameworks/av/media/img_utils/src/
H A DFileInput.cpp48 ssize_t FileInput::read(uint8_t* buf, size_t offset, size_t count) { argument
54 size_t bytesRead = ::fread(buf + offset, sizeof(uint8_t), count, mFp);
H A DFileOutput.cpp47 status_t FileOutput::write(const uint8_t* buf, size_t offset, size_t count) { argument
53 ::fwrite(buf + offset, sizeof(uint8_t), count, mFp);
/frameworks/av/media/libnbaio/
H A DAudioStreamInSource.cpp67 ssize_t AudioStreamInSource::read(void *buffer, size_t count) argument
72 ssize_t bytesRead = mStream->read(mStream, buffer, count * mFrameSize);
H A DLibsndfileSource.cpp46 ssize_t LibsndfileSource::read(void *buffer, size_t count) argument
54 sf_count_t actual = sf_readf_short(mSndfile, (short *) buffer, (sf_count_t) count);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/inc/
H A DH264SwDecApi.h170 void H264SwDecMemcpy(void *dest, void *src, u32 count);
173 void H264SwDecMemset(void *ptr, i32 value, u32 count);
/frameworks/base/core/java/android/nfc/
H A DApduList.java41 int count = in.readInt();
43 for (int i = 0 ; i < count ; i++) {
/frameworks/base/core/java/android/os/health/
H A DHealthStatsWriter.java92 public void addTimer(int timerId, int count, long time) { argument
96 mTimerCounts[index] = count;
225 int count = 0;
229 count++;
232 return count;
239 int count = 0;
243 count++;
246 return count;
/frameworks/base/core/java/android/service/voice/
H A DIVoiceInteractionSession.aidl34 int index, int count);
/frameworks/base/core/java/android/widget/
H A DCursorFilter.java53 results.count = cursor.getCount();
56 results.count = 0;
H A DSimpleAdapter.java191 final int count = to.length;
193 for (int i = 0; i < count; i++) {
372 results.count = list.size();
377 int count = unfilteredValues.size();
379 ArrayList<Map<String, ?>> newValues = new ArrayList<Map<String, ?>>(count);
381 for (int i = 0; i < count; i++) {
406 results.count = newValues.size();
416 if (results.count > 0) {
/frameworks/base/core/java/com/android/internal/midi/
H A DMidiConstants.java85 * @param count
89 int count) {
92 for (int i = 0; i < count; i++) {
88 isAllActiveSensing(byte[] msg, int offset, int count) argument
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DPaintTest.java45 final int count = end - start;
46 final float[][] advanceArrays = new float[4][count];
52 final float advance_c = p.getTextRunAdvances(chars, start, count, contextStart,
56 for (int c = 1; c < count; ++c) {
67 count - c, contextStart, contextEnd - contextStart, isRtl,
74 for (int j = 0; j < count; j++) {
85 final float[] widths = new float[count];
87 for (int i = 0; i < count; i++) {
/frameworks/base/libs/hwui/
H A DPathTessellator.h85 * @param count The number of floats making up the point vertices
91 static void tessellatePoints(const float* points, int count, const SkPaint* paint,
99 * @param count The number of floats making up the line vertices
105 static void tessellateLines(const float* points, int count, const SkPaint* paint,
/frameworks/base/location/java/com/android/internal/location/
H A DProviderRequest.java53 int count = in.readInt();
54 for (int i = 0; i < count; i++) {
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DMutableFrameFormat.java81 public void setDimensionCount(int count) { argument
82 mDimensions = new int[count];
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DNewLayersActivity.java65 int count = canvas.saveLayer(0.0f, 0.0f, 200.0f, 100.0f, mLayerPaint, saveFlags);
74 canvas.restoreToCount(count);
H A DTextPathActivity.java71 int count = text.length();
72 mHugePaint.getTextPath(text, 0, count, 0, 0, path);
/frameworks/base/tools/aapt2/
H A DNameMangler.h52 mPolicy.packagesToMangle.count(name.package) == 0) {
67 return mPolicy.packagesToMangle.count(package) != 0;
/frameworks/base/wifi/java/android/net/wifi/
H A DBatchedScanResult.java83 int count = in.readInt();
84 while (count-- > 0) {
/frameworks/native/include/gui/
H A DBufferItem.h41 status_t flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const;
42 status_t unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count);
/frameworks/native/include/ui/
H A DFence.h99 status_t flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const;
100 status_t unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count);
/frameworks/native/services/sensorservice/
H A DCorrectedGyroSensor.cpp32 CorrectedGyroSensor::CorrectedGyroSensor(sensor_t const* list, size_t count) argument
34 for (size_t i=0 ; i<count ; i++) {

Completed in 940 milliseconds

<<11121314151617181920>>