Home
last modified time | relevance | path

Searched refs:isCancel (Results 1 – 3 of 3) sorted by relevance

/base/powermgr/display_manager/test/unittest/common/native/src/
Ddisplay_power_mgr_brightness_test.cpp598 bool isCancel = DisplayPowerMgrClient::GetInstance().CancelBoostBrightness(); variable
599 EXPECT_TRUE(isCancel);
636 bool isCancel = DisplayPowerMgrClient::GetInstance().CancelBoostBrightness(); variable
637 EXPECT_FALSE(isCancel);
695 bool isCancel = DisplayPowerMgrClient::GetInstance().CancelBoostBrightness(); variable
696 EXPECT_TRUE(isCancel);
716 bool isCancel = DisplayPowerMgrClient::GetInstance().CancelBoostBrightness(); variable
717 EXPECT_TRUE(isCancel);
755 bool isCancel = DisplayPowerMgrClient::GetInstance().CancelBoostBrightness(); variable
756 EXPECT_FALSE(isCancel);
[all …]
/base/notification/distributed_notification_service/services/ans/include/
Dadvanced_notification_service.h729 int32_t notificationId, sptr<Notification> &notification, bool isCancel = false);
731 bool isCancel, int32_t removeReason);
/base/notification/distributed_notification_service/services/ans/src/
Dadvanced_notification_service.cpp1205 … const std::string &label, int32_t notificationId, sptr<Notification> &notification, bool isCancel) in RemoveFromNotificationList() argument
1216 if (!isCancel && !record->notification->IsRemoveAllowed()) { in RemoveFromNotificationList()
1221 if (!isCancel) { in RemoveFromNotificationList()
1233 const std::string &key, sptr<Notification> &notification, bool isCancel, int32_t removeReason) in RemoveFromNotificationList() argument
1237 if (!isCancel && !record->notification->IsRemoveAllowed()) { in RemoveFromNotificationList()
1242 if (!isCancel && removeReason != NotificationConstant::CLICK_REASON_DELETE) { in RemoveFromNotificationList()