/frameworks/base/core/java/android/speech/tts/ |
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);
|
H A D | SynthesisPlaybackQueueItem.java | 302 ListEntry(byte[] bytes) { argument 303 mBytes = bytes;
|
/frameworks/base/tools/streaming_proto/test/ |
H A D | test.proto | 112 optional bytes bytes_field = 150; 113 repeated bytes bytes_field_repeated = 151;
|
/frameworks/base/wifi/java/android/net/wifi/aware/ |
H A D | TlvBufferUtils.java | 73 * @param typeSize Number of bytes used for the Type (T) field. Values 74 * of 0, 1, or 2 bytes are allowed. A specification of 0 75 * bytes implies that the field being constructed has the LV 77 * @param lengthSize Number of bytes used for the Length (L) field. 78 * Values of 1 or 2 bytes are allowed. 165 * @param length Copy the specified number (length) of bytes from the 254 * @param data The string whose bytes are to be inserted into the 260 byte[] bytes = null; 263 bytes = data.getBytes(); 264 length = bytes [all...] |
H A D | WifiAwareAgentNetworkSpecifier.java | 168 byte[] bytes = parcel.marshall(); 171 mDigester.update(bytes);
|
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
H A D | MusicPlayerFragment.java | 247 byte[] bytes = new byte[inputStream.available()]; 248 inputStream.read(bytes, 0, bytes.length); 249 String json = new String(bytes);
|
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
H A D | MusicPlayerFragment.java | 247 byte[] bytes = new byte[inputStream.available()]; 248 inputStream.read(bytes, 0, bytes.length); 249 String json = new String(bytes);
|
/frameworks/base/core/java/android/net/ |
H A D | VpnService.java | 534 byte[] bytes = address.getAddress(); 535 if (offset < bytes.length) { 536 for (bytes[offset] <<= prefixLength % 8; offset < bytes.length; ++offset) { 537 if (bytes[offset] != 0) {
|
H A D | LinkAddress.java | 105 byte[] bytes = address.getAddress(); 106 return ((bytes[0] & (byte)0xfe) == (byte)0xfc);
|
/frameworks/base/core/tests/BTtraffic/src/com/android/google/experimental/bttraffic/ |
H A D | BTtraffic.java | 303 byte[] bytes = new byte[pkgsize]; 304 random.nextBytes(bytes); 306 writeBytes(outputStream, bytes.length); 307 outputStream.write(bytes, 0, bytes.length);
|
/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 | 160 FLAC__byte buffer[], size_t *bytes); 176 FLAC__byte buffer[], size_t *bytes, 216 size_t *bytes, void *client_data) 218 return ((FLACParser *) client_data)->readCallback(buffer, bytes); 272 FLAC__byte buffer[], size_t *bytes) 274 size_t requested = *bytes; 277 *bytes = 0; 280 *bytes = 0; 285 *bytes = actual; 214 read_callback( const FLAC__StreamDecoder * , FLAC__byte buffer[], size_t *bytes, void *client_data) argument 271 readCallback( FLAC__byte buffer[], size_t *bytes) argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/ |
H A D | IccUtils.java | 191 * shall be left justified. Unused bytes shall be set to 'FF'; or 349 * @param bytes an array of bytes 351 * @return hex string representation of bytes array 354 bytesToHexString(byte[] bytes) { argument 355 if (bytes == null) return null; 357 StringBuilder ret = new StringBuilder(2*bytes.length); 359 for (int i = 0 ; i < bytes.length ; i++) { 362 b = 0x0f & (bytes[i] >> 4); 366 b = 0x0f & bytes[ [all...] |
/frameworks/ex/framesequence/jni/ |
H A D | FrameSequence_webp.cpp | 93 mData.bytes = stream->getRawBufferAddr(); 112 mData.bytes = new uint8_t[mData.size]; 113 memcpy((void*)mData.bytes, riff_header, RIFF_HEADER_SIZE); 115 // Read rest of the bytes. 116 void* remaining_bytes = (void*)(mData.bytes + RIFF_HEADER_SIZE); 143 delete[] mData.bytes; 242 if (WebPDecode(currFrame.bytes, currFrame.size, &mDecoderConfig) != VP8_STATUS_OK) {
|
/frameworks/minikin/libs/minikin/ |
H A D | Hyphenator.cpp | 93 const uint8_t* bytes() const { return reinterpret_cast<const uint8_t*>(this); } function in struct:minikin::Header 95 return *reinterpret_cast<const uint32_t*>(bytes() + alphabet_offset); 98 return reinterpret_cast<const AlphabetTable0*>(bytes() + alphabet_offset); 101 return reinterpret_cast<const AlphabetTable1*>(bytes() + alphabet_offset); 104 return reinterpret_cast<const Trie*>(bytes() + trie_offset); 107 return reinterpret_cast<const Pattern*>(bytes() + pattern_offset);
|
/frameworks/av/include/media/audiohal/ |
H A D | StreamHalInterface.h | 34 // Return size of input/output buffer in bytes for this stream - eg. 4800. 53 // Return the frame size (number of bytes per sample) of a stream. 110 virtual status_t write(const void *buffer, size_t bytes, size_t *written) = 0; 155 virtual status_t read(void *buffer, size_t bytes, size_t *read) = 0;
|
/frameworks/av/media/libaudiohal/ |
H A D | StreamHalLocal.h | 33 // Return size of input/output buffer in bytes for this stream - eg. 4800. 96 // Return the frame size (number of bytes per sample) of a stream. 106 virtual status_t write(const void *buffer, size_t bytes, size_t *written); 168 // Return the frame size (number of bytes per sample) of a stream. 175 virtual status_t read(void *buffer, size_t bytes, size_t *read);
|
/frameworks/av/media/libaudiohal/include/media/audiohal/ |
H A D | StreamHalInterface.h | 34 // Return size of input/output buffer in bytes for this stream - eg. 4800. 53 // Return the frame size (number of bytes per sample) of a stream. 110 virtual status_t write(const void *buffer, size_t bytes, size_t *written) = 0; 155 virtual status_t read(void *buffer, size_t bytes, size_t *read) = 0;
|
/frameworks/base/core/java/android/hardware/location/ |
H A D | ContextHubInfo.java | 50 * returns the maximum number of bytes that can be sent per message to the hub 52 * @return int - maximum bytes that can be transmitted in a 62 * @param bytes - Maximum number of bytes per message 66 public void setMaxPacketLenBytes(int bytes) { argument 67 mMaxPacketLengthBytes = bytes;
|
/frameworks/base/libs/hwui/protos/ |
H A D | hwui.proto | 77 optional bytes path = 6;
|
/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)) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | UserManagerServiceUserInfoTest.java | 80 byte[] bytes = baos.toByteArray(); 83 data.info.id, new ByteArrayInputStream(bytes));
|
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
H A D | StubMethodAdapterTest.java | 118 private MyClassLoader(String name, byte[] bytes) { argument 120 mBytes = bytes;
|
/frameworks/av/include/media/stagefright/ |
H A D | AudioSource.h | 108 uint8_t *data, size_t bytes);
|