/frameworks/av/drm/common/ |
D | DrmEngineBase.cpp | 30 int uniqueId, const String8* path, int action) { in getConstraints() argument 31 return onGetConstraints(uniqueId, path, action); in getConstraints() 34 DrmMetadata* DrmEngineBase::getMetadata(int uniqueId, const String8* path) { in getMetadata() argument 35 return onGetMetadata(uniqueId, path); in getMetadata() 38 status_t DrmEngineBase::initialize(int uniqueId) { in initialize() argument 39 return onInitialize(uniqueId); in initialize() 43 int uniqueId, const IDrmEngine::OnInfoListener* infoListener) { in setOnInfoListener() argument 44 return onSetOnInfoListener(uniqueId, infoListener); in setOnInfoListener() 47 status_t DrmEngineBase::terminate(int uniqueId) { in terminate() argument 48 return onTerminate(uniqueId); in terminate() [all …]
|
D | IDrmManagerService.cpp | 123 void BpDrmManagerService::removeUniqueId(int uniqueId) { in removeUniqueId() argument 127 data.writeInt32(uniqueId); in removeUniqueId() 131 void BpDrmManagerService::addClient(int uniqueId) { in addClient() argument 134 data.writeInt32(uniqueId); in addClient() 138 void BpDrmManagerService::removeClient(int uniqueId) { in removeClient() argument 141 data.writeInt32(uniqueId); in removeClient() 146 int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) { in setDrmServiceListener() argument 151 data.writeInt32(uniqueId); in setDrmServiceListener() 158 int uniqueId, const String8* path, const int action) { in getConstraints() argument 163 data.writeInt32(uniqueId); in getConstraints() [all …]
|
D | DrmInfoEvent.cpp | 22 DrmInfoEvent::DrmInfoEvent(int uniqueId, int infoType, const String8 &message) in DrmInfoEvent() argument 23 : mUniqueId(uniqueId), in DrmInfoEvent()
|
/frameworks/av/drm/common/include/ |
D | 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, int fd); [all …]
|
D | IDrmManagerService.h | 87 virtual void removeUniqueId(int uniqueId) = 0; 89 virtual void addClient(int uniqueId) = 0; 91 virtual void removeClient(int uniqueId) = 0; 94 int uniqueId, const sp<IDrmServiceListener>& infoListener) = 0; 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; 103 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo) = 0; 105 virtual DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest) = 0; 107 virtual status_t saveRights(int uniqueId, const DrmRights& drmRights, [all …]
|
D | IDrmEngine.h | 67 virtual status_t initialize(int uniqueId) = 0; 79 int uniqueId, const IDrmEngine::OnInfoListener* infoListener) = 0; 90 virtual status_t terminate(int uniqueId) = 0; 105 int uniqueId, const String8* path, int action) = 0; 117 virtual DrmMetadata* getMetadata(int uniqueId, const String8* path) = 0; 127 virtual bool canHandle(int uniqueId, const String8& path) = 0; 137 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo) = 0; 148 virtual DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) = 0; 161 virtual status_t saveRights(int uniqueId, const DrmRights& drmRights, 173 virtual String8 getOriginalMimeType(int uniqueId, const String8& path, int fd) = 0; [all …]
|
/frameworks/av/drm/libdrmframework/include/ |
D | NoOpDrmManagerClientImpl.h | 28 void remove(int uniqueId); 29 void addClient(int uniqueId); 30 void removeClient(int uniqueId); 32 int uniqueId, const sp<DrmManagerClient::OnInfoListener>& infoListener); 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); 37 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo); 38 DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest); 39 status_t saveRights(int uniqueId, const DrmRights& drmRights, [all …]
|
D | DrmManagerClientImpl.h | 46 virtual void remove(int uniqueId); 53 virtual void addClient(int uniqueId); 60 virtual void removeClient(int uniqueId); 72 int uniqueId, const sp<DrmManagerClient::OnInfoListener>& infoListener); 86 virtual DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 98 virtual DrmMetadata* getMetadata(int uniqueId, const String8* path); 109 virtual bool canHandle(int uniqueId, const String8& path, const String8& mimeType); 119 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo); 130 virtual DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest); 143 virtual status_t saveRights(int uniqueId, const DrmRights& drmRights, [all …]
|
/frameworks/av/drm/drmserver/ |
D | DrmManagerService.cpp | 146 void DrmManagerService::removeUniqueId(int uniqueId) { in removeUniqueId() argument 147 mDrmManager->removeUniqueId(uniqueId); in removeUniqueId() 150 void DrmManagerService::addClient(int uniqueId) { in addClient() argument 151 mDrmManager->addClient(uniqueId); in addClient() 154 void DrmManagerService::removeClient(int uniqueId) { in removeClient() argument 155 mDrmManager->removeClient(uniqueId); in removeClient() 159 int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) { in setDrmServiceListener() argument 161 mDrmManager->setDrmServiceListener(uniqueId, drmServiceListener); in setDrmServiceListener() 166 int uniqueId, const String8* path, const int action) { in getConstraints() argument 168 return mDrmManager->getConstraints(uniqueId, path, action); in getConstraints() [all …]
|
D | DrmManagerService.h | 70 void removeUniqueId(int uniqueId); 72 void addClient(int uniqueId); 74 void removeClient(int uniqueId); 77 int uniqueId, const sp<IDrmServiceListener>& drmServiceListener); 79 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 81 DrmMetadata* getMetadata(int uniqueId, const String8* path); 83 bool canHandle(int uniqueId, const String8& path, const String8& mimeType); 85 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo); 87 DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest); 89 status_t saveRights(int uniqueId, const DrmRights& drmRights, [all …]
|
D | 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 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); 79 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo); 81 DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest); 83 status_t saveRights(int uniqueId, const DrmRights& drmRights, [all …]
|
D | DrmManager.cpp | 56 int uniqueId = -1; in addUniqueId() local 62 uniqueId = temp; in addUniqueId() 63 mUniqueIdArray[uniqueId] = true; in addUniqueId() 68 uniqueId |= 0x1000; in addUniqueId() 75 return uniqueId; in addUniqueId() 78 void DrmManager::removeUniqueId(int uniqueId) { in removeUniqueId() argument 80 if (uniqueId & 0x1000) { in removeUniqueId() 82 uniqueId &= ~(0x1000); in removeUniqueId() 85 if (uniqueId >= 0 && uniqueId < kMaxNumUniqueIds) { in removeUniqueId() 86 mUniqueIdArray[uniqueId] = false; in removeUniqueId() [all …]
|
/frameworks/av/drm/libdrmframework/plugins/passthru/src/ |
D | DrmPassthruPlugIn.cpp | 60 int uniqueId, const String8* /*path*/, int /*action*/) { in onGetConstraints() argument 61 ALOGV("DrmPassthruPlugIn::onGetConstraints From Path: %d", uniqueId); in onGetConstraints() 76 DrmInfoStatus* DrmPassthruPlugIn::onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) { in onProcessDrmInfo() argument 77 ALOGV("DrmPassthruPlugIn::onProcessDrmInfo - Enter : %d", uniqueId); in onProcessDrmInfo() 111 int uniqueId, const IDrmEngine::OnInfoListener* /*infoListener*/) { in onSetOnInfoListener() argument 112 ALOGV("DrmPassthruPlugIn::onSetOnInfoListener : %d", uniqueId); in onSetOnInfoListener() 116 status_t DrmPassthruPlugIn::onInitialize(int uniqueId) { in onInitialize() argument 117 ALOGV("DrmPassthruPlugIn::onInitialize : %d", uniqueId); in onInitialize() 121 status_t DrmPassthruPlugIn::onTerminate(int uniqueId) { in onTerminate() argument 122 ALOGV("DrmPassthruPlugIn::onTerminate : %d", uniqueId); in onTerminate() [all …]
|
/frameworks/av/drm/libdrmframework/plugins/passthru/include/ |
D | 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, int fd); [all …]
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
D | FwdLockEngine.h | 57 DrmConstraints* onGetConstraints(int uniqueId, const String8* path, int action); 69 DrmMetadata* onGetMetadata(int uniqueId, const String8* path); 78 status_t onInitialize(int uniqueId); 89 status_t onSetOnInfoListener(int uniqueId, const IDrmEngine::OnInfoListener* infoListener); 98 status_t onTerminate(int uniqueId); 108 bool onCanHandle(int uniqueId, const String8& path); 119 DrmInfoStatus* onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo); 132 status_t onSaveRights(int uniqueId, 146 DrmInfo* onAcquireDrmInfo(int uniqueId, 158 String8 onGetOriginalMimeType(int uniqueId, const String8& path, int fd); [all …]
|
/frameworks/av/drm/libdrmframework/ |
D | DrmManagerClientImpl.cpp | 48 void DrmManagerClientImpl::remove(int uniqueId) { in remove() argument 49 getDrmManagerService()->removeUniqueId(uniqueId); in remove() 83 void DrmManagerClientImpl::addClient(int uniqueId) { in addClient() argument 84 getDrmManagerService()->addClient(uniqueId); in addClient() 87 void DrmManagerClientImpl::removeClient(int uniqueId) { in removeClient() argument 88 getDrmManagerService()->removeClient(uniqueId); in removeClient() 92 int uniqueId, in setOnInfoListener() argument 96 return getDrmManagerService()->setDrmServiceListener(uniqueId, in setOnInfoListener() 101 int uniqueId, const String8* path, const int action) { in getConstraints() argument 105 getDrmManagerService()->getConstraints(uniqueId, path, action); in getConstraints() [all …]
|
/frameworks/base/drm/jni/ |
D | android_drm_DrmManagerClient.cpp | 167 jint uniqueId = event.getUniqueId(); in onInfo() local 171 ALOGV("JNIOnInfoListener::onInfo => %d | %d | %s", uniqueId, type, event.getMessage().string()); in onInfo() 176 mObject, uniqueId, type, message); in onInfo() 213 int uniqueId = 0; in android_drm_DrmManagerClient_initialize() local 214 sp<DrmManagerClientImpl> drmManager = DrmManagerClientImpl::create(&uniqueId, false); in android_drm_DrmManagerClient_initialize() 215 drmManager->addClient(uniqueId); in android_drm_DrmManagerClient_initialize() 219 return static_cast<jint>(uniqueId); in android_drm_DrmManagerClient_initialize() 223 JNIEnv* env, jobject thiz, jint uniqueId, jobject weak_thiz) { in android_drm_DrmManagerClient_setListeners() argument 228 getDrmManagerClientImpl(env, thiz)->setOnInfoListener(uniqueId, listener); in android_drm_DrmManagerClient_setListeners() 234 JNIEnv* env, jobject thiz, jint uniqueId) { in android_drm_DrmManagerClient_release() argument [all …]
|
/frameworks/base/drm/java/android/drm/ |
D | DrmManagerClient.java | 184 Object thisReference, int uniqueId, int infoType, String message) { in notify() argument 189 InfoHandler.INFO_EVENT_TYPE, uniqueId, infoType, message); in notify() 207 int uniqueId = msg.arg1; in handleMessage() local 218 info = new DrmInfoEvent(uniqueId, infoType, message); in handleMessage() 226 info = new DrmInfoEvent(uniqueId, infoType, message); in handleMessage() 230 error = new DrmErrorEvent(uniqueId, infoType, message); in handleMessage() 880 private native void _setListeners(int uniqueId, Object weak_this); in _setListeners() argument 882 private native void _release(int uniqueId); in _release() argument 884 private native void _installDrmEngine(int uniqueId, String engineFilepath); in _installDrmEngine() argument 886 private native ContentValues _getConstraints(int uniqueId, String path, int usage); in _getConstraints() argument [all …]
|
D | DrmErrorEvent.java | 82 public DrmErrorEvent(int uniqueId, int type, String message) { in DrmErrorEvent() argument 83 super(uniqueId, type, message); in DrmErrorEvent() 96 public DrmErrorEvent(int uniqueId, int type, String message, in DrmErrorEvent() argument 98 super(uniqueId, type, message, attributes); in DrmErrorEvent()
|
D | DrmInfoEvent.java | 72 public DrmInfoEvent(int uniqueId, int type, String message) { in DrmInfoEvent() argument 73 super(uniqueId, type, message); in DrmInfoEvent() 87 public DrmInfoEvent(int uniqueId, int type, String message, in DrmInfoEvent() argument 89 super(uniqueId, type, message, attributes); in DrmInfoEvent()
|
D | DrmEvent.java | 62 protected DrmEvent(int uniqueId, int type, String message, in DrmEvent() argument 64 mUniqueId = uniqueId; in DrmEvent() 83 protected DrmEvent(int uniqueId, int type, String message) { in DrmEvent() argument 84 mUniqueId = uniqueId; in DrmEvent()
|
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayViewport.java | 73 public String uniqueId; field in DisplayViewport 88 uniqueId = viewport.uniqueId; in copyFrom() 120 && TextUtils.equals(uniqueId, other.uniqueId) in equals() 136 result += prime * result + uniqueId.hashCode(); in hashCode() 148 + ", uniqueId='" + uniqueId + "'" in toString()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
D | FwdLockEngine.cpp | 79 FwdLockConv_CloseSession(convSession->uniqueId, &(convSession->output)); in ~FwdLockEngine() 108 DrmConstraints* FwdLockEngine::onGetConstraints(int uniqueId, const String8* path, int action) { in onGetConstraints() argument 114 (RightsStatus::RIGHTS_VALID == onCheckRightsStatus(uniqueId, *path, action))) { in onGetConstraints() 266 int FwdLockEngine::onCheckRightsStatus(int uniqueId, in onCheckRightsStatus() argument 274 if (onCanHandle(uniqueId, path)) { in onCheckRightsStatus() 305 bool FwdLockEngine::onValidateAction(int uniqueId, in onValidateAction() argument 312 return (onCheckRightsStatus(uniqueId, path, action) == RightsStatus::RIGHTS_VALID); in onValidateAction() 341 int FwdLockEngine::onGetDrmObjectType(int uniqueId, in onGetDrmObjectType() argument 354 if (((0 == path.length()) || onCanHandle(uniqueId, path)) && in onGetDrmObjectType() 395 FwdLockConv_OpenSession(&(newSession->uniqueId), &(newSession->output))) { [all …]
|
/frameworks/native/include/input/ |
D | DisplayViewport.h | 70 std::string uniqueId; member 80 deviceWidth(0), deviceHeight(0), uniqueId(), physicalPort(std::nullopt), in DisplayViewport() 97 && uniqueId == other.uniqueId 123 uniqueId.clear(); in setNonDisplayViewport() 134 uniqueId.c_str(), in toString()
|
/frameworks/base/core/jni/ |
D | android_hardware_display_DisplayViewport.cpp | 42 jfieldID uniqueId; member 66 jstring uniqueId = in android_hardware_display_DisplayViewport_toNative() local 67 jstring(env->GetObjectField(viewportObj, gDisplayViewportClassInfo.uniqueId)); in android_hardware_display_DisplayViewport_toNative() 68 if (uniqueId != nullptr) { in android_hardware_display_DisplayViewport_toNative() 69 viewport->uniqueId = ScopedUtfChars(env, uniqueId).c_str(); in android_hardware_display_DisplayViewport_toNative() 122 gDisplayViewportClassInfo.uniqueId = GetFieldIDOrDie(env, in register_android_hardware_display_DisplayViewport()
|