/frameworks/av/camera/ |
H A D | CameraParameters.cpp | 64 const char CameraParameters::KEY_FOCAL_LENGTH[] = "focal-length"; 265 if (v.length() == 0)
|
/frameworks/av/cmds/stagefright/ |
H A D | sf2.cpp | 330 size_t length = U16_AT(ptr); local 335 CHECK(size >= length); 338 memcpy(buffer->data() + buffer->size() + 4, ptr, length); 339 buffer->setRange(0, buffer->size() + 4 + length); 341 ptr += length; 342 size -= length; 358 size_t length = U16_AT(ptr); local 363 CHECK(size >= length); 366 memcpy(buffer->data() + buffer->size() + 4, ptr, length); 367 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 | 254 const int dataBufferSize = dataBuffer.length; 358 data.writeInt32(dataBuffer.length); 359 data.write(dataBuffer.data, dataBuffer.length); 518 data.writeInt32(inputData->length); 519 data.write(inputData->data, inputData->length); 578 int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) { 609 *length = arraySize; 614 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 622 data.writeInt64(length); 673 if (buf.data != NULL && buf.length > 577 getAllSupportInfo( int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) argument 613 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument 1292 int length = 0; local 1329 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 | 208 if (0 < path.length()) { 398 int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) { 425 *length = validPlugins; 430 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 443 result = rDrmEngine.openDecryptSession(uniqueId, handle, fd, offset, length, mime); 397 getAllSupportInfo( int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) argument 429 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
|
H A D | DrmManagerService.cpp | 197 int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) { 199 return mDrmManager->getAllSupportInfo(uniqueId, length, drmSupportInfoArray); 203 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 206 return mDrmManager->openDecryptSession(uniqueId, fd, offset, length, mime); 196 getAllSupportInfo( int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) argument 202 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 | 248 int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) { 250 if ((NULL != drmSupportInfoArray) && (NULL != length)) { 252 uniqueId, length, drmSupportInfoArray); 259 off64_t length, const char* mime) { 262 uniqueId, fd, offset, length, mime); 247 getAllSupportInfo( int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) argument 257 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
|
/frameworks/av/drm/libdrmframework/include/ |
H A D | DrmManager.h | 112 status_t getAllSupportInfo(int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray); 115 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime);
|
H A D | DrmManagerClientImpl.h | 289 * @param[out] length Number of elements in drmSupportInfoArray 295 status_t getAllSupportInfo(int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray); 303 * @param[in] length The length of the protected content 309 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime);
|
H A D | DrmManagerService.h | 99 status_t getAllSupportInfo(int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray); 102 int uniqueId, int fd, off64_t offset, off64_t length, const char *mime);
|
H A D | IDrmManagerService.h | 141 int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray) = 0; 145 off64_t length, const char* mime) = 0; 230 int uniqueId, int* length, DrmSupportInfo** drmSupportInfoArray); 233 int uniqueId, int fd, off64_t offset, off64_t length,
|
/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
|
H A D | IDrmEngine.h | 323 * @param[in] length The length of the protected content 331 int fd, off64_t offset, off64_t length, const char* mime) = 0;
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
H A D | FwdLockEngine.h | 327 * @param length The length of the protected content 334 int fd, off64_t offset, off64_t length); 338 int fd, int offset, int length);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 348 if (((0 == path.length()) || onCanHandle(uniqueId, path)) && 349 ((0 == mimeType.length()) || IsMimeTypeSupported(mimeType)) && (mimeType != path) ) { 411 inputData->length, 420 convResult->length = convSession->output.fromConvertData.numBytes; 423 convResult->length); 453 convResult->length = FWD_LOCK_SIGNATURES_SIZE; 456 convResult->length); 470 off64_t length) { 476 int length) { 541 // offset is always 0 and length i 466 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 447 if (pString->length == pString->maxLength) { 456 pString->ptr[pString->length++] = ch; 457 pString->ptr[pString->length] = '\0'; 508 pSession->contentType.length = strlenTextPlain; 549 if (pSession->contentType.length > UCHAR_MAX) { 557 size_t encryptedSessionKeyPos = TOP_HEADER_SIZE + pSession->contentType.length; 563 (unsigned char)pSession->contentType.length; 566 pSession->contentType.ptr, pSession->contentType.length); 599 pSession->mimeHeaderName.length [all...] |
/frameworks/av/drm/libdrmframework/plugins/passthru/include/ |
H A D | DrmPassthruPlugIn.h | 77 int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length);
|
/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()); 149 int length = dataString.length(); local 151 data = new char[length]; 152 memcpy(data, dataString.string(), length); 154 DrmBuffer(data, length), drmInfoRequest->getMimeType()); 221 if (NULL != inputData && 0 < inputData->length) { 222 int length = inputData->length; local 236 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) argument [all...] |
/frameworks/av/include/drm/ |
H A D | DrmManagerClient.h | 68 * @param[in] length The length of the protected content 73 sp<DecryptHandle> openDecryptSession(int fd, off64_t offset, off64_t length, const char* mime); 374 * @param[out] length Number of elements in drmSupportInfoArray 380 status_t getAllSupportInfo(int* length, DrmSupportInfo** drmSupportInfoArray);
|
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/ |
H A D | IMediaMetadataRetriever.h | 39 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
|