/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | WspTypeDecoder.java | 200 int dataLength; field in WspTypeDecoder 224 dataLength = index - startIndex + 1; in decodeTextString() 226 stringValue = new String(wspData, startIndex + 1, dataLength - 2); in decodeTextString() 228 stringValue = new String(wspData, startIndex, dataLength - 1); in decodeTextString() 247 dataLength = index - startIndex + 1; in decodeTokenText() 248 stringValue = new String(wspData, startIndex, dataLength - 1); in decodeTokenText() 267 dataLength = 1; in decodeShortInteger() 290 dataLength = 1 + lengthMultiOctet; in decodeLongInteger() 331 dataLength = index - startIndex + 1; in decodeUintvarInteger() 350 dataLength = 1; in decodeValueLength() [all …]
|
D | RIL.java | 275 byte[] dataLength = new byte[4]; field in RIL.RILSender 334 dataLength[0] = dataLength[1] = 0; in handleMessage() 335 dataLength[2] = (byte)((data.length >> 8) & 0xff); in handleMessage() 336 dataLength[3] = (byte)((data.length) & 0xff); in handleMessage() 340 s.getOutputStream().write(dataLength); in handleMessage()
|
/frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
D | FwdLockGlue.c | 158 size_t dataLength = encryptedKeyLength - AES_BLOCK_SIZE; in FwdLockGlue_EncryptKey() local 161 memcpy((unsigned char *)pEncryptedKey + dataLength, initVector, AES_BLOCK_SIZE); in FwdLockGlue_EncryptKey() 162 AES_cbc_encrypt(pEncryptedKey, pEncryptedKey, dataLength, &encryptionRoundKeys, in FwdLockGlue_EncryptKey() 177 size_t dataLength = encryptedKeyLength - AES_BLOCK_SIZE; in FwdLockGlue_DecryptKey() local 178 unsigned char *pData = malloc(dataLength); in FwdLockGlue_DecryptKey() 181 memcpy(pData, pEncryptedKey, dataLength); in FwdLockGlue_DecryptKey() 182 memcpy(initVector, (const unsigned char *)pEncryptedKey + dataLength, AES_BLOCK_SIZE); in FwdLockGlue_DecryptKey() 183 AES_cbc_encrypt(pData, pData, dataLength, &decryptionRoundKeys, initVector, in FwdLockGlue_DecryptKey()
|
/frameworks/base/core/java/android/speech/tts/ |
D | FileSynthesisCallback.java | 168 int dataLength = (int) (mFile.length() - WAV_HEADER_LENGTH); in done() local 170 makeWavHeader(mSampleRateInHz, mAudioFormat, mChannelCount, dataLength)); in done() 191 int dataLength) { in makeWavHeader() argument 203 header.putInt(dataLength + WAV_HEADER_LENGTH - 8); // RIFF chunk size in makeWavHeader() 214 header.putInt(dataLength); in makeWavHeader()
|
/frameworks/base/drm/jni/ |
D | android_drm_DrmManagerClient.cpp | 49 JNIEnv* env, jobject object, const char* fieldName, int* dataLength); 52 JNIEnv* env, jbyteArray byteArray, int* dataLength); 104 JNIEnv* env, jobject object, const char* fieldName, int* dataLength) { in getByteArrayValue() argument 106 *dataLength = 0; in getByteArrayValue() 115 *dataLength = length; in getByteArrayValue() 116 if (0 < *dataLength) { in getByteArrayValue() 125 char* Utility::getByteArrayValue(JNIEnv* env, jbyteArray byteArray, int* dataLength) { in getByteArrayValue() argument 130 *dataLength = length; in getByteArrayValue() 131 if (0 < *dataLength) { in getByteArrayValue() 402 int dataLength = 0; in android_drm_DrmManagerClient_saveRights() local [all …]
|
/frameworks/base/media/libstagefright/codecs/avc/enc/ |
D | AVCEncoder.cpp | 422 uint32_t dataLength = outputBuffer->size(); in read() local 428 dataLength -= 4; in read() 438 encoderStatus = PVAVCEncodeNAL(mHandle, outPtr, &dataLength, &type); in read() 447 outputBuffer->set_range(0, dataLength + 4); in read() 448 outPtr += (dataLength + 4); // 4 bytes for next start code in read() 449 dataLength = outputBuffer->size() - in read() 458 dataLength + outputBuffer->range_length() + 4); in read() 556 dataLength = outputBuffer->size(); // Reset the output buffer length in read() 557 encoderStatus = PVAVCEncodeNAL(mHandle, outPtr, &dataLength, &type); in read() 574 dataLength = 0; in read() [all …]
|
/frameworks/base/core/java/android/nfc/ |
D | LlcpPacket.java | 74 int dataLength = in.readInt(); 75 byte[] data = new byte[dataLength];
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/ |
D | M4vH263Encoder.cpp | 384 int32_t dataLength = outputBuffer->size(); in read() local 388 if (!PVGetVolHeader(mHandle, outPtr, &dataLength, 0)) { in read() 392 LOGV("Output VOL header: %d bytes", dataLength); in read() 394 outputBuffer->set_range(0, dataLength); in read() 461 &modTimeMs, outPtr, &dataLength, &nLayer) || in read() 477 outputBuffer->set_range(0, dataLength); in read()
|
/frameworks/base/media/libstagefright/ |
D | AACWriter.cpp | 357 ssize_t dataLength = buffer->range_length(); in threadFunc() local 359 if (writeAdtsHeader(kAdtsHeaderLength + dataLength) != OK || in threadFunc() 360 dataLength != write(mFd, data, dataLength)) { in threadFunc()
|
/frameworks/base/include/drm/ |
D | drm_framework_common.h | 74 DrmBuffer(char* dataBytes, int dataLength) : in DrmBuffer() argument 76 length(dataLength) { in DrmBuffer()
|
/frameworks/base/libs/rs/driver/ |
D | rsdBcc.h | 63 size_t dataLength); 68 size_t dataLength);
|
D | rsdBcc.cpp | 460 uint32_t slot, void *data, size_t dataLength) { in rsdScriptSetGlobalVar() argument 471 memcpy(destPtr, data, dataLength); in rsdScriptSetGlobalVar()
|
/frameworks/base/core/java/com/google/android/mms/pdu/ |
D | PduComposer.java | 983 int dataLength = 0; // Just for safety... in makeMessageBody() local 988 dataLength = partData.length; in makeMessageBody() 998 dataLength += len; in makeMessageBody() 1009 if (dataLength != (attachment.getLength() - headerLength)) { in makeMessageBody() 1015 appendUintvarInteger(dataLength); in makeMessageBody()
|
D | PduParser.java | 746 int dataLength = parseUnsignedInt(pduDataStream); in parseParts() local 800 if (dataLength > 0) { in parseParts() 801 byte[] partData = new byte[dataLength]; in parseParts() 803 pduDataStream.read(partData, 0, dataLength); in parseParts()
|
/frameworks/base/media/libstagefright/mpeg2ts/ |
D | ATSParser.cpp | 668 unsigned dataLength = in parsePES() local 671 if (br->numBitsLeft() < dataLength * 8) { in parsePES() 674 br->numBitsLeft(), dataLength * 8); in parsePES() 679 CHECK_GE(br->numBitsLeft(), dataLength * 8); in parsePES() 682 PTS_DTS_flags, PTS, DTS, br->data(), dataLength); in parsePES() 684 br->skipBits(dataLength * 8); in parsePES()
|
/frameworks/base/media/mtp/ |
D | MtpDevice.h | 109 bool writeDataHeader(MtpOperationCode operation, int dataLength);
|
D | MtpDevice.cpp | 809 bool MtpDevice::writeDataHeader(MtpOperationCode operation, int dataLength) { in writeDataHeader() argument 812 return (!mData.writeDataHeader(mRequestOut, dataLength)); in writeDataHeader()
|
/frameworks/base/cmds/keystore/ |
D | keystore.cpp | 204 size_t dataLength = mBlob.length + sizeof(mBlob.length); in encryptBlob() local 206 size_t digestedLength = ((dataLength + AES_BLOCK_SIZE - 1) in encryptBlob() 213 memset(mBlob.value + mBlob.length, 0, digestedLength - dataLength); in encryptBlob()
|
/frameworks/base/libs/rs/ |
D | rs_hal.h | 98 size_t dataLength);
|