Home
last modified time | relevance | path

Searched refs:format (Results 1 - 25 of 1462) sorted by relevance

12345678910>>...59

/test/xts/acts/multimedia/avsource/entry/src/main/cpp/
H A Daudiodecoderxdlndk.cpp104 static void OnStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnStreamChanged() argument
107 (void)format; in OnStreamChanged()
146 OH_AVFormat *format = nullptr; in AudioDecoderConfigure() local
147 format = OH_AVFormat_Create(); in AudioDecoderConfigure()
148 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, DEFAULT_SAMPLERATE); in AudioDecoderConfigure()
149 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITRATE, DEFAULT_BITRATE); in AudioDecoderConfigure()
150 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, DEFAULT_CHANNEL_COUNT); in AudioDecoderConfigure()
151 OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, DEFAULT_MAX_INPUT_SIZE); in AudioDecoderConfigure()
152 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, DEFAULT_AAC_TYPE); in AudioDecoderConfigure()
154 return TestInitAVErrCode(env, OH_AudioDecoder_Configure(audioDec, format)); in AudioDecoderConfigure()
159 OH_AVFormat *format = nullptr; AudioDecoderPrepare() local
176 OH_AVFormat *format = nullptr; AudioDecoderStart() local
199 OH_AVFormat *format = nullptr; AudioDecoderStop() local
224 OH_AVFormat *format = nullptr; AudioDecoderFlush() local
250 OH_AVFormat *format = nullptr; AudioDecoderReset() local
276 OH_AVFormat *format = nullptr; AudioDecoderGetOutputDescription() local
303 OH_AVFormat *format = nullptr; AudioDecoderSetParameter() local
333 OH_AVFormat *format = nullptr; AudioDecoderIsValid() local
401 OH_AVFormat *format = nullptr; OHAudioDecoderStartAnormal() local
424 OH_AVFormat *format = nullptr; OHAudioDecoderStartBnormal() local
447 OH_AVFormat *format = nullptr; OHAudioDecoderStartCnormal() local
467 OH_AVFormat *format = nullptr; OHAudioDecoderStopAnormal() local
492 OH_AVFormat *format = nullptr; OHAudioDecoderStopBnormal() local
517 OH_AVFormat *format = nullptr; OHAudioDecoderStopCnormal() local
539 OH_AVFormat *format = nullptr; OHAudioDecoderFlushAnormal() local
565 OH_AVFormat *format = nullptr; OHAudioDecoderFlushBnormal() local
591 OH_AVFormat *format = nullptr; OHAudioDecoderFlushCnormal() local
614 OH_AVFormat *format = nullptr; OHAudioDecoderResetAnormal() local
640 OH_AVFormat *format = nullptr; OHAudioDecoderResetBnormal() local
666 OH_AVFormat *format = nullptr; OHAudioDecoderResetCnormal() local
689 OH_AVFormat *format = nullptr; OHAudioDecoderGetOutputDescriptionAnormal() local
716 OH_AVFormat *format = nullptr; OHAudioDecoderGetOutputDescriptionBnormal() local
743 OH_AVFormat *format = nullptr; OHAudioDecoderGetOutputDescriptionCnormal() local
767 OH_AVFormat *format = nullptr; OHAudioDecoderSetParameterAnormal() local
796 OH_AVFormat *format = nullptr; OHAudioDecoderSetParameterBnormal() local
825 OH_AVFormat *format = nullptr; OHAudioDecoderSetParameterCnormal() local
852 OH_AVFormat *format = nullptr; OHAudioDecoderIsValidAnormal() local
882 OH_AVFormat *format = nullptr; OHAudioDecoderIsValidBnormal() local
912 OH_AVFormat *format = nullptr; OHAudioDecoderIsValidCnormal() local
[all...]
H A DaudioDecoderAvBuffer.cpp104 static void OnStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnStreamChanged() argument
107 (void)format; in OnStreamChanged()
145 OH_AVFormat *format = nullptr; in AudioDecoderConfigure() local
146 format = OH_AVFormat_Create(); in AudioDecoderConfigure()
147 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, DEFAULT_SAMPLERATE); in AudioDecoderConfigure()
148 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITRATE, DEFAULT_BITRATE); in AudioDecoderConfigure()
149 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, DEFAULT_CHANNEL_COUNT); in AudioDecoderConfigure()
150 OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, DEFAULT_MAX_INPUT_SIZE); in AudioDecoderConfigure()
151 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, DEFAULT_AAC_TYPE); in AudioDecoderConfigure()
153 return TestInitAVErrCode(env, OH_AudioCodec_Configure(audioDec, format)); in AudioDecoderConfigure()
158 OH_AVFormat *format = nullptr; AudioDecoderPrepare() local
175 OH_AVFormat *format = nullptr; AudioDecoderStart() local
198 OH_AVFormat *format = nullptr; AudioDecoderStop() local
223 OH_AVFormat *format = nullptr; AudioDecoderFlush() local
249 OH_AVFormat *format = nullptr; AudioDecoderReset() local
275 OH_AVFormat *format = nullptr; AudioDecoderGetOutputDescription() local
302 OH_AVFormat *format = nullptr; AudioDecoderSetParameter() local
332 OH_AVFormat *format = nullptr; AudioDecoderIsValid() local
400 OH_AVFormat *format = nullptr; OHAudioDecoderStartAnormal() local
423 OH_AVFormat *format = nullptr; OHAudioDecoderStartBnormal() local
446 OH_AVFormat *format = nullptr; OHAudioDecoderStartCnormal() local
466 OH_AVFormat *format = nullptr; OHAudioDecoderStopAnormal() local
491 OH_AVFormat *format = nullptr; OHAudioDecoderStopBnormal() local
516 OH_AVFormat *format = nullptr; OHAudioDecoderStopCnormal() local
538 OH_AVFormat *format = nullptr; OHAudioDecoderFlushAnormal() local
564 OH_AVFormat *format = nullptr; OHAudioDecoderFlushBnormal() local
590 OH_AVFormat *format = nullptr; OHAudioDecoderFlushCnormal() local
613 OH_AVFormat *format = nullptr; OHAudioDecoderResetAnormal() local
639 OH_AVFormat *format = nullptr; OHAudioDecoderResetBnormal() local
665 OH_AVFormat *format = nullptr; OHAudioDecoderResetCnormal() local
688 OH_AVFormat *format = nullptr; OHAudioDecoderGetOutputDescriptionAnormal() local
715 OH_AVFormat *format = nullptr; OHAudioDecoderGetOutputDescriptionBnormal() local
742 OH_AVFormat *format = nullptr; OHAudioDecoderGetOutputDescriptionCnormal() local
766 OH_AVFormat *format = nullptr; OHAudioDecoderSetParameterAnormal() local
795 OH_AVFormat *format = nullptr; OHAudioDecoderSetParameterBnormal() local
824 OH_AVFormat *format = nullptr; OHAudioDecoderSetParameterCnormal() local
851 OH_AVFormat *format = nullptr; OHAudioDecoderIsValidAnormal() local
881 OH_AVFormat *format = nullptr; OHAudioDecoderIsValidBnormal() local
911 OH_AVFormat *format = nullptr; OHAudioDecoderIsValidCnormal() local
939 OH_AVFormat *format = nullptr; OHAudioDecoderPushInputBuffer() local
972 OH_AVFormat *format = nullptr; OHAudioDecoderFreeOutputBuffer() local
1056 OH_AVFormat *format = nullptr; OHAudioDecoderViVid() local
[all...]
H A DaudioEncoderAvBuffer.cpp111 static void OnStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnStreamChanged() argument
114 (void)format; in OnStreamChanged()
159 OH_AVFormat *format = nullptr; in AudioEncoderConfigure() local
160 format = OH_AVFormat_Create(); in AudioEncoderConfigure()
161 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, DEFAULT_CHANNEL_COUNT); in AudioEncoderConfigure()
162 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, DEFAULT_SAMPLERATE); in AudioEncoderConfigure()
163 OH_AVFormat_SetLongValue(format, OH_MD_KEY_BITRATE, DEFAULT_BITRATE); in AudioEncoderConfigure()
164 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, BITS_PER_CODED_SAMPLE); in AudioEncoderConfigure()
165 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, SAMPLE_FORMAT); in AudioEncoderConfigure()
166 OH_AVFormat_SetLongValue(format, OH_MD_KEY_CHANNEL_LAYOU in AudioEncoderConfigure()
183 OH_AVFormat *format = nullptr; AudioEncoderPrepare() local
207 OH_AVFormat *format = nullptr; AudioEncoderStart() local
232 OH_AVFormat *format = nullptr; AudioEncoderStop() local
259 OH_AVFormat *format = nullptr; AudioEncoderFlush() local
287 OH_AVFormat *format = nullptr; AudioEncoderReset() local
314 OH_AVFormat *format = nullptr; AudioEncoderGetOutputDescription() local
342 OH_AVFormat *format = nullptr; AudioEncoderSetParameter() local
375 OH_AVFormat *format = nullptr; AudioEncoderIsValid() local
[all...]
H A Daudioencoderxdlndk.cpp109 static void OnStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnStreamChanged() argument
112 (void)format; in OnStreamChanged()
161 OH_AVFormat *format = nullptr; in AudioEncoderConfigure() local
162 format = OH_AVFormat_Create(); in AudioEncoderConfigure()
163 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, DEFAULT_CHANNEL_COUNT); in AudioEncoderConfigure()
164 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, DEFAULT_SAMPLERATE); in AudioEncoderConfigure()
165 OH_AVFormat_SetLongValue(format, OH_MD_KEY_BITRATE, DEFAULT_BITRATE); in AudioEncoderConfigure()
166 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, BITS_PER_CODED_SAMPLE); in AudioEncoderConfigure()
167 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, SAMPLE_FORMAT); in AudioEncoderConfigure()
168 OH_AVFormat_SetLongValue(format, OH_MD_KEY_CHANNEL_LAYOU in AudioEncoderConfigure()
185 OH_AVFormat *format = nullptr; AudioEncoderPrepare() local
209 OH_AVFormat *format = nullptr; AudioEncoderStart() local
234 OH_AVFormat *format = nullptr; AudioEncoderStop() local
261 OH_AVFormat *format = nullptr; AudioEncoderFlush() local
289 OH_AVFormat *format = nullptr; AudioEncoderReset() local
316 OH_AVFormat *format = nullptr; AudioEncoderGetOutputDescription() local
344 OH_AVFormat *format = nullptr; AudioEncoderSetParameter() local
376 OH_AVFormat *format = nullptr; AudioEncoderIsValid() local
[all...]
H A Dvideoencoderndk.cpp188 static void OnStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnStreamChanged() argument
191 (void)format; in OnStreamChanged()
324 OH_AVFormat *format = nullptr; in OHVideoEncoderConfigure() local
325 format = OH_AVFormat_Create(); in OHVideoEncoderConfigure()
326 OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in OHVideoEncoderConfigure()
327 OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in OHVideoEncoderConfigure()
328 OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, DEFAULT_PIXELFORMAT); in OHVideoEncoderConfigure()
330 checkParam = OH_VideoEncoder_Configure(videoEnc, format); in OHVideoEncoderConfigure()
345 OH_AVFormat *format = nullptr; in OHVideoEncoderConfigureHEVC() local
346 format in OHVideoEncoderConfigureHEVC()
366 OH_AVFormat *format = nullptr; OHVideoEncoderConfigureAbnormal1() local
387 OH_AVFormat *format = nullptr; OHVideoEncoderConfigureAbnormal2() local
408 OH_AVFormat *format = nullptr; OHVideoEncoderConfigureAbnormal3() local
429 OH_AVFormat *format = nullptr; OHVideoEncoderConfigureAbnormal4() local
450 OH_AVFormat *format = nullptr; OHVideoEncoderConfigureAbnormal5() local
471 OH_AVFormat *format = nullptr; OHVideoEncoderConfigureAbnormal6() local
492 OH_AVFormat *format = nullptr; OHVideoEncoderConfigureAbnormal7() local
513 OH_AVFormat *format = nullptr; OHVideoEncoderPrepare() local
535 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareHEVC() local
557 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal1() local
579 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal2() local
601 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal3() local
623 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal4() local
645 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal5() local
667 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal6() local
689 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal7() local
711 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal8() local
733 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal9() local
755 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal10() local
777 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal11() local
799 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal12() local
821 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal13() local
843 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal14() local
865 OH_AVFormat *format = nullptr; OHVideoEncoderPrepareAbnormal15() local
904 OH_AVFormat *format = nullptr; OHVideoEncoderStart() local
981 OH_AVFormat *format = nullptr; OHVideoEncoderStop() local
1063 OH_AVFormat *format = nullptr; OHVideoEncoderFlush() local
1146 OH_AVFormat *format = nullptr; OHVideoEncoderReset() local
1227 OH_AVFormat *format = nullptr; OHVideoEncoderGetOutputDescription() local
1289 OH_AVFormat *format = nullptr; OHVideoEncoderSetParameter() local
1315 OH_AVFormat *format = nullptr; OHVideoEncoderSetParameterHEVC() local
1341 OH_AVFormat *format = nullptr; OHVideoEncoderSetParameterAbnormal() local
[all...]
H A Dvideodecoderndk.cpp111 static void OnStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnStreamChanged() argument
114 (void)format; in OnStreamChanged()
179 OH_AVFormat *format = nullptr; in OHVideoDecoderConfigure() local
180 format = OH_AVFormat_Create(); in OHVideoDecoderConfigure()
181 OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in OHVideoDecoderConfigure()
182 OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in OHVideoDecoderConfigure()
183 OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, DEFAULT_PIXELFORMAT); in OHVideoDecoderConfigure()
185 checkParam = OH_VideoDecoder_Configure(videoDec, format); in OHVideoDecoderConfigure()
188 OH_AVFormat_Destroy(format); in OHVideoDecoderConfigure()
201 OH_AVFormat *format in OHVideoDecoderPrepare() local
241 OH_AVFormat *format = nullptr; OHVideoDecoderStart() local
318 OH_AVFormat *format = nullptr; OHVideoDecoderStop() local
401 OH_AVFormat *format = nullptr; OHVideoDecoderFlush() local
466 OH_AVFormat *format = nullptr; OHVideoDecoderReset() local
492 OH_AVFormat *format = nullptr; OHVideoDecoderGetOutputDescription() local
519 OH_AVFormat *format = nullptr; OHVideoDecoderSetParameter() local
548 OH_AVFormat *format = nullptr; OHVideoDecoderPushInputData() local
[all...]
/test/xts/acts/multimedia/av_codec/audio_decoder/src/
H A Dparam_check_test.cpp160 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local
168 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F()
172 format = OH_AVFormat_Create(); in HWTEST_F()
176 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F()
180 format = OH_AVFormat_Create(); in HWTEST_F()
184 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F()
188 format = OH_AVFormat_Create(); in HWTEST_F()
192 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F()
207 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local
215 result0 = aDecBufferDemo->Configure(codec, format, channe in HWTEST_F()
334 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
381 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
484 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
531 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
634 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
673 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
712 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
751 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
790 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
829 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
868 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
903 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
[all...]
H A Dstatus_check_test.cpp55 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local
60 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F()
196 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local
205 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F()
206 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F()
220 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local
229 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F()
244 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local
254 result0 = aDecBufferDemo->Configure(codec, format, channel, sampleRate); in HWTEST_F()
270 OH_AVFormat *format in HWTEST_F() local
297 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
321 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
345 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
369 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
392 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
418 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
444 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
472 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
501 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
527 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
553 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
579 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
604 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
634 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
664 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
695 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
727 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
757 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
787 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
817 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
846 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
876 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
906 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
937 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
969 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
999 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1029 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1059 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1088 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1116 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1144 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1174 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1204 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1232 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1260 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1288 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1315 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1343 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1371 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1401 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1431 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1459 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1487 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1515 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1543 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
[all...]
/test/xts/acts/multimedia/av_codec/vcodec/encoder/src/
H A Dapi_test.cpp37 OH_AVFormat *format; member
106 if (format != nullptr) { in TearDown()
107 OH_AVFormat_Destroy(format); in TearDown()
108 format = nullptr; in TearDown()
253 format = OH_AVFormat_Create(); in HWTEST_F()
254 ASSERT_NE(nullptr, format); in HWTEST_F()
255 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITRATE, 100000); in HWTEST_F()
256 ret = OH_VideoEncoder_Configure(venc_, format); in HWTEST_F()
315 format = OH_VideoEncoder_GetOutputDescription(nullptr); in HWTEST_F()
316 ASSERT_EQ(format, nullpt in HWTEST_F()
[all...]
H A Dvideoenc_api11_sample.cpp62 static void VencFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in VencFormatChanged() argument
126 OH_AVFormat *format = OH_AVBuffer_GetParameter(buffer); in DumpLtrInfo() local
129 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PER_FRAME_IS_LTR, &isLtr); in DumpLtrInfo()
130 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PER_FRAME_POC, &framePoc); in DumpLtrInfo()
153 OH_AVFormat *format = OH_AVFormat_Create(); in ConfigureVideoEncoder() local
154 if (format == nullptr) { in ConfigureVideoEncoder()
155 cout << "Fatal: Failed to create format" << endl; in ConfigureVideoEncoder()
158 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in ConfigureVideoEncoder()
159 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in ConfigureVideoEncoder()
160 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMA in ConfigureVideoEncoder()
179 OH_AVFormat *format = OH_AVFormat_Create(); ConfigureVideoEncoder_Temporal() local
213 OH_AVFormat *format = OH_AVFormat_Create(); ConfigureVideoEncoder_fuzz() local
309 OH_AVFormat *format = OH_AVFormat_Create(); testApi() local
345 OH_AVFormat *format = OH_VideoEncoder_GetInputDescription(venc_); GetStride() local
598 OH_AVFormat *format = OH_AVFormat_Create(); AutoSwitchParam() local
616 OH_AVFormat *format = OH_AVFormat_Create(); AutoSwitchParam() local
654 OH_AVFormat *format = OH_AVFormat_Create(); SetForceIDR() local
665 OH_AVFormat *format = OH_AVFormat_Create(); SetLTRParameter() local
688 OH_AVFormat *format = OH_AVFormat_Create(); SetBufferParameter() local
698 OH_AVFormat *format = OH_AVFormat_Create(); SetBufferParameter() local
958 SetParameter(OH_AVFormat *format) SetParameter() argument
[all...]
H A Dfunc_test.cpp36 OH_AVFormat *format; member
85 if (format != nullptr) { in TearDown()
86 OH_AVFormat_Destroy(format); in TearDown()
87 format = nullptr; in TearDown()
188 * @tc.name : set color format
195 format = OH_AVFormat_Create(); in HWTEST_F()
196 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_RANGE_FLAG, 1)); in HWTEST_F()
197 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_COLOR_PRIMARIES, OH_ColorPrimary::COLOR_PRIMARY_BT709)); in HWTEST_F()
198 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_TRANSFER_CHARACTERISTICS, in HWTEST_F()
200 ASSERT_EQ(true, OH_AVFormat_SetIntValue(format, OH_MD_KEY_MATRIX_COEFFICIENT in HWTEST_F()
[all...]
H A Dvideoenc_ndk_sample.cpp67 static void VencFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in VencFormatChanged() argument
134 OH_AVFormat *format = OH_AVFormat_Create(); in ConfigureVideoEncoder() local
135 if (format == nullptr) { in ConfigureVideoEncoder()
136 cout << "Fatal: Failed to create format" << endl; in ConfigureVideoEncoder()
139 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in ConfigureVideoEncoder()
140 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in ConfigureVideoEncoder()
141 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, DEFAULT_PIX_FMT); in ConfigureVideoEncoder()
142 (void)OH_AVFormat_SetDoubleValue(format, OH_MD_KEY_FRAME_RATE, DEFAULT_FRAME_RATE); in ConfigureVideoEncoder()
143 (void)OH_AVFormat_SetLongValue(format, OH_MD_KEY_BITRATE, DEFAULT_BITRATE); in ConfigureVideoEncoder()
144 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_I_FRAME_INTERVA in ConfigureVideoEncoder()
156 OH_AVFormat *format = OH_AVFormat_Create(); ConfigureVideoEncoder_Temporal() local
187 OH_AVFormat *format = OH_AVFormat_Create(); ConfigureVideoEncoder_fuzz() local
275 OH_AVFormat *format = OH_AVFormat_Create(); testApi() local
311 OH_AVFormat *format = OH_VideoEncoder_GetInputDescription(venc_); GetStride() local
576 OH_AVFormat *format = OH_AVFormat_Create(); AutoSwitchParam() local
592 OH_AVFormat *format = OH_AVFormat_Create(); AutoSwitchParam() local
625 OH_AVFormat *format = OH_AVFormat_Create(); SetForceIDR() local
916 SetParameter(OH_AVFormat *format) SetParameter() argument
[all...]
/test/xts/acts/arkui/libuv/
H A Dgenlocal.py69 suiteitemcap = "{}{}".format(suiteitem[:1].upper(), suiteitem[1:])
72 hapdirpath = "{}{}".format(G_HAPDIRPATH, suiteitem.lower())
74 run_cmd(r"rm -rf {}".format(hapdirpath))
75 run_cmd(r"cp {} {} -r".format(G_TMPDIRPATH, hapdirpath))
77 run_cmd(r"cp {} {} -r".format(G_TMPDIRPATH, hapdirpath))
79 mustpass = os.path.join(G_MUSTPASSPATH, "{}{}".format(suiteitem, G_MUSTPASSFILE))
98 casenamecap = "{}{}".format(casename[:1].upper(), casename[1:])
99 pagenametext = "{}-{}".format(suitename, casenamecap)
100 pagefilename = os.path.join(hapdirpath, G_PATHDIRPATH, "{}.ets".format(suitename))
107 run_cmd(r"sed -i '{}a {}' {}".format(in
[all...]
/test/xts/acts/multimedia/av_codec/audio_encoder/src/
H A Dparam_check_test.cpp110 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local
122 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F()
127 format = OH_AVFormat_Create(); in HWTEST_F()
131 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F()
136 format = OH_AVFormat_Create(); in HWTEST_F()
140 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F()
145 format = OH_AVFormat_Create(); in HWTEST_F()
149 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F()
165 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local
177 result0 = audioBufferAacEncDemo->Configure(codec, format, channe in HWTEST_F()
247 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
284 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
312 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
367 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
413 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
459 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
514 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
542 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
597 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
649 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
701 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
[all...]
H A Davcodec_audio_avbuffer_encoder_demo.cpp156 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument
159 (void)format; in OnOutputFormatChanged()
229 OH_AVFormat *format = OH_AVFormat_Create(); in RunCase() local
234 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), CHANNEL_COUNT); in RunCase()
235 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in RunCase()
236 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); in RunCase()
243 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), channels_); in RunCase()
244 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), sampleRate_); in RunCase()
245 OH_AVFormat_SetLongValue(format, MediaDescriptionKey::MD_KEY_BITRATE.data(), bitrate); in RunCase()
246 OH_AVFormat_SetIntValue(format, MediaDescriptionKe in RunCase()
331 Configure(OH_AVFormat *format) Configure() argument
580 Configure(OH_AVCodec *codec, OH_AVFormat *format, int32_t channel, int32_t sampleRate, int64_t bitRate, int32_t sampleFormat, int32_t sampleBit, int32_t complexity) Configure() argument
743 SetParameter(OH_AVCodec *codec, OH_AVFormat *format, int32_t channel, int32_t sampleRate, int64_t bitRate, int32_t sampleFormat, int32_t sampleBit, int32_t complexity) SetParameter() argument
[all...]
H A Dstatus_check_test.cpp55 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local
64 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F()
201 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local
214 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F()
216 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F()
231 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local
244 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F()
260 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local
274 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F()
291 OH_AVFormat *format in HWTEST_F() local
323 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
352 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
381 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
410 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
438 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
470 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
501 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
534 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
568 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
599 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
630 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
661 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
691 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
727 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
762 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
798 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
835 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
870 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
905 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
940 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
974 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1010 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1045 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1081 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1118 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1153 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1188 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1223 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1257 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1291 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1324 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1359 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1395 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1428 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1461 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1494 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1526 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1560 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1593 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1628 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1664 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1697 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1730 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1763 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
1796 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
[all...]
/test/xts/acts/multimedia/av_codec/vcodec/swdecoder/src/
H A Dapi_test.cpp67 OH_AVFormat *format; member
76 if (format != nullptr) { in TearDown()
77 OH_AVFormat_Destroy(format); in TearDown()
78 format = nullptr; in TearDown()
194 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local
195 ASSERT_NE(NULL, format); in HWTEST_F()
196 ASSERT_EQ(AV_ERR_INVALID_VAL, OH_VideoDecoder_Configure(NULL, format)); in HWTEST_F()
206 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local
207 ASSERT_NE(NULL, format); in HWTEST_F()
210 (void)OH_AVFormat_SetIntValue(format, widthSt in HWTEST_F()
221 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
313 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
503 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
527 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
552 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
578 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
605 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
638 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
664 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
722 OH_AVFormat *format = OH_VideoDecoder_GetOutputDescription(vdec_); HWTEST_F() local
738 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
[all...]
/test/xts/acts/multimedia/av_codec/vcodec/hwdecoder/src/
H A Dapi_test.cpp57 OH_AVFormat *format; member
76 if (format != nullptr) { in TearDown()
77 OH_AVFormat_Destroy(format); in TearDown()
78 format = nullptr; in TearDown()
202 format = OH_AVFormat_Create(); in HWTEST_F()
203 ASSERT_NE(NULL, format); in HWTEST_F()
204 ASSERT_EQ(AV_ERR_INVALID_VAL, OH_VideoDecoder_Configure(NULL, format)); in HWTEST_F()
214 format = OH_AVFormat_Create(); in HWTEST_F()
215 ASSERT_NE(NULL, format); in HWTEST_F()
217 (void)OH_AVFormat_SetIntValue(format, widthSt in HWTEST_F()
[all...]
/test/xts/acts/pcs/pcs_ndk/entry/src/main/cpp/
H A DpcsAudioTest.cpp49 OH_AVFormat *format = nullptr; in AudioDecoderFlushFirst() local
50 format = OH_AVFormat_Create(); in AudioDecoderFlushFirst()
51 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, DEFAULT_SAMPLERATE); in AudioDecoderFlushFirst()
52 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITRATE, DEFAULT_BITRATE_MIN); in AudioDecoderFlushFirst()
53 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, DEFAULT_CHANNEL_COUNT_ONE); in AudioDecoderFlushFirst()
54 OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, DEFAULT_MAX_INPUT_SIZE); in AudioDecoderFlushFirst()
55 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, DEFAULT_AAC_TYPE); in AudioDecoderFlushFirst()
57 OH_AudioCodec_Configure(audioDec, format); in AudioDecoderFlushFirst()
75 OH_AVFormat *format = nullptr; in AudioDecoderFlushSecond() local
76 format in AudioDecoderFlushSecond()
[all...]
/test/testfwk/xdevice/src/xdevice/_core/testkit/
H A Dkit.py72 result = " {} class ".format(prefix_char)
74 result = " {} class ".format(prefix_char)
76 result = " {} class ".format(prefix_char)
81 test_item = "{}".format(test)
84 test_item = "{}#{}".format(test_item[1], test_item[2])
87 raise ParamError(ErrorMessage.Common.Code_0101031.format(prefix_char, para_name))
89 LOG.debug("There is unsolved prefix char: {} .".format(prefix_char))
104 path = "/{}/{}/{}".format("data", "local", "ajur")
105 include_file = "{}/{}".format(path, "includes.txt")
106 exclude_file = "{}/{}".format(pat
[all...]
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/
H A Ddevice.py85 UITEST_SHMF = "/data/app/el2/100/base/{}/cache/shmf".format(DEVICETEST_HAP_PACKAGE_NAME)
86 UITEST_COMMAND = "{} start-daemon 0123456789".format(UITEST_PATH)
104 LOG.debug("Device {} {} is false".format(self.device_sn,
126 self.log.error("error type: {}, error: {}".format
130 LOG.debug("{} not running, set device {} {} false".format(
135 callback_to_outer(self, "error:{}, prepare to recover".format(error))
137 LOG.debug("Set device {} {} false".format(
145 self.log.error("error type: {}, error: {}".format(error.__class__.__name__, error))
146 callback_to_outer(self, "error:{}, prepare to recover".format(error))
148 LOG.debug("Set device {} {} false".format(
[all...]
/test/xts/hats/hdf/display/buffer/unittest/
H A Ddisplay_buffer_ut.cpp53 .format = PIXEL_FMT_RGBX_8888
60 .format = PIXEL_FMT_RGBX_8888
67 .format = PIXEL_FMT_RGBX_8888
74 .format = PIXEL_FMT_RGBA_8888
81 .format = PIXEL_FMT_BGRA_8888
89 .format = PIXEL_FMT_YCBCR_420_SP
96 .format = PIXEL_FMT_YCRCB_420_SP
103 .format = PIXEL_FMT_YCBCR_420_P
110 .format = PIXEL_FMT_YCRCB_420_P
117 .format
[all...]
/test/xts/acts/kernel_lite/utils/
H A Dlog.h40 #define LOGD(format, ...) fprintf(stdout, "[%.06f] " format "\n", GetCurTime(), ##__VA_ARGS__)
41 #define LOG(format, ...) fprintf(stdout, "[%.06f] " format "\n", GetCurTime(), ##__VA_ARGS__)
44 #define LOG(format, ...) fprintf(stdout, format "\n", ##__VA_ARGS__)
47 #define LOGE(format, ...) fprintf(stdout, "\n%s:%d: " format "\n", __FILE__, __LINE__, ##__VA_ARGS__)
49 #define PANIC(format, ...) do { \
50 LOGE(format, ##__VA_ARGS_
[all...]
/test/xts/hats/kernel/posix_interface/interface_gn/utils/
H A Dlog.h36 #define LOGD(format, ...) fprintf(stdout, "[%.06f] " format "\n", GetCurTime(), ##__VA_ARGS__)
37 #define LOG(format, ...) fprintf(stdout, "[%.06f] " format "\n", GetCurTime(), ##__VA_ARGS__)
40 #define LOG(format, ...) fprintf(stdout, format "\n", ##__VA_ARGS__)
43 #define LOGE(format, ...) fprintf(stdout, "\n%s:%d: " format "\n", __FILE__, __LINE__, ##__VA_ARGS__)
45 #define PANIC(format, ...) do { \
46 LOGE(format, ##__VA_ARGS_
[all...]
/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/
H A Dkit_lite.py76 raise ParamError(ErrorMessage.Config.Code_0302007.format(self.timeout, self.burn_file))
83 command='AT+RST={}'.format(self.timeout))
88 "The exception {} happened in deploy kit running".format(
91 raise LiteDeviceError(ErrorMessage.Device.Code_0303019.format(cmd_com.serial_port))
107 raise LiteDeviceError(ErrorMessage.Config.Code_0302036.format(deploy_serial_port))
110 .format(new_temp_tool_path, port_number[0], patch_file,
112 LOG.info('The running cmd is {}'.format(cmd))
117 'output: {}'.format(return_code, out))
121 raise LiteDeviceError(ErrorMessage.Device.Code_0303019.format(deploy_serial_port))
161 .format(sel
[all...]

Completed in 25 milliseconds

12345678910>>...59