/frameworks/av/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...] |
IDrmManagerService.cpp | 115 ALOGV("add uniqueid"); 123 void BpDrmManagerService::removeUniqueId(int uniqueId) { 124 ALOGV("remove uniqueid"); 127 data.writeInt32(uniqueId); 131 void BpDrmManagerService::addClient(int uniqueId) { 134 data.writeInt32(uniqueId); 138 void BpDrmManagerService::removeClient(int uniqueId) { 141 data.writeInt32(uniqueId); 146 int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) { 151 data.writeInt32(uniqueId); [all...] |
DrmInfoEvent.cpp | 22 DrmInfoEvent::DrmInfoEvent(int uniqueId, int infoType, const String8 message) 23 : mUniqueId(uniqueId),
|
/frameworks/av/drm/libdrmframework/include/ |
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...] |
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...] |
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...] |
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...] |
DrmManagerClientImpl.h | 46 virtual void remove(int uniqueId); 51 * @param[in] uniqueId Unique identifier for a session 53 virtual void addClient(int uniqueId); 58 * @param[in] uniqueId Unique identifier for a session 60 virtual 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 virtual DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 91 * @param[in] uniqueId Unique identifier for a sessio [all...] |
/cts/tests/tests/drm/lib/ |
TestPlugin.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...] |
TestPlugin.cpp | 55 DrmMetadata* TestPlugIn::onGetMetadata(int uniqueId, const String8* path) { 60 int uniqueId, const String8* path, int action) { 64 DrmInfoStatus* TestPlugIn::onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) { 69 int uniqueId, const IDrmEngine::OnInfoListener* infoListener) { 73 status_t TestPlugIn::onInitialize(int uniqueId) { 77 status_t TestPlugIn::onTerminate(int uniqueId) { 81 DrmSupportInfo* TestPlugIn::onGetSupportInfo(int uniqueId) { 86 status_t TestPlugIn::onSaveRights(int uniqueId, const DrmRights& drmRights, 91 DrmInfo* TestPlugIn::onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) { 95 bool TestPlugIn::onCanHandle(int uniqueId, const String8& path) [all...] |
/frameworks/av/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, int fd) [all...] |
/frameworks/av/drm/libdrmframework/ |
NoOpDrmManagerClientImpl.cpp | 21 void NoOpDrmManagerClientImpl::remove(int /* uniqueId */) { 24 void NoOpDrmManagerClientImpl::addClient(int /* uniqueId */) { 28 int /* uniqueId */) { 32 int /* uniqueId */, 38 int /* uniqueId */, 45 int /* uniqueId */, 51 int /* uniqueId */, 58 int /* uniqueId */, 64 int /* uniqueId */, 70 int /* uniqueId */, [all...] |
DrmManagerClientImpl.cpp | 48 void DrmManagerClientImpl::remove(int uniqueId) { 49 getDrmManagerService()->removeUniqueId(uniqueId); 83 void DrmManagerClientImpl::addClient(int uniqueId) { 84 getDrmManagerService()->addClient(uniqueId); 87 void DrmManagerClientImpl::removeClient(int uniqueId) { 88 getDrmManagerService()->removeClient(uniqueId); 92 int uniqueId, 96 return getDrmManagerService()->setDrmServiceListener(uniqueId, 101 int uniqueId, const String8* path, const int action) { 105 getDrmManagerService()->getConstraints(uniqueId, path, action) [all...] |
/frameworks/av/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 ALOGV("DrmPassthruPlugIn::onGetConstraints From Path: %d", uniqueId); 76 DrmInfoStatus* DrmPassthruPlugIn::onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) { 77 ALOGV("DrmPassthruPlugIn::onProcessDrmInfo - Enter : %d", uniqueId); 111 int uniqueId, const IDrmEngine::OnInfoListener* infoListener) { 112 ALOGV("DrmPassthruPlugIn::onSetOnInfoListener : %d", uniqueId); 116 status_t DrmPassthruPlugIn::onInitialize(int uniqueId) { 117 ALOGV("DrmPassthruPlugIn::onInitialize : %d", uniqueId); 121 status_t DrmPassthruPlugIn::onTerminate(int uniqueId) { [all...] |
/frameworks/av/drm/drmserver/ |
DrmManager.cpp | 56 int uniqueId = -1; 62 uniqueId = temp; 63 mUniqueIdArray[uniqueId] = true; 68 uniqueId |= 0x1000; 75 return uniqueId; 78 void DrmManager::removeUniqueId(int uniqueId) { 80 if (uniqueId & 0x1000) { 82 uniqueId &= ~(0x1000); 85 if (uniqueId >= 0 && uniqueId < kMaxNumUniqueIds) [all...] |
DrmManagerService.cpp | 139 void DrmManagerService::removeUniqueId(int uniqueId) { 140 mDrmManager->removeUniqueId(uniqueId); 143 void DrmManagerService::addClient(int uniqueId) { 144 mDrmManager->addClient(uniqueId); 147 void DrmManagerService::removeClient(int uniqueId) { 148 mDrmManager->removeClient(uniqueId); 152 int uniqueId, const sp<IDrmServiceListener>& drmServiceListener) { 154 mDrmManager->setDrmServiceListener(uniqueId, drmServiceListener); 159 int uniqueId, const String8* path, const int action) { 161 return mDrmManager->getConstraints(uniqueId, path, action) [all...] |
/frameworks/av/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/av/drm/libdrmframework/plugins/common/include/ |
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...] |
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...] |
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
RealElement.java | 30 private final int uniqueId; 39 RealElement(String setName, Element.Type type, String keyType, int uniqueId) { 40 this.uniqueId = uniqueId; 50 @Override public int uniqueId() { 51 return uniqueId; 68 + ",uniqueId=" + uniqueId + ", type=" + type + ", keyType=" + keyType + ")"; 74 && ((Element) o).uniqueId() == uniqueId() [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
FwdLockEngine.cpp | 79 FwdLockConv_CloseSession(convSession->uniqueId, &(convSession->output)); 108 DrmConstraints* FwdLockEngine::onGetConstraints(int uniqueId, const String8* path, int action) { 114 (RightsStatus::RIGHTS_VALID == onCheckRightsStatus(uniqueId, *path, action))) { 122 DrmMetadata* FwdLockEngine::onGetMetadata(int /* uniqueId */, const String8* path) { 135 android::status_t FwdLockEngine::onInitialize(int /* uniqueId */) { 150 int /* uniqueId */, 158 android::status_t FwdLockEngine::onTerminate(int /* uniqueId */) { 212 DrmSupportInfo* FwdLockEngine::onGetSupportInfo(int /* uniqueId */) { 227 bool FwdLockEngine::onCanHandle(int /* uniqueId */, const String8& path) { 234 DrmInfoStatus* FwdLockEngine::onProcessDrmInfo(int /* uniqueId */, const DrmInfo* /* drmInfo */) [all...] |
/external/skia/src/core/ |
SkNextID.h | 16 * Shared between SkPixelRef's generationID and SkImage's uniqueID
|
/external/webrtc/webrtc/modules/video_capture/ios/ |
device_info_ios_objc.mm | 31 + (AVCaptureDevice*)captureDeviceForUniqueId:(NSString*)uniqueId { 34 if ([uniqueId isEqual:device.uniqueID]) { 47 return [DeviceInfoIosObjC captureDeviceForIndex:index].uniqueID; 50 + (NSString*)deviceNameForUniqueId:(NSString*)uniqueId { 51 return [[AVCaptureDevice deviceWithUniqueID:uniqueId] localizedName];
|
device_info_ios_objc.h | 21 + (AVCaptureDevice*)captureDeviceForUniqueId:(NSString*)uniqueId; 24 + (NSString*)deviceNameForUniqueId:(NSString*)uniqueId;
|
/frameworks/base/drm/jni/ |
android_drm_DrmManagerClient.cpp | 167 jint uniqueId = event.getUniqueId(); 171 ALOGV("JNIOnInfoListener::onInfo => %d | %d | %s", uniqueId, type, event.getMessage().string()); 176 mObject, uniqueId, type, message); 213 int uniqueId = 0; 214 sp<DrmManagerClientImpl> drmManager = DrmManagerClientImpl::create(&uniqueId, false); 215 drmManager->addClient(uniqueId); 219 return static_cast<jint>(uniqueId); 223 JNIEnv* env, jobject thiz, jint uniqueId, jobject weak_thiz) { 228 getDrmManagerClientImpl(env, thiz)->setOnInfoListener(uniqueId, listener); 234 JNIEnv* env, jobject thiz, jint uniqueId) { [all...] |