/frameworks/av/media/libstagefright/ |
H A D | AudioSource.cpp | 193 uint8_t *data, size_t bytes) { 198 int32_t stopFrame = startFrame + bytes / sizeof(int16_t); 324 // Convert number of frames lost to number of bytes lost. 333 ALOGW("Lost audio record data: %zu bytes", numLostBytes); 191 rampVolume( int32_t startFrame, int32_t rampDurationFrames, uint8_t *data, size_t bytes) argument
|
H A D | MPEG4Writer.cpp | 545 // - meta header structures, which occur only once (total 66 bytes) 546 // - size for each key, which consists of a fixed header (32 bytes), 624 ALOGI("limits: %" PRId64 "/%" PRId64 " bytes/us, bit rate: %d bps and the" 625 " estimated moov size %" PRId64 " bytes", 661 ALOGW("32-bit file size limit (%" PRId64 " bytes) too big. " 662 "It is changed to %" PRId64 " bytes", 1172 const size_t bytes = size * nmemb; local 1175 off64_t moovBoxSize = 8 + mMoovBoxBufferOffset + bytes; 1190 ::write(mFd, ptr, bytes); 1191 mOffset += (bytes [all...] |
/frameworks/base/services/net/java/android/net/dhcp/ |
H A D | DhcpPacket.java | 66 * IP: Version 4, Header Length 20 bytes 403 (HWADDR_LEN - mClientMac.length) // pad addr to 16 bytes 404 + 64 // empty server host name (64 bytes) 405 + 128); // empty boot file name (128 bytes) 508 * Adds an optional parameter containing an array of bytes. 613 // allows signed bytes to be converted correctly. 654 byte[] bytes = new byte[byteCount]; 655 buf.get(bytes); 656 int length = bytes.length; 660 // null bytes [all...] |
/frameworks/native/opengl/libs/GLES_trace/proto/ |
H A D | gltrace.proto | 830 repeated bytes charValue = 5; 831 repeated bytes rawBytes = 6; 839 repeated bytes contents = 3;
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.cpp | 550 size_t bytes; member in struct:attrib 595 pixel >>= sizeof(pixel) * BITSPERBYTE - attrib->bytes * BITSPERBYTE; 610 size_t bytes; member in struct:attrib 648 memmove(buf + ((gBuf->getStride() * attrib->bytes) * y) 649 + (attrib->bytes * x), &pixel, attrib->bytes);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternUtils.java | 842 final byte[] bytes = string.getBytes(); 843 for (int i = 0; i < bytes.length; i++) { 844 byte b = (byte) (bytes[i] - '1'); 876 final byte[] bytes = pattern.getBytes(); 878 res[i] = (byte) (bytes[i] - '1');
|
/frameworks/native/cmds/atrace/ |
H A D | atrace.cpp | 723 size_t bytes = bufSize - zs.avail_out; local 724 result = write(STDOUT_FILENO, out, bytes); 725 if ((size_t)result < bytes) {
|
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | CameraOps.java | 214 byte[] bytes = new byte[buffer.remaining()]; 215 buffer.get(bytes); 216 imageOut.write(bytes);
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberUtils.java | 792 * @param bytes the data buffer 794 * @param length is the number of bytes including TOA byte 803 calledPartyBCDToString (byte[] bytes, int offset, int length) { argument 812 if ((bytes[offset] & 0xf0) == (TOA_International & 0xf0)) { 817 ret, bytes, offset + 1, length - 1); 904 StringBuilder sb, byte [] bytes, int offset, int length) { 909 c = bcdToChar((byte)(bytes[i] & 0xf)); 923 b = (byte)((bytes[i] >> 4) & 0xf); 946 calledPartyBCDFragmentToString(byte [] bytes, int offset, int length) { argument 949 internalCalledPartyBCDFragmentToString(ret, bytes, offse 903 internalCalledPartyBCDFragmentToString( StringBuilder sb, byte [] bytes, int offset, int length) argument [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.h | 172 status_t setParamMaxFileSizeBytes(int64_t bytes);
|
/frameworks/base/core/jni/ |
H A D | AndroidRuntime.cpp | 986 jstring AndroidRuntime::NewStringLatin1(JNIEnv* env, const char* bytes) { argument 987 if (!bytes) return NULL; 988 int length = strlen(bytes); 993 *chp++ = *bytes++;
|
H A D | android_media_AudioTrack.cpp | 646 ScopedBytesRO bytes(env, javaBytes); 647 if (bytes.get() == NULL) { 652 jint written = writeToTrack(lpTrack, javaAudioFormat, bytes.get(), byteOffset,
|
/frameworks/base/drm/jni/ |
H A D | android_drm_DrmManagerClient.cpp | 78 char* bytes = const_cast< char* > (env->GetStringUTFChars(string, NULL)); local 80 const int length = strlen(bytes) + 1; 82 strncpy(data, bytes, length); 85 env->ReleaseStringUTFChars(string, bytes);
|
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | AndroidKeyStoreSpi.java | 214 private static X509Certificate toCertificate(byte[] bytes) { argument 218 new ByteArrayInputStream(bytes)); 226 private static Collection<X509Certificate> toCertificates(byte[] bytes) { argument 230 new ByteArrayInputStream(bytes));
|
/frameworks/base/media/jni/audioeffect/ |
H A D | android_media_AudioEffect.cpp | 105 jbyte *bytes; local 158 bytes = env->GetByteArrayElements(array, NULL); 159 memcpy(bytes, p, size); 160 env->ReleaseByteArrayElements(array, bytes, 0);
|
/frameworks/opt/net/wifi/service/jni/ |
H A D | jni_helper.h | 106 void setByteArrayRegion(jbyteArray array, int from, int to, jbyte *bytes);
|
H A D | jni_helper.cpp | 611 void JNIHelper::setByteArrayRegion(jbyteArray array, int from, int to, jbyte *bytes) { argument 612 mEnv->SetByteArrayRegion(array, from, to, bytes);
|
/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | DatabaseGeneralTest.java | 754 byte[] bytes = new byte[42]; 755 Arrays.fill(bytes, (byte) 0x28); 756 values.put("byteArray", bytes); 757 assertTrue(Arrays.equals(bytes, values.getAsByteArray("byteArray"))); 766 assertTrue(Arrays.equals(bytes, values.getAsByteArray("byteArray")));
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | Vpn.java | 1263 byte[] bytes = argument.getBytes(StandardCharsets.UTF_8); 1264 if (bytes.length >= 0xFFFF) { 1267 out.write(bytes.length >> 8); 1268 out.write(bytes.length); 1269 out.write(bytes);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | SearchBar.java | 592 public void onBufferReceived(byte[] bytes) { 593 if (DEBUG) Log.v(TAG, "onBufferReceived " + bytes.length);
|
/frameworks/av/services/camera/libcameraservice/device2/ |
H A D | Camera2Device.h | 183 size_t entries, size_t bytes, 214 * be equal to the size in bytes of the buffers to allocate for the
|
/frameworks/base/core/java/android/net/ |
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 | 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));
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_location_GpsLocationProvider.cpp | 741 jbyte* bytes = (jbyte *)env->GetPrimitiveArrayCritical(data, 0); local 742 sGpsXtraInterface->inject_xtra_data((char *)bytes, length); 743 env->ReleasePrimitiveArrayCritical(data, bytes, JNI_ABORT);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | DropBoxTest.java | 550 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);
|