Searched refs:licenseIdSize (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/multimedia/drm_framework/services/drm_service/server/src/ |
H A D | mediakeysystem_service_stub.cpp | 317 uint32_t licenseIdSize = licenseIds[i].size(); in ProcessGetOfflineMediaKeyIds() local 318 reply.WriteUint32(licenseIdSize); in ProcessGetOfflineMediaKeyIds() 319 if (licenseIdSize == 0 || licenseIdSize > LICENSEID_MAX_LEN) { in ProcessGetOfflineMediaKeyIds() 322 if (!reply.WriteBuffer(licenseIds[i].data(), licenseIdSize)) { in ProcessGetOfflineMediaKeyIds() 335 int32_t licenseIdSize = data.ReadInt32(); in ProcessGetOfflineMediaKeyStatus() local 336 DRM_CHECK_AND_RETURN_RET_LOG(licenseIdSize < LICENSEID_MAX_LEN, DRM_MEMORY_ERROR, in ProcessGetOfflineMediaKeyStatus() 338 if (licenseIdSize != 0) { in ProcessGetOfflineMediaKeyStatus() 344 licenseId.assign(licenseIdBuf, licenseIdBuf + licenseIdSize); in ProcessGetOfflineMediaKeyStatus() 361 int32_t licenseIdSize = data.ReadInt32(); in ProcessRemoveOfflineMediaKey() local 364 if (licenseIdSize != 0) { in ProcessRemoveOfflineMediaKey() [all …]
|
H A D | key_session_service_stub.cpp | 203 int32_t licenseIdSize = data.ReadInt32(); in ProcessOfflineReleaseRequest() local 204 DRM_CHECK_AND_RETURN_RET_LOG(licenseIdSize < LICENSEID_MAX_LEN, DRM_MEMORY_ERROR, in ProcessOfflineReleaseRequest() 206 if (licenseIdSize != 0) { in ProcessOfflineReleaseRequest() 212 licenseId.assign(licenseIdBuf, licenseIdBuf + licenseIdSize); in ProcessOfflineReleaseRequest() 236 int32_t licenseIdSize = data.ReadInt32(); in ProcessOfflineReleaseResponse() local 238 DRM_CHECK_AND_RETURN_RET_LOG(licenseIdSize < LICENSEID_MAX_LEN, DRM_MEMORY_ERROR, in ProcessOfflineReleaseResponse() 245 licenseId.assign(licenseIdBuf, licenseIdBuf + licenseIdSize); in ProcessOfflineReleaseResponse() 284 int32_t licenseIdSize = data.ReadInt32(); in ProcessRestoreOfflineMediaKey() local 285 DRM_CHECK_AND_RETURN_RET_LOG(licenseIdSize < LICENSEID_MAX_LEN, DRM_MEMORY_ERROR, in ProcessRestoreOfflineMediaKey() 287 if (licenseIdSize != 0) { in ProcessRestoreOfflineMediaKey() [all …]
|
/ohos5.0/foundation/multimedia/drm_framework/services/drm_service/client/src/ |
H A D | mediakeysystem_service_proxy.cpp | 390 uint32_t licenseIdSize = reply.ReadUint32(); in GetOfflineMediaKeyIds() local 391 if (licenseIdSize == 0 || licenseIdSize > LICENSEID_MAX_LEN) { in GetOfflineMediaKeyIds() 394 licenseIds[i].resize(licenseIdSize); in GetOfflineMediaKeyIds() 396 static_cast<const uint8_t *>(reply.ReadUnpadBuffer(licenseIdSize)); in GetOfflineMediaKeyIds() 401 std::copy(licenseIdBuf, licenseIdBuf + licenseIdSize, licenseIds[i].begin()); in GetOfflineMediaKeyIds()
|
H A D | key_session_service_proxy.cpp | 193 int32_t licenseIdSize = reply.ReadInt32(); in ProcessMediaKeyResponse() local 194 DRM_CHECK_AND_RETURN_RET_LOG(licenseIdSize < LICENSEID_MAX_LEN, DRM_MEMORY_ERROR, in ProcessMediaKeyResponse() 196 if (licenseIdSize != 0) { in ProcessMediaKeyResponse() 197 … const uint8_t *licenseIdBuf = static_cast<const uint8_t *>(reply.ReadUnpadBuffer(licenseIdSize)); in ProcessMediaKeyResponse() 202 licenseId.assign(licenseIdBuf, licenseIdBuf + licenseIdSize); in ProcessMediaKeyResponse()
|