/frameworks/base/core/java/android/speech/tts/ |
H A D | SynthesisPlaybackQueueItem.java | 242 ListEntry(byte[] bytes) { argument 243 mBytes = bytes;
|
H A D | BlockingAudioTrack.java | 56 * A "short utterance" is one that uses less bytes than the audio 191 private static int writeToAudioTrack(AudioTrack audioTrack, byte[] bytes) { argument 198 while (count < bytes.length) { 201 int written = audioTrack.write(bytes, count, bytes.length);
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | ScanResult.java | 304 * storing the raw bytes of full result IEs 306 public byte[] bytes; field in class:ScanResult 313 public byte[] bytes; field in class:ScanResult.InformationElement 320 this.bytes = rhs.bytes.clone(); 506 dest.writeInt(informationElements[i].bytes.length); 507 dest.writeByteArray(informationElements[i].bytes); 555 sr.informationElements[i].bytes = new byte[len]; 556 in.readByteArray(sr.informationElements[i].bytes);
|
H A D | WifiEnterpriseConfig.java | 185 byte[] bytes = new byte[len]; 186 in.readByteArray(bytes); 189 userKey = keyFactory.generatePrivate(new PKCS8EncodedKeySpec(bytes)); 207 byte[] bytes = new byte[len]; 208 in.readByteArray(bytes); 211 .generateCertificate(new ByteArrayInputStream(bytes));
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
H A D | Exif.java | 45 Looking at this algorithm, we never look ahead more than 8 bytes. As long as we call 48 Also, the most we ever read backwards is 4 bytes. pack() reads backwards if the encoding 49 is in little endian format. These following two lines potentially reads 4 bytes backwards: 187 private static int pack(final InputStreamBuffer bytes, int offset, int length, argument 197 value = (value << 8) | (bytes.get(offset) & 0xFF);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | Exif.java | 40 Looking at this algorithm, we never look ahead more than 8 bytes. As long as we call 43 Also, the most we ever read backwards is 4 bytes. pack() reads backwards if the encoding 44 is in little endian format. These following two lines potentially reads 4 bytes backwards: 182 private static int pack(final InputStreamBuffer bytes, int offset, int length, argument 192 value = (value << 8) | (bytes.get(offset) & 0xFF);
|
/frameworks/av/services/audioflinger/ |
H A D | AudioStreamOut.h | 64 * Write audio buffer to driver. Returns number of bytes written, or a 71 * bytes that currently fit in the driver/hardware buffer and then return 76 virtual ssize_t write(const void *buffer, size_t bytes);
|
/frameworks/base/core/jni/ |
H A D | android_hardware_UsbDeviceConnection.cpp | 98 jbyte* bytes = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0); local 99 if (bytes) { 100 memcpy(bytes, buffer, length); 101 env->ReleasePrimitiveArrayCritical(ret, bytes, 0);
|
H A D | android_emoji_EmojiFactory.cpp | 163 const char *bytes = factory->GetImageBinaryFromAndroidPua(pua, &size); local 164 if (bytes == NULL) { 168 return decodeBitmap(env, (void*)bytes, size);
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | Log.java | 151 private static String encodeHex(byte[] bytes) { argument 152 StringBuffer hex = new StringBuffer(bytes.length * 2); 154 for (int i = 0; i < bytes.length; i++) { 155 int byteIntValue = bytes[i] & 0xff;
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
H A D | BasicNetwork.java | 228 PoolingByteArrayOutputStream bytes = 239 bytes.write(buffer, 0, count); 241 return bytes.toByteArray(); 252 bytes.close();
|
/frameworks/base/core/java/android/net/ |
H A D | VpnService.java | 497 byte[] bytes = address.getAddress(); 498 if (offset < bytes.length) { 499 for (bytes[offset] <<= prefixLength % 8; offset < bytes.length; ++offset) { 500 if (bytes[offset] != 0) {
|
H A D | LinkAddress.java | 105 byte[] bytes = address.getAddress(); 106 return ((bytes[0] & (byte)0xfc) == (byte)0xfc);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaScanner.cpp | 62 static bool isValidUtf8(const char* bytes) { argument 63 while (*bytes != '\0') { 64 unsigned char utf8 = *(bytes++); 75 // Bit pattern 0xxx. No need for any extra bytes. 83 * Bit pattern 10xx or 1111, which are illegal start bytes. 89 // Bit pattern 1110, so there are two additional bytes. 90 utf8 = *(bytes++); 98 utf8 = *(bytes++);
|
/frameworks/av/media/libstagefright/ |
H A D | FLACExtractor.cpp | 156 FLAC__byte buffer[], size_t *bytes); 172 FLAC__byte buffer[], size_t *bytes, 212 size_t *bytes, void *client_data) 214 return ((FLACParser *) client_data)->readCallback(buffer, bytes); 268 FLAC__byte buffer[], size_t *bytes) 270 size_t requested = *bytes; 273 *bytes = 0; 276 *bytes = 0; 281 *bytes = actual; 210 read_callback( const FLAC__StreamDecoder * , FLAC__byte buffer[], size_t *bytes, void *client_data) argument 267 readCallback( FLAC__byte buffer[], size_t *bytes) argument
|
/frameworks/ex/framesequence/jni/ |
H A D | FrameSequence_webp.cpp | 90 mData.bytes = stream->getRawBufferAddr(); 100 mData.bytes = new uint8_t[mData.size]; 101 memcpy((void*)mData.bytes, riff_header, RIFF_HEADER_SIZE); 103 // Read rest of the bytes. 104 void* remaining_bytes = (void*)(mData.bytes + RIFF_HEADER_SIZE); 131 delete[] mData.bytes; 230 if (WebPDecode(currFrame.bytes, currFrame.size, &mDecoderConfig) != VP8_STATUS_OK) {
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | Frame.java | 111 public void setData(byte[] bytes, int offset, int length) { argument 112 setData(ByteBuffer.wrap(bytes, offset, length));
|
H A D | NativeFrame.java | 147 byte[] bytes = buffer.array(); 150 (length + offset) + " bytes given, but only " + buffer.limit() + 151 " bytes available!"); 154 "Frame size is " + getFormat().getSize() + " bytes, but " + 155 length + " bytes given!"); 156 } else if (!setNativeData(bytes, offset, length)) {
|
H A D | GLFrame.java | 84 throw new IllegalArgumentException("GL frames must have 4 bytes per sample!"); 210 byte[] bytes = buffer.array(); 211 if (getFormat().getSize() != bytes.length) { 213 } else if (!setNativeData(bytes, offset, length)) {
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | Learning_StochasticLinearRanker.java | 114 byte[] bytes = byteStream.toByteArray(); 115 return bytes;
|
/frameworks/av/include/media/stagefright/ |
H A D | AudioSource.h | 101 uint8_t *data, size_t bytes);
|
/frameworks/base/include/android_runtime/ |
H A D | AndroidRuntime.h | 117 static jstring NewStringLatin1(JNIEnv* env, const char* bytes);
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_native_frame.cpp | 60 jbyte* bytes = env->GetByteArrayElements(data, NULL); local 61 if (bytes) { 62 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(bytes + offset), 65 env->ReleaseByteArrayElements(data, bytes, JNI_ABORT); 207 ALOGE("Unsupported bytes-per-pixel %d in setBitmap!", bytes_per_sample); 259 ALOGE("Unsupported bytes-per-pixel %d in getBitmap!", bytes_per_sample);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | ModelInterpreter.java | 395 pdu.append ("00"); //SMSC address - 0 bytes 608 byte[] bytes = s.getBytes("US-ASCII"); 612 mOut.write(bytes); 625 byte[] bytes = s.getBytes("US-ASCII"); 629 mOut.write(bytes);
|
/frameworks/base/core/java/android/content/pm/ |
H A D | Signature.java | 161 byte[] bytes = new byte[mSignature.length]; 162 System.arraycopy(mSignature, 0, bytes, 0, mSignature.length); 163 return bytes; 265 * surface area, we only allow a byte size delta of a few bytes.
|