/frameworks/base/drm/common/ |
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) { 35 return onGetMetadata(uniqueId, path); 38 status_t DrmEngineBase::initialize(int uniqueId) { 39 return onInitialize(uniqueId); 43 int uniqueId, const IDrmEngine::OnInfoListener* infoListener) { 44 return onSetOnInfoListener(uniqueId, infoListener); 47 status_t DrmEngineBase::terminate(int uniqueId) { 48 return onTerminate(uniqueId); [all...] |
DrmInfoEvent.cpp | 22 DrmInfoEvent::DrmInfoEvent(int uniqueId, int infoType, const String8 message) 23 : mUniqueId(uniqueId),
|
IDrmManagerService.cpp | 114 LOGV("add uniqueid"); 122 void BpDrmManagerService::removeUniqueId(int uniqueId) { 123 LOGV("remove uniqueid"); 126 data.writeInt32(uniqueId); 130 void BpDrmManagerService::addClient(int uniqueId) { 133 data.writeInt32(uniqueId); 137 void BpDrmManagerService::removeClient(int uniqueId) { 140 data.writeInt32(uniqueId); 145 int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) { 150 data.writeInt32(uniqueId); [all...] |
IDrmServiceListener.cpp | 48 int uniqueId = data.readInt32(); 52 status_t status = notify(DrmInfoEvent(uniqueId, type, message));
|
/frameworks/base/drm/libdrmframework/include/ |
DrmManagerService.h | 51 void removeUniqueId(int uniqueId); 53 void addClient(int uniqueId); 55 void removeClient(int uniqueId); 58 int uniqueId, const sp<IDrmServiceListener>& drmServiceListener); 60 status_t installDrmEngine(int uniqueId, const String8& drmEngineFile); 62 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 64 DrmMetadata* getMetadata(int uniqueId, const String8* path); 66 bool canHandle(int uniqueId, const String8& path, const String8& mimeType); 68 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo); 70 DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest) [all...] |
IDrmManagerService.h | 86 virtual void removeUniqueId(int uniqueId) = 0; 88 virtual void addClient(int uniqueId) = 0; 90 virtual void removeClient(int uniqueId) = 0; 93 int uniqueId, const sp<IDrmServiceListener>& infoListener) = 0; 95 virtual status_t installDrmEngine(int uniqueId, const String8& drmEngineFile) = 0; 98 int uniqueId, const String8* path, const int action) = 0; 100 virtual DrmMetadata* getMetadata(int uniqueId, const String8* path) = 0; 102 virtual bool canHandle(int uniqueId, const String8& path, const String8& mimeType) = 0; 104 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo) = 0; 106 virtual DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest) = 0 [all...] |
DrmManager.h | 58 void removeUniqueId(int uniqueId); 60 void addClient(int uniqueId); 62 void removeClient(int uniqueId); 71 int uniqueId, const sp<IDrmServiceListener>& drmServiceListener); 73 status_t installDrmEngine(int uniqueId, const String8& drmEngineFile); 75 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 77 DrmMetadata* getMetadata(int uniqueId, const String8* path); 79 bool canHandle(int uniqueId, const String8& path, const String8& mimeType); 81 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo); 83 DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) [all...] |
DrmManagerClientImpl.h | 43 static void remove(int uniqueId); 51 * @param[in] uniqueId Unique identifier for a session 53 void addClient(int uniqueId); 58 * @param[in] uniqueId Unique identifier for a session 60 void removeClient(int uniqueId); 66 * @param[in] uniqueId Unique identifier for a session 72 int uniqueId, const sp<DrmManagerClient::OnInfoListener>& infoListener); 77 * @param[in] uniqueId Unique identifier for a session 86 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 91 * @param[in] uniqueId Unique identifier for a sessio [all...] |
/frameworks/base/drm/libdrmframework/plugins/common/include/ |
IDrmEngine.h | 63 * @param[in] uniqueId Unique identifier for a session 67 virtual status_t initialize(int uniqueId) = 0; 73 * @param[in] uniqueId Unique identifier for a session 79 int uniqueId, const IDrmEngine::OnInfoListener* infoListener) = 0; 86 * @param[in] uniqueId Unique identifier for a session 90 virtual status_t terminate(int uniqueId) = 0; 95 * @param[in] uniqueId Unique identifier for a session 105 int uniqueId, const String8* path, int action) = 0; 110 * @param[in] uniqueId Unique identifier for a session 117 virtual DrmMetadata* getMetadata(int uniqueId, const String8* path) = 0 [all...] |
DrmEngineBase.h | 37 DrmConstraints* getConstraints(int uniqueId, const String8* path, int action); 39 DrmMetadata* getMetadata(int uniqueId, const String8* path); 41 status_t initialize(int uniqueId); 43 status_t setOnInfoListener(int uniqueId, const IDrmEngine::OnInfoListener* infoListener); 45 status_t terminate(int uniqueId); 47 bool canHandle(int uniqueId, const String8& path); 49 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo); 51 status_t saveRights(int uniqueId, const DrmRights& drmRights, 54 DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest); 56 String8 getOriginalMimeType(int uniqueId, const String8& path) [all...] |
/frameworks/base/drm/libdrmframework/plugins/passthru/include/ |
DrmPassthruPlugIn.h | 31 DrmConstraints* onGetConstraints(int uniqueId, const String8* path, int action); 33 DrmMetadata* onGetMetadata(int uniqueId, const String8* path); 35 status_t onInitialize(int uniqueId); 37 status_t onSetOnInfoListener(int uniqueId, const IDrmEngine::OnInfoListener* infoListener); 39 status_t onTerminate(int uniqueId); 41 bool onCanHandle(int uniqueId, const String8& path); 43 DrmInfoStatus* onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo); 45 status_t onSaveRights(int uniqueId, const DrmRights& drmRights, 48 DrmInfo* onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest); 50 String8 onGetOriginalMimeType(int uniqueId, const String8& path) [all...] |
/frameworks/base/drm/drmserver/ |
DrmManagerService.cpp | 85 void DrmManagerService::removeUniqueId(int uniqueId) { 86 mDrmManager->removeUniqueId(uniqueId); 89 void DrmManagerService::addClient(int uniqueId) { 90 mDrmManager->addClient(uniqueId); 93 void DrmManagerService::removeClient(int uniqueId) { 94 mDrmManager->removeClient(uniqueId); 98 int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) { 100 mDrmManager->setDrmServiceListener(uniqueId, drmServiceListener); 104 status_t DrmManagerService::installDrmEngine(int uniqueId, const String8& drmEngineFile) { 106 return mDrmManager->installDrmEngine(uniqueId, drmEngineFile) [all...] |
DrmManager.cpp | 90 void DrmManager::removeUniqueId(int uniqueId) { 93 if (uniqueId == mUniqueIdVector.itemAt(i)) { 137 int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) { 140 mServiceListeners.add(uniqueId, drmServiceListener); 142 mServiceListeners.removeItem(uniqueId); 147 void DrmManager::addClient(int uniqueId) { 153 rDrmEngine.initialize(uniqueId); 154 rDrmEngine.setOnInfoListener(uniqueId, this); 159 void DrmManager::removeClient(int uniqueId) { 164 rDrmEngine.terminate(uniqueId); [all...] |
/frameworks/base/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
FwdLockEngine.h | 48 * @param uniqueId Unique identifier for a session 57 DrmConstraints* onGetConstraints(int uniqueId, const String8* path, int action); 62 * @param uniqueId Unique identifier for a session 69 DrmMetadata* onGetMetadata(int uniqueId, const String8* path); 74 * @param uniqueId Unique identifier for a session 78 status_t onInitialize(int uniqueId); 84 * @param uniqueId Unique identifier for a session 89 status_t onSetOnInfoListener(int uniqueId, const IDrmEngine::OnInfoListener* infoListener); 94 * @param uniqueId Unique identifier for a session 98 status_t onTerminate(int uniqueId); [all...] |
/frameworks/base/drm/java/android/drm/ |
DrmErrorEvent.java | 66 * @param uniqueId Unique session identifier. 70 public DrmErrorEvent(int uniqueId, int type, String message) { 71 super(uniqueId, type, message); 77 * @param uniqueId Unique session identifier. 83 public DrmErrorEvent(int uniqueId, int type, String message, 85 super(uniqueId, type, message, attributes);
|
DrmInfoEvent.java | 56 * @param uniqueId Unique session identifier. 60 public DrmInfoEvent(int uniqueId, int type, String message) { 61 super(uniqueId, type, message); 67 * @param uniqueId Unique session identifier. 73 public DrmInfoEvent(int uniqueId, int type, String message, 75 super(uniqueId, type, message, attributes);
|
DrmEvent.java | 53 * @param uniqueId Unique session identifier. 58 protected DrmEvent(int uniqueId, int type, String message, 60 mUniqueId = uniqueId; 75 * @param uniqueId Unique session identifier. 79 protected DrmEvent(int uniqueId, int type, String message) { 80 mUniqueId = uniqueId;
|
DrmManagerClient.java | 170 Object thisReference, int uniqueId, int infoType, String message) { 175 InfoHandler.INFO_EVENT_TYPE, uniqueId, infoType, message); 193 int uniqueId = msg.arg1; 204 info = new DrmInfoEvent(uniqueId, infoType, message); 212 info = new DrmInfoEvent(uniqueId, infoType, message); 216 error = new DrmErrorEvent(uniqueId, infoType, message); 797 private native void _finalize(int uniqueId); 799 private native void _installDrmEngine(int uniqueId, String engineFilepath); 801 private native ContentValues _getConstraints(int uniqueId, String path, int usage); 803 private native ContentValues _getMetadata(int uniqueId, String path) [all...] |
/frameworks/base/drm/libdrmframework/plugins/passthru/src/ |
DrmPassthruPlugIn.cpp | 55 DrmMetadata* DrmPassthruPlugIn::onGetMetadata(int uniqueId, const String8* path) { 60 int uniqueId, const String8* path, int action) { 61 LOGD("DrmPassthruPlugIn::onGetConstraints From Path: %d", uniqueId); 75 DrmInfoStatus* DrmPassthruPlugIn::onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) { 76 LOGD("DrmPassthruPlugIn::onProcessDrmInfo - Enter : %d", uniqueId); 110 int uniqueId, const IDrmEngine::OnInfoListener* infoListener) { 111 LOGD("DrmPassthruPlugIn::onSetOnInfoListener : %d", uniqueId); 115 status_t DrmPassthruPlugIn::onInitialize(int uniqueId) { 116 LOGD("DrmPassthruPlugIn::onInitialize : %d", uniqueId); 120 status_t DrmPassthruPlugIn::onTerminate(int uniqueId) { [all...] |
/frameworks/base/drm/libdrmframework/ |
DrmManagerClientImpl.cpp | 43 void DrmManagerClientImpl::remove(int uniqueId) { 44 getDrmManagerService()->removeUniqueId(uniqueId); 72 void DrmManagerClientImpl::addClient(int uniqueId) { 73 getDrmManagerService()->addClient(uniqueId); 76 void DrmManagerClientImpl::removeClient(int uniqueId) { 77 getDrmManagerService()->removeClient(uniqueId); 81 int uniqueId, 85 return getDrmManagerService()->setDrmServiceListener(uniqueId, 90 int uniqueId, const String8& drmEngineFile) { 93 status = getDrmManagerService()->installDrmEngine(uniqueId, drmEngineFile) [all...] |
/external/webkit/Source/WebKit/android/nav/ |
CachedLayer.h | 63 void setUniqueId(int uniqueId) { mUniqueId = uniqueId; } 64 int uniqueId() const { return mUniqueId; }
|
/frameworks/base/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
FwdLockEngine.cpp | 80 FwdLockConv_CloseSession(convSession->uniqueId, &(convSession->output)); 109 DrmConstraints* FwdLockEngine::onGetConstraints(int uniqueId, const String8* path, int action) { 115 (RightsStatus::RIGHTS_VALID == onCheckRightsStatus(uniqueId, *path, action))) { 123 DrmMetadata* FwdLockEngine::onGetMetadata(int uniqueId, const String8* path) { 136 android::status_t FwdLockEngine::onInitialize(int uniqueId) { 150 FwdLockEngine::onSetOnInfoListener(int uniqueId, const IDrmEngine::OnInfoListener* infoListener) { 157 android::status_t FwdLockEngine::onTerminate(int uniqueId) { 163 DrmSupportInfo* FwdLockEngine::onGetSupportInfo(int uniqueId) { 181 bool FwdLockEngine::onCanHandle(int uniqueId, const String8& path) { 195 DrmInfoStatus* FwdLockEngine::onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) [all...] |
/frameworks/base/include/drm/ |
DrmInfoEvent.h | 76 * @param[in] uniqueId Unique session identifier 80 DrmInfoEvent(int uniqueId, int infoType, const String8 message);
|
/frameworks/base/drm/jni/ |
android_drm_DrmManagerClient.cpp | 187 jint uniqueId = event.getUniqueId(); 191 LOGV("JNIOnInfoListener::onInfo => %d | %d | %s", uniqueId, type, event.getMessage().string()); 196 mObject, uniqueId, type, message); 231 int uniqueId = 0; 232 sp<DrmManagerClientImpl> drmManager = DrmManagerClientImpl::create(&uniqueId, false); 233 drmManager->addClient(uniqueId); 237 drmManager->setOnInfoListener(uniqueId, listener); 242 return uniqueId; 245 static void android_drm_DrmManagerClient_finalize(JNIEnv* env, jobject thiz, jint uniqueId) { 247 DrmManagerClientImpl::remove(uniqueId); [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
SymbolTable.h | 50 void setUniqueId(int id) { uniqueId = id; } 51 int getUniqueId() const { return uniqueId; } 58 unsigned int uniqueId; // For real comparing during code generation 242 TSymbolTable() : uniqueId(0) 281 symbol.setUniqueId(++uniqueId); 311 int getMaxSymbolId() { return uniqueId; } 345 int uniqueId; // for unique identification in code generation
|