/frameworks/av/media/libnbaio/include/media/nbaio/ |
H A D | LibsndfileSink.h | 46 virtual ssize_t write(const void *buffer, size_t count);
|
/frameworks/base/core/java/android/gesture/ |
H A D | Learner.java | 52 int count = instances.size(); 53 for (int i = 0; i < count; i++) { 70 final int count = instances.size(); 72 for (int i = 0; i < count; i++) {
|
/frameworks/base/libs/hwui/ |
H A D | IProfileRenderer.h | 26 virtual void drawRects(const float* rects, int count, const SkPaint& paint) = 0;
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaMemoryTracer.h | 58 TraceValue(const char* units, uint64_t value) : units(units), value(value), count(1) {} 59 TraceValue(const TraceValue& v) : units(v.units), value(v.value), count(v.count) {} 63 int count; member in struct:android::uirenderer::skiapipeline::SkiaMemoryTracer::TraceValue
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
H A D | EnergyProbe.java | 58 int count = 0; 85 count++; 94 if (count == 0) { 97 return energy/count;
|
/frameworks/base/test-base/src/android/test/ |
H A D | PerformanceTestCase.java | 38 void setInternalIterations(int count); argument 52 * <p>If you return a non-zero iteration count, you should call
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
H A D | UsbAccessoryBulkTransport.java | 55 protected int ioRead(byte[] buffer, int offset, int count) throws IOException { argument 59 return mConnection.bulkTransfer(mBulkInEndpoint, buffer, offset, count, -1); 63 protected void ioWrite(byte[] buffer, int offset, int count) throws IOException { argument 68 buffer, offset, count, TIMEOUT_MILLIS);
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
H A D | UsbAccessoryStreamTransport.java | 56 protected int ioRead(byte[] buffer, int offset, int count) throws IOException { argument 60 return mInputStream.read(buffer, offset, count); 64 protected void ioWrite(byte[] buffer, int offset, int count) throws IOException { argument 68 mOutputStream.write(buffer, offset, count);
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glDrawElementsInstanced.cpp | 1 /* void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount ) */ 4 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf, jint instanceCount) { 17 (GLsizei)count, 27 /* void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount ) */ 30 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint indicesOffset, jint instanceCount) { 33 (GLsizei)count, 3 android_glDrawElementsInstanced__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf, jint instanceCount) argument 29 android_glDrawElementsInstanced__IIIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint indicesOffset, jint instanceCount) argument
|
H A D | glGetDebugMessageLog.cpp | 1 /* GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */ 4 (JNIEnv *_env, jobject _this, jint count, jint bufSize, jintArray sources_ref, jint sourcesOffset, jintArray types_ref, jint typesOffset, jintArray ids_ref, jint idsOffset, jintArray severities_ref, jint severitiesOffset, jintArray lengths_ref, jint lengthsOffset, jbyteArray messageLog_ref, jint messageLogOffset) { 9 /* GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */ 12 (JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref, jobject severities_ref, jobject lengths_ref, jobject messageLog_ref) { 17 /* GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */ 20 (JNIEnv *_env, jobject _this, jint count, jintArray sources_ref, jint sourcesOffset, jintArray types_ref, jint typesOffset, jintArray ids_ref, jint idsOffset, jintArray severities_ref, jint severitiesOffset) { 25 /* GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */ 28 (JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref, jobject severities_ref) { 3 android_glGetDebugMessageLog__II_3II_3II_3II_3II_3II_3BI(JNIEnv *_env, jobject _this, jint count, jint bufSize, jintArray sources_ref, jint sourcesOffset, jintArray types_ref, jint typesOffset, jintArray ids_ref, jint idsOffset, jintArray severities_ref, jint severitiesOffset, jintArray lengths_ref, jint lengthsOffset, jbyteArray messageLog_ref, jint messageLogOffset) argument 11 android_glGetDebugMessageLog__ILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_ByteBuffer_2(JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref, jobject severities_ref, jobject lengths_ref, jobject messageLog_ref) argument 19 android_glGetDebugMessageLog__I_3II_3II_3II_3II(JNIEnv *_env, jobject _this, jint count, jintArray sources_ref, jint sourcesOffset, jintArray types_ref, jint typesOffset, jintArray ids_ref, jint idsOffset, jintArray severities_ref, jint severitiesOffset) argument 27 android_glGetDebugMessageLog__ILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref, jobject severities_ref) argument
|
H A D | glGetDebugMessageLogKHR.cpp | 1 /* GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */ 4 (JNIEnv *_env, jobject _this, jint count, jint bufSize, jintArray sources_ref, jint sourcesOffset, jintArray types_ref, jint typesOffset, jintArray ids_ref, jint idsOffset, jintArray severities_ref, jint severitiesOffset, jintArray lengths_ref, jint lengthsOffset, jbyteArray messageLog_ref, jint messageLogOffset) { 9 /* GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */ 12 (JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref, jobject severities_ref, jobject lengths_ref, jobject messageLog_ref) { 17 /* GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */ 20 (JNIEnv *_env, jobject _this, jint count, jintArray sources_ref, jint sourcesOffset, jintArray types_ref, jint typesOffset, jintArray ids_ref, jint idsOffset, jintArray severities_ref, jint severitiesOffset) { 25 /* GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */ 28 (JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref, jobject severities_ref) { 3 android_glGetDebugMessageLogKHR__II_3II_3II_3II_3II_3II_3BI(JNIEnv *_env, jobject _this, jint count, jint bufSize, jintArray sources_ref, jint sourcesOffset, jintArray types_ref, jint typesOffset, jintArray ids_ref, jint idsOffset, jintArray severities_ref, jint severitiesOffset, jintArray lengths_ref, jint lengthsOffset, jbyteArray messageLog_ref, jint messageLogOffset) argument 11 android_glGetDebugMessageLogKHR__ILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_ByteBuffer_2(JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref, jobject severities_ref, jobject lengths_ref, jobject messageLog_ref) argument 19 android_glGetDebugMessageLogKHR__I_3II_3II_3II_3II(JNIEnv *_env, jobject _this, jint count, jintArray sources_ref, jint sourcesOffset, jintArray types_ref, jint typesOffset, jintArray ids_ref, jint idsOffset, jintArray severities_ref, jint severitiesOffset) argument 27 android_glGetDebugMessageLogKHR__ILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref, jobject severities_ref) argument
|
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AudioCodec.h | 33 virtual int decode(int16_t *samples, int count, void *payload, int length) = 0;
|
/frameworks/opt/net/wifi/libwifi_system/ |
H A D | supplicant_manager.cpp | 42 int count = 200; /* wait at most 20 seconds for completion */ local 67 while (count-- > 0) { 92 int count = 50; /* wait at most 5 seconds for completion */ local 103 while (count-- > 0) {
|
/frameworks/support/wear/src/main/java/androidx/wear/widget/ |
H A D | WearableLinearLayoutManager.java | 118 for (int count = 0; count < childCount; count++) { 119 View child = getChildAt(count);
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
H A D | Exif.java | 52 count = pack(jpeg, offset - 2, 2, littleEndian); 143 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2; 144 if (count < 10 || count > length) { 148 offset += count; 149 length -= count; 154 // Get the count and go through all the elements. 155 count = pack(jpeg, offset - 2, 2, littleEndian); 157 while (count-- > 0 && length >= 12) { 161 // We do not really care about type and count, d [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | Exif.java | 47 count = pack(jpeg, offset - 2, 2, littleEndian); 138 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2; 139 if (count < 10 || count > length) { 143 offset += count; 144 length -= count; 149 // Get the count and go through all the elements. 150 count = pack(jpeg, offset - 2, 2, littleEndian); 152 while (count-- > 0 && length >= 12) { 156 // We do not really care about type and count, d [all...] |
/frameworks/support/wear/src/main/java/androidx/wear/internal/widget/drawer/ |
H A D | SinglePagePresenter.java | 56 * Initializes the {@link Ui} with {@code count} items. 58 void initialize(int count); argument 109 int count = mAdapter.getCount(); 110 if (mCount != count) { 111 mCount = count; 112 mSelected = Math.min(mSelected, count - 1); 113 mUi.initialize(count); 115 for (int i = 0; i < count; i++) {
|
/frameworks/av/media/libnbaio/ |
H A D | NBAIO.cpp | 79 size_t count = total - accumulator; local 80 if (count > block) { 81 count = block; 83 ssize_t ret = via(user, buffer, count); 85 ALOG_ASSERT((size_t) ret <= count); 115 size_t count = total - accumulator; local 116 if (count > block) { 117 count = block; 119 ssize_t ret = read(buffer, count); 121 ALOG_ASSERT((size_t) ret <= count); [all...] |
/frameworks/base/libs/usb/tests/accessorytest/ |
H A D | hid.c | 95 int count = desc_length - offset; local 96 if (count > max_packet) count = max_packet; 98 fprintf(stderr, "sending ACCESSORY_SET_HID_REPORT_DESC offset: %d count: %d desc_length: %d\n", 99 offset, count, desc_length); 101 ACCESSORY_SET_HID_REPORT_DESC, id, offset, &desc.value[offset], count, 1000); 103 offset += count; 167 int count = read(inotify_fd, event_buf, sizeof(event_buf)); local 168 if (count < (int)sizeof(*event)) { 174 while (count > [all...] |
/frameworks/base/tools/aapt2/io/ |
H A D | FileStream.cpp | 91 void FileInputStream::BackUp(size_t count) { argument 92 if (count > buffer_offset_) { 93 count = buffer_offset_; 95 buffer_offset_ -= count; 96 total_byte_count_ -= count; 161 void FileOutputStream::BackUp(size_t count) { argument 162 if (count > buffer_offset_) { 163 count = buffer_offset_; 165 buffer_offset_ -= count; 166 total_byte_count_ -= count; [all...] |
/frameworks/support/paging/common/src/test/java/androidx/paging/ |
H A D | TiledDataSourceTest.kt | 35 startPosition: Int, count: Int, pageSize: Int): List<String> { 39 this.dispatchLoadInitial(true, startPosition, count, pageSize, FailExecutor(), receiver) 59 override fun loadRange(startPosition: Int, count: Int): List<String> { 75 override fun loadRange(startPosition: Int, count: Int): List<String> { 76 return list.subList(startPosition, startPosition + count)
|
/frameworks/base/core/java/android/view/ |
H A D | HandlerActionQueue.java | 50 final int count = mCount; 54 for (int i = 0; i < count; i++) { 74 for (; j < count; j++) { 83 for (int i = 0, count = mCount; i < count; i++) {
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/ |
H A D | ObjectFormat.java | 29 public static MutableFrameFormat fromClass(Class clazz, int count, int target) { argument 33 if (count != FrameFormat.SIZE_UNSPECIFIED) { 34 result.setDimensions(count); 50 public static MutableFrameFormat fromObject(Object object, int count, int target) { argument 53 : fromClass(object.getClass(), count, target);
|
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | EndianUtils.h | 102 virtual status_t write(const uint8_t* buf, size_t offset, size_t count); 104 virtual status_t write(const int8_t* buf, size_t offset, size_t count); 106 virtual status_t write(const uint16_t* buf, size_t offset, size_t count); 108 virtual status_t write(const int16_t* buf, size_t offset, size_t count); 110 virtual status_t write(const uint32_t* buf, size_t offset, size_t count); 112 virtual status_t write(const int32_t* buf, size_t offset, size_t count); 114 virtual status_t write(const uint64_t* buf, size_t offset, size_t count); 116 virtual status_t write(const int64_t* buf, size_t offset, size_t count); 118 virtual status_t write(const float* buf, size_t offset, size_t count); 120 virtual status_t write(const double* buf, size_t offset, size_t count); 132 writeHelper(const T* buf, size_t offset, size_t count) argument [all...] |
/frameworks/av/media/libaaudio/tests/ |
H A D | test_linear_ramp.cpp | 120 constexpr size_t count = sizeof(source) / sizeof(source[0]); local 121 int16_t destination[count]; 122 const int16_t expected[count] = {kMaxI16, kMaxI16, kHalfI16, kTenthI16, 0, 125 AAudioConvert_floatToPcm16(source, destination, count, 1.0f); 126 for (size_t i = 0; i < count; i++) { 139 constexpr size_t count = sizeof(source) / sizeof(source[0]); local 140 float destination[count]; 141 const float expected[count] = {(32767.0f / 32768.0f), 0.5f, 0.1f, 0.0f, -0.1f, -0.5f, -1.0f}; 143 AAudioConvert_pcm16ToFloat(source, destination, count, 1.0f); 144 for (size_t i = 0; i < count; 158 constexpr size_t count = sizeof(source) / sizeof(source[0]); local [all...] |