/foundation/multimedia/av_codec/test/fuzztest/audioencoderflush_fuzzer/ |
H A D | audio_encoder_flush_demo.cpp | 93 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument 96 (void)format; in OnOutputFormatChanged() 151 void AudioBufferAacEncDemo::Setformat(OH_AVFormat *format) in Setformat() argument 166 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_BITS_PER_CODED_SAMPLE.data(), BIT_PER_CODE_COUNT); in Setformat() 167 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_COMPLIANCE_LEVEL.data(), COMPLEXITY_COUNT); in Setformat() 178 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, OH_BitsPerSample::SAMPLE_S16LE); in Setformat() 190 OH_AVFormat_SetLongValue(format, OH_MD_KEY_CHANNEL_LAYOUT, channelLayout); in Setformat() 191 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), channelCount); in Setformat() 192 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), sampleRate); in Setformat() 193 OH_AVFormat_SetLongValue(format, MediaDescriptionKe in Setformat() 253 Configure(OH_AVFormat *format) Configure() argument [all...] |
/foundation/multimedia/av_codec/test/fuzztest/audioencoderdescription_fuzzer/ |
H A D | audio_encoder_description_demo.cpp | 93 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument 96 (void)format; in OnOutputFormatChanged() 151 void AudioBufferAacEncDemo::Setformat(OH_AVFormat *format) in Setformat() argument 166 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_BITS_PER_CODED_SAMPLE.data(), BIT_PER_CODE_COUNT); in Setformat() 167 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_COMPLIANCE_LEVEL.data(), COMPLEXITY_COUNT); in Setformat() 178 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, OH_BitsPerSample::SAMPLE_S16LE); in Setformat() 190 OH_AVFormat_SetLongValue(format, OH_MD_KEY_CHANNEL_LAYOUT, channelLayout); in Setformat() 191 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), channelCount); in Setformat() 192 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), sampleRate); in Setformat() 193 OH_AVFormat_SetLongValue(format, MediaDescriptionKe in Setformat() 253 Configure(OH_AVFormat *format) Configure() argument [all...] |
/test/xts/acts/multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/cpp/ |
H A D | nativeAVScreenCapturendk.cpp | 172 void OnStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnStreamChanged() argument 175 (void)format; in OnStreamChanged() 239 OH_AVFormat *format = OH_AVFormat_Create(); in NormalAVScreenCaptureSurfaceTest() local 240 OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in NormalAVScreenCaptureSurfaceTest() 241 OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in NormalAVScreenCaptureSurfaceTest() 242 OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, DEFAULT_PIXELFORMAT); in NormalAVScreenCaptureSurfaceTest() 243 OH_AVFormat_SetDoubleValue(format, OH_MD_KEY_FRAME_RATE, frameRate); in NormalAVScreenCaptureSurfaceTest() 244 OH_AVFormat_SetIntValue(format, OH_MD_KEY_RANGE_FLAG, rangeFlag); in NormalAVScreenCaptureSurfaceTest() 245 OH_AVFormat_SetIntValue(format, OH_MD_KEY_COLOR_PRIMARIES, primary); in NormalAVScreenCaptureSurfaceTest() 246 OH_AVFormat_SetIntValue(format, OH_MD_KEY_TRANSFER_CHARACTERISTIC in NormalAVScreenCaptureSurfaceTest() [all...] |
/foundation/ability/idl_tool/idl_tool_2/ |
H A D | build_hdi_files_info.py | 50 return "<{}:{}:{}: {},'{}'>".format(self.file_name, self.row, self.col, 54 return "{}:{}:{}".format(self.file_name, self.row, self.col) 249 "the gen_dir '{}' is empty, please check input".format( 257 "the package path '{}' is valid, please check input".format( 306 return "{}.{}".format(self.package, self.name) 375 raise Exception("{}: expected package name before '{}'".format( 417 raise Exception("{}: expected package name before '{}'".format( 421 raise Exception("{}: failed to parse package name '{}'".format( 430 cur_idl_detail.version = "{}.{}".format(major_version, minor_version) 438 raise Exception("{}: expected package name before '{}'".format( [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/ |
H A D | number_format_module.cpp | 31 jerry_value_t format = jerry_create_external_function(Format); in Init() local 33 JerrySetNamedProperty(baseObj, "format", format); in Init() 36 ReleaseJerryValue(constructor, format, baseObj, VA_ARG_END_FLAG); in Init() 100 HILOG_ERROR(HILOG_MODULE_ACE, "the args num in number format is error"); in Format() 101 return jerry_create_error(JERRY_ERROR_EVAL, reinterpret_cast<const jerry_char_t *>("format invalid value")); in Format() 118 HILOG_ERROR(HILOG_MODULE_ACE, "format number failed"); in Format() 129 NumberFormatModule *format = reinterpret_cast<NumberFormatModule *>(nativePointer); in DeleteNumberFormat() local 130 if (format != nullptr) { in DeleteNumberFormat() 131 delete format; in DeleteNumberFormat() [all...] |
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/ |
H A D | demuxer_log_compressor.cpp | 23 #include "meta/format.h" 97 std::string DemuxerLogCompressor::FormatTagSerialize(Format& format) in FormatTagSerialize() argument 100 auto meta = format.GetMeta(); in FormatTagSerialize() 106 switch (format.GetValueType(iter->first)) { in FormatTagSerialize() 139 OHOS::Media::Format format; in StringifyMeta() local 163 format.SetMeta(std::make_shared<Meta>(meta)); in StringifyMeta() 165 MEDIA_LOG_I("[source]: " PUBLIC_LOG_S, FormatTagSerialize(format).c_str()); in StringifyMeta() 167 MEDIA_LOG_I("[track " PUBLIC_LOG_D32 "]: " PUBLIC_LOG_S, trackIndex, FormatTagSerialize(format).c_str()); in StringifyMeta()
|
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/func_sample/mock/ |
H A D | vcodec_mock.h | 42 virtual void OnStreamChanged(std::shared_ptr<FormatMock> format) = 0; 51 virtual void OnStreamChanged(std::shared_ptr<FormatMock> format) = 0; 76 virtual int32_t Configure(std::shared_ptr<FormatMock> format) = 0; 83 virtual int32_t SetParameter(std::shared_ptr<FormatMock> format) = 0; 103 virtual int32_t Configure(std::shared_ptr<FormatMock> format) = 0; 111 virtual int32_t SetParameter(std::shared_ptr<FormatMock> format) = 0; 155 .format = GraphicPixelFormat::GRAPHIC_PIXEL_FMT_RGBA_8888,
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/codec_adapter/ |
H A D | codec_utils.cpp | 173 OMX_VIDEO_CODINGTYPE CodingTypeHstToHdi(const std::string& format) in CodingTypeHstToHdi() argument 175 if (compressHstOmx.find(format) != compressHstOmx.end()) { in CodingTypeHstToHdi() 176 return compressHstOmx.at(format); in CodingTypeHstToHdi() 189 OMX_COLOR_FORMATTYPE FormatHstToOmx(const VideoPixelFormat format) in FormatHstToOmx() argument 191 if (formatHstOmx.find(format) != formatHstOmx.end()) { in FormatHstToOmx() 192 return formatHstOmx.at(format); in FormatHstToOmx() 194 MEDIA_LOG_W("Unknow VideoPixelFormat: " PUBLIC_LOG_U32, static_cast<uint32_t>(format)); in FormatHstToOmx()
|
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/output/ |
H A D | camera_output_capability.h | 74 Profile(CameraFormat format, Size size); 75 Profile(CameraFormat format, Size size, int32_t specId); 76 Profile(CameraFormat format, Size size, Fps fps, std::vector<uint32_t> abilityId); 77 Profile(CameraFormat format, Size size, Fps fps, std::vector<uint32_t> abilityId, int32_t specId); 97 * @brief Get camera format of the profile. 99 * @return camera format of the profile. 129 VideoProfile(CameraFormat format, Size size, std::vector<int32_t> framerates); 130 VideoProfile(CameraFormat format, Size size, std::vector<int32_t> framerates, int32_t specId); 163 DepthProfile(CameraFormat format, DepthDataAccuracy dataAccuracy, Size size);
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | picture_ext_test.cpp | 84 int32_t format = PIXEL_FORMAT_NV12; in CreatePictureNative() local 85 OH_DecodingOptions_SetPixelFormat(opts, format); in CreatePictureNative() 150 * with the specified format hint. 199 option.format = "image/jpeg"; in HWTEST_F() 232 option.format = "image/jpeg"; in HWTEST_F() 257 option.format = "image/jpeg"; in HWTEST_F() 283 option.format = "image/jpeg"; in HWTEST_F() 315 option.format = "image/heif"; in HWTEST_F() 348 option.format = "image/heif"; in HWTEST_F() 374 option.format in HWTEST_F() 446 PixelFormat format= pixelmap->GetPixelFormat(); HWTEST_F() local 494 PixelFormat format= pixelmap->GetPixelFormat(); HWTEST_F() local 555 Image_MimeType format; HWTEST_F() local 611 Image_MimeType format; HWTEST_F() local [all...] |
/test/testfwk/xdevice/src/xdevice/_core/command/ |
H A D | console.py | 136 LOG.exception("Input Error: {}".format(error), 450 LOG.info("Input command: {}".format(convert_mac(args))) 513 raise ParamError(ErrorMessage.Common.Code_0101005.format(history_report_path)) 616 raise ParamError(ErrorMessage.Common.Code_0101006.format(value)) 651 print("{0:<16}{1:<50}{2:<50}".format( 659 print("{0:<16}{1:<50}{2:<50}".format( 671 print("{0:<16}{1:<100}".format("TaskId:", task_id)) 672 print("{0:<16}{1:<100}".format("Command:", command)) 673 print("{0:<16}{1:<100}".format("ReportPath:", report_path)) 705 print(two_segments.format(" [all...] |
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/Common/src/ |
H A D | AudioEncoderDemoCommon.cpp | 40 void OnOutputFormatChanged(OH_AVCodec* codec, OH_AVFormat* format, void* userData) in OnOutputFormatChanged() argument 43 (void)format; in OnOutputFormatChanged() 115 OH_AVErrCode AudioEncoderDemo::NativeConfigure(OH_AVCodec* codec, OH_AVFormat* format) in NativeConfigure() argument 117 return OH_AudioEncoder_Configure(codec, format); in NativeConfigure() 161 OH_AVErrCode AudioEncoderDemo::NativeSetParameter(OH_AVCodec* codec, OH_AVFormat* format) in NativeSetParameter() argument 163 return OH_AudioEncoder_SetParameter(codec, format); in NativeSetParameter() 470 void AudioEncoderDemo::NativeCreateToStart(const char* name, OH_AVFormat* format) in NativeCreateToStart() argument 480 OH_AVFormat_GetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, &inputBufSize); in NativeCreateToStart() 483 OH_AVFormat_GetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, &channels); in NativeCreateToStart() 493 result = OH_AudioEncoder_Configure(audioEnc_, format); in NativeCreateToStart() 539 NativeRunCase(std::string inputFile, std::string outputFile, const char* name, OH_AVFormat* format) NativeRunCase() argument 561 NativeRunCaseWithoutCreate(OH_AVCodec* handle, std::string inputFile, std::string outputFile, OH_AVFormat* format, const char* name, bool needConfig) NativeRunCaseWithoutCreate() argument 619 NativeRunCasePerformance(std::string inputFile, std::string outputFile, const char* name, OH_AVFormat* format) NativeRunCasePerformance() argument 646 NativeRunCaseFlush(std::string inputFile, std::string outputFileFirst, std::string outputFileSecond, const char* name, OH_AVFormat* format) NativeRunCaseFlush() argument 682 NativeRunCaseReset(std::string inputFile, std::string outputFileFirst, std::string outputFileSecond, const char* name, OH_AVFormat* format) NativeRunCaseReset() argument 729 NativeRunCaseGetOutputDescription(std::string inputFile, std::string outputFile, const char* name, OH_AVFormat* format) NativeRunCaseGetOutputDescription() argument 804 TestRunCase(std::string inputFile, std::string outputFile, const char* name, OH_AVFormat* format) TestRunCase() argument 887 InnerConfigure(const Format& format) InnerConfigure() argument 995 InnerSetParameter(const Format& format) InnerSetParameter() argument 1020 InnerGetOutputFormat(Format& format) InnerGetOutputFormat() argument 1175 InnerCreateToStart(const std::string& name, Format& format) InnerCreateToStart() argument 1239 InnerRunCase(std::string inputFile, std::string outputFile, const std::string& name, Format& format) InnerRunCase() argument 1260 InnerRunCaseFlush(std::string inputFile, std::string outputFileFirst, std::string outputFileSecond, const std::string& name, Format& format) InnerRunCaseFlush() argument 1297 InnerRunCaseReset(std::string inputFile, std::string outputFileFirst, std::string outputFileSecond, const std::string& name, Format& format) InnerRunCaseReset() argument 1357 OnOutputFormatChanged(const Format& format) OnOutputFormatChanged() argument [all...] |
/foundation/CastEngine/castengine_wifi_display/services/interaction/scene/ |
H A D | scene_format.cpp | 264 bool SceneFormatParcel::Marshalling(MessageParcel &parcel, const SceneFormat &format) in Marshalling() argument 267 auto dataMap = format.GetFormatMap(); in Marshalling() 314 bool SceneFormatParcel::Unmarshalling(MessageParcel &parcel, SceneFormat &format) in Unmarshalling() argument 323 (void)format.PutUint16Value(key, parcel.ReadUint16()); in Unmarshalling() 326 (void)format.PutBoolValue(key, parcel.ReadBool()); in Unmarshalling() 329 (void)format.PutIntValue(key, parcel.ReadInt32()); in Unmarshalling() 332 (void)format.PutUint32Value(key, parcel.ReadUint32()); in Unmarshalling() 335 (void)format.PutInt64Value(key, parcel.ReadInt64()); in Unmarshalling() 338 (void)format.PutUint64Value(key, parcel.ReadUint64()); in Unmarshalling() 341 (void)format in Unmarshalling() [all...] |
/foundation/multimedia/audio_framework/services/audio_service/server/src/ |
H A D | none_mix_engine.cpp | 365 HdiAdapterFormat NoneMixEngine::GetDirectDeviceFormate(AudioSampleFormat format) in GetDirectDeviceFormate() argument 367 switch (format) { in GetDirectDeviceFormate() 381 int32_t NoneMixEngine::GetDirectFormatByteSize(HdiAdapterFormat format) in GetDirectFormatByteSize() argument 383 switch (format) { in GetDirectFormatByteSize() 397 HdiAdapterFormat format = GetDirectDeviceFormate(streamInfo.format); in InitSink() local 401 if (uChannel_ != targetChannel || uFormat_ != format || sampleRate != uSampleRate_) { in InitSink() 411 return InitSink(targetChannel, format, sampleRate); in InitSink() 414 int32_t NoneMixEngine::InitSink(uint32_t channel, HdiAdapterFormat format, uint32_t rate) in InitSink() argument 425 attr.format in InitSink() [all...] |
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_decoder/ |
H A D | ffmpeg_base_decoder.cpp | 218 int32_t bytePerSample = av_get_bytes_per_sample(static_cast<AVSampleFormat>(outFrame->format)); in ReceiveFrameSucc() 287 Status FfmpegBaseDecoder::InitContext(const std::shared_ptr<Meta> &format) in InitContext() argument 289 format->GetData(Tag::AUDIO_CHANNEL_COUNT, avCodecContext_->channels); in InitContext() 290 format->GetData(Tag::AUDIO_SAMPLE_RATE, avCodecContext_->sample_rate); in InitContext() 291 format->GetData(Tag::MEDIA_BITRATE, avCodecContext_->bit_rate); in InitContext() 293 format->GetData(Tag::AUDIO_CHANNEL_LAYOUT, channelLayout); in InitContext() 311 format->GetData(Tag::AUDIO_MAX_INPUT_SIZE, maxInputSize_); in InitContext() 313 Status ret = SetCodecExtradata(format); in InitContext() 320 *format_ = *format; in InitContext() 412 bool FfmpegBaseDecoder::CheckSampleFormat(const std::shared_ptr<Meta> &format, int32_ argument 450 SetCodecExtradata(const std::shared_ptr<Meta> &format) SetCodecExtradata() argument [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/node/ |
H A D | render_node_create_gpu_images.cpp | 42 if (desc.format == defDesc.format) { in GetDependencyList() 43 depList.format = true; in GetDependencyList() 59 depList.format = true; in GetDependencyList() 82 if (dependencyList.format && (desc.format != dependencyDesc.format)) { in CheckForDescUpdates() 84 desc.format = dependencyDesc.format; in CheckForDescUpdates() 133 const FormatProperties formatProperties = gpuResourceMgr.GetFormatProperties(desc.format); in CheckFormat() [all...] |
/foundation/multimedia/av_codec/test/nativedemo/audio_demo/ |
H A D | avcodec_audio_avbuffer_flac_encoder_demo.cpp | 61 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData)
in OnOutputFormatChanged() argument 64 (void)format;
in OnOutputFormatChanged() 105 OH_AVFormat *format = OH_AVFormat_Create();
in RunCase() local 106 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), CHANNEL_COUNT);
in RunCase() 107 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE);
in RunCase() 108 OH_AVFormat_SetLongValue(format, MediaDescriptionKey::MD_KEY_BITRATE.data(), BITS_RATE);
in RunCase() 109 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_BITS_PER_CODED_SAMPLE.data(), BITS_PER_CODED_SAMPLE);
in RunCase() 110 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT);
in RunCase() 111 OH_AVFormat_SetLongValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT.data(), CHANNEL_LAYOUT);
in RunCase() 112 OH_AVFormat_SetIntValue(format, MediaDescriptionKe in RunCase() 158 Configure(OH_AVFormat *format) Configure() argument [all...] |
H A D | avcodec_audio_flac_encoder_demo.cpp | 58 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument 61 (void)format; in OnOutputFormatChanged() 96 OH_AVFormat *format = OH_AVFormat_Create(); in RunCase() local 97 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), CHANNEL_COUNT); in RunCase() 98 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in RunCase() 99 OH_AVFormat_SetLongValue(format, MediaDescriptionKey::MD_KEY_BITRATE.data(), BITS_RATE); in RunCase() 100 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_BITS_PER_CODED_SAMPLE.data(), BITS_PER_CODED_SAMPLE); in RunCase() 101 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); in RunCase() 102 OH_AVFormat_SetLongValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT.data(), CHANNEL_LAYOUT); in RunCase() 103 OH_AVFormat_SetIntValue(format, MediaDescriptionKe in RunCase() 147 Configure(OH_AVFormat *format) Configure() argument [all...] |
/foundation/multimedia/image_effect/frameworks/native/capi/ |
H A D | native_common_utils.cpp | 144 [&ohFormatType](const std::pair<IEffectFormat, ImageEffect_Format> &format) { in SwitchToFormatType() 145 return format.second == ohFormatType; in SwitchToFormatType() 171 for (const auto &format : effectInfo->formats_) { in SwitchToOHEffectInfo() 172 for (auto ipType : format.second) { in SwitchToOHEffectInfo() 182 SwitchToOHFormatType(format.first, ohFormatType); in SwitchToOHEffectInfo() 216 [&formatType](const std::pair<IEffectFormat, std::vector<IPType>> &format) { in IsMatchLookupCondition() 217 return formatType == format.first; in IsMatchLookupCondition() 289 for (const auto &format: FORMAT_TABLE) { in SwitchToEffectInfo() 290 ImageEffect_Format ohFormat = format.second; in SwitchToEffectInfo() 293 effectInfo->formats_.emplace(format in SwitchToEffectInfo() [all...] |
/foundation/ability/idl_tool/test/hdi_unittest/base/ |
H A D | test_base.py | 43 self.command = self._command_format.format(self._idl, self._system_attr, self._mode_attr, 96 self.command = self._command_format.format(self._idl, self._system_attr, self._mode_attr, 104 hash_command = self._hash_command_format.format(self._idl, self._package_path, 109 dump_ast_command = self._dump_ast_command_format.format(self._idl, self._package_path, self._command_attr, 215 exec_command("rm -rf {}".format(self.output_dir)) 221 self.command = "".join((self.command, " -c {}".format(idl))) 224 print_success("[ RUN ] {}".format(self.name)) 230 print_success("[ OK ] {} ({}ms)".format(self.name, end_time - start_time)) 232 print_failure("[ FAILED ] {} ({}ms)".format(self.name, end_time - start_time))
|
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/ |
H A D | log.h | 184 FORMAT_ATTRIBUTE const char* format, ...) in Log() 189 va_start(vl, format); in Log() 190 logger->VLog(logLevel, filename, lineNumber, format, vl); in Log() 196 const BASE_NS::string_view filename, int lineNumber, FORMAT_ATTRIBUTE const char* format, ...) in LogOnce() 201 va_start(vl, format); in LogOnce() 202 logger->VLogOnce(id, logLevel, filename, lineNumber, format, vl); in LogOnce() 208 const BASE_NS::string_view expressionString, FORMAT_ATTRIBUTE const char* format, ...) in LogAssert() 213 va_start(vl, format); in LogAssert() 214 logger->VLogAssert(filename, lineNumber, expression, expressionString, format, vl); in LogAssert() 183 Log(ILogger::LogLevel logLevel, const BASE_NS::string_view filename, int lineNumber, FORMAT_ATTRIBUTE const char* format, ...) Log() argument 195 LogOnce(const BASE_NS::string_view id, ILogger::LogLevel logLevel, const BASE_NS::string_view filename, int lineNumber, FORMAT_ATTRIBUTE const char* format, ...) LogOnce() argument 207 LogAssert(const BASE_NS::string_view filename, int lineNumber, bool expression, const BASE_NS::string_view expressionString, FORMAT_ATTRIBUTE const char* format, ...) LogAssert() argument
|
/test/testfwk/xdevice/src/xdevice/_core/executor/ |
H A D | listener.py | 67 .format(test_result.suite_name, test_result.test_num)) 71 .format(test_result.test_class, test_result.test_name)) 81 .format(test_result.run_time)) 83 .format(test_result.suite_name)) 86 .format(test_result.test_class, test_result.test_name)) 90 .format(test_result.current, self.test_num, convert_serial(self.device_sn), 94 .format(test_result.current, convert_serial(self.device_sn), 104 LOG.debug("Test suite [{}] skipped".format(test_result.suite_name)) 107 LOG.debug("[{}] {}#{}".format(ret, test_result.test_class,
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/mtp_native_test/src/ |
H A D | mtp_native_test.cpp | 61 context->format = MTP_FORMAT_EXIF_JPEG_CODE; in HWTEST_F() 87 context->format = MTP_FORMAT_EXIF_JPEG_CODE; in HWTEST_F() 114 context->format = MTP_FORMAT_EXIF_JPEG_CODE; in HWTEST_F() 141 context->format = MTP_FORMAT_ASSOCIATION_CODE; in HWTEST_F() 167 context->format = MTP_FORMAT_MP4_CONTAINER_CODE; in HWTEST_F() 193 context->format = MTP_FORMAT_MP4_CONTAINER_CODE; in HWTEST_F() 220 context->format = MTP_FORMAT_MP4_CONTAINER_CODE; in HWTEST_F() 246 context->format = MTP_FORMAT_MP3_CODE; in HWTEST_F() 272 context->format = MTP_FORMAT_MP3_CODE; in HWTEST_F() 299 context->format in HWTEST_F() 2041 uint16_t format = 12287U; HWTEST_F() local [all...] |
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | mesh_builder.cpp | 123 Format format; member 131 BASE_NS::Format format; member 412 constexpr const FormatProperties& GetFormatSpec(Format format) in GetFormatSpec() argument 416 [](const FormatProperties& lhs, const FormatProperties& rhs) { return lhs.format < rhs.format; })); in GetFormatSpec() 418 if (auto pos = LowerBound(std::begin(DATA_FORMATS), std::end(DATA_FORMATS), format, in GetFormatSpec() 419 [](const FormatProperties& element, Format value) { return element.format < value; }); in GetFormatSpec() 420 (pos != std::end(DATA_FORMATS)) && (pos->format == format)) { in GetFormatSpec() 432 const FormatProperties& properties = GetFormatSpec(vertexAttributeDesc->format); in GetVertexAttributeByteSize() [all...] |
/test/xts/acts/multimedia/av_codec/demuxer/src/ |
H A D | api_test.cpp | 177 OH_AVFormat *format = OH_AVSource_GetSourceFormat(nullptr); in HWTEST_F() local 178 ASSERT_EQ(nullptr, format); in HWTEST_F() 188 OH_AVFormat *format = OH_AVSource_GetTrackFormat(nullptr, 0); in HWTEST_F() local 189 ASSERT_EQ(nullptr, format); in HWTEST_F() 201 OH_AVFormat *format = OH_AVSource_GetTrackFormat(source, -1); in HWTEST_F() local 202 ASSERT_EQ(nullptr, format); in HWTEST_F() 542 OH_AVFormat *format; in HWTEST_F() local 545 format = OH_AVSource_GetSourceFormat(source); in HWTEST_F() 546 ASSERT_NE(format, nullptr); in HWTEST_F() 547 format in HWTEST_F() 558 OH_AVFormat *format; HWTEST_F() local [all...] |