/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.cpp | 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/base/services/core/jni/gnss/ |
D | GnssNavigationMessageCallback.h | 99 size_t dataLength = message.data.size(); in gnssNavigationMessageCbImpl() local 103 if (dataLength == 0 || data == nullptr) { in gnssNavigationMessageCbImpl() 104 ALOGE("Invalid Navigation Message found: data=%p, length=%zd", data, dataLength); in gnssNavigationMessageCbImpl() 113 object.callSetter("setData", data, dataLength); in gnssNavigationMessageCbImpl()
|
/frameworks/base/media/java/android/media/tv/tuner/filter/ |
D | IpPayloadEvent.java | 31 private IpPayloadEvent(int dataLength) { in IpPayloadEvent() argument 32 mDataLength = dataLength; in IpPayloadEvent()
|
D | PesEvent.java | 34 private PesEvent(int streamId, int dataLength, int mpuSequenceNumber) { in PesEvent() argument 36 mDataLength = dataLength; in PesEvent()
|
D | SectionEvent.java | 35 private SectionEvent(int tableId, int version, int sectionNum, long dataLength) { in SectionEvent() argument 39 mDataLength = dataLength; in SectionEvent()
|
D | DownloadEvent.java | 38 int lastItemFragmentIndex, int dataLength) { in DownloadEvent() argument 44 mDataLength = dataLength; in DownloadEvent()
|
D | TsRecordEvent.java | 39 private TsRecordEvent(int pid, int tsIndexMask, int scIndexMask, long dataLength, long pts, in TsRecordEvent() argument 44 mDataLength = dataLength; in TsRecordEvent()
|
D | MmtpRecordEvent.java | 39 private MmtpRecordEvent(int scHevcIndexMask, long dataLength, int mpuSequenceNumber, long pts, in MmtpRecordEvent() argument 42 mDataLength = dataLength; in MmtpRecordEvent()
|
D | MediaEvent.java | 63 long dataLength, long offset, LinearBlock buffer, boolean isSecureMemory, long dataId, in MediaEvent() argument 71 mDataLength = dataLength; in MediaEvent()
|
/frameworks/base/media/java/android/media/tv/ |
D | StreamEventResponse.java | 65 int dataLength = source.readInt(); in StreamEventResponse() local 66 if (dataLength > 0) { in StreamEventResponse() 67 mData = new byte[dataLength]; in StreamEventResponse()
|
/frameworks/rs/driver/ |
D | rsdBcc.cpp | 136 uint32_t slot, void *data, size_t dataLength) { in rsdScriptSetGlobalVar() argument 138 cs->setGlobalVar(slot, data, dataLength); in rsdScriptSetGlobalVar() 142 uint32_t slot, void *data, size_t dataLength) { in rsdScriptGetGlobalVar() argument 144 cs->getGlobalVar(slot, data, dataLength); in rsdScriptGetGlobalVar() 149 uint32_t slot, void *data, size_t dataLength, in rsdScriptSetGlobalVarWithElemDims() argument 153 cs->setGlobalVarWithElemDims(slot, data, dataLength, elem, dims, dimLength); in rsdScriptSetGlobalVarWithElemDims()
|
D | rsdBcc.h | 80 size_t dataLength, 95 size_t dataLength); 100 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 | 236 int dataLength = (int) (fileChannel.size() - WAV_HEADER_LENGTH); in done() local 238 makeWavHeader(sampleRateInHz, audioFormat, channelCount, dataLength)); in done() 286 int dataLength) { in makeWavHeader() argument 297 header.putInt(dataLength + WAV_HEADER_LENGTH - 8); // RIFF chunk size in makeWavHeader() 308 header.putInt(dataLength); in makeWavHeader()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
D | SoftMPEG4Encoder.cpp | 406 int32_t dataLength = outHeader->nAllocLen; in onQueueFilled() local 409 if (!PVGetVolHeader(mHandle, outPtr, &dataLength, 0)) { in onQueueFilled() 415 ALOGV("Output VOL header: %d bytes", dataLength); in onQueueFilled() 418 outHeader->nFilledLen = dataLength; in onQueueFilled() 483 &modTimeMs, outPtr, &dataLength, &nLayer) || in onQueueFilled() 497 dataLength = 0; in onQueueFilled() 509 outHeader->nFilledLen = dataLength; in onQueueFilled()
|
/frameworks/rs/cpu_ref/ |
D | rsd_cpu.h | 73 virtual void setGlobalVar(uint32_t slot, const void *data, size_t dataLength) = 0; 74 virtual void getGlobalVar(uint32_t slot, void *data, size_t dataLength) = 0; 75 virtual void setGlobalVarWithElemDims(uint32_t slot, const void *data, size_t dataLength,
|
D | rsCpuIntrinsic.h | 69 void setGlobalVar(uint32_t slot, const void * data, size_t dataLength) override; 71 size_t dataLength, const Element * e,
|
D | rsCpuScript.h | 73 void setGlobalVar(uint32_t slot, const void *data, size_t dataLength) override; 74 void getGlobalVar(uint32_t slot, void *data, size_t dataLength) override; 75 void setGlobalVarWithElemDims(uint32_t slot, const void *data, size_t dataLength,
|
/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/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
D | BluetoothPacketEncoder.java | 163 int dataLength = count - 1; 165 dataLength); 166 mAccumulatedBytes += dataLength;
|
/frameworks/av/media/module/codecs/m4v_h263/enc/test/ |
D | Mpeg4H263EncoderTest.cpp | 178 int32_t dataLength = mOutputBufferSize; in processEncoder() local 181 &dataLength, &nLayer); in processEncoder() 190 int64_t numBytes = fwrite(mOutputBuffer, 1, dataLength, mFpOutput); in processEncoder() 191 ASSERT_EQ(numBytes, dataLength) << "Failed to write to the output file!"; in processEncoder()
|
D | m4v_h263_enc_test.cpp | 232 int32_t dataLength = kOutputBufferSize; in main() local 234 &modTimeMs, outputBuf, &dataLength, &nLayer) || in main() 245 fwrite(outputBuf, 1, dataLength, fpOutput); in main()
|
/frameworks/av/include/drm/ |
D | drm_framework_common.h | 75 DrmBuffer(char* dataBytes, int dataLength) : in DrmBuffer() argument 77 length(dataLength) { in DrmBuffer()
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/ |
D | Asn1Node.java | 165 int dataLength = 0; in addChildAsBits() local 169 dataLength = i; in addChildAsBits() 172 dataLength++; in addChildAsBits() 174 dataBytes[0] = IccUtils.countTrailingZeros(dataBytes[dataLength - 1]); in addChildAsBits() 175 addChild(new Asn1Node(tag, dataBytes, 0, dataLength)); in addChildAsBits()
|