/frameworks/av/camera/ |
H A D | CameraMetadata.cpp | 385 void CameraMetadata::dump(int fd, int verbosity, int indentation) const { argument 386 dump_indented_camera_metadata(mBuffer, fd, verbosity, indentation);
|
H A D | CameraParameters.cpp | 469 status_t CameraParameters::dump(int fd, const Vector<String16>& /*args*/) const argument 483 write(fd, result.string(), result.size());
|
H A D | CameraParameters2.cpp | 363 status_t CameraParameters2::dump(int fd, const Vector<String16>& args) const 378 write(fd, result.string(), result.size());
|
H A D | VendorTagDescriptor.cpp | 350 void VendorTagDescriptor::dump(int fd, int verbosity, int indentation) const { 354 dprintf(fd, "%*sDumping configured vendor tag descriptors: None set\n", 359 dprintf(fd, "%*sDumping configured vendor tag descriptors: %zu entries\n", 365 dprintf(fd, "%*s0x%x\n", indentation + 2, "", tag); 374 dprintf(fd, "%*s0x%x (%s) with type %d (%s) defined in section %s\n", indentation + 2,
|
/frameworks/av/cmds/screenrecord/ |
H A D | screenrecord.cpp | 506 int fd = fileno(rawFp); local 507 if (isatty(fd)) { 509 ALOGD("raw video output to tty (fd=%d)", fd); 511 if (tcgetattr(fd, &term) == 0) { 513 if (tcsetattr(fd, TCSANOW, &term) == 0) { 770 int fd = open("/dev/null", O_WRONLY); local 771 if (fd >= 0) { 772 dup2(fd, STDOUT_FILENO); 773 dup2(fd, STDERR_FILEN 982 int fd = open(fileName, O_CREAT | O_RDWR, 0644); local [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 832 int fd = open(filename, O_RDONLY | O_LARGEFILE); local 833 CHECK_GE(fd, 0); 835 off64_t fileSize = lseek64(fd, 0, SEEK_END); 838 CHECK_EQ(retriever->setDataSource(fd, 0, fileSize), (status_t)OK); 840 close(fd); 841 fd = -1;
|
H A D | stream.cpp | 47 // Object assumes ownership of fd. 48 MyStreamSource(int fd); 69 MyStreamSource::MyStreamSource(int fd) argument 70 : mFd(fd), 73 CHECK_GE(fd, 0); 75 mFileSize = lseek64(fd, 0, SEEK_END); 76 lseek64(fd, 0, SEEK_SET); 362 int fd = open(argv[1], O_RDONLY); local 364 if (fd < 0) { 369 source = new MyStreamSource(fd); [all...] |
/frameworks/av/drm/common/ |
H A D | DrmEngineBase.cpp | 69 String8 DrmEngineBase::getOriginalMimeType(int uniqueId, const String8& path, int fd) { argument 70 return onGetOriginalMimeType(uniqueId, path, fd); 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 | IDrmManagerService.cpp | 304 int fd = -1; local 305 sscanf(value.string(), "FileDescriptor[%d]", &fd); 306 data.writeFileDescriptor(fd); 367 String8 BpDrmManagerService::getOriginalMimeType(int uniqueId, const String8& path, int fd) { argument 374 int32_t isFdValid = (fd >= 0); 377 data.writeFileDescriptor(fd); 604 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 610 data.writeFileDescriptor(fd); 992 int fd = data.readFileDescriptor(); local 993 sprintf(buffer, "%lu", (unsigned long)fd); 603 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument 1068 int fd = -1; local 1305 const int fd = data.readFileDescriptor(); local [all...] |
H A D | ReadWriteUtils.cpp | 41 int fd = fileno(file); local 44 if (fstat(fd, &sb) == 0 && sb.st_size > 0) { 47 if (length == read(fd, (void*) bytes, length)) { 63 int fd = fileno(file); local 66 if (fstat(fd, &sb) == 0 && sb.st_size > 0) { 69 if (length != read(fd, (void*) *buffer, length)) { 83 int fd = fileno(file); local 86 if (FAILURE != ftruncate(fd, size)) { 87 if (size != write(fd, data.string(), size)) { 100 int fd local [all...] |
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 244 String8 DrmManager::getOriginalMimeType(int uniqueId, const String8& path, int fd) { argument 249 return rDrmEngine.getOriginalMimeType(uniqueId, path, fd); 405 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 418 result = rDrmEngine.openDecryptSession(uniqueId, handle, fd, offset, length, mime); 404 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
|
H A D | DrmManagerService.cpp | 134 String8 DrmManagerService::getOriginalMimeType(int uniqueId, const String8& path, int fd) { argument 136 return mDrmManager->getOriginalMimeType(uniqueId, path, fd); 209 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 212 return mDrmManager->openDecryptSession(uniqueId, fd, offset, length, mime); 283 status_t DrmManagerService::dump(int fd, const Vector<String16>& args) argument 303 dumpMemoryAddresses(fd); 307 write(fd, result.string(), result.size()); 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 | 67 String8 DrmManagerClient::getOriginalMimeType(const String8& path, int fd) { argument 68 return mDrmManagerClientImpl->getOriginalMimeType(mUniqueId, path, fd); 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 | 152 int uniqueId, const String8& path, int fd) { 155 mimeType = getDrmManagerService()->getOriginalMimeType(uniqueId, path, fd); 260 int uniqueId, int fd, off64_t offset, 264 uniqueId, fd, offset, length, mime); 151 getOriginalMimeType( int uniqueId, const String8& path, int fd) argument 259 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
|
H A D | NoOpDrmManagerClientImpl.cpp | 60 String8 NoOpDrmManagerClientImpl::getOriginalMimeType(int uniqueId, const String8& path, int fd) { 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/include/ |
H A D | DrmManager.h | 86 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd); 113 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime);
|
H A D | DrmManagerClientImpl.h | 151 * @param[in] fd the file descriptor of the protected content 155 virtual String8 getOriginalMimeType(int uniqueId, const String8& path, int fd); 301 * @param[in] fd File descriptor of the protected content to be decrypted 309 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime);
|
H A D | DrmManagerService.h | 73 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd); 100 int uniqueId, int fd, off64_t offset, off64_t length, const char *mime); 121 virtual status_t dump(int fd, const Vector<String16>& args);
|
H A D | IDrmManagerService.h | 110 virtual String8 getOriginalMimeType(int uniqueId, const String8& path, int fd) = 0; 142 int uniqueId, int fd, off64_t offset, 199 virtual String8 getOriginalMimeType(int uniqueId, const String8& path, int fd); 229 int uniqueId, int fd, off64_t offset, off64_t length,
|
H A D | NoOpDrmManagerClientImpl.h | 41 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd); 56 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime);
|
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
H A D | DrmEngineBase.h | 56 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd); 84 int fd, off64_t offset, off64_t length, const char* mime); 225 * @param[in] fd descriptor of the protected content as a file source 229 virtual String8 onGetOriginalMimeType(int uniqueId, const String8& path, int fd) = 0; 377 * @param[in] fd File descriptor of the protected content to be decrypted 385 int fd, off64_t offset, off64_t length) = 0; 392 * @param[in] fd File descriptor of the protected content to be decrypted 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 | 169 * @param[in] fd File descriptor of the protected content 173 virtual String8 getOriginalMimeType(int uniqueId, const String8& path, int fd) = 0; 321 * @param[in] fd File descriptor of the protected content to be decrypted 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 | 154 * @param fd descriptor of the protected content as a file source 158 String8 onGetOriginalMimeType(int uniqueId, const String8& path, int fd); 325 * @param fd File descriptor of the protected content to be decrypted 334 int fd, off64_t offset, off64_t length); 338 int fd, int offset, int length); 542 DecodeSession(int fd) { argument 543 fileDesc = fd;
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 312 String8 FwdLockEngine::onGetOriginalMimeType(int uniqueId, const String8& path, int fd) { argument 315 int fileDesc = dup(fd); 469 int fd, 475 int fd, 484 if ((-1 < fd) && 487 fileDesc = dup(fd); 511 LOG_VERBOSE("FwdLockEngine::onOpenDecryptSession Integrity Check failed for the fd"); 539 int fd = open(filePath, O_RDONLY); local 541 if (-1 < fd) { 543 result = onOpenDecryptSession(uniqueId, decryptHandle, fd, 467 onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) argument [all...] |
/frameworks/av/drm/libdrmframework/plugins/passthru/include/ |
H A D | DrmPassthruPlugIn.h | 50 String8 onGetOriginalMimeType(int uniqueId, const String8& path, int fd); 77 int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length);
|