Home
last modified time | relevance | path

Searched refs:ret3 (Results 1 - 8 of 8) sorted by relevance

/test/xts/acts/multimedia/drm/drm_ndk_test/entry/src/main/cpp/
H A Dhello.cpp261 Drm_ErrCode ret3 = OH_MediaKeySystem_ProcessKeySystemResponse(drmKeySystem, responseData, responseDataLen_out); in getCertificate() local
262 CHECK_RETURN((ret3 != DRM_ERR_OK), -3); in getCertificate()
300 int ret3 = getHttp(URL_LICENSE, requestData.data, (uint32_t)requestData.dataLen, responseData, &responseLen, in getLicense() local
302 CHECK_RETURN(ret3 != 0, ret3); in getLicense()
327 int ret3 = getHttp(URL_LICENSE, requestData.data, (uint32_t)requestData.dataLen, in getOnLicResponseData() local
329 CHECK_PRINTF((ret3 != 0), ret3); in getOnLicResponseData()
360 Drm_ErrCode ret3 = OH_MediaKeySystem_CreateMediaKeySession(drmKeySystem, &level, &drmKeySession); in GetOfflineMediaKeyIds() local
361 if(ret3 ! in GetOfflineMediaKeyIds()
574 Drm_ErrCode ret3 = OH_MediaKeySystem_Destroy(drmKeySystem); Test_MediaKeySystem_SetConfigurationString() local
629 Drm_ErrCode ret3 = OH_MediaKeySystem_GetConfigurationString(system_ptr, name_ptr, outValue, outValueLen); Test_MediaKeySystem_GetConfigurationString() local
694 Drm_ErrCode ret3 = OH_MediaKeySystem_Destroy(drmKeySystem); Test_MediaKeySystem_SetConfigurationByteArray() local
759 Drm_ErrCode ret3 = OH_MediaKeySystem_GetConfigurationByteArray(system_ptr, configName_ptr, value_ptr, valueLen_ptr); Test_MediaKeySystem_GetConfigurationByteArray() local
807 Drm_ErrCode ret3 = OH_MediaKeySystem_Destroy(drmKeySystem); Test_MediaKeySystem_GetStatistics() local
846 Drm_ErrCode ret3 = OH_MediaKeySystem_Destroy(drmKeySystem); Test_MediaKeySystem_GetMaxContentProtectionLevel() local
890 Drm_ErrCode ret3 = DRM_ERR_OK; Test_CreateMediaKeySession() local
892 Drm_ErrCode ret3 = OH_MediaKeySession_Destroy(drmKeySession); Test_CreateMediaKeySession() local
963 Drm_ErrCode ret3 = OH_MediaKeySystem_Destroy(drmKeySystem); Test_MediaKeySystem_GenerateKeySystemRequest() local
1006 Drm_ErrCode ret3 = OH_MediaKeySystem_GenerateKeySystemRequest(drmKeySystem, requestData,&requestLen, defaultURLData, defaultURLDataLen); Test_MediaKeySystem_ProcessKeySystemResponse() local
1046 Drm_ErrCode ret3 = DRM_ERR_INVALID_VAL; Test_MediaKeySystem_GetOfflineMediaKeyIds() local
1213 Drm_ErrCode ret3 = OH_MediaKeySystem_ClearOfflineMediaKeys(system_ptr, keyId_ptr, offlineMediaKeyIdLen); Test_MediaKeySystem_ClearOfflineMediaKeys() local
1264 Drm_ErrCode ret3 = OH_MediaKeySystem_Destroy(drmKeySystem); Test_MediaKeySystem_GetCertificateStatus() local
1346 Drm_ErrCode ret3 = OH_MediaKeySystem_GetCertificateStatus(drmKeySystem, &status); Test_MediaKeySystem_SetMediaKeySystemCallback() local
1446 Drm_ErrCode ret3 = OH_MediaKeySession_GenerateMediaKeyRequest(session_ptr, requestInfo_ptr, mediaKeyRequest_ptr); Test_MediaKeySession_GenerateMediaKeyRequest() local
1525 Drm_ErrCode ret3 = OH_MediaKeySession_ProcessMediaKeyResponse(session_ptr, response_ptr, responseLen, keyIds_ptr, keyIdLen_ptr); Test_MediaKeySession_ProcessMediaKeyResponse() local
1581 Drm_ErrCode ret3 = OH_MediaKeySession_CheckMediaKeyStatus(sessoin_ptr, mediaKeyStatus_ptr); Test_MediaKeySession_CheckMediaKeyStatus() local
1640 Drm_ErrCode ret3 = OH_MediaKeySession_ClearMediaKeys(session_ptr); Test_MediaKeySession_ClearMediaKeys() local
1695 Drm_ErrCode ret3 = OH_MediaKeySession_GetContentProtectionLevel(session, contentProtectionLevel); Test_MediaKeySession_GetContentProtectionLevel() local
1770 Drm_ErrCode ret3 = OH_MediaKeySession_RequireSecureDecoderModule(session_ptr, mineType_ptr, status_ptr); Test_MediaKeySession_RequireSecureDecoderModule() local
1828 Drm_ErrCode ret3 = OH_MediaKeySession_SetMediaKeySessionCallback(session_ptr, callback_ptr); Test_MediaKeySession_SetMediaKeySessionCallback() local
1913 Drm_ErrCode ret3 = OH_MediaKeySession_GenerateOfflineReleaseRequest(session_ptr, KeyId_ptr, offlineKeyIdLen,releaseRequest_ptr, releaseRequestLen_ptr); Test_MediaKeySession_GenerateOfflineReleaseRequest() local
1980 Drm_ErrCode ret3 = OH_MediaKeySession_ProcessOfflineReleaseResponse(session_ptr, keyId_ptr, offlineKeyIdLen,releaseResponse_ptr,responseLen); Test_MediaKeySession_ProcessOfflineReleaseResponse() local
2038 Drm_ErrCode ret3 = OH_MediaKeySession_RestoreOfflineMediaKeys(session_ptr, keyId_ptr, offlineKeyIdLen); Test_MediaKeySession_RestoreOfflineMediaKeys() local
2077 Drm_ErrCode ret3 = OH_MediaKeySystem_Destroy(drmKeySystem); Test_CreateMediaKeySession_multi() local
2105 Drm_ErrCode ret3 = DRM_ERR_INVALID_VAL; Test_MediaKeySession_ProcessOfflineReleaseResponse_multi() local
2133 Drm_ErrCode ret3 = OH_MediaKeySystem_SetConfigurationString(drmKeySystem, "version", "2.2"); Test_MediaKeySystem_SetConfigurationString_multi() local
2212 Drm_ErrCode ret3 = OH_MediaKeySystem_GetCertificateStatus(drmKeySystem,&certStatus); Test_MediaKeySystem_SetCallback() local
[all...]
/test/xts/acts/multimedia/media/media_ndk_standard/avPlayerDrmNdk/entry/src/main/cpp/
H A Dhello.cpp179 OH_AVErrCode ret3 = OH_AVPlayer_Prepare(playerHandle); in Test_AVPlayer_SetMediaKeySystemInfoCallback() local
182 if (ret1 == AV_ERR_OK && ret2 == AV_ERR_OK && ret3 == AV_ERR_OK && ret4 == AV_ERR_OK && ret5 == AV_ERR_OK) { in Test_AVPlayer_SetMediaKeySystemInfoCallback()
219 OH_AVErrCode ret3 = OH_AVPlayer_Prepare(playerHandle); in Test_AVPlayer_GetMediaKeySystemInfo() local
247 if (ret1 == AV_ERR_OK && ret2 == AV_ERR_OK && ret3 == AV_ERR_OK && ret4 == AV_ERR_OK && ret5 == AV_ERR_OK && in Test_AVPlayer_GetMediaKeySystemInfo()
282 Drm_ErrCode ret3 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); in Test_AVPlayer_SetDecryptionConfig() local
283 UNUSED_PARAMETER(ret3); in Test_AVPlayer_SetDecryptionConfig()
379 OH_AVErrCode ret3 = OH_AudioCodec_SetDecryptionConfig(handle_ptr, session_ptr, isSecureAudio); in Test_AudioCodec_SetDecryptionConfig() local
383 if (ret1 == DRM_ERR_OK && ret2 == DRM_ERR_OK && ret3 == AV_ERR_OK && ret4 == AV_ERR_OK && ret5 == DRM_ERR_OK && in Test_AudioCodec_SetDecryptionConfig()
436 OH_AVErrCode ret3 = OH_VideoDecoder_SetDecryptionConfig(handle_ptr, session_ptr, isSecureAudio); in Test_VideoDecoder_SetDecryptionConfig() local
440 if (ret1 == DRM_ERR_OK && ret2 == DRM_ERR_OK && ret3 in Test_VideoDecoder_SetDecryptionConfig()
647 OH_AVErrCode ret3 = OH_AVDemuxer_Destroy(hdemuxer); TestAVDemuxer_GetMediaKeySystemInfo() local
[all...]
/test/xts/acts/graphic/graphicnapitest/
H A DNativeVsyncTest.cpp144 int ret3 = OH_NativeVSync_RequestFrameWithMultiCallback(native_vsync, callback, data + i); in HWTEST_F() local
146 ASSERT_EQ(ret3, NATIVE_ERROR_OK); in HWTEST_F()
173 int ret3 = OH_NativeVSync_RequestFrameWithMultiCallback(nullptr, callback, data); in HWTEST_F() local
174 ASSERT_EQ(ret3, NATIVE_ERROR_INVALID_ARGUMENTS); in HWTEST_F()
H A DNativeImageTest.cpp1004 int32_t ret3 = OH_NativeImage_ReleaseNativeWindowBuffer(image, nativeWindowBuffer, fenceFd); in HWTEST_F() local
1006 ASSERT_EQ(ret3, NATIVE_ERROR_INVALID_ARGUMENTS); in HWTEST_F()
1274 int32_t ret3 = OH_ConsumerSurface_SetDefaultUsage(image, usage[i]); in HWTEST_F() local
1275 ASSERT_EQ(ret3, NATIVE_ERROR_OK); in HWTEST_F()
1301 int32_t ret3 = OH_ConsumerSurface_SetDefaultUsage(image, -UINT64_MAX); in HWTEST_F() local
1302 ASSERT_EQ(ret3, NATIVE_ERROR_OK); in HWTEST_F()
1326 int32_t ret3 = OH_ConsumerSurface_SetDefaultSize(image, 100, 100); in HWTEST_F() local
1327 ASSERT_EQ(ret3, NATIVE_ERROR_OK); in HWTEST_F()
1366 int32_t ret3 = OH_ConsumerSurface_SetDefaultSize(image, -1000, -1000); in HWTEST_F() local
1367 ASSERT_EQ(ret3, NATIVE_ERROR_INVALID_ARGUMENT in HWTEST_F()
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/arkApi/
H A DarkApi.cpp86 auto ret3 = OH_ArkUI_PointerEvent_GetDisplayY(nullptr); in TestArkUIAddApi009() local
87 ASSERT_EQ(ret3, 0.0f); in TestArkUIAddApi009()
/test/xts/acts/kernel_lite/time_posix/src/
H A DClockTimeTest.cpp296 int ret3 = gettimeofday(&tvalEnd, NULL); in HWTEST_F() local
299 EXPECT_EQ(0, ret3); in HWTEST_F()
/test/xts/acts/multimedia/avcodec/AVCodecDrmNdk/entry/src/main/cpp/
H A Dhello.cpp248 OH_AVErrCode ret3 = OH_AVCencInfo_SetSubsampleInfo(handle, encryptedBlockCount, skippedBlockCount, firstEncryptedOffset, subsampleCount, subsamples); in Test_AVCencInfo_SetAVBuffer() local
265 if (ret1 == AV_ERR_OK && ret2 == AV_ERR_OK && ret3 == AV_ERR_OK in Test_AVCencInfo_SetAVBuffer()
/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/render/
H A Dplugin_render.cpp241 [[maybe_unused]] int32_t ret3; in DispatchTouchEvent() local
244 ret3 = OH_NativeXComponent_GetTouchPointTiltY(component, i, &tiltY); in DispatchTouchEvent()

Completed in 13 milliseconds