/base/hiviewdfx/hilog/interfaces/native/innerkits/include/hilog/ |
D | log_cpp.h | 50 …static int Debug(const HiLogLabel &label, const char *fmt, ...) __attribute__((__format__(os_log, … 51 …static int Info(const HiLogLabel &label, const char *fmt, ...) __attribute__((__format__(os_log, 2… 52 …static int Warn(const HiLogLabel &label, const char *fmt, ...) __attribute__((__format__(os_log, 2… 53 …static int Error(const HiLogLabel &label, const char *fmt, ...) __attribute__((__format__(os_log, … 54 …static int Fatal(const HiLogLabel &label, const char *fmt, ...) __attribute__((__format__(os_log, … 70 #define HiLogDebug(label, fmt, ...) HILOG_IMPL(label.type, LOG_DEBUG, label.domain, label.tag, fmt,… argument 71 #define HiLogInfo(label, fmt, ...) HILOG_IMPL(label.type, LOG_INFO, label.domain, label.tag, fmt, #… argument 72 #define HiLogWarn(label, fmt, ...) HILOG_IMPL(label.type, LOG_WARN, label.domain, label.tag, fmt, #… argument 73 #define HiLogError(label, fmt, ...) HILOG_IMPL(label.type, LOG_ERROR, label.domain, label.tag, fmt,… argument 74 #define HiLogFatal(label, fmt, ...) HILOG_IMPL(label.type, LOG_FATAL, label.domain, label.tag, fmt,… argument
|
/base/hiviewdfx/hitrace/interfaces/rust/innerkits/hitrace_meter/src/ |
D | lib.rs | 20 pub fn start_trace(label: u64, value: &str) { in start_trace() 24 StartTraceWrapper(label, value_raw_ptr.as_ptr() as *const c_char); in start_trace() 29 pub fn finish_trace(label: u64) { in finish_trace() 32 FinishTrace(label); in finish_trace() 37 pub fn start_trace_async(label: u64, value: &str, task_id: i32) { in start_trace_async() 41 StartAsyncTraceWrapper(label, value_raw_ptr.as_ptr() as *const c_char, task_id); in start_trace_async() 46 pub fn finish_trace_async(label: u64, value: &str, task_id: i32) { in finish_trace_async() 50 FinishAsyncTraceWrapper(label, value_raw_ptr.as_ptr() as *const c_char, task_id); in finish_trace_async() 55 pub fn count_trace(label: u64, name: &str, count: i64) { in count_trace() 59 CountTraceWrapper(label, name_raw_ptr.as_ptr() as *const c_char, count); in count_trace() [all …]
|
/base/hiviewdfx/hitrace/cmd/example/ |
D | hitrace_example.cpp | 93 void FuncC(uint64_t label) in FuncC() argument 98 CountTrace(label, "count number", ++num); in FuncC() 103 void ThreadFunc1(uint64_t label) in ThreadFunc1() argument 105 StartAsyncTrace(label, "testAsync", TASK_ID); in ThreadFunc1() 112 void ThreadFunc2(uint64_t label) in ThreadFunc2() argument 118 FinishAsyncTrace(label, "testAsync", TASK_ID); in ThreadFunc2() 121 void FuncMain(uint64_t label) in FuncMain() argument 123 thread t1(ThreadFunc1, label); in FuncMain() 126 StartTrace(label, "testStart"); in FuncMain() 129 StartTrace(label, "funcAStart", SLEEP_ONE_SECOND); // 打印起始点 in FuncMain() [all …]
|
/base/security/appverify/interfaces/innerkits/appverify/include/common/ |
D | hap_verify_log.h | 27 #define HAPVERIFY_LOG_DEBUG(label, fmt, ...) \ argument 28 OHOS::HiviewDFX::HiLog::Debug(label, "%{public}s: " fmt, __func__, ##__VA_ARGS__) 29 #define HAPVERIFY_LOG_INFO(label, fmt, ...) \ argument 30 OHOS::HiviewDFX::HiLog::Info(label, "%{public}s: " fmt, __func__, ##__VA_ARGS__) 31 #define HAPVERIFY_LOG_WARN(label, fmt, ...) \ argument 32 OHOS::HiviewDFX::HiLog::Warn(label, "%{public}s: " fmt, __func__, ##__VA_ARGS__) 33 #define HAPVERIFY_LOG_ERROR(label, fmt, ...) \ argument 34 OHOS::HiviewDFX::HiLog::Error(label, "%{public}s: " fmt, __func__, ##__VA_ARGS__) 35 #define HAPVERIFY_LOG_FATAL(label, fmt, ...) \ argument 36 OHOS::HiviewDFX::HiLog::Fatal(label, "%{public}s: " fmt, __func__, ##__VA_ARGS__)
|
/base/security/code_signature/utils/include/ |
D | log.h | 31 #define LOG_DEBUG(label, fmt, ...) \ argument 32 OHOS::HiviewDFX::HiLog::Debug(label, "%{public}s: " fmt, __func__, ##__VA_ARGS__) 33 #define LOG_INFO(label, fmt, ...) \ argument 34 OHOS::HiviewDFX::HiLog::Info(label, "%{public}s: " fmt, __func__, ##__VA_ARGS__) 35 #define LOG_WARN(label, fmt, ...) \ argument 36 OHOS::HiviewDFX::HiLog::Warn(label, "%{public}s: " fmt, __func__, ##__VA_ARGS__) 37 #define LOG_ERROR(label, fmt, ...) \ argument 38 OHOS::HiviewDFX::HiLog::Error(label, "%{public}s: " fmt, __func__, ##__VA_ARGS__) 39 #define LOG_FATAL(label, fmt, ...) \ argument 40 OHOS::HiviewDFX::HiLog::Fatal(label, "%{public}s: " fmt, __func__, ##__VA_ARGS__)
|
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/ |
D | hitrace_meter.cpp | 246 void StartTraceWrapper(uint64_t label, const char *value) in StartTraceWrapper() argument 249 StartTrace(label, traceValue); in StartTraceWrapper() 252 void StartTrace(uint64_t label, const string& value, float limit UNUSED_PARAM) in StartTrace() argument 254 AddHitraceMeterMarker(MARKER_BEGIN, label, value, 0); in StartTrace() 257 void StartTraceDebug(bool isDebug, uint64_t label, const string& value, float limit UNUSED_PARAM) in StartTraceDebug() argument 262 AddHitraceMeterMarker(MARKER_BEGIN, label, value, 0); in StartTraceDebug() 265 void StartTraceArgs(uint64_t label, const char *fmt, ...) in StartTraceArgs() argument 276 AddHitraceMeterMarker(MARKER_BEGIN, label, name, 0); in StartTraceArgs() 279 void StartTraceArgsDebug(bool isDebug, uint64_t label, const char *fmt, ...) in StartTraceArgsDebug() argument 294 AddHitraceMeterMarker(MARKER_BEGIN, label, name, 0); in StartTraceArgsDebug() [all …]
|
/base/update/updateservice/services/core/ability/log/include/ |
D | update_log.h | 40 HiviewDFX::HiLogLabel label; member 49 return {label, level, log, argsInput, fileName, line}; in BuildWithArgs() 54 return {label, level, logInput, argsInput, fileName, line}; in BuildWithFmtAndArgs() 78 #define BASE_PRINT_LOG(label, level, hilogMethod, fileName, line, fmt, ...) … argument 80 …OHOS::HiviewDFX::HiLog::hilogMethod((label), ("[%{public}s(%{public}d)] " + … 83 #define PRINT_LOG(label, level, hilogMethod, fmt, ...) BASE_PRINT_LOG(label, level, … argument 86 #define PRINT_LOGD(label, fmt, ...) PRINT_LOG(label, UpdateLogLevel::UPDATE_DEBUG, Debug, fmt, ##__… argument 87 #define PRINT_LOGI(label, fmt, ...) PRINT_LOG(label, UpdateLogLevel::UPDATE_INFO, Info, fmt, ##__VA… argument 88 #define PRINT_LOGE(label, fmt, ...) PRINT_LOG(label, UpdateLogLevel::UPDATE_ERROR, Error, fmt, ##__… argument 94 #define PRINT_LONG_LOGD(label, fmt, args) UpdateLog::PrintLongLog({label, … argument [all …]
|
/base/hiviewdfx/hilog_lite/frameworks/featured/ |
D | hilog.cpp | 27 (ret) = ::HiLogPrintArgs(label.type, (level), label.domain, label.tag, fmt, args); \ 31 int HiLog::Debug(const HiLogLabel &label, const char *fmt, ...) in Debug() argument 38 int HiLog::Info(const HiLogLabel &label, const char *fmt, ...) in Info() argument 45 int HiLog::Warn(const HiLogLabel &label, const char *fmt, ...) in Warn() argument 52 int HiLog::Error(const HiLogLabel &label, const char *fmt, ...) in Error() argument 59 int HiLog::Fatal(const HiLogLabel &label, const char *fmt, ...) in Fatal() argument
|
/base/hiviewdfx/hilog/frameworks/libhilog/ |
D | hilog.cpp | 28 (ret) = ::HiLogPrintArgs(label.type, (level), label.domain, label.tag, fmt, args); \ 32 int HiLog::Debug(const HiLogLabel &label, const char *fmt, ...) in Debug() argument 39 int HiLog::Info(const HiLogLabel &label, const char *fmt, ...) in Info() argument 46 int HiLog::Warn(const HiLogLabel &label, const char *fmt, ...) in Warn() argument 53 int HiLog::Error(const HiLogLabel &label, const char *fmt, ...) in Error() argument 60 int HiLog::Fatal(const HiLogLabel &label, const char *fmt, ...) in Fatal() argument
|
/base/hiviewdfx/hilog/platform/ |
D | hilog.cpp | 30 (ret) = ::HiLogPrintArgs(label.type, (level), label.domain, label.tag, fmt, args); \ 34 int HiLog::Debug(const HiLogLabel &label, const char *fmt, ...) in Debug() argument 41 int HiLog::Info(const HiLogLabel &label, const char *fmt, ...) in Info() argument 48 int HiLog::Warn(const HiLogLabel &label, const char *fmt, ...) in Warn() argument 55 int HiLog::Error(const HiLogLabel &label, const char *fmt, ...) in Error() argument 62 int HiLog::Fatal(const HiLogLabel &label, const char *fmt, ...) in Fatal() argument
|
/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace_meter/ |
D | hitrace_meter.h | 111 void StartTrace(uint64_t label, const std::string& value, float limit = -1); 112 void StartTraceDebug(bool isDebug, uint64_t label, const std::string& value, float limit = -1); 113 void StartTraceArgs(uint64_t label, const char *fmt, ...); 114 void StartTraceArgsDebug(bool isDebug, uint64_t label, const char *fmt, ...); 115 void StartTraceWrapper(uint64_t label, const char *value); 120 void FinishTrace(uint64_t label); 121 void FinishTraceDebug(bool isDebug, uint64_t label); 126 void StartAsyncTrace(uint64_t label, const std::string& value, int32_t taskId, float limit = -1); 127 void StartAsyncTraceDebug(bool isDebug, uint64_t label, const std::string& value, int32_t taskId, f… 128 void StartAsyncTraceArgs(uint64_t label, int32_t taskId, const char *fmt, ...); [all …]
|
/base/security/access_token/frameworks/common/include/ |
D | accesstoken_log.h | 33 #define ACCESSTOKEN_LOG_DEBUG(label, fmt, ...) \ argument 34 OHOS::HiviewDFX::HiLog::Debug(label, "[%{public}s]:" fmt, __func__, ##__VA_ARGS__) 35 #define ACCESSTOKEN_LOG_INFO(label, fmt, ...) \ argument 36 OHOS::HiviewDFX::HiLog::Info(label, "[%{public}s]:" fmt, __func__, ##__VA_ARGS__) 37 #define ACCESSTOKEN_LOG_WARN(label, fmt, ...) \ argument 38 OHOS::HiviewDFX::HiLog::Warn(label, "[%{public}s]:" fmt, __func__, ##__VA_ARGS__) 39 #define ACCESSTOKEN_LOG_ERROR(label, fmt, ...) \ argument 40 OHOS::HiviewDFX::HiLog::Error(label, "[%{public}s]:" fmt, __func__, ##__VA_ARGS__) 41 #define ACCESSTOKEN_LOG_FATAL(label, fmt, ...) \ argument 42 OHOS::HiviewDFX::HiLog::Fatal(label, "[%{public}s]:" fmt, __func__, ##__VA_ARGS__)
|
/base/security/dlp_permission_service/frameworks/common/include/ |
D | dlp_permission_log.h | 38 #define DLP_LOG_DEBUG(label, fmt, ...) \ argument 39 OHOS::HiviewDFX::HiLog::Debug(label, "[%{public}s]:" fmt, __func__, ##__VA_ARGS__) 40 #define DLP_LOG_INFO(label, fmt, ...) OHOS::HiviewDFX::HiLog::Info(label, "[%{public}s]:" fmt, __fu… argument 41 #define DLP_LOG_WARN(label, fmt, ...) OHOS::HiviewDFX::HiLog::Warn(label, "[%{public}s]:" fmt, __fu… argument 42 #define DLP_LOG_ERROR(label, fmt, ...) \ argument 43 OHOS::HiviewDFX::HiLog::Error(label, "[%{public}s]:" fmt, __func__, ##__VA_ARGS__) 44 #define DLP_LOG_FATAL(label, fmt, ...) \ argument 45 OHOS::HiviewDFX::HiLog::Fatal(label, "[%{public}s]:" fmt, __func__, ##__VA_ARGS__)
|
/base/security/security_component_manager/frameworks/common/include/ |
D | sec_comp_log.h | 37 #define SC_LOG_DEBUG(label, fmt, ...) \ argument 38 OHOS::HiviewDFX::HiLog::Debug(label, "[%{public}s]:" fmt, __func__, ##__VA_ARGS__) 39 #define SC_LOG_INFO(label, fmt, ...) OHOS::HiviewDFX::HiLog::Info(label, "[%{public}s]:" fmt, __fun… argument 40 #define SC_LOG_WARN(label, fmt, ...) OHOS::HiviewDFX::HiLog::Warn(label, "[%{public}s]:" fmt, __fun… argument 41 #define SC_LOG_ERROR(label, fmt, ...) \ argument 42 OHOS::HiviewDFX::HiLog::Error(label, "[%{public}s]:" fmt, __func__, ##__VA_ARGS__) 43 #define SC_LOG_FATAL(label, fmt, ...) \ argument 44 OHOS::HiviewDFX::HiLog::Fatal(label, "[%{public}s]:" fmt, __func__, ##__VA_ARGS__)
|
/base/powermgr/battery_manager/charger/include/ |
D | charger_log.h | 43 #define BATTERY_HILOGE(label, fmt, ...) … argument 45 …InitLogPrint(INIT_LOG_PATH CHARGER_LOG_FILE, INIT_ERROR, label, (ReplaceHolders(fmt).c_str()), (FI… 48 #define BATTERY_HILOGW(label, fmt, ...) … argument 50 …InitLogPrint(INIT_LOG_PATH CHARGER_LOG_FILE, INIT_WARN, label, (ReplaceHolders(fmt).c_str()), (FIL… 53 #define BATTERY_HILOGI(label, fmt, ...) … argument 55 …InitLogPrint(INIT_LOG_PATH CHARGER_LOG_FILE, INIT_INFO, label, (ReplaceHolders(fmt).c_str()), (FIL… 58 #define BATTERY_HILOGD(label, fmt, ...) … argument 60 …InitLogPrint(INIT_LOG_PATH CHARGER_LOG_FILE, INIT_DEBUG, label, (ReplaceHolders(fmt).c_str()), (FI…
|
/base/startup/init/test/unittest/param/ |
D | selinux_unittest.cpp | 50 ParamSecurityLabel label = {}; in TestSelinuxInitLocalLabel() local 51 ret = initParamSercurityOps.securityInitLabel(&label, LABEL_INIT_FOR_INIT); in TestSelinuxInitLocalLabel() 53 ret = initParamSercurityOps.securityFreeLabel(&label); in TestSelinuxInitLocalLabel() 65 ParamSecurityLabel label = {}; in TestSelinuxCheckFilePermission() local 66 ret = initParamSercurityOps.securityInitLabel(&label, LABEL_INIT_FOR_INIT); in TestSelinuxCheckFilePermission() 68 ret = initParamSercurityOps.securityCheckFilePermission(&label, fileName, DAC_WRITE); in TestSelinuxCheckFilePermission() 70 ret = initParamSercurityOps.securityFreeLabel(&label); in TestSelinuxCheckFilePermission() 75 int TestSelinuxCheckParaPermission(const char *name, const char *label) in TestSelinuxCheckParaPermission() argument 102 ParamSecurityLabel label = {}; in TestClientSelinuxCheckFilePermission() local 103 ret = clientParamSercurityOps.securityInitLabel(&label, 0); in TestClientSelinuxCheckFilePermission() [all …]
|
/base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/hitrace_meter_wrapper/src/ |
D | hitrace_meter_wrapper.cpp | 23 void HksTraceMeterStart(uint64_t label, const char *value, float limit) in HksTraceMeterStart() argument 26 StartTrace(label, valueString, limit); in HksTraceMeterStart() 29 void HksTraceMeterFinish(uint64_t label) in HksTraceMeterFinish() argument 31 FinishTrace(label); in HksTraceMeterFinish()
|
/base/hiviewdfx/hilog_lite/interfaces/native/innerkits/hilog/ |
D | hilog_cp.h | 47 …static int Debug(const HiLogLabel &label, const char *fmt, ...) __attribute__((__format__(printf, … 62 …static int Info(const HiLogLabel &label, const char *fmt, ...) __attribute__((__format__(printf, 2… 77 …static int Warn(const HiLogLabel &label, const char *fmt, ...) __attribute__((__format__(printf, 2… 92 …static int Error(const HiLogLabel &label, const char *fmt, ...) __attribute__((__format__(printf, … 107 …static int Fatal(const HiLogLabel &label, const char *fmt, ...) __attribute__((__format__(printf, …
|
/base/request/request/services/service/rust/src/ |
D | trace.rs | 25 label: u64, field 34 let trace = Self { label: Self::HITRACE_TAG_MISC }; in trace() 35 start_trace(trace.label, value); in trace() 43 finish_trace(self.label); in drop()
|
/base/update/updater/test/unittest/updater_ui_test/view/ |
D | ui_view_proxy_unittest.cpp | 57 std::unique_ptr<ComponentInterface> label = std::make_unique<TextLabelAdapter>(); variable 58 OHOS::UIView *real = label->GetOhosView(); 59 ViewProxy viewproxy { std::move(label), "label1" }; 72 std::unique_ptr<ComponentInterface> label = std::make_unique<TextLabelAdapter>(); variable 73 OHOS::UIView *real = label->GetOhosView(); 74 ViewProxy viewproxy { std::move(label), "label1" }; 87 std::unique_ptr<ComponentInterface> label = std::make_unique<TextLabelAdapter>(); variable 88 OHOS::UIView *real = label->GetOhosView(); 89 ViewProxy viewproxy { std::move(label), "label1" };
|
/base/notification/distributed_notification_service/services/test/moduletest/ |
D | ans_module_test.cpp | 140 std::string label = "testLabel"; variable 147 req1->SetLabel(label); 152 EXPECT_EQ((int)g_advancedNotificationService->Publish(label, req), (int)ERR_OK); 153 EXPECT_EQ((int)g_advancedNotificationService->Publish(label, req1), (int)ERR_OK); 154 EXPECT_EQ((int)g_advancedNotificationService->Cancel(1, label), (int)ERR_OK); 169 std::string label = "testLabel"; variable 171 req->SetLabel(label); 173 req1->SetLabel(label); 180 EXPECT_EQ((int)g_advancedNotificationService->Publish(label, req), (int)ERR_OK); 181 EXPECT_EQ((int)g_advancedNotificationService->Publish(label, req1), (int)ERR_OK); [all …]
|
/base/location/interfaces/inner_api/include/ |
D | location_log.h | 68 #define LBSLOGD(label, ...) (void)OHOS::HiviewDFX::HiLog::Debug(label, __VA_ARGS__) argument 72 #define LBSLOGE(label, ...) (void)OHOS::HiviewDFX::HiLog::Error(label, __VA_ARGS__) argument 76 #define LBSLOGF(label, ...) (void)OHOS::HiviewDFX::HiLog::Fatal(label, __VA_ARGS__) argument 80 #define LBSLOGI(label, ...) (void)OHOS::HiviewDFX::HiLog::Info(label, __VA_ARGS__) argument 84 #define LBSLOGW(label, ...) (void)OHOS::HiviewDFX::HiLog::Warn(label, __VA_ARGS__) argument
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/ |
D | distributed_notification_manager_test.cpp | 38 …const std::string &deviceId, const std::string &bundleName, const std::string &label, int32_t id) … in OnDelete() argument 67 std::string label = request->GetLabel(); variable 70 …EXPECT_EQ(distributedManager_->Publish(bundleName, label, id, request), ERR_ANS_DISTRIBUTED_OPERAT… 84 std::string label = request->GetLabel(); variable 87 …EXPECT_EQ(distributedManager_->Publish(bundleName, label, id, request), ERR_ANS_DISTRIBUTED_OPERAT… 101 std::string label = request->GetLabel(); variable 104 …EXPECT_EQ(distributedManager_->Update(bundleName, label, id, request), ERR_ANS_DISTRIBUTED_OPERATI… 118 std::string label = request->GetLabel(); variable 121 …EXPECT_EQ(distributedManager_->Update(bundleName, label, id, request), ERR_ANS_DISTRIBUTED_OPERATI… 135 std::string label = request->GetLabel(); variable [all …]
|
/base/notification/distributed_notification_service/services/distributed/include/ |
D | distributed_notification_manager.h | 47 … const std::string &deviceId, const std::string &bundleName, const std::string &label, int32_t id)> 61 …const std::string &bundleName, const std::string &label, int32_t id, const sptr<NotificationReques… 73 …const std::string &bundleName, const std::string &label, int32_t id, const sptr<NotificationReques… 83 ErrCode Delete(const std::string &bundleName, const std::string &label, int32_t id); 95 … const std::string &deviceId, const std::string &bundleName, const std::string &label, int32_t id); 149 std::string label; member 153 …istributedKey(const std::string &deviceId, const std::string &bundleName, const std::string &label, 156 const std::string &bundleName, const std::string &label, int32_t id, std::string &key); 165 … const std::string &deviceId, const std::string &bundleName, const std::string &label, int32_t id);
|
/base/inputmethod/imf/services/src/ |
D | input_method_info.cpp | 39 label = property.label; in InputMethodInfo() 56 label = property.label; in operator =()
|