Home
last modified time | relevance | path

Searched refs:isSuccess (Results 1 – 12 of 12) sorted by relevance

/base/powermgr/battery_manager/services/native/src/
Dbattery_service_subscriber.cpp111 bool isSuccess = true; in HandleBatteryChangedEvent() local
114 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in HandleBatteryChangedEvent()
118 if (!isSuccess) { in HandleBatteryChangedEvent()
121 return isSuccess; in HandleBatteryChangedEvent()
160 bool isSuccess = true; in HandleBatteryLowEvent() local
164 return isSuccess; in HandleBatteryLowEvent()
168 return isSuccess; in HandleBatteryLowEvent()
174 isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in HandleBatteryLowEvent()
175 if (!isSuccess) { in HandleBatteryLowEvent()
179 return isSuccess; in HandleBatteryLowEvent()
[all …]
/base/global/i18n_lite/frameworks/i18n/src/
Ddate_time_format.cpp54 bool isSuccess = resource.Init(); in Init() local
55 if (!isSuccess) { in Init()
58 isSuccess = impl->Init(resource); in Init()
59 if (!isSuccess) { in Init()
76 isSuccess = numberFormatter->Init(resource); in Init()
77 if (!isSuccess) { in Init()
97 bool isSuccess = Init(); in Format() local
98 if (!isSuccess) { in Format()
122 bool isSuccess = Init(); in GetWeekName() local
123 if (!isSuccess) { in GetWeekName()
[all …]
Dplural_format.cpp52 bool isSuccess = resource.Init(); in Init() local
53 if (!isSuccess) { in Init()
62 bool isSuccess = Init(); in GetPluralRuleIndex() local
63 if (!isSuccess) { in GetPluralRuleIndex()
73 bool isSuccess = Init(); in GetPluralRuleIndex() local
74 if (!isSuccess) { in GetPluralRuleIndex()
Dnumber_format.cpp44 bool isSuccess = resource.Init(); in Init() local
45 if (!isSuccess) { in Init()
112 bool isSuccess = Init(); in ReInitImpl() local
113 if (!isSuccess) { in ReInitImpl()
Dweek_info.cpp38 bool isSuccess = resource.Init(); in Init() local
39 if (!isSuccess) { in Init()
/base/usb/usb_manager/services/native/src/
Dusb_service_subscriber.cpp48 bool isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in PortChangedEvent() local
49 if (!isSuccess) { in PortChangedEvent()
52 return isSuccess; in PortChangedEvent()
96 bool isSuccess = CommonEventManager::PublishCommonEvent(data, publishInfo); in DeviceEvent() local
97 if (!isSuccess) { in DeviceEvent()
/base/notification/ans_standard/frameworks/ans/native/src/
Dreminder_store.cpp176 int64_t isSuccess = STATE_FAIL; in UpdateOrInsert() local
179 return isSuccess; in UpdateOrInsert()
183 return isSuccess; in UpdateOrInsert()
186 isSuccess = Update(reminder, bundleOption); in UpdateOrInsert()
188 isSuccess = Insert(reminder, bundleOption); in UpdateOrInsert()
190 return isSuccess; in UpdateOrInsert()
/base/global/resmgr_lite/frameworks/resmgr_lite/src/
Dres_config_impl.cpp166 bool isSuccess = this->CopyLocale(other); in Copy() local
167 if (!isSuccess) { in Copy()
/base/global/resmgr_standard/frameworks/resmgr/src/
Dres_config_impl.cpp183 bool isSuccess = this->CopyLocale(other); in Copy() local
184 if (!isSuccess) { in Copy()
/base/user_iam/face_auth/services/faceauth/src/
Dface_auth_manager.cpp452 bool isSuccess = FaceAuthReq::GetInstance()->SetCancelFlagSuccess(reqType, uId); in CancelAuth() local
453 if (!isSuccess) { in CancelAuth()
480 bool isSuccess = FaceAuthReq::GetInstance()->SetCancelFlagSuccess(reqType, uId); in CancelEnrollment() local
481 if (!isSuccess) { in CancelEnrollment()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_rkc.c564 bool isSuccess = false; in RkcWriteAllKsf() local
568 isSuccess = true; in RkcWriteAllKsf()
573 return (isSuccess ? HKS_SUCCESS : HKS_ERROR_WRITE_FILE_FAIL); in RkcWriteAllKsf()
/base/miscservices/inputmethod/services/src/
Dinput_method_system_ability.cpp191 …bool isSuccess = imCommonEventManager->SubscribeEvent(EventFwk::CommonEventSupport::COMMON_EVENT_U… in StartUserIdListener() local
192 if (isSuccess) { in StartUserIdListener()