/base/update/updater/services/updater_binary/ |
H A D | main.cpp | 35 bool retry = false; in main() local 41 } else if (argc == 3) { // 3 a: package, pipe, retry in main() 42 if (strcmp(argv[2], "retry") == 0) { // 2: retry index in main() 43 retry = true; in main() 47 } else { // 4 a: binary, package, pipe, retry=1/retry=0 in main() 50 retry = strcmp(argv[3], "retry=0") == 0 ? false : true; // 3: retry inde in main() [all...] |
H A D | update_processor.cpp | 384 int ExecUpdate(PkgManager::PkgManagerPtr pkgManager, int retry, const std::string &pkgPath, in ExecUpdate() argument 393 UpdaterEnv* env = new (std::nothrow) UpdaterEnv(pkgManager, postMessage, retry); in ExecUpdate() 470 int ProcessUpdater(bool retry, int pipeFd, const std::string &packagePath, const std::string &keyPath) in ProcessUpdater() argument 507 ret = Updater::ExecUpdate(pkgManager, retry, packagePath, in ProcessUpdater()
|
/base/print/print_fwk/services/print_service/src/ |
H A D | print_service_helper.cpp | 60 uint32_t retry = 0; in StartAbility() local 61 while (retry++ < MAX_RETRY_TIMES) { in StartAbility() 68 PRINT_HILOGD("PrintServiceHelper::StartAbility %{public}d", retry); in StartAbility() 70 if (retry > MAX_RETRY_TIMES) { in StartAbility() 83 uint32_t retry = 0; in StartPluginPrintIconExtAbility() local 92 while (retry++ < MAX_RETRY_TIMES) { in StartPluginPrintIconExtAbility() 98 PRINT_HILOGE("PrintServiceHelper::StartPluginPrintIconExtAbility %{public}d", retry); in StartPluginPrintIconExtAbility() 100 if (retry > MAX_RETRY_TIMES) { in StartPluginPrintIconExtAbility()
|
/base/update/updater/test/unittest/updater_test/ |
H A D | test_update_binary.cpp | 41 bool retry = false; in main() local 43 if (argc >= withRetry && strcmp(argv[withRetry - 1], "retry") == 0) { in main() 44 retry = true; in main() 55 if (retry) { in main()
|
H A D | test_update_binary_abnormal.cpp | 41 bool retry = false; in main() local 43 if (argc >= withRetry && strcmp(argv[withRetry - 1], "retry") == 0) { in main() 44 retry = true; in main()
|
/base/global/i18n/services/src/ |
H A D | i18n_service_event.cpp | 58 int32_t retry = RETRY; in SubscriberEvent() local 65 HILOG_ERROR_I18N("SubscriberEvent: SubscriberEvent failed %{public}d.", retry); in SubscriberEvent() 66 retry--; in SubscriberEvent() 68 } while (retry); in SubscriberEvent()
|
/base/sensors/miscdevice/services/miscdevice_service/hdi_connection/adapter/src/ |
H A D | hdi_light_connection.cpp | 42 int32_t retry = 0; in ConnectHdi() local 43 while (retry < GET_HDI_SERVICE_COUNT) { in ConnectHdi() 49 retry++; in ConnectHdi() 50 MISC_HILOGW("Connect hdi service failed, retry:%{public}d", retry); in ConnectHdi()
|
H A D | hdi_connection.cpp | 39 int32_t retry = 0; in ConnectHdi() local 40 while (retry < GET_HDI_SERVICE_COUNT) { in ConnectHdi() 46 retry++; in ConnectHdi() 47 MISC_HILOGW("Connect hdi service failed, retry:%{public}d", retry); in ConnectHdi()
|
/base/update/updater/services/include/applypatch/ |
H A D | updater_env.h | 35 UpdaterEnv(Hpackage::PkgManager::PkgManagerPtr pkgManager, PostMessageFunction postMessage, bool retry)
in UpdaterEnv() argument 36 : UScriptEnv(pkgManager), postMessage_(postMessage), isRetry_(retry) {}
in UpdaterEnv()
|
/base/sensors/miscdevice/frameworks/native/light/src/ |
H A D | light_client.cpp | 62 int32_t retry = 0; in InitLightClient() local 63 while (retry < GET_SERVICE_MAX_COUNT) { in InitLightClient() 67 MISC_HILOGD("miscdeviceProxy_ get service success, retry:%{public}d", retry); in InitLightClient() 76 MISC_HILOGW("Get service failed, retry:%{public}d", retry); in InitLightClient() 78 retry++; in InitLightClient()
|
/base/tee/tee_client/services/cadaemon/src/tui_daemon/ |
H A D | tui_event.cpp | 361 int32_t retry = 0;
in TuiRegisteCallBack() local 364 retry++;
in TuiRegisteCallBack() 365 if (retry >= RETRY_TIMES) {
in TuiRegisteCallBack() 406 int32_t retry = 0;
in TuiRegisteDisplayListener() local 409 retry++;
in TuiRegisteDisplayListener() 410 if (retry >= RETRY_TIMES) {
in TuiRegisteDisplayListener()
|
/base/update/updater/test/unittest/updater_binary/ |
H A D | update_binary_unittest.h | 46 bool SetRetry(bool retry) in SetRetry() argument 48 return isRetry_ = retry; in SetRetry()
|
/base/update/updateservice/foundations/ability/sa_loader/src/ |
H A D | load_sa_service.cpp | 68 int32_t retry = retryTimes; in CheckSaLoaded() local 78 } while (--retry >= 0); in CheckSaLoaded()
|
/base/sensors/medical_sensor/frameworks/native/medical_sensor/src/ |
H A D | medical_service_client.cpp | 59 int32_t retry = 0; in InitServiceClient() local 60 while (retry < GET_SERVICE_MAX_COUNT) { in InitServiceClient() 64 HiLog::Debug(LABEL, "%{public}s get service success, retry : %{public}d", __func__, retry); in InitServiceClient() 73 HiLog::Warn(LABEL, "%{public}s get service failed, retry : %{public}d", __func__, retry); in InitServiceClient() 75 retry++; in InitServiceClient()
|
/base/request/request/services/src/task/ |
H A D | config.rs | 87 pub(crate) retry: bool, 279 retry: false, in default() 393 /// retry 394 pub fn retry(&mut self, retry: bool) -> &mut Self { in retry() functions 395 self.inner.common_data.retry = retry; in retry() 411 parcel.write(&(self.common_data.retry))?; in serialize()
|
H A D | ffi.rs | 68 pub(crate) retry: bool, 296 retry: self.common_data.retry, 355 retry: c_struct.common_data.retry,
|
/base/request/request/frameworks/cj/ffi/include/ |
H A D | cj_request_ffi.h | 94 bool retry; member 132 bool retry; member
|
/base/sensors/sensor/services/hdi_connection/adapter/src/ |
H A D | hdi_connection.cpp | 56 int32_t retry = 0;
in ConnectHdi() local 57 while (retry < GET_HDI_SERVICE_COUNT) {
in ConnectHdi() 66 retry++;
in ConnectHdi() 67 SEN_HILOGW("Connect hdi service failed, retry:%{public}d", retry);
in ConnectHdi()
|
/base/request/request/services/src/manage/ |
H A D | notifier.rs | 141 .retry(true) in ut_notify_progress() 197 .retry(true) in ut_notify_pause_resume() 249 .retry(true) in ut_notify_remove() 286 .retry(true) in ut_notify_completed() 324 .retry(true) in ut_notify_failed() 362 .retry(true) in ut_notify_pause_resume_completed() 400 .retry(true) in ut_notify_pause_resume_failed()
|
/base/sensors/sensor/frameworks/native/src/ |
H A D | sensor_service_client.cpp | 85 int32_t retry = 0; in InitServiceClient() local 86 while (retry < GET_SERVICE_MAX_COUNT) { in InitServiceClient() 91 SEN_HILOGD("Get service success, retry:%{public}d", retry); in InitServiceClient() 100 SEN_HILOGW("Get service failed, retry:%{public}d", retry); in InitServiceClient() 102 retry++; in InitServiceClient() 254 SEN_HILOGD("Previous socket channel status is false, not need retry creat socket channel"); in ReenableSensor()
|
/base/request/request/frameworks/cj/ffi/src/ |
H A D | cj_request_impl.cpp | 119 out.retry = config->retry; in Convert2Config() 179 out.retry = task.retry; in Convert2CTaskInfo() 259 out.retry = in.retry; in Convert2CConfig()
|
/base/request/request/services/include/ |
H A D | c_task_config.h | 37 bool retry; member
|
/base/startup/appspawn/test/unittest/ |
H A D | app_spawn_test_helper.cpp | 162 uint32_t retry = 0; in Start() local 178 retry++; in Start() 179 } while (ret == EAGAIN && retry < 10); // 10 max retry in Start() 182 retry = 0; in Start() 183 while (!running_ && (retry < 10)) { // 10 max retry in Start() 185 retry++; in Start() 187 APPSPAWN_LOGV("AppSpawnTestServer::Start retry %{public}u", retry); in Start() [all...] |
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/adapter/src/ |
H A D | hdi_connection.cpp | 51 int32_t retry = 0;
in ConnectHdi() local 52 while (retry < GET_HDI_SERVICE_COUNT) {
in ConnectHdi() 64 retry++;
in ConnectHdi() 65 HiLog::Warn(LABEL, "%{public}s connect hdi service failed, retry : %{public}d", __func__, retry);
in ConnectHdi()
|
/base/sensors/miscdevice/frameworks/native/vibrator/src/ |
H A D | vibrator_service_client.cpp | 83 int32_t retry = 0; in InitServiceClient() local 84 while (retry < GET_SERVICE_MAX_COUNT) { in InitServiceClient() 87 MISC_HILOGD("Get service success, retry:%{public}d", retry); in InitServiceClient() 106 MISC_HILOGW("Get service failed, retry:%{public}d", retry); in InitServiceClient() 108 retry++; in InitServiceClient()
|