Home
last modified time | relevance | path

Searched refs:format (Results 101 - 125 of 1462) sorted by relevance

12345678910>>...59

/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/
H A Dimage_receiver_mdk_test.cpp86 napi_get_value_int32(env, argValue[NUM_2], &(receiverInfo.format)) != napi_ok || in JsCreateImageReceiver()
268 int32_t format; in JsGetFormat() local
269 int32_t res = OH_Image_Receiver_GetFormat(native, &format); in JsGetFormat()
273 napi_create_int32(env, format, &result); in JsGetFormat()
365 int32_t format; in JsImageFormat() local
366 int32_t res = OH_Image_Format(native, &format); in JsImageFormat()
370 napi_create_uint32(env, format, &result); in JsImageFormat()
/test/xts/acts/multimedia/image/image_js_standard/imageSourceNDK/entry/src/main/cpp/napi/
H A Dimage_source_test.cpp616 auto format = formatList.supportedFormatList[i]; in ReleaseSupportedFormatList() local
617 if (format != nullptr) { in ReleaseSupportedFormatList()
618 if (format->format != nullptr) { in ReleaseSupportedFormatList()
619 free(format->format); in ReleaseSupportedFormatList()
620 format->format = nullptr; in ReleaseSupportedFormatList()
622 free(format); in ReleaseSupportedFormatList()
633 DEBUG_LOG("Supported format lis in GetSupportedFormats()
650 auto format = formatList.supportedFormatList[i]; GetSupportedFormats() local
[all...]
/test/testfwk/developer_test/src/core/driver/
H A Dopenharmony.py173 " {}".format(self.config.package_name,
179 command = "aa test -m {} -b {} -s unittest {} {}".format(
188 " {} -s dryRun true".format(self.config.package_name,
193 " {} -s dryRun true".format(self.config.module_name,
358 format(len(self.runner.expect_tests_dict.keys()),
438 "[{}] is not a valid file".format(json_file_list[0]))
494 serial = "{}_{}".format(str(self.config.device.__get_serial__()), time.time_ns())
495 log_tar_file_name = "{}".format(str(serial).replace(":", "_"))
H A Dlite_driver.py83 self.log.error("check failed {}".format(msg))
97 self.log.error("Lite driver check config:{}".format(config))
146 self.mnt_cmd = "mount {}".format(UserConfigManager().get_user_config(
185 self.lite_device.execute_command_with_timeout("cd /{}".format(
214 "chmod 777 {}".format(case_name),
417 file_name.write("{}{}".format(
572 file_name.write("{}{}".format(
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/
H A Dltp_posix_driver.py108 "shell chmod -R 777 {}".format(dst))
140 LOG.debug("LTP Posix un pass list: [{}]".format(un_pass_list))
163 "shell {}".format(test_bin))
165 format(result_message))
/test/xts/acts/multimedia/media/media_cpp_standard/codecFormatNdk/
H A DActsCodecFormatNdkTest.cpp36 bool SetFormat(struct OH_AVFormat *format, map<string, std::pair<bool, int>> mediaDescription);
71 bool ActsCodecFormatNdkTest::SetFormat(struct OH_AVFormat *format, map<string, std::pair<bool, int>> mediaDesc) in SetFormat() argument
78 ret = OH_AVFormat_SetLongValue(format, key, static_cast<int64_t>(t.second.second)); in SetFormat()
80 ret = OH_AVFormat_SetIntValue(format, key, static_cast<int32_t>(t.second.second)); in SetFormat()
83 cout << "OH_AV_Format Put Value Fail. format key: " << t.first in SetFormat()
94 * @tc.name : test codec format set key
128 * @tc.name : test codec format set and get value
179 * @tc.name : test codec format set and get buffer
/test/xts/acts/multimedia/media/media_cpp_standard/videoDecEncNdk/src/
H A DVDecEncNdkSample.cpp48 void VdecAsyncStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in VdecAsyncStreamChanged() argument
87 void VencAsyncStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in VencAsyncStreamChanged() argument
237 int32_t VDecEncNdkSample::ConfigureDec(struct OH_AVFormat *format) in ConfigureDec() argument
239 return OH_VideoDecoder_Configure(vdec_, format); in ConfigureDec()
242 int32_t VDecEncNdkSample::SetParameterDec(struct OH_AVFormat *format) in SetParameterDec() argument
244 return OH_VideoDecoder_SetParameter(vdec_, format); in SetParameterDec()
560 int32_t VDecEncNdkSample::ConfigureEnc(struct OH_AVFormat *format) in ConfigureEnc() argument
562 return OH_VideoEncoder_Configure(venc_, format); in ConfigureEnc()
565 int32_t VDecEncNdkSample::SetParameterEnc(struct OH_AVFormat *format) in SetParameterEnc() argument
567 return OH_VideoEncoder_SetParameter(venc_, format); in SetParameterEnc()
[all...]
/test/xts/acts/multimedia/media/media_cpp_standard/audioDecEncNdk/src/
H A DADecEncNdkSample.cpp36 void AdecAsyncStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in AdecAsyncStreamChanged() argument
76 void AencAsyncStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in AencAsyncStreamChanged() argument
167 int32_t ADecEncNdkSample::ConfigureDec(struct OH_AVFormat *format) in ConfigureDec() argument
169 return OH_AudioDecoder_Configure(adec_, format); in ConfigureDec()
172 int32_t ADecEncNdkSample::SetParameterDec(struct OH_AVFormat *format) in SetParameterDec() argument
174 return OH_AudioDecoder_SetParameter(adec_, format); in SetParameterDec()
446 int32_t ADecEncNdkSample::ConfigureEnc(struct OH_AVFormat *format) in ConfigureEnc() argument
448 return OH_AudioEncoder_Configure(aenc_, format); in ConfigureEnc()
451 int32_t ADecEncNdkSample::SetParameterEnc(struct OH_AVFormat *format) in SetParameterEnc() argument
453 return OH_AudioEncoder_SetParameter(aenc_, format); in SetParameterEnc()
[all...]
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dwcharndk1.cpp1035 extern "C" int Vfwprintf_Test(const wchar_t *format, ...);
1036 int Vfwprintf_Test(FILE *stream, const wchar_t *format, ...) in Vfwprintf_Test() argument
1039 va_start(args, format); in Vfwprintf_Test()
1040 int ret = vfwprintf(stream, format, args); in Vfwprintf_Test()
1059 extern "C" int Vswprintf_Test(const wchar_t *format, ...);
1060 int Vswprintf_Test(const wchar_t *format, ...) in Vswprintf_Test() argument
1064 va_start(args, format); in Vswprintf_Test()
1065 int ret = vswprintf(buffer, SIZE_256, format, args); in Vswprintf_Test()
1081 extern "C" int Vwscanf_Test(const wchar_t *format, ...);
1082 int Vwscanf_Test(const wchar_t *format, argument
1112 Vwprintf_Test(const wchar_t *format, ...) Vwprintf_Test() argument
1130 Vfwscanf_Test(FILE *fp, const wchar_t *format, ...) Vfwscanf_Test() argument
[all...]
/test/testfwk/xdevice/plugins/ohos/src/ohos/parser/
H A Dc_parser_lite.py82 return re.match("{}{}".format(self.pattern, _CTEST_SUITE_TEST_RUN_TAG),
86 return re.match("{}{}".format(self.pattern, _CTEST_SUITE_TIME_RUN_TAG),
91 "{}{}".format(self.pattern, _CTEST_SUITE_TEST_RUN_TAG),
252 if re.match("{}{}".format(self.pattern, _CTEST_SUITE_TIME_RUN_TAG),
285 self.state_machine.test().stacktrace = "{}\r\n".format(
287 self.state_machine.test().stacktrace = "{}{}".format(
/test/xts/acts/kernel_lite/sys_posix/src/
H A DSysApiTest.cpp536 void VerrLog(const char *format, ...)
539 va_start(args, format);
540 verr(0, format, args);
543 void VerrxLog(const char *format, ...)
546 va_start(args, format);
547 verrx(0, format, args);
/test/xts/acts/multimedia/image/image_js_standard/imagePackingNDK/entry/src/main/cpp/napi/
H A Dimage_packer_test.cpp117 Image_MimeType format; in setImageFormat() local
119 HiviewDFX::HiLog::Error(LABEL, "failed to format"); in setImageFormat()
133 format.data = buffer; in setImageFormat()
134 format.size = mimeTypeSize; in setImageFormat()
135 OH_PackingOptions_SetMimeType(options, &format); in setImageFormat()
136 HiviewDFX::HiLog::Info(LABEL, "get format data success %{public}s", format.data); in setImageFormat()
137 HiviewDFX::HiLog::Info(LABEL, "get format size success %{public}zu", format.size); in setImageFormat()
/test/xts/hats/hdf/codec/hdi_idlomx/
H A Dcodec_function_utils.cpp91 param.format.video.nFrameWidth = WIDTH; in InitBufferHandleParameter()
92 param.format.video.nFrameHeight = HEIGHT; in InitBufferHandleParameter()
93 param.format.video.nStride = AlignUp(WIDTH); in InitBufferHandleParameter()
94 param.format.video.nSliceHeight = HEIGHT; in InitBufferHandleParameter()
95 param.format.video.eColorFormat = OMX_COLOR_FormatYUV420SemiPlanar; in InitBufferHandleParameter()
124 .format = PIXEL_FMT_YCBCR_420_SP}; in FillCodecBufferWithBufferHandle()
/test/testfwk/xdevice/src/xdevice/_core/
H A Dlogger.py336 msg = "[{}]".format(msg) if msg else msg
338 msg = "{} [{}]".format(msg, additional_output)
509 msg = self.format(record)
522 def format(self, record): member in EncryptFileHandler
524 Customize the implementation method. If the log format of the
525 framework changes, update the return value format of the method
531 create_time = "{},{}".format(
533 "{:0>3d}".format(int("%d" % record.msecs)))
547 "ErrorNo={}".format(getattr(error, "error_no", "00113"))
575 result_data = "{}\n".format(log_queu
[all...]
/test/testfwk/xdevice/src/xdevice/_core/report/
H A Drepeater_helper.py41 uuid = "{}#{}".format(module_name, name_in_suite)
53 file_name = r"{}\repeated.xml".format(self.report_path)
79 pattern = ".//{}[@{}='{}'][@{}='{}']".format(
/test/xts/acts/multimedia/av_codec/audio_encoder/include/
H A Davcodec_audio_avbuffer_encoder_demo.h122 * @param format; default: OH_AVFormat_Create(); code: AV_ERR_INVALID_VAL;
137 OH_AVErrCode Configure(OH_AVCodec* codec, OH_AVFormat* format, int32_t channel, int32_t sampleRate,
232 OH_AVErrCode SetParameter(OH_AVCodec* codec, OH_AVFormat* format, int32_t channel, int32_t sampleRate,
237 int32_t Configure(OH_AVFormat *format);
/test/xts/acts/graphic/vktest/
H A Dgenlocal.py154 f.write("<testsuites name=\"{}\" timestamp=\"{}\" time=\"0.0\" errors=\"0\" disabled=\"0\" failures=\"{}\" tests=\"{}\" ignored=\"0\" unavailable=\"{}\" productinfo=\"{}\">\n".format(suitename, curtime, failcnt, total, unavailablecnt, "{}"))
155 f.write(" <testsuite name=\"{}\" time=\"0.0\" errors=\"0\" disabled=\"0\" failures=\"{}\" ignored=\"0\" tests=\"{}\" message=\"\">\n".format(suitename, failcnt, total))
163 f.write(" <testcase name=\"{}\" status=\"{}\" time=\"0.0\" classname=\"{}\" result=\"{}\" level=\"1\" message=\"\" />\n".format(recasename, casestate, suitename, caseresult))
169 # os.system(r"cp {} {}".format(tmpfile, putdir))
/test/xts/acts/multimedia/av_codec/audio_decoder/include/
H A Davcodec_audio_avbuffer_decoder_demo.h133 * @param format; default: OH_AVFormat_Create(); code: AV_ERR_INVALID_VAL;
168 OH_AVErrCode Configure(OH_AVCodec* codec, OH_AVFormat* format, int32_t channel, int32_t sampleRate);
261 OH_AVErrCode SetParameter(OH_AVCodec* codec, OH_AVFormat* format, int32_t channel, int32_t sampleRate);
265 int32_t Configure(OH_AVFormat *format);
/test/xts/acts/multimedia/av_codec/vcodec/hwdecoder/include/
H A Dvideodec_ndk_inner_sample.h33 #include "meta/format.h"
62 void OnOutputFormatChanged(const Format& format) override;
87 int32_t GetOutputFormat(Format &format);
89 int32_t SetParameter(const Format &format);
/test/xts/acts/multimedia/av_codec/vcodec/swdecoder/include/
H A Dvideodec_ndk_inner_sample.h32 #include "meta/format.h"
63 void OnOutputFormatChanged(const Format& format) override;
89 int32_t GetOutputFormat(Format &format);
91 int32_t SetParameter(const Format &format);
/test/xts/hats/hdf/audio/idl/benchmarktest/render/
H A Daudio_render_offload_benchmarktest.cpp63 attrs.format = AUDIO_FORMAT_TYPE_PCM_32_BIT; in InitRenderAttrs()
70 attrs.startThreshold = DEEP_BUFFER_RENDER_PERIOD_SIZE / (attrs.format * attrs.channelCount); in InitRenderAttrs()
77 attrs.offloadInfo.format = AUDIO_FORMAT_TYPE_PCM_32_BIT; in InitRenderAttrs()
/test/xts/hats/hdf/audio/idl/common/render/src/
H A Daudio_render_offload_test.cpp60 attrs.format = AUDIO_FORMAT_TYPE_PCM_32_BIT; in InitRenderAttrs()
67 attrs.startThreshold = DEEP_BUFFER_RENDER_PERIOD_SIZE / (attrs.format * attrs.channelCount); in InitRenderAttrs()
74 attrs.offloadInfo.format = AUDIO_FORMAT_TYPE_PCM_32_BIT; in InitRenderAttrs()
/test/xts/dcts/common/
H A Dshm_utils.h39 #define LOG(format, ...) \
47 fprintf(stdout, "[shm-utils] %s " format "\n", strTime, ##__VA_ARGS__); \
/test/testfwk/xdevice/src/xdevice/_core/context/
H A Dimpl.py115 desc.unique_id = '{}_{}'.format(desc.unique_id, index)
122 LOG.debug("Run command: {}".format(convert_mac(self._channel.get_last())))
133 error_message = ErrorMessage.Common.Code_0101014.format(err_msg)
134 LOG.error("Exec task error: {}".format(error_message))
/test/ostest/wukong/report/src/
H A Ddata_set.cpp60 void DataSet::SetFormatStragety(std::shared_ptr<Format> format) in SetFormatStragety() argument
62 format_ = format; in SetFormatStragety()

Completed in 18 milliseconds

12345678910>>...59