Home
last modified time | relevance | path

Searched refs:label (Results 1 - 25 of 196) sorted by relevance

12345678

/base/hiviewdfx/hilog/interfaces/native/innerkits/include/hilog/
H A Dlog_cpp.h45 * @param label HiLogLabel for the log
50 static int Debug(const HiLogLabel &label, const char *fmt, ...) __attribute__((__format__(os_log, 2, 3)));
51 static int Info(const HiLogLabel &label, const char *fmt, ...) __attribute__((__format__(os_log, 2, 3)));
52 static int Warn(const HiLogLabel &label, const char *fmt, ...) __attribute__((__format__(os_log, 2, 3)));
53 static int Error(const HiLogLabel &label, const char *fmt, ...) __attribute__((__format__(os_log, 2, 3)));
54 static int Fatal(const HiLogLabel &label, const char *fmt, ...) __attribute__((__format__(os_log, 2, 3)));
67 * @param label HiLogLabel for the log
70 #define HiLogDebug(label, fmt, ...) HILOG_IMPL(label.type, LOG_DEBUG, label
[all...]
/base/security/access_token/frameworks/common/include/
H A Daccesstoken_log.h30 #define ACCESSTOKEN_LOG_FATAL(label, fmt, ...) \
31 ((void)HILOG_IMPL(label.type, LOG_FATAL, label.domain, label.tag, \
33 #define ACCESSTOKEN_LOG_ERROR(label, fmt, ...) \
34 ((void)HILOG_IMPL(label.type, LOG_ERROR, label.domain, label.tag, \
36 #define ACCESSTOKEN_LOG_WARN(label, fmt, ...) \
37 ((void)HILOG_IMPL(label
[all...]
/base/accesscontrol/sandbox_manager/frameworks/common/include/
H A Dsandbox_manager_log.h28 #define SANDBOXMANAGER_LOG_DEBUG(label, fmt, ...) \
29 ((void)HILOG_IMPL(label.type, LOG_DEBUG, label.domain, label.tag, \
31 #define SANDBOXMANAGER_LOG_INFO(label, fmt, ...) \
32 ((void)HILOG_IMPL(label.type, LOG_INFO, label.domain, label.tag, \
34 #define SANDBOXMANAGER_LOG_WARN(label, fmt, ...) \
35 ((void)HILOG_IMPL(label
[all...]
/base/security/security_component_manager/frameworks/common/include/
H A Dsec_comp_log.h27 #define SC_LOG_FATAL(label, fmt, ...) \
28 ((void)HILOG_IMPL(label.type, LOG_FATAL, label.domain, label.tag, \
30 #define SC_LOG_ERROR(label, fmt, ...) \
31 ((void)HILOG_IMPL(label.type, LOG_ERROR, label.domain, label.tag, \
33 #define SC_LOG_WARN(label, fmt, ...) \
34 ((void)HILOG_IMPL(label
[all...]
/base/hiviewdfx/hitrace/interfaces/rust/innerkits/hitrace_meter/src/
H A Dlib.rs20 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_pt in count_trace()
[all...]
/base/security/dlp_permission_service/frameworks/common/include/
H A Ddlp_permission_log.h43 #define DLP_LOG_FATAL(label, fmt, ...) \
44 ((void)HILOG_IMPL(label.type, LOG_FATAL, label.domain, label.tag, \
46 #define DLP_LOG_ERROR(label, fmt, ...) \
47 ((void)HILOG_IMPL(label.type, LOG_ERROR, label.domain, label.tag, \
49 #define DLP_LOG_WARN(label, fmt, ...) \
50 ((void)HILOG_IMPL(label
[all...]
/base/hiviewdfx/hitrace/cmd/example/
H A Dhitrace_example.cpp93 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, "funcAStar in FuncMain()
[all...]
/base/hiviewdfx/hilog/frameworks/libhilog/
H A Dhilog.cpp28 (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_lite/frameworks/featured/
H A Dhilog.cpp27 (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/security/code_signature/utils/include/
H A Dlog.h45 #define LOG_DEBUG(label, fmt, ...) \
46 OHOS::HiviewDFX::HiLog::Debug(label, "%{public}s: " fmt, __func__, ##__VA_ARGS__)
47 #define LOG_INFO(label, fmt, ...) \
48 OHOS::HiviewDFX::HiLog::Info(label, "%{public}s: " fmt, __func__, ##__VA_ARGS__)
49 #define LOG_WARN(label, fmt, ...) \
50 OHOS::HiviewDFX::HiLog::Warn(label, "%{public}s: " fmt, __func__, ##__VA_ARGS__)
51 #define LOG_ERROR(label, fmt, ...) \
52 OHOS::HiviewDFX::HiLog::Error(label, "%{public}s: " fmt, __func__, ##__VA_ARGS__)
53 #define LOG_FATAL(label, fmt, ...) \
54 OHOS::HiviewDFX::HiLog::Fatal(label, "
[all...]
/base/hiviewdfx/hilog/platform/
H A Dhilog.cpp30 (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/powermgr/battery_manager/charger/include/
H A Dcharger_log.h43 #define BATTERY_HILOGE(label, fmt, ...) \
45 InitLogPrint(INIT_LOG_PATH CHARGER_LOG_FILE, INIT_ERROR, label, (ReplaceHolders(fmt).c_str()), \
48 #define BATTERY_HILOGW(label, fmt, ...) \
50 InitLogPrint(INIT_LOG_PATH CHARGER_LOG_FILE, INIT_WARN, label, (ReplaceHolders(fmt).c_str()), \
53 #define BATTERY_HILOGI(label, fmt, ...) \
55 InitLogPrint(INIT_LOG_PATH CHARGER_LOG_FILE, INIT_INFO, label, (ReplaceHolders(fmt).c_str()), \
58 #define BATTERY_HILOGD(label, fmt, ...) \
60 InitLogPrint(INIT_LOG_PATH CHARGER_LOG_FILE, INIT_DEBUG, label, (ReplaceHolders(fmt).c_str()), \
/base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/hitrace_meter_wrapper/src/
H A Dhitrace_meter_wrapper.cpp23 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/startup/init/test/unittest/param/
H A Dselinux_unittest.cpp50 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, in TestClientSelinuxCheckFilePermission()
112 TestClientSelinuxCheckParaPermissionWrite(const char *name, const char *label) TestClientSelinuxCheckParaPermissionWrite() argument
131 TestClientSelinuxCheckParaPermissionRead(const char *name, const char *label) TestClientSelinuxCheckParaPermissionRead() argument
[all...]
/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace_meter/
H A Dhitrace_meter.h107 * Update trace label when your process has started.
120 void StartTrace(uint64_t label, const std::string& value, float limit = -1);
121 void StartTraceDebug(bool isDebug, uint64_t label, const std::string& value, float limit = -1);
122 void StartTraceArgs(uint64_t label, const char *fmt, ...);
123 void StartTraceArgsDebug(bool isDebug, uint64_t label, const char *fmt, ...);
124 void StartTraceWrapper(uint64_t label, const char *value);
129 void FinishTrace(uint64_t label);
130 void FinishTraceDebug(bool isDebug, uint64_t label);
135 void StartAsyncTrace(uint64_t label, const std::string& value, int32_t taskId, float limit = -1);
136 void StartAsyncTraceDebug(bool isDebug, uint64_t label, cons
[all...]
/base/security/asset/services/core_service/src/
H A Dtrace_scope.rs25 label: u64,
33 let trace = Self { label: Self::HITRACE_TAG_SECURITY };
34 start_trace(trace.label, value);
42 finish_trace(self.label); in drop()
/base/hiviewdfx/hilog_lite/interfaces/native/innerkits/hilog/
H A Dhilog_cp.h36 * @param label Indicates the log label.
47 static int Debug(const HiLogLabel &label, const char *fmt, ...) __attribute__((__format__(printf, 2, 3)));
51 * @param label Indicates the log label.
62 static int Info(const HiLogLabel &label, const char *fmt, ...) __attribute__((__format__(printf, 2, 3)));
66 * @param label Indicates the log label.
77 static int Warn(const HiLogLabel &label, const char *fmt, ...) __attribute__((__format__(printf, 2, 3)));
81 * @param label Indicate
[all...]
/base/security/device_auth/services/frameworks/src/security_label_adapter/
H A Dsecurity_label_adapter.c29 LOGE("Failed to get security label size, labelSize: %d, [errno]: %d", labelSize, errno); in GetSecurityLabel()
32 char *label = (char *)HcMalloc(labelSize + 1, 0); in GetSecurityLabel() local
33 if (label == NULL) { in GetSecurityLabel()
34 LOGE("Failed to alloc memory for label!"); in GetSecurityLabel()
37 labelSize = getxattr(filePath, SECURITY_LABEL_XATTR_KEY, label, labelSize); in GetSecurityLabel()
39 LOGE("Failed to get security label, labelSize: %d, [errno]: %d", labelSize, errno); in GetSecurityLabel()
40 HcFree(label); in GetSecurityLabel()
43 *returnLabel = label; in GetSecurityLabel()
69 LOGI("Set security label [Res]: %d", res); in SetSecurityLabel()
/base/update/updater/test/unittest/updater_ui_test/view/
H A Dui_view_proxy_unittest.cpp57 std::unique_ptr<ComponentInterface> label = std::make_unique<TextLabelAdapter>(); in HWTEST_F() local
58 OHOS::UIView *real = label->GetOhosView(); in HWTEST_F()
59 ViewProxy viewproxy { std::move(label), "label1" }; in HWTEST_F()
72 std::unique_ptr<ComponentInterface> label = std::make_unique<TextLabelAdapter>(); in HWTEST_F() local
73 OHOS::UIView *real = label->GetOhosView(); in HWTEST_F()
74 ViewProxy viewproxy { std::move(label), "label1" }; in HWTEST_F()
87 std::unique_ptr<ComponentInterface> label = std::make_unique<TextLabelAdapter>(); in HWTEST_F() local
88 OHOS::UIView *real = label->GetOhosView(); in HWTEST_F()
89 ViewProxy viewproxy { std::move(label), "label1" }; in HWTEST_F()
/base/location/interfaces/inner_api/include/
H A Dlocation_log.h42 #define LBSLOGE(label, fmt, ...) do { \
43 (void)HILOG_IMPL(LOG_CORE, LOG_ERROR, LOCATION_LOG_DOMAIN, label.tag, \
47 #define LBSLOGW(label, fmt, ...) do { \
48 (void)HILOG_IMPL(LOG_CORE, LOG_WARN, LOCATION_LOG_DOMAIN, label.tag, \
52 #define LBSLOGI(label, fmt, ...) do { \
53 (void)HILOG_IMPL(LOG_CORE, LOG_INFO, LOCATION_LOG_DOMAIN, label.tag, \
57 #define LBSLOGD(label, fmt, ...) do { \
58 (void)HILOG_IMPL(LOG_CORE, LOG_DEBUG, LOCATION_LOG_DOMAIN, label.tag, \
62 #define LBSLOGF(label, fmt, ...) do { \
63 (void)HILOG_IMPL(LOG_CORE, HILOG_FATAL, LOCATION_LOG_DOMAIN, label
[all...]
/base/inputmethod/imf/frameworks/cj/src/
H A Dutils.cpp35 props.label = Utils::MallocCString(property.label); in InputMethodProperty2C()
46 property.label = std::string(props.label); in C2InputMethodProperty()
57 props.label = Utils::MallocCString(property.label); in InputMethodSubProperty2C()
/base/security/selinux_adapter/scripts/selinux_check/
H A Dcheck_partition_label_use.py41 label = elements[1]
42 if label in label_list_set:
43 if path in whitelist_map[label]:
45 print("partition label is not allow to use,",
46 "check '{} {}' failed in file {}:{}\n".format(path, label, args.file_contexts, line_index),
49 path, label, WHITELIST_FILE_NAME, args.policy_dir_list),
50 "2. Change '{} {}' to avoid using label in {}\n".format(path, label, label_list))
/base/notification/distributed_notification_service/services/distributed/test/unittest/
H A Ddistributed_notification_manager_test.cpp38 const std::string &deviceId, const std::string &bundleName, const std::string &label, int32_t id) {}; in OnDelete()
64 request->SetLabel("<label>"); in HWTEST_F()
67 std::string label = request->GetLabel(); in HWTEST_F() local
70 EXPECT_EQ(distributedManager_->Publish(bundleName, label, id, request), ERR_ANS_DISTRIBUTED_OPERATION_FAILED); in HWTEST_F()
81 request->SetLabel("<label>"); in HWTEST_F()
84 std::string label = request->GetLabel(); in HWTEST_F() local
87 EXPECT_EQ(distributedManager_->Publish(bundleName, label, id, request), ERR_ANS_DISTRIBUTED_OPERATION_FAILED); in HWTEST_F()
98 request->SetLabel("<label>"); in HWTEST_F()
101 std::string label = request->GetLabel(); in HWTEST_F() local
104 EXPECT_EQ(distributedManager_->Update(bundleName, label, i in HWTEST_F()
37 OnDelete( const std::string &deviceId, const std::string &bundleName, const std::string &label, int32_t id) OnDelete() argument
118 std::string label = request->GetLabel(); HWTEST_F() local
135 std::string label = request->GetLabel(); HWTEST_F() local
153 std::string label = request->GetLabel(); HWTEST_F() local
171 std::string label = request->GetLabel(); HWTEST_F() local
369 std::string label = request->GetLabel(); HWTEST_F() local
[all...]
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/
H A Dhitrace_meter.cpp687 void SetAddHitraceMeterMarker(uint64_t label, const string& value) in SetAddHitraceMeterMarker() argument
689 AddHitraceMeterMarker(MARKER_BEGIN, label, value, 0); in SetAddHitraceMeterMarker()
772 void StartTraceWrapper(uint64_t label, const char *value) in StartTraceWrapper() argument
775 StartTrace(label, traceValue); in StartTraceWrapper()
778 void StartTrace(uint64_t label, const string& value, float limit UNUSED_PARAM) in StartTrace() argument
780 AddHitraceMeterMarker(MARKER_BEGIN, label, value, 0); in StartTrace()
783 void StartTraceDebug(bool isDebug, uint64_t label, const string& value, float limit UNUSED_PARAM) in StartTraceDebug() argument
788 AddHitraceMeterMarker(MARKER_BEGIN, label, value, 0); in StartTraceDebug()
791 void StartTraceArgs(uint64_t label, const char *fmt, ...) in StartTraceArgs() argument
794 if (!(label in StartTraceArgs()
809 StartTraceArgsDebug(bool isDebug, uint64_t label, const char *fmt, ...) StartTraceArgsDebug() argument
828 FinishTrace(uint64_t label) FinishTrace() argument
833 FinishTraceDebug(bool isDebug, uint64_t label) FinishTraceDebug() argument
841 StartAsyncTrace(uint64_t label, const string& value, int32_t taskId, float limit UNUSED_PARAM) StartAsyncTrace() argument
846 StartAsyncTraceWrapper(uint64_t label, const char *value, int32_t taskId) StartAsyncTraceWrapper() argument
852 StartTraceChain(uint64_t label, const struct HiTraceIdStruct* hiTraceId, const char *value) StartTraceChain() argument
857 StartAsyncTraceDebug(bool isDebug, uint64_t label, const string& value, int32_t taskId, float limit UNUSED_PARAM) StartAsyncTraceDebug() argument
865 StartAsyncTraceArgs(uint64_t label, int32_t taskId, const char *fmt, ...) StartAsyncTraceArgs() argument
884 StartAsyncTraceArgsDebug(bool isDebug, uint64_t label, int32_t taskId, const char *fmt, ...) StartAsyncTraceArgsDebug() argument
903 FinishAsyncTrace(uint64_t label, const string& value, int32_t taskId) FinishAsyncTrace() argument
908 FinishAsyncTraceWrapper(uint64_t label, const char *value, int32_t taskId) FinishAsyncTraceWrapper() argument
914 FinishAsyncTraceDebug(bool isDebug, uint64_t label, const string& value, int32_t taskId) FinishAsyncTraceDebug() argument
922 FinishAsyncTraceArgs(uint64_t label, int32_t taskId, const char *fmt, ...) FinishAsyncTraceArgs() argument
941 FinishAsyncTraceArgsDebug(bool isDebug, uint64_t label, int32_t taskId, const char *fmt, ...) FinishAsyncTraceArgsDebug() argument
960 MiddleTrace(uint64_t label, const string& beforeValue UNUSED_PARAM, const std::string& afterValue) MiddleTrace() argument
966 MiddleTraceDebug(bool isDebug, uint64_t label, const string& beforeValue UNUSED_PARAM, const std::string& afterValue) MiddleTraceDebug() argument
976 CountTrace(uint64_t label, const string& name, int64_t count) CountTrace() argument
981 CountTraceDebug(bool isDebug, uint64_t label, const string& name, int64_t count) CountTraceDebug() argument
989 CountTraceWrapper(uint64_t label, const char *name, int64_t count) CountTraceWrapper() argument
995 HitraceMeterFmtScoped(uint64_t label, const char *fmt, ...) HitraceMeterFmtScoped() argument
[all...]
/base/notification/distributed_notification_service/services/distributed/include/
H A Ddistributed_notification_manager.h47 const std::string &deviceId, const std::string &bundleName, const std::string &label, int32_t id)>
55 * @param label Indicates the label of the notifications.
61 const std::string &bundleName, const std::string &label, int32_t id, const sptr<NotificationRequest> &request);
67 * @param label Indicates the label of the notifications.
73 const std::string &bundleName, const std::string &label, int32_t id, const sptr<NotificationRequest> &request);
79 * @param label Indicates the label of the notifications.
83 ErrCode Delete(const std::string &bundleName, const std::string &label, int32_
149 std::string label; global() member
[all...]

Completed in 9 milliseconds

12345678