void sk_hdi_av_startstop_test02(void)
{
int result = SK_TRUE;
sk_status_code_t error_code;
sk_handle_t av_handle;
sk_hdi_av_capability_t capability;
error_code = sk_hdi_av_get_capability(&capability);
SK_TESTKIT_CHECK_PRECONDITION(error_code, result);
error_code = sk_hdi_av_open(&av_handle, capability.m_decoder, &g_valid_av_open_params);
SK_TESTKIT_CHECK_PRECONDITION(error_code, result);
error_code = sk_hdi_av_start(av_handle);
SK_TESTKIT_SET_RESULT(error_code, result, SK_FALSE);
error_code = sk_hdi_av_stop(av_handle);
SK_TESTKIT_SET_RESULT(error_code, result, SK_FALSE);
error_code = test_av_set_stream(av_handle, TEST_AV_STREAM_NORMAL);
SK_TESTKIT_CHECK_PRECONDITION(error_code, result);
error_code = sk_hdi_av_start(av_handle);
SK_TESTKIT_SET_RESULT(error_code, result, SK_TRUE);
error_code = sk_hdi_av_start(av_handle);
SK_TESTKIT_SET_RESULT(error_code, result, SK_TRUE);
error_code = sk_hdi_av_stop(av_handle);
SK_TESTKIT_SET_RESULT(error_code, result, SK_TRUE);
error_code = sk_hdi_av_close(av_handle, &g_valid_av_close_params);
SK_TESTKIT_CHECK_RECONVERT(error_code);
test_error:
SK_TESTKIT_RECORD_RESULT(result);
return ;
}