/frameworks/base/core/java/android/bluetooth/le/ |
D | ScanRecord.java | 197 int dataLength = length - 1; in parseFromBytes() local 207 dataLength, BluetoothUuid.UUID_BYTES_16_BIT, serviceUuids); in parseFromBytes() 211 parseServiceUuid(scanRecord, currentPos, dataLength, in parseFromBytes() 216 parseServiceUuid(scanRecord, currentPos, dataLength, in parseFromBytes() 222 extractBytes(scanRecord, currentPos, dataLength)); in parseFromBytes() 236 currentPos + serviceUuidLength, dataLength - serviceUuidLength); in parseFromBytes() 245 dataLength - 2); in parseFromBytes() 252 currentPos += dataLength; in parseFromBytes() 277 private static int parseServiceUuid(byte[] scanRecord, int currentPos, int dataLength, in parseServiceUuid() argument 279 while (dataLength > 0) { in parseServiceUuid() [all …]
|
/frameworks/av/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/wilhelm/src/itf/ |
D | IAndroidBufferQueue.c | 54 static SLresult setItems(SLuint32 dataLength, in setItems() argument 195 if (dataLength > 0) { in setItems() 217 if (dataLength > 0) { in setItems() 297 SLuint32 dataLength, in IAndroidBufferQueue_Enqueue() argument 302 SL_LOGD("IAndroidBufferQueue_Enqueue pData=%p dataLength=%d", pData, dataLength); in IAndroidBufferQueue_Enqueue() 304 if ((dataLength > 0) && (NULL == pData)) { in IAndroidBufferQueue_Enqueue() 305 SL_LOGE("Enqueue failure: non-zero data length %u but NULL data pointer", dataLength); in IAndroidBufferQueue_Enqueue() 310 } else if ((0 == dataLength) && (0 == itemsLength)) { in IAndroidBufferQueue_Enqueue() 324 if (dataLength % MPEG2_TS_PACKET_SIZE == 0) { in IAndroidBufferQueue_Enqueue() 328 if ((dataLength > 0) && (*(SLuint8 *)pData != MPEG2_TS_PACKET_SYNC)) { in IAndroidBufferQueue_Enqueue() [all …]
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
D | SoftAVCEncoder.cpp | 504 uint32_t dataLength = outHeader->nAllocLen; in onQueueFilled() local 510 dataLength -= 4; in onQueueFilled() 520 encoderStatus = PVAVCEncodeNAL(mHandle, outPtr, &dataLength, &type); in onQueueFilled() 534 outHeader->nFilledLen = 4 + dataLength; in onQueueFilled() 535 outPtr += (dataLength + 4); // 4 bytes for next start code in onQueueFilled() 536 dataLength = outHeader->nAllocLen - outHeader->nFilledLen; in onQueueFilled() 543 outHeader->nFilledLen += (dataLength + 4); in onQueueFilled() 544 outPtr += (dataLength + 4); in onQueueFilled() 626 dataLength = outHeader->nAllocLen; // Reset the output buffer length in onQueueFilled() 631 dataLength -= 4; in onQueueFilled() [all …]
|
/frameworks/rs/driver/ |
D | rsdBcc.cpp | 128 uint32_t slot, void *data, size_t dataLength) { in rsdScriptSetGlobalVar() argument 130 cs->setGlobalVar(slot, data, dataLength); in rsdScriptSetGlobalVar() 134 uint32_t slot, void *data, size_t dataLength) { in rsdScriptGetGlobalVar() argument 136 cs->getGlobalVar(slot, data, dataLength); in rsdScriptGetGlobalVar() 141 uint32_t slot, void *data, size_t dataLength, in rsdScriptSetGlobalVarWithElemDims() argument 145 cs->setGlobalVarWithElemDims(slot, data, dataLength, elem, dims, dimLength); in rsdScriptSetGlobalVarWithElemDims()
|
D | rsdBcc.h | 72 size_t dataLength, 87 size_t dataLength); 92 size_t dataLength);
|
/frameworks/base/drm/jni/ |
D | android_drm_DrmManagerClient.cpp | 50 JNIEnv* env, jobject object, const char* fieldName, int* dataLength); 53 JNIEnv* env, jbyteArray byteArray, int* dataLength); 92 JNIEnv* env, jobject object, const char* fieldName, int* dataLength) { in getByteArrayValue() argument 94 *dataLength = 0; in getByteArrayValue() 100 return Utility::getByteArrayValue(env, byteArray, dataLength); in getByteArrayValue() 105 char* Utility::getByteArrayValue(JNIEnv* env, jbyteArray byteArray, int* dataLength) { in getByteArrayValue() argument 110 *dataLength = length; in getByteArrayValue() 111 if (0 < *dataLength) { in getByteArrayValue() 397 int dataLength = 0; in android_drm_DrmManagerClient_saveRights() local 398 char* mData = Utility::getByteArrayValue(env, drmRights, "mData", &dataLength); in android_drm_DrmManagerClient_saveRights() [all …]
|
/frameworks/base/core/java/android/speech/tts/ |
D | FileSynthesisCallback.java | 228 int dataLength = (int) (fileChannel.size() - WAV_HEADER_LENGTH); in done() local 230 makeWavHeader(sampleRateInHz, audioFormat, channelCount, dataLength)); in done() 280 int dataLength) { in makeWavHeader() argument 291 header.putInt(dataLength + WAV_HEADER_LENGTH - 8); // RIFF chunk size in makeWavHeader() 302 header.putInt(dataLength); in makeWavHeader()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
D | SoftMPEG4Encoder.cpp | 383 int32_t dataLength = outHeader->nAllocLen; in onQueueFilled() local 386 if (!PVGetVolHeader(mHandle, outPtr, &dataLength, 0)) { in onQueueFilled() 392 ALOGV("Output VOL header: %d bytes", dataLength); in onQueueFilled() 395 outHeader->nFilledLen = dataLength; in onQueueFilled() 452 &modTimeMs, outPtr, &dataLength, &nLayer) || in onQueueFilled() 466 dataLength = 0; in onQueueFilled() 478 outHeader->nFilledLen = dataLength; in onQueueFilled()
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
D | BluetoothPacketEncoder.java | 149 int dataLength = count - 1; 151 dataLength); 152 mAccumulatedBytes += dataLength;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
D | HSIconFileElement.java | 35 int dataLength = payload.getShort() & SHORT_MASK; in HSIconFileElement() 36 mIconData = new byte[dataLength]; in HSIconFileElement()
|
/frameworks/av/media/libstagefright/ |
D | AACWriter.cpp | 352 ssize_t dataLength = buffer->range_length(); in threadFunc() local 354 if (writeAdtsHeader(kAdtsHeaderLength + dataLength) != OK || in threadFunc() 355 dataLength != write(mFd, data, dataLength)) { in threadFunc()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuScript.h | 83 void setGlobalVar(uint32_t slot, const void *data, size_t dataLength) override; 84 void getGlobalVar(uint32_t slot, void *data, size_t dataLength) override; 85 void setGlobalVarWithElemDims(uint32_t slot, const void *data, size_t dataLength,
|
D | rsd_cpu.h | 82 virtual void setGlobalVar(uint32_t slot, const void *data, size_t dataLength) = 0; 83 virtual void getGlobalVar(uint32_t slot, void *data, size_t dataLength) = 0; 84 virtual void setGlobalVarWithElemDims(uint32_t slot, const void *data, size_t dataLength,
|
D | rsCpuIntrinsic.h | 54 void setGlobalVar(uint32_t slot, const void * data, size_t dataLength) override; 56 size_t dataLength, const Element * e,
|
D | rsCpuIntrinsic.cpp | 50 void RsdCpuScriptIntrinsic::setGlobalVar(uint32_t slot, const void *data, size_t dataLength) { in setGlobalVar() argument 56 size_t dataLength, const Element *e, in setGlobalVarWithElemDims() argument
|
D | rsCpuScript.cpp | 781 void RsdCpuScriptImpl::setGlobalVar(uint32_t slot, const void *data, size_t dataLength) { in setGlobalVar() argument 796 memcpy(destPtr, data, dataLength); in setGlobalVar() 799 void RsdCpuScriptImpl::getGlobalVar(uint32_t slot, void *data, size_t dataLength) { in getGlobalVar() argument 808 memcpy(data, srcPtr, dataLength); in getGlobalVar() 812 void RsdCpuScriptImpl::setGlobalVarWithElemDims(uint32_t slot, const void *data, size_t dataLength, in setGlobalVarWithElemDims() argument 844 memcpy(destPtr, data, dataLength); in setGlobalVarWithElemDims()
|
D | rsCpuIntrinsicHistogram.cpp | 32 void setGlobalVar(uint32_t slot, const void *data, size_t dataLength) override; 88 … RsdCpuScriptIntrinsicHistogram::setGlobalVar(uint32_t slot, const void *data, size_t dataLength) { in setGlobalVar() argument 90 rsAssert(dataLength == 16); in setGlobalVar()
|
/frameworks/av/include/drm/ |
D | drm_framework_common.h | 75 DrmBuffer(char* dataBytes, int dataLength) : in DrmBuffer() argument 77 length(dataLength) { in DrmBuffer()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | MPEG2PSExtractor.cpp | 520 unsigned dataLength = in dequeuePES() local 523 if (br.numBitsLeft() < dataLength * 8) { in dequeuePES() 526 br.numBitsLeft(), dataLength * 8); in dequeuePES() 531 if (br.numBitsLeft() < dataLength * 8) { in dequeuePES() 564 PTS_DTS_flags, PTS, DTS, br.data(), dataLength); in dequeuePES() 567 br.skipBits(dataLength * 8); in dequeuePES()
|
/frameworks/base/location/java/android/location/ |
D | GpsNavigationMessage.java | 257 int dataLength = parcel.readInt(); 258 byte[] data = new byte[dataLength];
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
D | PduComposer.java | 981 int dataLength = 0; // Just for safety... in makeMessageBody() local 986 dataLength = partData.length; in makeMessageBody() 996 dataLength += len; in makeMessageBody() 1014 if (dataLength != (attachment.getLength() - headerLength)) { in makeMessageBody() 1020 appendUintvarInteger(dataLength); in makeMessageBody()
|
/frameworks/wilhelm/include/OMXAL/ |
D | OpenMAXAL_Android.h | 114 XAuint32 dataLength,
|
/frameworks/av/media/mtp/ |
D | MtpDevice.h | 109 bool writeDataHeader(MtpOperationCode operation, int dataLength);
|
/frameworks/rs/ |
D | rs_hal.h | 159 size_t dataLength); 163 size_t dataLength); 167 size_t dataLength,
|