/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberUtils.java | 795 * @param bytes the data buffer 797 * @param length is the number of bytes including TOA byte 806 calledPartyBCDToString (byte[] bytes, int offset, int length) { argument 815 if ((bytes[offset] & 0xf0) == (TOA_International & 0xf0)) { 820 ret, bytes, offset + 1, length - 1); 907 StringBuilder sb, byte [] bytes, int offset, int length) { 912 c = bcdToChar((byte)(bytes[i] & 0xf)); 926 b = (byte)((bytes[i] >> 4) & 0xf); 949 calledPartyBCDFragmentToString(byte [] bytes, int offset, int length) { argument 952 internalCalledPartyBCDFragmentToString(ret, bytes, offse 906 internalCalledPartyBCDFragmentToString( StringBuilder sb, byte [] bytes, int offset, int length) argument [all...] |
/frameworks/native/cmds/atrace/ |
H A D | atrace.cpp | 641 size_t bytes = bufSize - zs.avail_out; local 642 result = write(STDOUT_FILENO, out, bytes); 643 if ((size_t)result < bytes) {
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.cpp | 548 size_t bytes; member in struct:attrib 593 pixel >>= sizeof(pixel) * BITSPERBYTE - attrib->bytes * BITSPERBYTE; 608 size_t bytes; member in struct:attrib 646 memmove(buf + ((gBuf->getStride() * attrib->bytes) * y) 647 + (attrib->bytes * x), &pixel, attrib->bytes);
|
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
H A D | PduPersister.java | 1511 public static String toIsoString(byte[] bytes) { argument 1513 return new String(bytes, CharacterSets.MIMENAME_ISO_8859_1);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 302 size_t num_bytes = s->bytes(); 402 status_t StagefrightRecorder::setParamMaxFileSizeBytes(int64_t bytes) { argument 403 ALOGV("setParamMaxFileSizeBytes: %lld bytes", bytes); 406 if (bytes <= 0) { 407 ALOGW("Max file size is not positive: %lld bytes. " 408 "Disabling file size limit.", bytes); 409 bytes = 0; // Disable the file size limit for zero or negative values. 410 } else if (bytes <= 1024) { // XXX: 1 kB 411 ALOGE("Max file size is too small: %lld bytes", byte [all...] |
/frameworks/av/services/camera/libcameraservice/device2/ |
H A D | Camera2Device.cpp | 928 size_t entries, size_t bytes, 933 allocate_camera_metadata(entries, bytes); 926 producer_dequeue( const camera2_frame_queue_dst_ops_t * , size_t entries, size_t bytes, camera_metadata_t **buffer) argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 707 size_t bytes = paint.breakText(value->getGlyphs(), value->getGlyphsCount() << 1, local 709 SkASSERT((bytes & 1) == 0); 716 return bytes >> 1;
|
/frameworks/base/services/jni/ |
H A D | com_android_server_location_GpsLocationProvider.cpp | 585 jbyte* bytes = (jbyte *)env->GetPrimitiveArrayCritical(data, 0); local 586 sGpsXtraInterface->inject_xtra_data((char *)bytes, length); 587 env->ReleasePrimitiveArrayCritical(data, bytes, JNI_ABORT);
|
/frameworks/av/libvideoeditor/vss/mcs/src/ |
H A D | M4MCS_API.c | 747 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/core/java/android/os/ |
H A D | BatteryStats.java | 1123 private final String formatBytesLocked(long bytes) { argument 1126 if (bytes < BYTES_PER_KB) { 1127 return bytes + "B"; 1128 } else if (bytes < BYTES_PER_MB) { 1129 mFormatter.format("%.2fKB", bytes / (double) BYTES_PER_KB); 1131 } else if (bytes < BYTES_PER_GB){ 1132 mFormatter.format("%.2fMB", bytes / (double) BYTES_PER_MB); 1135 mFormatter.format("%.2fGB", bytes / (double) BYTES_PER_GB);
|
/frameworks/av/media/libstagefright/ |
H A D | MPEG4Writer.cpp | 549 ALOGI("limits: %lld/%lld bytes/us, bit rate: %d bps and the estimated" 550 " moov size %lld bytes", 586 ALOGW("32-bit file size limit (%lld bytes) too big. " 587 "It is changed to %lld bytes", 1091 const size_t bytes = size * nmemb; local 1094 off64_t moovBoxSize = 8 + mMoovBoxBufferOffset + bytes; 1109 ::write(mFd, ptr, bytes); 1110 mOffset += (bytes + mMoovBoxBufferOffset); 1116 memcpy(mMoovBoxBuffer + mMoovBoxBufferOffset, ptr, bytes); 1117 mMoovBoxBufferOffset += bytes; [all...] |
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 171 // The size of this struct is 32 bytes on the 32-bit target system 223 ALOGW("idmap assertion failed: size=%d bytes\n", (int)sizeBytes); 526 * maximum length of 0x7FFFFFF (2147483647 bytes), but if you're storing that 529 * If the high bit is set, then there are two characters or 4 bytes of length 548 * maximum length of 0x7FFF (32767 bytes), but you should consider storing 551 * If the high bit is set, then there are two characters or 2 bytes of length 597 STRING_POOL_NOISY(ALOGI("CREATING STRING CACHE OF %d bytes", 601 ALOGW("CREATING STRING CACHE OF %d bytes", 606 ALOGW("No memory trying to allocate decode cache table of %d bytes\n", 830 size_t ResStringPool::bytes() cons function in class:android::ResStringPool [all...] |