/frameworks/av/camera/ |
H A D | ICameraService.cpp | 294 int32_t length = data.readInt32(); // -1 means null local 295 if (length > 0) {
|
/frameworks/av/cmds/stagefright/ |
H A D | sf2.cpp | 354 size_t length = U16_AT(ptr); local 359 CHECK(size >= length); 362 memcpy(buffer->data() + buffer->size() + 4, ptr, length); 363 buffer->setRange(0, buffer->size() + 4 + length); 365 ptr += length; 366 size -= length; 382 size_t length = U16_AT(ptr); local 387 CHECK(size >= length); 390 memcpy(buffer->data() + buffer->size() + 4, ptr, length); 391 buffer->setRange(0, buffer->size() + 4 + length); [all...] |
/frameworks/av/drm/common/ |
H A D | DrmConstraints.cpp | 33 int length = strlen(value); local 34 char* charValue = new char[length + 1]; 36 strncpy(charValue, value, length); 37 charValue[length] = '\0';
|
H A D | DrmEngineBase.cpp | 124 int fd, off64_t offset, off64_t length, const char* mime) { 127 return onOpenDecryptSession(uniqueId, decryptHandle, fd, offset, length); 130 return onOpenDecryptSession(uniqueId, decryptHandle, fd, offset, length, mime); 122 openDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length, const char* mime) argument
|
H A D | DrmMetadata.cpp | 28 int length = strlen(value); local 29 char* charValue = new char[length + 1]; 31 memcpy(charValue, value, length); 32 charValue[length] = '\0';
|
H A D | IDrmManagerService.cpp | 244 const int dataBufferSize = dataBuffer.length; 348 data.writeInt32(dataBuffer.length); 349 data.write(dataBuffer.data, dataBuffer.length); 508 data.writeInt32(inputData->length); 509 data.write(inputData->data, inputData->length); 568 int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) { 599 *length = arraySize; 604 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 612 data.writeInt64(length); 663 if (buf.data != NULL && buf.length > 567 getAllSupportInfo( int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) argument 603 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument 1271 int length = 0; local 1308 const off64_t length = data.readInt64(); local [all...] |
H A D | ReadWriteUtils.cpp | 45 off64_t length = sb.st_size; local 46 char* bytes = new char[length]; 47 if (length == read(fd, (void*) bytes, length)) { 48 string.append(bytes, length); 60 off64_t length = 0; local 67 length = sb.st_size; 68 *buffer = new char[length]; 69 if (length != read(fd, (void*) *buffer, length)) { [all...] |
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 183 if (0 < path.length()) { 373 int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) { 400 *length = validPlugins; 405 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 418 result = rDrmEngine.openDecryptSession(uniqueId, handle, fd, offset, length, mime); 372 getAllSupportInfo( int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) argument 404 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
|
H A D | DrmManagerService.cpp | 203 int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) { 205 return mDrmManager->getAllSupportInfo(uniqueId, length, drmSupportInfoArray); 209 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 212 return mDrmManager->openDecryptSession(uniqueId, fd, offset, length, mime); 202 getAllSupportInfo( int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) argument 208 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
|
/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClient.cpp | 115 status_t DrmManagerClient::getAllSupportInfo(int* length, DrmSupportInfo** drmSupportInfoArray) { argument 116 return mDrmManagerClientImpl->getAllSupportInfo(mUniqueId, length, drmSupportInfoArray); 120 int fd, off64_t offset, off64_t length, const char* mime) { 123 mUniqueId, fd, offset, length, mime); 119 openDecryptSession( int fd, off64_t offset, off64_t length, const char* mime) argument
|
H A D | DrmManagerClientImpl.cpp | 250 int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) { 252 if ((NULL != drmSupportInfoArray) && (NULL != length)) { 254 uniqueId, length, drmSupportInfoArray); 261 off64_t length, const char* mime) { 264 uniqueId, fd, offset, length, mime); 249 getAllSupportInfo( int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) argument 259 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
|
H A D | NoOpDrmManagerClientImpl.cpp | 106 status_t NoOpDrmManagerClientImpl::getAllSupportInfo(int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) { argument 111 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 110 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
|
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
H A D | DrmEngineBase.h | 84 int fd, off64_t offset, off64_t length, const char* mime); 379 * @param[in] length The length of the protected content 385 int fd, off64_t offset, off64_t length) = 0; 394 * @param[in] length The length of the protected content 402 int fd, off64_t offset, off64_t length, 400 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length, const char* mime) argument
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 349 if (((0 == path.length()) || onCanHandle(uniqueId, path)) && 350 ((0 == mimeType.length()) || IsMimeTypeSupported(mimeType)) && (mimeType != path) ) { 412 inputData->length, 421 convResult->length = convSession->output.fromConvertData.numBytes; 424 convResult->length); 454 convResult->length = FWD_LOCK_SIGNATURES_SIZE; 457 convResult->length); 471 off64_t length) { 477 int length) { 542 // offset is always 0 and length i 467 onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) argument [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
H A D | FwdLockConv.c | 124 size_t length; member in struct:FwdLockConv_String 449 if (pString->length == pString->maxLength) { 458 pString->ptr[pString->length++] = ch; 459 pString->ptr[pString->length] = '\0'; 510 pSession->contentType.length = strlenTextPlain; 551 if (pSession->contentType.length > UCHAR_MAX) { 559 size_t encryptedSessionKeyPos = TOP_HEADER_SIZE + pSession->contentType.length; 565 (unsigned char)pSession->contentType.length; 568 pSession->contentType.ptr, pSession->contentType.length); 601 pSession->mimeHeaderName.length [all...] |
/frameworks/av/drm/libdrmframework/plugins/passthru/src/ |
H A D | DrmPassthruPlugIn.cpp | 66 charValue = new char[value.length() + 1]; 67 strncpy(charValue, value.string(), value.length()); 68 charValue[value.length()] = '\0'; 150 int length = dataString.length(); local 152 data = new char[length]; 153 memcpy(data, dataString.string(), length); 155 DrmBuffer(data, length), drmInfoRequest->getMimeType()); 222 if (NULL != inputData && 0 < inputData->length) { 223 int length local 237 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) argument [all...] |
/frameworks/av/include/drm/ |
H A D | drm_framework_common.h | 68 int length; member in class:android::DrmBuffer 72 length(0) { 77 length(dataLength) {
|
/frameworks/av/include/media/nbaio/ |
H A D | NBLog.h | 49 Entry(Event event, const void *data, size_t length) argument 50 : mEvent(event), mLength(length), mData(data) { } 58 size_t mLength; // length of additional data, 0 <= mLength <= 255 141 void log(Event event, const void *data, size_t length);
|
/frameworks/av/include/ndk/ |
H A D | NdkMediaDrm.h | 44 size_t length; member in struct:__anon79 285 * responseSize is the length of the provisioning response in bytes. 406 * Encrypt the data referenced by input of length dataSize using algorithm specified 417 * Decrypt the data referenced by input of length dataSize using algorithm specified
|
/frameworks/av/media/img_utils/src/ |
H A D | TiffWriter.cpp | 29 const TagDefinition_t* definitions, size_t length) { 31 for(size_t i = 0; i < length; ++i) { 55 size_t length) : mTagMaps(enabledDefinitions), mNumTagMaps(length) {} 384 size_t length = mNamedIfds.size(); local 385 for (size_t i = 0; i < length; ++i) { 28 buildTagMap( const TagDefinition_t* definitions, size_t length) argument 54 TiffWriter(KeyedVector<uint16_t, const TagDefinition_t*>* enabledDefinitions, size_t length) argument
|
/frameworks/av/media/libeffects/loudness/common/core/ |
H A D | basic_types.h | 56 int length; member in struct:le_fx::FloatArray 61 length = 0; 66 int length; member in struct:le_fx::Int16Array 71 length = 0; 76 int length; member in struct:le_fx::Int32Array 81 length = 0; 86 int length; member in struct:le_fx::Int8Array 91 length = 0;
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
H A D | EffectReverb.cpp | 198 int length = sizeof(gDescriptors) / sizeof(const effect_descriptor_t *); local 208 for (i = 0; i < length; i++) { 217 if (i == length) { 302 int length = sizeof(gDescriptors) / sizeof(const effect_descriptor_t *); local 309 for (i = 0; i < length; i++) {
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | EffectReverb.c | 171 int length = sizeof(gDescriptors) / sizeof(const effect_descriptor_t *); local 178 for (i = 0; i < length; i++) {
|
/frameworks/av/media/libmedia/ |
H A D | IMediaMetadataRetriever.cpp | 117 status_t setDataSource(int fd, int64_t offset, int64_t length) argument 123 data.writeInt64(length); 234 int64_t length = data.readInt64(); local 235 reply->writeInt32(setDataSource(fd, offset, length));
|
H A D | IMediaPlayer.cpp | 105 status_t setDataSource(int fd, int64_t offset, int64_t length) { argument 110 data.writeInt64(length); 388 int64_t length = data.readInt64(); local 389 reply->writeInt32(setDataSource(fd, offset, length));
|