/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 61 status_t SimplePlayer::setDataSource(const char *path) { argument 63 msg->setString("path", path); 115 CHECK(msg->findString("path", &mPath));
|
H A D | SimplePlayer.h | 34 status_t setDataSource(const char *path);
|
H A D | codec.cpp | 71 const char *path, 80 if (extractor->setDataSource(NULL /* httpService */, path) != OK) { 69 decode( const android::sp<android::ALooper> &looper, const char *path, bool useAudio, bool useVideo, const android::sp<android::Surface> &surface) argument
|
H A D | muxer.cpp | 54 const char *path, 63 if (extractor->setDataSource(NULL /* httpService */, path) != OK) { 64 fprintf(stderr, "unable to instantiate extractor. %s\n", path); 72 ALOGV("input file %s, output file %s", path, outputFileName); 52 muxing( const android::sp<android::ALooper> &looper, const char *path, bool useAudio, bool useVideo, const char *outputFileName, bool enableTrim, int trimStartTimeMs, int trimEndTimeMs, int rotationDegrees) argument
|
/frameworks/av/drm/common/ |
H A D | DrmEngineBase.cpp | 30 int uniqueId, const String8* path, int action) { 31 return onGetConstraints(uniqueId, path, action); 34 DrmMetadata* DrmEngineBase::getMetadata(int uniqueId, const String8* path) { argument 35 return onGetMetadata(uniqueId, path); 51 bool DrmEngineBase::canHandle(int uniqueId, const String8& path) { argument 52 return onCanHandle(uniqueId, path); 69 String8 DrmEngineBase::getOriginalMimeType(int uniqueId, const String8& path, int fd) { argument 70 return onGetOriginalMimeType(uniqueId, path, fd); 73 int DrmEngineBase::getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) { argument 74 return onGetDrmObjectType(uniqueId, path, mimeTyp 29 getConstraints( int uniqueId, const String8* path, int action) argument 77 checkRightsStatus(int uniqueId, const String8& path, int action) argument 91 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument 97 removeRights(int uniqueId, const String8& path) argument [all...] |
H A D | IDrmManagerService.cpp | 157 int uniqueId, const String8* path, const int action) { 163 data.writeString8(*path); 189 DrmMetadata* BpDrmManagerService::getMetadata(int uniqueId, const String8* path) { argument 196 data.writeString8(*path); 219 bool BpDrmManagerService::canHandle(int uniqueId, const String8& path, const String8& mimeType) { argument 226 data.writeString8(path); 367 String8 BpDrmManagerService::getOriginalMimeType(int uniqueId, const String8& path, int fd) { argument 373 data.writeString8(path); 385 int uniqueId, const String8& path, const String8& mimeType) { 391 data.writeString8(path); 156 getConstraints( int uniqueId, const String8* path, const int action) argument 384 getDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument 399 checkRightsStatus(int uniqueId, const String8& path, int action) argument 447 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument 465 removeRights(int uniqueId, const String8& path) argument 852 const String8 path = data.readString8(); local 886 const String8 path = data.readString8(); local 918 const String8 path = data.readString8(); local 1066 const String8 path = data.readString8(); local 1084 const String8 path = data.readString8(); local 1098 const String8 path = data.readString8(); local 1152 const String8 path = data.readString8(); local 1169 String8 path = data.readString8(); local [all...] |
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 158 DrmConstraints* DrmManager::getConstraints(int uniqueId, const String8* path, const int action) { argument 160 const String8 plugInId = getSupportedPlugInIdFromPath(uniqueId, *path); 163 return rDrmEngine.getConstraints(uniqueId, path, action); 168 DrmMetadata* DrmManager::getMetadata(int uniqueId, const String8* path) { argument 170 const String8 plugInId = getSupportedPlugInIdFromPath(uniqueId, *path); 173 return rDrmEngine.getMetadata(uniqueId, path); 178 bool DrmManager::canHandle(int uniqueId, const String8& path, const String8& mimeType) { argument 183 if (0 < path.length()) { 186 result = rDrmEngine.canHandle(uniqueId, path); 188 String8 extension = path 207 canHandle(int uniqueId, const String8& path) argument 244 getOriginalMimeType(int uniqueId, const String8& path, int fd) argument 254 getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) argument 264 checkRightsStatus(int uniqueId, const String8& path, int action) argument 296 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument 307 removeRights(int uniqueId, const String8& path) argument 552 getSupportedPlugInId( int uniqueId, const String8& path, const String8& mimeType) argument 580 getSupportedPlugInIdFromPath(int uniqueId, const String8& path) argument [all...] |
H A D | DrmManagerService.cpp | 102 int uniqueId, const String8* path, const int action) { 104 return mDrmManager->getConstraints(uniqueId, path, action); 107 DrmMetadata* DrmManagerService::getMetadata(int uniqueId, const String8* path) { argument 109 return mDrmManager->getMetadata(uniqueId, path); 112 bool DrmManagerService::canHandle(int uniqueId, const String8& path, const String8& mimeType) { argument 114 return mDrmManager->canHandle(uniqueId, path, mimeType); 134 String8 DrmManagerService::getOriginalMimeType(int uniqueId, const String8& path, int fd) { argument 136 return mDrmManager->getOriginalMimeType(uniqueId, path, fd); 140 int uniqueId, const String8& path, const String8& mimeType) { 142 return mDrmManager->getDrmObjectType(uniqueId, path, mimeTyp 101 getConstraints( int uniqueId, const String8* path, const int action) argument 139 getDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument 145 checkRightsStatus( int uniqueId, const String8& path, int action) argument 169 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument 176 removeRights(int uniqueId, const String8& path) argument [all...] |
/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClient.cpp | 42 DrmConstraints* DrmManagerClient::getConstraints(const String8* path, const int action) { argument 43 return mDrmManagerClientImpl->getConstraints(mUniqueId, path, action); 46 DrmMetadata* DrmManagerClient::getMetadata(const String8* path) { argument 47 return mDrmManagerClientImpl->getMetadata(mUniqueId, path); 50 bool DrmManagerClient::canHandle(const String8& path, const String8& mimeType) { argument 51 return mDrmManagerClientImpl->canHandle(mUniqueId, path, mimeType); 67 String8 DrmManagerClient::getOriginalMimeType(const String8& path, int fd) { argument 68 return mDrmManagerClientImpl->getOriginalMimeType(mUniqueId, path, fd); 71 int DrmManagerClient::getDrmObjectType(const String8& path, const String8& mimeType) { argument 72 return mDrmManagerClientImpl->getDrmObjectType( mUniqueId, path, mimeTyp 75 checkRightsStatus(const String8& path, int action) argument 90 validateAction( const String8& path, int action, const ActionDescription& description) argument 95 removeRights(const String8& path) argument [all...] |
H A D | DrmManagerClientImpl.cpp | 101 int uniqueId, const String8* path, const int action) { 103 if ((NULL != path) && (EMPTY_STRING != *path)) { 105 getDrmManagerService()->getConstraints(uniqueId, path, action); 110 DrmMetadata* DrmManagerClientImpl::getMetadata(int uniqueId, const String8* path) { argument 112 if ((NULL != path) && (EMPTY_STRING != *path)) { 113 drmMetadata = getDrmManagerService()->getMetadata(uniqueId, path); 119 int uniqueId, const String8& path, const String8& mimeType) { 121 if ((EMPTY_STRING != path) || (EMPTY_STRIN 100 getConstraints( int uniqueId, const String8* path, const int action) argument 118 canHandle( int uniqueId, const String8& path, const String8& mimeType) argument 151 getOriginalMimeType( int uniqueId, const String8& path, int fd) argument 160 getDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument 170 checkRightsStatus( int uniqueId, const String8& path, int action) argument 202 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument 213 removeRights(int uniqueId, const String8& path) argument [all...] |
H A D | NoOpDrmManagerClientImpl.cpp | 35 DrmConstraints* NoOpDrmManagerClientImpl::getConstraints(int uniqueId, const String8* path, const int action) { argument 39 DrmMetadata* NoOpDrmManagerClientImpl::getMetadata(int uniqueId, const String8* path) { argument 43 bool NoOpDrmManagerClientImpl::canHandle(int uniqueId, const String8& path, const String8& mimeType) { argument 60 String8 NoOpDrmManagerClientImpl::getOriginalMimeType(int uniqueId, const String8& path, int fd) { argument 64 int NoOpDrmManagerClientImpl::getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) { argument 68 int NoOpDrmManagerClientImpl::checkRightsStatus(int uniqueId, const String8& path, int action) { argument 82 int uniqueId, const String8& path, int action, const ActionDescription& description) { 86 status_t NoOpDrmManagerClientImpl::removeRights(int uniqueId, const String8& path) { argument 81 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
|
/frameworks/av/drm/libdrmframework/include/ |
H A D | DrmManager.h | 73 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 75 DrmMetadata* getMetadata(int uniqueId, const String8* path); 77 bool canHandle(int uniqueId, const String8& path, const String8& mimeType); 86 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd); 88 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType); 90 int checkRightsStatus(int uniqueId, const String8& path, int action); 98 int uniqueId, const String8& path, int action, const ActionDescription& description); 100 status_t removeRights(int uniqueId, const String8& path); 136 String8 getSupportedPlugInId(int uniqueId, const String8& path, const String8& mimeType); 140 String8 getSupportedPlugInIdFromPath(int uniqueId, const String8& path); [all...] |
H A D | DrmManagerClientImpl.h | 78 * @param[in] path Path of the protected content 86 virtual DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 92 * @param[in] path Path of the protected content 98 virtual DrmMetadata* getMetadata(int uniqueId, const String8* path); 101 * Check whether the given mimetype or path can be handled 104 * @param[in] path Path of the content needs to be handled 107 * True if DrmManager can handle given path or mime type. 109 virtual bool canHandle(int uniqueId, const String8& path, const String8& mimeType); 133 * Save DRM rights to specified rights path 134 * and make association with content path [all...] |
H A D | DrmManagerService.h | 60 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 62 DrmMetadata* getMetadata(int uniqueId, const String8* path); 64 bool canHandle(int uniqueId, const String8& path, const String8& mimeType); 73 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd); 75 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType); 77 int checkRightsStatus(int uniqueId, const String8& path,int action); 84 bool validateAction(int uniqueId, const String8& path, 87 status_t removeRights(int uniqueId, const String8& path);
|
H A D | IDrmManagerService.h | 97 int uniqueId, const String8* path, const int action) = 0; 99 virtual DrmMetadata* getMetadata(int uniqueId, const String8* path) = 0; 101 virtual bool canHandle(int uniqueId, const String8& path, const String8& mimeType) = 0; 110 virtual String8 getOriginalMimeType(int uniqueId, const String8& path, int fd) = 0; 113 int uniqueId, const String8& path, const String8& mimeType) = 0; 115 virtual int checkRightsStatus(int uniqueId, const String8& path, int action) = 0; 124 int uniqueId, const String8& path, 127 virtual status_t removeRights(int uniqueId, const String8& path) = 0; 186 virtual DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 188 virtual DrmMetadata* getMetadata(int uniqueId, const String8* path); [all...] |
H A D | NoOpDrmManagerClientImpl.h | 33 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 35 DrmMetadata* getMetadata(int uniqueId, const String8* path); 36 bool canHandle(int uniqueId, const String8& path, const String8& mimeType); 41 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd); 42 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType); 43 int checkRightsStatus(int uniqueId, const String8& path, int action); 48 int uniqueId, const String8& path, int action, const ActionDescription& description); 49 status_t removeRights(int uniqueId, const String8& path);
|
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
H A D | DrmEngineBase.h | 37 DrmConstraints* getConstraints(int uniqueId, const String8* path, int action); 39 DrmMetadata* getMetadata(int uniqueId, const String8* path); 47 bool canHandle(int uniqueId, const String8& path); 56 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd); 58 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType); 60 int checkRightsStatus(int uniqueId, const String8& path, int action); 68 int uniqueId, const String8& path, int action, const ActionDescription& description); 70 status_t removeRights(int uniqueId, const String8& path); 115 * @param[in] path Path of the protected content 124 int uniqueId, const String8* path, in [all...] |
H A D | IDrmEngine.h | 96 * @param[in] path Path of the protected content 105 int uniqueId, const String8* path, int action) = 0; 111 * @param[in] path Path of the protected content 117 virtual DrmMetadata* getMetadata(int uniqueId, const String8* path) = 0; 123 * @param[in] path Path the protected object 127 virtual bool canHandle(int uniqueId, const String8& path) = 0; 151 * Save DRM rights to specified rights path 152 * and make association with content path 156 * @param[in] rightsPath File path where rights to be saved 157 * @param[in] contentPath File path wher [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
H A D | FwdLockEngine.h | 49 * @param path Path of the protected content 57 DrmConstraints* onGetConstraints(int uniqueId, const String8* path, int action); 63 * @param path Path of the protected content 69 DrmMetadata* onGetMetadata(int uniqueId, const String8* path); 104 * @param path Path to the protected object 108 bool onCanHandle(int uniqueId, const String8& path); 122 * Save DRM rights to specified rights path 123 * and make association with content path. 127 * @param rightsPath File path where rights to be saved 128 * @param contentPath File path wher [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 108 DrmConstraints* FwdLockEngine::onGetConstraints(int uniqueId, const String8* path, int action) { argument 113 if (NULL != path && 114 (RightsStatus::RIGHTS_VALID == onCheckRightsStatus(uniqueId, *path, action))) { 122 DrmMetadata* FwdLockEngine::onGetMetadata(int uniqueId, const String8* path) { argument 127 if (NULL != path) { 225 bool FwdLockEngine::onCanHandle(int uniqueId, const String8& path) { argument 228 String8 extString = path.getPathExtension(); 264 const String8& path, 271 if (onCanHandle(uniqueId, path)) { 303 const String8& path, 263 onCheckRightsStatus(int uniqueId, const String8& path, int action) argument 302 onValidateAction(int uniqueId, const String8& path, int action, const ActionDescription& description) argument 312 onGetOriginalMimeType(int uniqueId, const String8& path, int fd) argument 336 onGetDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) argument 357 onRemoveRights(int uniqueId, const String8& path) argument [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
H A D | FwdLockGlue.c | 43 * Creates all directories along the fully qualified path of the given file. 45 * @param[in] path A reference to the fully qualified path of a file. 50 static int FwdLockGlue_CreateDirectories(const char *path, mode_t mode) { argument 52 size_t partialPathLength = strlen(path); 59 if (path[i] == '/' && i > 0) { 66 partialPath[i] = path[i];
|
/frameworks/av/drm/libdrmframework/plugins/passthru/include/ |
H A D | DrmPassthruPlugIn.h | 31 DrmConstraints* onGetConstraints(int uniqueId, const String8* path, int action); 33 DrmMetadata* onGetMetadata(int uniqueId, const String8* path); 41 bool onCanHandle(int uniqueId, const String8& path); 50 String8 onGetOriginalMimeType(int uniqueId, const String8& path, int fd); 52 int onGetDrmObjectType(int uniqueId, const String8& path, const String8& mimeType); 54 int onCheckRightsStatus(int uniqueId, const String8& path, int action); 62 int uniqueId, const String8& path, int action, const ActionDescription& description); 64 status_t onRemoveRights(int uniqueId, const String8& path);
|
/frameworks/av/drm/libdrmframework/plugins/passthru/src/ |
H A D | DrmPassthruPlugIn.cpp | 55 DrmMetadata* DrmPassthruPlugIn::onGetMetadata(int uniqueId, const String8* path) { argument 60 int uniqueId, const String8* path, int action) { 160 bool DrmPassthruPlugIn::onCanHandle(int uniqueId, const String8& path) { argument 161 ALOGV("DrmPassthruPlugIn::canHandle: %s ", path.string()); 162 String8 extension = path.getPathExtension(); 167 String8 DrmPassthruPlugIn::onGetOriginalMimeType(int uniqueId, const String8& path, int fd) { argument 173 int uniqueId, const String8& path, const String8& mimeType) { 178 int DrmPassthruPlugIn::onCheckRightsStatus(int uniqueId, const String8& path, int action) { argument 196 bool DrmPassthruPlugIn::onValidateAction(int uniqueId, const String8& path, argument 202 status_t DrmPassthruPlugIn::onRemoveRights(int uniqueId, const String8& path) { argument 59 onGetConstraints( int uniqueId, const String8* path, int action) argument 172 onGetDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument [all...] |
/frameworks/av/include/drm/ |
H A D | DrmManagerClient.h | 190 * @param[in] path Path of the protected content 195 bool validateAction(const String8& path, int action, const ActionDescription& description); 215 * @param[in] path Path of the protected content 223 DrmConstraints* getConstraints(const String8* path, const int action); 228 * @param[in] path Path of the protected content 234 DrmMetadata* getMetadata(const String8* path); 237 * Check whether the given mimetype or path can be handled 239 * @param[in] path Path of the content needs to be handled 242 * True if DrmManager can handle given path or mime type. 244 bool canHandle(const String8& path, cons [all...] |
/frameworks/av/include/media/ |
H A D | IMediaRecorder.h | 44 virtual status_t setOutputFile(const char* path) = 0;
|