/frameworks/av/drm/common/ |
H A D | ReadWriteUtils.cpp | 46 char* bytes = new char[length]; local 47 if (length == read(fd, (void*) bytes, length)) { 48 string.append(bytes, length); 50 delete[] bytes;
|
/frameworks/av/include/media/stagefright/ |
H A D | AudioSource.h | 103 uint8_t *data, size_t bytes);
|
H A D | MediaWriter.h | 41 virtual void setMaxFileSize(int64_t bytes) { mMaxFileSizeLimitBytes = bytes; } argument
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 336 size_t num_bytes = s->bytes(); 437 status_t StagefrightRecorder::setParamMaxFileSizeBytes(int64_t bytes) { argument 438 ALOGV("setParamMaxFileSizeBytes: %lld bytes", (long long)bytes); 441 if (bytes <= 0) { 442 ALOGW("Max file size is not positive: %lld bytes. " 443 "Disabling file size limit.", (long long)bytes); 444 bytes = 0; // Disable the file size limit for zero or negative values. 445 } else if (bytes <= 1024) { // XXX: 1 kB 446 ALOGE("Max file size is too small: %lld bytes", (lon [all...] |
H A D | StagefrightRecorder.h | 182 status_t setParamMaxFileSizeBytes(int64_t bytes);
|
/frameworks/av/media/libstagefright/ |
H A D | AudioSource.cpp | 204 uint8_t *data, size_t bytes) { 209 int32_t stopFrame = startFrame + bytes / sizeof(int16_t); 339 // Convert number of frames lost to number of bytes lost. 348 ALOGW("Lost audio record data: %zu bytes", numLostBytes); 202 rampVolume( int32_t startFrame, int32_t rampDurationFrames, uint8_t *data, size_t bytes) argument
|
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
|
H A D | MPEG4Writer.cpp | 571 // - meta header structures, which occur only once (total 66 bytes) 572 // - size for each key, which consists of a fixed header (32 bytes), 650 ALOGI("limits: %" PRId64 "/%" PRId64 " bytes/us, bit rate: %d bps and the" 651 " estimated moov size %" PRId64 " bytes", 687 ALOGW("32-bit file size limit (%" PRId64 " bytes) too big. " 688 "It is changed to %" PRId64 " bytes", 1202 const size_t bytes = size * nmemb; local 1205 off64_t moovBoxSize = 8 + mMoovBoxBufferOffset + bytes; 1220 ::write(mFd, ptr, bytes); 1221 mOffset += (bytes [all...] |
H A D | OggExtractor.cpp | 344 ALOGV("skipped %lld bytes of junk to reach next frame", 372 ALOGV("backing up %lld bytes", (long long)(pageOffset - prevGuess)); 377 // back off 5000 bytes more and try again. 499 ALOGV("failed to read %zu bytes at offset %#016llx, got %zd bytes", 717 ALOGV("failed to read %zu bytes at %#016llx, got %zd bytes", 915 pack.bytes = ref.length; 1285 ALOGV("got image data, %zu trailing bytes",
|
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
H A D | SoftFlacEncoder.cpp | 276 ALOGE("Input buffer size must be at most %d bytes", 380 size_t bytes, unsigned samples, 383 ALOGV("SoftFlacEncoder::onEncodedFlacAvailable(bytes=%zu, samples=%u, curr_frame=%u)", 384 bytes, samples, current_frame); 388 ALOGI(" saving %zu bytes of header", bytes); 389 memcpy(mHeader + mHeaderOffset, buffer, bytes); 390 mHeaderOffset += bytes;// will contain header size when finished receiving header 399 ALOGV("ignoring %zu bytes of header data (samples=%d)", bytes, sample 378 onEncodedFlacAvailable( const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame) argument 478 flacEncoderWriteCallback( const FLAC__StreamEncoder * , const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, void *client_data) argument [all...] |
H A D | SoftFlacEncoder.h | 81 size_t bytes, unsigned samples, unsigned current_frame, void *client_data); 85 size_t bytes, unsigned samples, unsigned current_frame);
|
/frameworks/av/media/libstagefright/codecs/vorbis/dec/ |
H A D | SoftVorbis.cpp | 278 ALOGE("Too small input buffer: %zu bytes", size); 387 pack.bytes = ref.length;
|
/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);
|
H A D | SpdifStreamOut.cpp | 117 ssize_t SpdifStreamOut::writeDataBurst(const void* buffer, size_t bytes) argument 119 return AudioStreamOut::write(buffer, bytes);
|
H A D | SpdifStreamOut.h | 53 * Write audio buffer to driver. Returns number of bytes written, or a 60 * bytes that currently fit in the driver/hardware buffer and then return 65 virtual ssize_t write(const void* buffer, size_t bytes); 103 virtual ssize_t writeOutput(const void* buffer, size_t bytes) argument 105 return mSpdifStreamOut->writeDataBurst(buffer, bytes); 116 ssize_t writeDataBurst(const void* data, size_t bytes); 117 ssize_t writeInternal(const void* buffer, size_t bytes);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | SdpOppOpsRecord.java | 77 byte[] bytes = new byte[arrayLength]; 78 in.readByteArray(bytes); 79 this.mFormatsList = bytes;
|
H A D | UidTraffic.java | 22 * Record of data traffic (in bytes) by an application identified by its UID. 53 public void setRxBytes(long bytes) { argument 54 mRxBytes = bytes; 57 public void setTxBytes(long bytes) { argument 58 mTxBytes = bytes; 61 public void addRxBytes(long bytes) { argument 62 mRxBytes += bytes; 65 public void addTxBytes(long bytes) { argument 66 mTxBytes += bytes;
|
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | ScanRecord.java | 69 // Raw bytes of scan record. 144 * Returns raw bytes of scan record. 154 String localName, byte[] bytes) { 161 mBytes = bytes; 165 * Parse scan record bytes to {@link ScanRecord}. 228 // The first two bytes of the service data are service data UUID in little 229 // endian. The rest bytes are service data. 240 // The first two bytes of the manufacturer specific data are 263 // and return an empty record with raw scanRecord bytes in results 289 // Helper method to extract bytes fro 150 ScanRecord(List<ParcelUuid> serviceUuids, SparseArray<byte[]> manufacturerData, Map<ParcelUuid, byte[]> serviceData, int advertiseFlags, int txPowerLevel, String localName, byte[] bytes) argument [all...] |
/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.
|
/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/core/java/android/net/ |
H A D | LinkAddress.java | 105 byte[] bytes = address.getAddress(); 106 return ((bytes[0] & (byte)0xfc) == (byte)0xfc);
|
H A D | NetworkStatsHistory.java | 232 * Return total bytes represented by this history. 529 public void generateRandom(long start, long end, long bytes) { argument 533 final long rxBytes = (long) (bytes * fractionRx); 534 final long txBytes = (long) (bytes * (1 - fractionRx));
|
H A D | Uri.java | 1887 // Convert the substring to bytes and encode the bytes as 1891 byte[] bytes = toEncode.getBytes(DEFAULT_ENCODING); 1892 int bytesLength = bytes.length; 1895 encoded.append(HEX_DIGITS[(bytes[i] & 0xf0) >> 4]); 1896 encoded.append(HEX_DIGITS[bytes[i] & 0xf]);
|
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) {
|
/frameworks/base/core/java/android/net/http/ |
H A D | SslCertificate.java | 126 byte[] bytes = bundle.getByteArray(X509_CERTIFICATE); 127 if (bytes == null) { 132 Certificate cert = certFactory.generateCertificate(new ByteArrayInputStream(bytes)); 272 byte[] bytes = x509Certificate.getEncoded(); 274 byte[] digest = md.digest(bytes); 283 private static final String fingerprint(byte[] bytes) { argument 284 if (bytes == null) { 288 for (int i = 0; i < bytes.length; i++) { 289 byte b = bytes[i]; 291 if (i+1 != bytes [all...] |