Home
last modified time | relevance | path

Searched refs:LEVEL_NONE (Results 1 - 24 of 24) sorted by relevance

/base/hiviewdfx/hidumper/frameworks/native/include/common/
H A Ddumper_constant.h55 LEVEL_NONE, enumerator
/base/powermgr/battery_manager/services/zidl/src/
H A Dbattery_srv_proxy.cpp232 RETURN_IF_WITH_RET(remote == nullptr, BatteryCapacityLevel::LEVEL_NONE); in GetCapacityLevel()
239 return BatteryCapacityLevel::LEVEL_NONE; in GetCapacityLevel()
247 return BatteryCapacityLevel::LEVEL_NONE; in GetCapacityLevel()
249 uint32_t level = static_cast<uint32_t>(BatteryCapacityLevel::LEVEL_NONE); in GetCapacityLevel()
250 RETURN_IF_READ_PARCEL_FAILED_WITH_RET(reply, Uint32, level, BatteryCapacityLevel::LEVEL_NONE); in GetCapacityLevel()
/base/hiviewdfx/hidumper/frameworks/native/src/common/
H A Ddump_cfg.cpp236 if (type == DumperConstant::LEVEL_NONE) { in ToLevelStr()
250 if (type == DumperConstant::LEVEL_NONE) { in ToTypeStr()
/base/notification/distributed_notification_service/frameworks/core/common/src/
H A Dans_convert_enum.cpp153 case SlotLevel::LEVEL_NONE: in SlotLevelJSToC()
154 outLevel = NotificationSlot::NotificationLevel::LEVEL_NONE; in SlotLevelJSToC()
202 case NotificationSlot::NotificationLevel::LEVEL_NONE: in SlotLevelCToJS()
204 outLevel = SlotLevel::LEVEL_NONE; in SlotLevelCToJS()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dans_log_test.cpp188 NotificationNapi::SlotLevel inType = NotificationNapi::SlotLevel::LEVEL_NONE; in HWTEST_F()
190 EXPECT_EQ(outType, NotificationSlot::NotificationLevel::LEVEL_NONE); in HWTEST_F()
237 NotificationSlot::NotificationLevel inType = NotificationSlot::NotificationLevel::LEVEL_NONE; in HWTEST_F()
239 EXPECT_EQ(outType, NotificationNapi::SlotLevel::LEVEL_NONE); in HWTEST_F()
242 EXPECT_EQ(outType, NotificationNapi::SlotLevel::LEVEL_NONE); in HWTEST_F()
H A Dnotification_helper_test.cpp466 NotificationSlot::NotificationLevel importance = NotificationSlot::NotificationLevel::LEVEL_NONE; in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/core/common/include/
H A Dans_convert_enum.h49 LEVEL_NONE = 0, member in OHOS::NotificationNapi::SlotLevel
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_slot.h30 LEVEL_NONE, // the notification function is disabled. enumerator
151 * effect. The value can be LEVEL_NONE, LEVEL_MIN, LEVEL_LOW, LEVEL_DEFAULT, or LEVEL_HIGH.
163 * The value can be LEVEL_NONE, LEVEL_MIN, LEVEL_LOW, LEVEL_DEFAULT, or LEVEL_HIGH.
/base/powermgr/battery_manager/frameworks/native/src/
H A Dbattery_srv_client.cpp169 RETURN_IF_WITH_RET(proxy == nullptr, BatteryCapacityLevel::LEVEL_NONE); in GetCapacityLevel()
/base/powermgr/battery_manager/test/benchmarktest/
H A Dbattery_benchmark_test.cpp243 ASSERT_TRUE(batterylevel >= BatteryCapacityLevel::LEVEL_NONE && in BENCHMARK_F()
/base/powermgr/battery_manager/test/unittest/src/
H A Dbattery_srv_proxy_mock_test.cpp225 EXPECT_TRUE(batteryLevel >= BatteryCapacityLevel::LEVEL_NONE && in HWTEST_F()
/base/hiviewdfx/hidumper/frameworks/native/src/util/
H A Dconfig_utils.cpp599 int ret = DumperConstant::LEVEL_NONE; in GetDumpLevelByPid()
732 if (newLevel == DumperConstant::LEVEL_NONE) { in GetGroup()
747 if (newLevel != DumperConstant::LEVEL_NONE) { in GetGroup()
863 if (newLevel == DumperConstant::LEVEL_NONE) { in CopySmaps()
/base/powermgr/battery_manager/interfaces/inner_api/native/include/
H A Dbattery_info.h137 LEVEL_NONE, member in OHOS::PowerMgr::BatteryCapacityLevel
/base/notification/distributed_notification_service/frameworks/cj/ffi/include/
H A Dnotification_utils.h153 LEVEL_NONE = 0, // the notification function is disabled. member in SlotLevel
/base/powermgr/battery_manager/test/unittest/src/interface_test/
H A Dbattery_service_test.cpp448 EXPECT_EQ(level, BatteryCapacityLevel::LEVEL_NONE); in HWTEST_F()
/base/powermgr/battery_manager/services/native/src/
H A Dbattery_notify.cpp53 OHOS::PowerMgr::BatteryCapacityLevel g_lastCapacityLevel = OHOS::PowerMgr::BatteryCapacityLevel::LEVEL_NONE;
H A Dbattery_service.cpp777 BatteryCapacityLevel batteryCapacityLevel = BatteryCapacityLevel::LEVEL_NONE; in GetCapacityLevel()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dconstant.cpp80 SetNamedPropertyByInteger(env, obj, (int32_t)SlotLevel::LEVEL_NONE, "LEVEL_NONE"); in SlotLevelInit()
H A Dcommon.cpp148 SlotLevel outLevel = SlotLevel::LEVEL_NONE; in SetNotificationSlot()
878 NotificationSlot::NotificationLevel outLevel {NotificationSlot::NotificationLevel::LEVEL_NONE}; in GetNotificationSlotByNumber()
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_database_test.cpp122 preferncesDB_->PutImportance(bundleInfo, OHOS::Notification::NotificationSlot::NotificationLevel::LEVEL_NONE)); in HWTEST_F()
147 preferncesDB_->PutImportance(bundleInfo, OHOS::Notification::NotificationSlot::NotificationLevel::LEVEL_NONE)); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_utils.cpp713 case NotificationSlot::NotificationLevel::LEVEL_NONE: in SlotLevelCToCJ()
715 outLevel = SlotLevel::LEVEL_NONE; in SlotLevelCToCJ()
886 SlotLevel outLevel = SlotLevel::LEVEL_NONE; in SetNotificationSlot()
/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi.cpp610 NotificationSlot::NotificationLevel outLevel {NotificationSlot::NotificationLevel::LEVEL_NONE}; in GetNotificationSlotByNumber()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
H A Dans_notification_unit_test.cpp676 NotificationSlot::NotificationLevel importance = NotificationSlot::NotificationLevel::LEVEL_NONE; in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_notification.cpp548 if ((NotificationSlot::LEVEL_NONE <= importanceTemp) && (importanceTemp <= NotificationSlot::LEVEL_HIGH)) { in GetBundleImportance()

Completed in 28 milliseconds