Searched refs:bytes (Results 101 - 115 of 115) sorted by relevance

12345

/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.cpp153 "entry size %d bytes, remaining space %d bytes"
164 "entry size %d bytes, remaining space %d bytes"
202 size_t bytes = 0; local
205 bytes += mCache.getKeyAt(i).getSize() + mCache.getValueAt(i)->getSize();
214 ALOGD("max size : %d bytes", mMaxSize);
215 ALOGD("used : %d bytes according to mSize, %d bytes actual", mSize, bytes);
[all...]
H A DPaint.cpp734 size_t bytes = paint.breakText(value->getGlyphs(), value->getGlyphsCount() << 1, local
736 SkASSERT((bytes & 1) == 0);
743 return bytes >> 1;
/frameworks/av/media/libstagefright/
H A DMPEG4Writer.cpp507 ALOGI("limits: %lld/%lld bytes/us, bit rate: %d bps and the estimated"
508 " moov size %lld bytes",
544 ALOGW("32-bit file size limit (%lld bytes) too big. "
545 "It is changed to %lld bytes",
995 const size_t bytes = size * nmemb; local
999 off64_t moovBoxSize = 8 + mMoovBoxBufferOffset + bytes;
1008 mOffset += (bytes + mMoovBoxBufferOffset);
1015 memcpy(mMoovBoxBuffer + mMoovBoxBufferOffset, ptr, bytes);
1016 mMoovBoxBufferOffset += bytes;
1020 mOffset += bytes;
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DDropBoxTest.java550 new DropBoxManager.Entry("bytes", 3000000, "Bytes Value".getBytes(),
643 assertEquals("bytes", e.getTag());
739 byte[] bytes = new byte[size];
740 new Random(System.currentTimeMillis()).nextBytes(bytes);
744 os.write(bytes);
/frameworks/native/libs/binder/
H A DParcel.cpp586 //printf("Writing %ld bytes, padded to %ld\n", len, padded);
647 status_t err = writeInt32(str.bytes());
651 if (str.bytes() > 0 && err == NO_ERROR) {
652 err = write(str.string(), str.bytes()+1);
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
H A DSoftVorbis.cpp346 pack.bytes = ref.length;
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp213 ALOGE("Callback buffer was too small! Expected %d bytes, but got %d bytes!",
622 static void android_hardware_Camera_addCallbackBuffer(JNIEnv *env, jobject thiz, jbyteArray bytes, int msgType) { argument
628 context->addCallbackBuffer(env, bytes, msgType);
/frameworks/base/voip/java/com/android/server/sip/
H A DSipSessionGroup.java383 byte[] bytes = message.getRawContent();
384 if (bytes != null) {
389 return new String(bytes, "UTF-8");
/frameworks/base/tools/aapt/
H A DStringPool.cpp48 ZD " styles using " ZD " bytes:\n",
51 (ZD_TYPE)N, (ZD_TYPE)pool->styleCount(), (ZD_TYPE)pool->bytes());
/frameworks/av/services/camera/libcameraservice/
H A DCamera2Device.cpp903 size_t entries, size_t bytes,
908 allocate_camera_metadata(entries, bytes);
901 producer_dequeue( const camera2_frame_queue_dst_ops_t *q, size_t entries, size_t bytes, camera_metadata_t **buffer) argument
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DPduPersister.java1511 public static String toIsoString(byte[] bytes) { argument
1513 return new String(bytes, CharacterSets.MIMENAME_ISO_8859_1);
/frameworks/base/include/androidfw/
H A DResourceTypes.h166 // Size of the chunk header (in bytes). Adding this value to
171 // Total size of this chunk (in bytes). This is the chunkSize plus
226 // Number of bytes in this structure.
468 size_t bytes() const;
526 * Appears header.headerSize bytes after a ResXMLTree_node.
539 * Appears header.headerSize bytes after a ResXMLTree_node.
552 * Appears header.headerSize bytes after a ResXMLTree_node.
567 * Appears header.headerSize bytes after a ResXMLTree_node.
812 // Number of bytes in this structure.
1152 // Number of bytes i
[all...]
/frameworks/base/services/java/com/android/server/
H A DBackupManagerService.java1073 final int bytes = digits.length() / 2;
1074 if (2*bytes != digits.length()) {
1078 byte[] result = new byte[bytes];
2630 // [array of Niv bytes] IV itself
2632 // [array of Nmk bytes] master key itself
2634 // [array of Nck bytes] master key checksum hash
2882 long size; // bytes of content
3048 if (MORE_DEBUG) Slog.v(TAG, "Done consuming input tarfile, total bytes=" + mBytes);
3936 // Read exactly the given number of bytes into a buffer at the stated offset.
3937 // Returns false if EOF is encountered before the requested number of bytes
[all...]
/frameworks/av/libvideoeditor/vss/mcs/src/
H A DM4MCS_API.c747 M4OSA_Int32 bitstoDiacard, bytes; local
757 // StageFright encoder does not provide the size in the first 4 bytes of the AU, add it
781 // StageFright encoder does not provide the size in the first 4 bytes of the AU, add it
1018 // StageFright encoder does not provide the size in the first 4 bytes of the AU, add it
1300 M4OSA_Int32 bitstoDiacard, bytes; local
1750 M4OSA_Int32 bitstoDiacard, bytes; local
6705 7; /**< H263 output DSI is always 7 bytes */
8221 uiBytesDec; /**< Nb of bytes available in the decoder OUT buffer */
8223 uiDecoder2Ssrc_NbBytes; /**< Nb of bytes copied into the ssrc IN buffer */
8226 M4OSA_UInt32 uiSsrcInSize; /**< Size in bytes o
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp172 // The size of this struct is 32 bytes on the 32-bit target system
224 ALOGW("idmap assertion failed: size=%d bytes\n", (int)sizeBytes);
528 * maximum length of 0x7FFFFFF (2147483647 bytes), but if you're storing that
531 * If the high bit is set, then there are two characters or 4 bytes of length
550 * maximum length of 0x7FFF (32767 bytes), but you should consider storing
553 * If the high bit is set, then there are two characters or 2 bytes of length
755 size_t ResStringPool::bytes() const function in class:android::ResStringPool
1338 ALOGW("Bad XML block: node attributes use 0x%x bytes, only have 0x%x bytes\n",
1367 ALOGW("Bad XML block: node attributes use 0x%x bytes, onl
[all...]

Completed in 357 milliseconds

12345