Home
last modified time | relevance | path

Searched refs:uniqueId (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/av/drm/common/
DDrmEngineBase.cpp30 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 …]
DIDrmManagerService.cpp123 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 …]
DDrmInfoEvent.cpp22 DrmInfoEvent::DrmInfoEvent(int uniqueId, int infoType, const String8 message) in DrmInfoEvent() argument
23 : mUniqueId(uniqueId), in DrmInfoEvent()
/frameworks/av/drm/libdrmframework/plugins/common/include/
DDrmEngineBase.h37 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 …]
DIDrmEngine.h67 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/
DIDrmManagerService.h87 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 …]
DNoOpDrmManagerClientImpl.h28 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 …]
DDrmManagerService.h70 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 …]
DDrmManager.h58 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 …]
DDrmManagerClientImpl.h46 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/
DDrmManagerService.cpp139 void DrmManagerService::removeUniqueId(int uniqueId) { in removeUniqueId() argument
140 mDrmManager->removeUniqueId(uniqueId); in removeUniqueId()
143 void DrmManagerService::addClient(int uniqueId) { in addClient() argument
144 mDrmManager->addClient(uniqueId); in addClient()
147 void DrmManagerService::removeClient(int uniqueId) { in removeClient() argument
148 mDrmManager->removeClient(uniqueId); in removeClient()
152 int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) { in setDrmServiceListener() argument
154 mDrmManager->setDrmServiceListener(uniqueId, drmServiceListener); in setDrmServiceListener()
159 int uniqueId, const String8* path, const int action) { in getConstraints() argument
161 return mDrmManager->getConstraints(uniqueId, path, action); in getConstraints()
[all …]
DDrmManager.cpp56 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/forward-lock/FwdLockEngine/include/
DFwdLockEngine.h57 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/plugins/passthru/src/
DDrmPassthruPlugIn.cpp55 DrmMetadata* DrmPassthruPlugIn::onGetMetadata(int uniqueId, const String8* path) { in onGetMetadata() argument
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
[all …]
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
DDrmPassthruPlugIn.h31 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/
DDrmManagerClientImpl.cpp48 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/
Dandroid_drm_DrmManagerClient.cpp167 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/
DDrmManagerClient.java184 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()
872 private native void _setListeners(int uniqueId, Object weak_this); in _setListeners() argument
874 private native void _release(int uniqueId); in _release() argument
876 private native void _installDrmEngine(int uniqueId, String engineFilepath); in _installDrmEngine() argument
878 private native ContentValues _getConstraints(int uniqueId, String path, int usage); in _getConstraints() argument
[all …]
DDrmErrorEvent.java82 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()
DDrmInfoEvent.java72 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()
DDrmEvent.java62 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/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
DFwdLockEngine.cpp79 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()
393 FwdLockConv_OpenSession(&(newSession->uniqueId), &(newSession->output))) {
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DDisplaySettings.java70 public void getOverscanLocked(String name, String uniqueId, Rect outRect) { in getOverscanLocked() argument
74 if (uniqueId == null || (entry = mEntries.get(uniqueId)) == null) { in getOverscanLocked()
87 public void setOverscanLocked(String uniqueId, String name, int left, int top, int right, in setOverscanLocked() argument
92 mEntries.remove(uniqueId); in setOverscanLocked()
97 Entry entry = mEntries.get(uniqueId); in setOverscanLocked()
99 entry = new Entry(uniqueId); in setOverscanLocked()
100 mEntries.put(uniqueId, entry); in setOverscanLocked()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDeviceInfo.java129 public String uniqueId; field in DisplayDeviceInfo
287 || !Objects.equal(uniqueId, other.uniqueId) in diff()
321 uniqueId = other.uniqueId; in copyFrom()
351 sb.append(name).append("\": uniqueId=\"").append(uniqueId).append("\", "); in toString()
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvUinputBridge.cpp103 static NativeConnection* open(const char* name, const char* uniqueId,
127 NativeConnection* NativeConnection::open(const char* name, const char* uniqueId, in open() argument
148 ioctl(fd, UI_SET_PHYS, uniqueId); in open()
191 ScopedUtfChars uniqueId(env, uniqueIdStr); in nativeOpen() local
193 NativeConnection* connection = NativeConnection::open(name.c_str(), uniqueId.c_str(), in nativeOpen()

12