/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GlyphCacheActivity.java | 68 private String createString(int length) { argument 70 for (int i = 0; i < length; i++) { 71 sb.append(mCharacterSet.charAt((int)(Math.random() * mCharacterSet.length())));
|
/frameworks/minikin/libs/minikin/ |
H A D | MinikinInternal.cpp | 36 const size_t length = sizeof(generated::EMOJI_LIST) / sizeof(generated::EMOJI_LIST[0]); local 37 return std::binary_search(generated::EMOJI_LIST, generated::EMOJI_LIST + length, c);
|
H A D | MinikinInternal.h | 68 unsigned int length = 0; local 69 hb_blob_get_data(mBlob, &length); 70 return (size_t)length;
|
/frameworks/native/libs/binder/ |
H A D | IProcessInfoService.cpp | 31 virtual status_t getProcessStatesFromPids(size_t length, /*in*/ int32_t* pids, argument 36 data.writeInt32Array(length, pids); 37 data.writeInt32(length); // write length of output array, used by java AIDL stubs 43 if (static_cast<size_t>(replyLen) != length) { 46 if (replyLen > 0 && (err = reply.read(states, length * sizeof(*states))) != NO_ERROR) { 52 virtual status_t getProcessStatesAndOomScoresFromPids(size_t length, argument 57 data.writeInt32Array(length, pids); 58 // write length of output arrays, used by java AIDL stubs 59 data.writeInt32(length); [all...] |
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glGetActiveAttrib.java | 1 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 7 int[] length, 17 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 24 java.nio.IntBuffer length, 30 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 41 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 3 glGetActiveAttrib( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument 20 glGetActiveAttrib( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument
|
H A D | glGetActiveUniform.java | 1 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 7 int[] length, 17 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 24 java.nio.IntBuffer length, 29 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 40 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) 3 glGetActiveUniform( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument 20 glGetActiveUniform( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument
|
H A D | glGetTransformFeedbackVarying.java | 1 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) 7 int[] length, 17 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) 26 java.nio.IntBuffer length, 32 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) 38 java.nio.IntBuffer length, 44 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) 55 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) 3 glGetTransformFeedbackVarying( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument 22 glGetTransformFeedbackVarying( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument 34 glGetTransformFeedbackVarying( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, java.nio.ByteBuffer name ) argument
|
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | GsmCodec.cpp | 47 int decode(int16_t *samples, int count, void *payload, int length); 60 int GsmCodec::decode(int16_t *samples, int count, void *payload, int length) argument 64 while (n + 160 <= count && length >= 33 && 67 length -= 33;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/eap/ |
H A D | VendorSpecificAuth.java | 14 public VendorSpecificAuth(int length, ByteBuffer payload) throws ProtocolException { argument 15 mData = new byte[length];
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | TextAttribute.java | 27 public int length; field in class:TextAttribute 36 public TextAttribute(int start, int length, TextAlignment align, argument 40 this.length = length;
|
/frameworks/wilhelm/src/itf/ |
H A D | IMIDIMessage.c | 23 SLuint32 length) 22 IMIDIMessage_SendMessage(SLMIDIMessageItf self, const SLuint8 *data, SLuint32 length) argument
|
/frameworks/av/drm/common/ |
H A D | DrmConstraints.cpp | 33 int length = strlen(value); local 34 char* charValue = new char[length + 1]; 36 strncpy(charValue, value, length); 37 charValue[length] = '\0';
|
H A D | DrmMetadata.cpp | 28 int length = strlen(value); local 29 char* charValue = new char[length + 1]; 31 memcpy(charValue, value, length); 32 charValue[length] = '\0';
|
/frameworks/av/media/libeffects/loudness/common/core/ |
H A D | basic_types.h | 56 int length; member in struct:le_fx::FloatArray 61 length = 0; 66 int length; member in struct:le_fx::Int16Array 71 length = 0; 76 int length; member in struct:le_fx::Int32Array 81 length = 0; 86 int length; member in struct:le_fx::Int8Array 91 length = 0;
|
/frameworks/av/media/libstagefright/ |
H A D | ProcessInfo.cpp | 35 size_t length = 1; local 40 status_t err = service->getProcessStatesAndOomScoresFromPids(length, &pid, &state, &score);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | UDPPusher.cpp | 72 uint32_t length; local 73 if (fread(&length, 1, sizeof(length), mFile) < sizeof(length)) { 78 length = fromlel(length); 80 CHECK_GT(length, 0u); 82 sp<ABuffer> buffer = new ABuffer(length); 83 if (fread(buffer->data(), 1, length, mFile) < length) { [all...] |
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | ResultStorageDescriptor.java | 51 * @param length Byte length of the data 53 public ResultStorageDescriptor(int type, int offset, int length) { argument 56 mLength = length;
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | SynthesisCallback.java | 86 * @param length The number of bytes of audio data in {@code buffer}. This must be 91 public int audioAvailable(byte[] buffer, int offset, int length); argument
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | CharSequences.java | 36 public int length() { 37 return bytes.length; 59 * is greater than length(), or if start is greater than end 63 validate(start, end, bytes.length); 69 public int length() { 76 validate(newStart, newEnd, length()); 81 return new String(bytes, start, length()); 86 static void validate(int start, int end, int length) { argument 89 if (end > length) throw new IndexOutOfBoundsException(); 97 if (a.length() ! [all...] |
/frameworks/base/core/jni/ |
H A D | android_os_UEventObserver.cpp | 44 static bool isMatch(const char* buffer, size_t length) { argument 52 const char* end = buffer + length + 1; 68 int length = uevent_next_event(buffer, sizeof(buffer) - 1); local 69 if (length <= 0) { 72 buffer[length] = '\0'; 76 if (isMatch(buffer, length)) { 78 jchar message[length]; 79 for (int i = 0; i < length; i++) { 82 return env->NewString(message, length);
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_vertex_frame.cpp | 41 const int length = env->GetArrayLength(ints); local 44 length * sizeof(jint)); 58 const int length = env->GetArrayLength(floats); local 61 length * sizeof(jfloat)); 73 jint length) { 79 length); 69 Java_android_filterfw_core_VertexFrame_setNativeData(JNIEnv* env, jobject thiz, jbyteArray data, jint offset, jint length) argument
|
/frameworks/base/obex/javax/obex/ |
H A D | PrivateInputStream.java | 76 return mData.length - mIndex; 92 while (mData.length == mIndex) { 102 return read(b, 0, b.length); 106 public synchronized int read(byte[] b, int offset, int length) throws IOException { argument 111 if ((offset | length) < 0 || length > b.length - offset) { 116 int currentDataLength = mData.length - mIndex; 117 int remainReadLength = length; 131 currentDataLength = mData.length [all...] |
/frameworks/base/packages/Osu/src/com/android/anqp/eap/ |
H A D | ExpandedEAPMethod.java | 20 public ExpandedEAPMethod(EAP.AuthInfoID authInfoID, int length, ByteBuffer payload) argument 22 if (length != 7) { 23 throw new ProtocolException("Bad length: " + payload.remaining());
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/asn1/ |
H A D | Asn1Constructed.java | 10 public Asn1Constructed(int tag, Asn1Class asn1Class, int length, argument 12 super(tag, asn1Class, true, length, payload);
|
H A D | Asn1Integer.java | 13 public Asn1Integer(int tag, Asn1Class asn1Class, int length, ByteBuffer data) { argument 14 super(tag, asn1Class, false, length); 16 if (length <= 8) { 18 for (int n = 0; n < length; n++) { 24 byte[] payload = new byte[length];
|