/frameworks/base/services/core/jni/ |
H A D | com_android_server_connectivity_Vpn.cpp | 135 int count = 0; local 144 count = BAD_ARGUMENT; 150 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR; 157 count = BAD_ARGUMENT; 161 if (count) { 162 snprintf(ifr4.ifr_name, sizeof(ifr4.ifr_name), "%s:%d", name, count); 165 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR; 172 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR; 177 ++count; 180 if (count 287 int count = -1; local [all...] |
/frameworks/base/tools/aapt2/io/ |
H A D | Data.h | 61 void BackUp(size_t count) override { 62 if (count > next_read_ - offset_) { 65 next_read_ -= count; 110 void BackUp(size_t count) override { 111 if (count > next_read_) { 114 next_read_ -= count; 158 void BackUp(size_t count) override { 159 if (count > next_read_) { 162 next_read_ -= count; 199 void BackUp(size_t /*count*/) overrid [all...] |
H A D | Io.h | 38 // Backup count bytes, where count is smaller or equal to the size of the last buffer returned 41 virtual void BackUp(size_t count) = 0; 75 // Backup count bytes, where count is smaller or equal to the size of the last buffer returned 78 virtual void BackUp(size_t count) = 0;
|
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | TiffEntryImpl.h | 38 TiffEntryImpl(uint16_t tag, TagType type, uint32_t count, Endianness end, const T* data); 64 TiffEntryImpl<T>::TiffEntryImpl(uint16_t tag, TagType type, uint32_t count, Endianness end, argument 66 : mTag(tag), mType(static_cast<uint16_t>(type)), mCount(count), mEnd(end) { 67 count = (type == RATIONAL || type == SRATIONAL) ? count * 2 : count; 68 ssize_t index = mData.appendArray(data, count); 134 uint32_t count = mCount; local 139 * size of the array here, multiply the count by 2. 141 count << 160 uint32_t count = mCount; local [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | GestureStroke.java | 50 final int count = points.size(); 51 final float[] tmpPoints = new float[count * 2]; 52 final long[] times = new long[count]; 58 for (int i = 0; i < count; i++) { 122 final int count = localPoints.length; 129 for (int i = 0; i < count; i += 2) { 176 final int count = pts.length; 178 for (int i = 0; i < count; i += 2) { 203 final int count = points.length; 206 out.writeInt(count / [all...] |
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
H A D | Hwc2TestLayers.cpp | 120 return mTestLayers.count(layer) != 0; 126 if (mTestLayers.count(layer) == 0) { 134 if (mTestLayers.count(layer) == 0) { 150 if (mTestLayers.count(layer) == 0) { 158 if (mTestLayers.count(layer) == 0) { 166 if (mTestLayers.count(layer) == 0) { 174 if (mTestLayers.count(layer) == 0) { 182 if (mTestLayers.count(layer) == 0) { 190 if (mTestLayers.count(layer) == 0) { 198 if (mTestLayers.count(laye [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/ |
H A D | h264bsd_interpolate_hor_half.s | 38 count RN 2 label 138 ;// pack values to count register 144 MOV count, width 148 ADD count, count, tmp2, LSL #16 154 AND tmp1, count, #0x000F0000 ;// partHeight-1 155 AND tmp3, count, #0x00F00000 ;// partWidth-1 156 ADD count, count, tmp1, LSL #8 159 ADD count, coun [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | RequestHolder.java | 117 int count = 0; 121 ++count; 127 return count; 134 int count = 0; 138 ++count; 144 return count;
|
/frameworks/base/core/java/android/util/ |
H A D | IntArray.java | 103 final int count = values.mSize; 104 ensureCapacity(count); 106 System.arraycopy(values.mValues, 0, mValues, mSize, count); 107 mSize += count; 111 * Ensures capacity to append at least <code>count</code> values. 113 private void ensureCapacity(int count) { argument 115 final int minCapacity = currentSize + count;
|
H A D | LogWriter.java | 64 @Override public void write(char[] buf, int offset, int count) { argument 65 for(int i = 0; i < count; i++) {
|
/frameworks/base/libs/hwui/ |
H A D | GpuMemoryTracker.cpp | 43 int count = 0; member in struct:android::uirenderer::TypeStats 59 gObjectStats[static_cast<int>(mType)].count++; 67 gObjectStats[static_cast<int>(mType)].count--; 97 stream << ", count = " << stats.count; 103 return gObjectStats[static_cast<int>(type)].count; 118 ATRACE_INT(buf, stats.count);
|
/frameworks/base/media/java/android/media/midi/ |
H A D | MidiOutputPort.java | 60 int count = mInputStream.read(buffer); 61 if (count < 0) { 66 int packetType = MidiPortImpl.getPacketType(buffer, count); 69 int offset = MidiPortImpl.getDataOffset(buffer, count); 70 int size = MidiPortImpl.getDataSize(buffer, count); 71 long timestamp = MidiPortImpl.getPacketTimestamp(buffer, count);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | SimpleFrame.java | 49 final int count = format.getLength(); 53 mObject = new byte[count]; 56 mObject = new short[count]; 59 mObject = new int[count]; 62 mObject = new float[count]; 65 mObject = new double[count];
|
/frameworks/native/opengl/libagl/ |
H A D | array.cpp | 314 const GLvoid *pointer, const buffer_t* bo, GLsizei count) 334 this->bounds = count; 381 size_t count = VERTEX_BUFFER_SIZE + VERTEX_CACHE_SIZE; local 385 } while (--count); 392 size_t count = VERTEX_BUFFER_SIZE + VERTEX_CACHE_SIZE; local 396 } while (--count); 533 void drawPrimitivesPoints(ogles_context_t* c, GLint first, GLsizei count) argument 535 if (ggl_unlikely(count < 1)) 544 GLsizei num = count > vcs ? vcs : count; 312 init( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, const buffer_t* bo, GLsizei count) argument 564 drawPrimitivesLineStrip(ogles_context_t* c, GLint first, GLsizei count) argument 603 drawPrimitivesLineLoop(ogles_context_t* c, GLint first, GLsizei count) argument 618 drawPrimitivesLines(ogles_context_t* c, GLint first, GLsizei count) argument 650 drawPrimitivesTriangleFanOrStrip(ogles_context_t* c, GLint first, GLsizei count, int winding) argument 704 drawPrimitivesTriangleStrip(ogles_context_t* c, GLint first, GLsizei count) argument 709 drawPrimitivesTriangleFan(ogles_context_t* c, GLint first, GLsizei count) argument 714 drawPrimitivesTriangles(ogles_context_t* c, GLint first, GLsizei count) argument 764 drawIndexedPrimitivesPoints(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 781 drawIndexedPrimitivesLineStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 806 drawIndexedPrimitivesLineLoop(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 838 drawIndexedPrimitivesLines(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 860 drawIndexedPrimitivesTriangleFanOrStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices, int winding) argument 896 drawIndexedPrimitivesTriangleStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 901 drawIndexedPrimitivesTriangleFan(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 906 drawIndexedPrimitivesTriangles(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 965 compileElements__generic(ogles_context_t* c, vertex_t* v, GLint first, GLsizei count) argument 1345 glDrawArrays(GLenum mode, GLint first, GLsizei count) argument 1389 glDrawElements( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) argument [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
H A D | RecordingCanvasTests.cpp | 140 << "float count must be rounded down to closest multiple of 4"; 183 int count = 0; local 184 playbackOps(*dl, [&count](const RecordedOp& op) { 185 count++; 192 ASSERT_EQ(1, count); 251 int count = 0; local 253 playbackOps(*dl, [&count, &lastX](const RecordedOp& op) { 254 count++; 264 ASSERT_EQ(3, count); 303 int count local 352 int count = 0; local 386 int count = 0; local 416 int count = 0; local 431 int count = 0; local 466 int count = 0; local 485 int count = 0; local 513 int count = 0; local 540 int count = 0; local 812 int count = 0; local 836 int count = 0; local [all...] |
/frameworks/av/media/libaudioprocessing/ |
H A D | AudioResamplerFirProcessNeon.h | 75 int count, 85 ALOG_ASSERT(count > 0 && (count & 7) == 0); // multiple of 8 160 } while (count -= 8); 183 int count, 193 ALOG_ASSERT(count > 0 && (count & 7) == 0); // multiple of 8 335 } while (count -= 8); 358 int count, 368 ALOG_ASSERT(count > 74 ProcessNeonIntrinsic(int32_t* out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* volumeLR, uint32_t lerpP, const int16_t* coefsP1, const int16_t* coefsN1) argument 182 ProcessNeonIntrinsic(int32_t* out, int count, const int32_t* coefsP, const int32_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* volumeLR, uint32_t lerpP, const int32_t* coefsP1, const int32_t* coefsN1) argument 357 ProcessNeonIntrinsic(float* out, int count, const float* coefsP, const float* coefsN, const float* sP, const float* sN, const float* volumeLR, float lerpP, const float* coefsP1, const float* coefsN1) argument 526 ProcessL(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument 583 ProcessL(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument 646 Process(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* coefsP1, const int16_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument 722 Process(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* coefsP1, const int16_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument 803 ProcessL(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument 869 ProcessL(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument 954 Process(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int32_t* coefsP1, const int32_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument 1044 Process(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int32_t* coefsP1, const int32_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument 1153 ProcessL(float* const out, int count, const float* coefsP, const float* coefsN, const float* sP, const float* sN, const float* const volumeLR) argument 1166 ProcessL(float* const out, int count, const float* coefsP, const float* coefsN, const float* sP, const float* sN, const float* const volumeLR) argument 1179 Process(float* const out, int count, const float* coefsP, const float* coefsN, const float* coefsP1, const float* coefsN1, const float* sP, const float* sN, float lerpP, const float* const volumeLR) argument 1195 Process(float* const out, int count, const float* coefsP, const float* coefsN, const float* coefsP1, const float* coefsN1, const float* sP, const float* sN, float lerpP, const float* const volumeLR) argument [all...] |
/frameworks/av/services/camera/libcameraservice/utils/ |
H A D | TagMonitor.cpp | 127 if (entry.count > 0) { 129 if (lastEntry.count > 0) { 132 lastEntry.count == entry.count) { 133 // Same type and count, compare values 135 size_t entryBytes = bytesPerValue * lastEntry.count; 156 } else if (lastEntry.count > 0) { 165 entry.count = 0; 215 int type, int count, int indentation) { 228 int lines = count / values_per_lin 214 printData(int fd, const uint8_t *data_ptr, uint32_t tag, int type, int count, int indentation) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | RescueParty.java | 223 public abstract void setCount(int count); argument 253 int count = getCount() + 1; 254 setCount(count); 255 EventLogTags.writeRescueNote(uid, count, window); 256 Slog.w(TAG, "Noticed " + count + " events for UID " + uid + " in last " 258 return (count >= triggerCount); 281 public void setCount(int count) { argument 282 SystemProperties.set(PROP_RESCUE_BOOT_COUNT, Integer.toString(count)); 301 private int count; field in class:RescueParty.AppThreshold 310 @Override public int getCount() { return count; } 311 setCount(int count) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | DateTimeView.java | 231 int count; 240 count = (int)(duration / MINUTE_IN_MILLIS); 244 count), 245 count); 248 count = (int)(duration / HOUR_IN_MILLIS); 252 count), 253 count); 258 count = Math.max(Math.abs(dayDistance(timeZone, mTimeMillis, now)), 1); 262 count), 263 count); [all...] |
/frameworks/av/media/libaaudio/src/fifo/ |
H A D | FifoControllerBase.h | 56 * @param count Number of frames that have been read. 58 virtual void setReadCounter(fifo_counter_t count) = 0; 67 * @param count Number of frames that have been read. 69 virtual void setWriteCounter(fifo_counter_t count) = 0;
|
/frameworks/av/media/mtp/ |
H A D | MtpDataPacket.h | 81 void putAInt8(const int8_t* values, int count); 82 void putAUInt8(const uint8_t* values, int count); 83 void putAInt16(const int16_t* values, int count); 84 void putAUInt16(const uint16_t* values, int count); 86 void putAInt32(const int32_t* values, int count); 87 void putAUInt32(const uint32_t* values, int count); 89 void putAInt64(const int64_t* values, int count); 90 void putAUInt64(const uint64_t* values, int count);
|
/frameworks/base/core/java/android/content/pm/ |
H A D | MacAuthenticatedInputStream.java | 71 public int read(byte[] buffer, int offset, int count) throws IOException { argument 72 int numRead = super.read(buffer, offset, count);
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaProfileRenderer.cpp | 28 void SkiaProfileRenderer::drawRects(const float* rects, int count, const SkPaint& paint) { argument 29 for (int index = 0; index + 4 <= count; index += 4) {
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
H A D | BluetoothPacketEncoder.java | 56 public void onSend(byte[] msg, int offset, int count, long timestamp) 72 bytesNeeded = count; 111 (msg[offset + count - 1] == MidiConstants.STATUS_END_SYSEX); 112 int remaining = (hasSysExEnd ? count - 1 : count); 154 int dataLength = count - 1; 188 public void onSend(byte[] msg, int offset, int count, long timestamp) argument 191 mMidiFramer.send(msg, offset, count, timestamp);
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
H A D | CustomLayout.java | 41 final int count = getChildCount(); 42 for (int i = 0; i < count; i++) {
|