Home
last modified time | relevance | path

Searched refs:retry_count (Results 1 – 25 of 39) sorted by relevance

12

/aosp12/hardware/st/secure_element/ese-spi-driver/
H A DStEseApi.cc154 int retry_count = 0; in StEse_Transceive() local
183 if ((rc == -2) && (retry_count < 3)) { in StEse_Transceive()
184 retry_count++; in StEse_Transceive()
186 " = %d\n", __FUNCTION__, retry_count); in StEse_Transceive()
193 retry_count = 0; in StEse_Transceive()
198 retry_count = 0; in StEse_Transceive()
207 if ((rc == -2) && (retry_count < 3)) { in StEse_Transceive()
208 retry_count++; in StEse_Transceive()
210 __FUNCTION__, retry_count); in StEse_Transceive()
220 retry_count = 0; in StEse_Transceive()
/aosp12/system/logging/logd/
H A DLogBufferTest.cpp394 int retry_count = 1s / 5000us; in TEST_P() local
395 while (retry_count--) { in TEST_P()
403 ASSERT_GT(retry_count, 0); in TEST_P()
412 retry_count = 1s / 5000us; in TEST_P()
413 while (retry_count--) { in TEST_P()
421 ASSERT_GT(retry_count, 0); in TEST_P()
449 while (retry_count--) { in TEST_P()
457 ASSERT_GT(retry_count, 0); in TEST_P()
466 retry_count = 1s / 5000us; in TEST_P()
467 while (retry_count--) { in TEST_P()
[all …]
/aosp12/bootable/recovery/
H A Drecovery.cpp555 options.push_back(android::base::StringPrintf("--retry_count=%d", retry_count)); in set_retry_bootloader_message()
628 int retry_count = 0; in start_recovery() local
659 android::base::ParseInt(optarg, &retry_count, 0); in start_recovery()
737 } else if (retry_count == 0 && bootreason_in_blocklist()) { in start_recovery()
745 if (retry_count == 0) { in start_recovery()
746 set_retry_bootloader_message(retry_count + 1, args); in start_recovery()
761 retry_count, ui); in start_recovery()
776 if (status == INSTALL_RETRY && retry_count < RETRY_LIMIT) { in start_recovery()
778 retry_count += 1; in start_recovery()
779 set_retry_bootloader_message(retry_count, args); in start_recovery()
[all …]
/aosp12/bootable/recovery/install/
H A Dinstall.cpp282 bool SetUpNonAbUpdateCommands(const std::string& package, ZipArchiveHandle zip, int retry_count, in SetUpNonAbUpdateCommands() argument
319 if (retry_count > 0) { in SetUpNonAbUpdateCommands()
337 std::vector<std::string>* log_buffer, int retry_count, in TryUpdateBinary() argument
422 : SetUpNonAbUpdateCommands(package_path, zip, retry_count, pipe_write.get(), &args); in TryUpdateBinary()
538 std::vector<std::string>* log_buffer, int retry_count, in VerifyAndInstallPackage() argument
553 if (retry_count > 0) { in VerifyAndInstallPackage()
554 ui->Print("Retry attempt: %d\n", retry_count); in VerifyAndInstallPackage()
557 auto result = TryUpdateBinary(package, wipe_cache, log_buffer, retry_count, max_temperature, ui); in VerifyAndInstallPackage()
565 bool should_wipe_cache, int retry_count, RecoveryUI* ui) { in InstallPackage() argument
586 result = VerifyAndInstallPackage(package, &updater_wipe_cache, &log_buffer, retry_count, in InstallPackage()
[all …]
/aosp12/packages/modules/adb/client/
H A Dtransport_local.cpp181 uint32_t retry_count; member
212 << port.retry_count; in client_socket_thread()
217 if (--port.retry_count > 0) { in client_socket_thread()
247 port.retry_count = LOCAL_PORT_RETRY_COUNT; in ~EmulatorConnection()
/aosp12/system/extras/simpleperf/
H A DIOEventLoop_test.cpp34 int retry_count = 0; in TEST() local
44 retry_count++; in TEST()
63 ASSERT_GT(retry_count, 0); in TEST()
H A Dcpu_hotplug_test.cpp130 size_t retry_count = 0; in SetCpuOnline() local
139 LOG(ERROR) << "reading cpu retry count = " << retry_count << ", requested = " << online in SetCpuOnline()
141 if (++retry_count == 10000) { in SetCpuOnline()
/aosp12/system/update_engine/cros/
H A Dupdate_engine_client.cc152 int retry_count = kShowStatusRetryCount; in ShowStatus() local
153 while (retry_count > 0) { in ShowStatus()
157 if (--retry_count == 0) { in ShowStatus()
166 << retry_count << " more times!"; in ShowStatus()
/aosp12/hardware/interfaces/wifi/1.0/vts/functional/
H A Dwifi_hidl_test_utils.cpp103 uint32_t retry_count = 0; in getWifiChip() local
105 while (retry_count < kHalStartRetryMaxCount && in getWifiChip()
107 retry_count++; in getWifiChip()
/aosp12/system/core/trusty/storage/proxy/
H A Drpmb.c407 int retry_count = UFS_RPMB_WRITE_RETRY_COUNT; in send_ufs_rpmb_req() local
418 } while (check_sg_io_hdr(&io_hdr) == SCSI_RES_RETRY && retry_count-- > 0); in send_ufs_rpmb_req()
432 int retry_count = is_request_write ? 0 : UFS_RPMB_READ_RETRY_COUNT; in send_ufs_rpmb_req() local
443 } while (check_sg_io_hdr(&io_hdr) == SCSI_RES_RETRY && retry_count-- > 0); in send_ufs_rpmb_req()
/aosp12/packages/modules/DnsResolver/
H A Dparams.h34 int retry_count; // number of retries member
H A DResolverController.cpp225 res_params.retry_count = resolverParams.retryCount; in setResolverConfiguration()
261 (*params)[IDnsResolver::RESOLVER_PARAMS_RETRY_COUNT] = res_params.retry_count; in getResolverInfo()
339 params.max_samples, params.base_timeout_msec, params.retry_count); in dump()
/aosp12/hardware/google/pixel/fastboot/
H A DFastboot.cpp189 const uint8_t retry_count = 5; in doOemSpecificErase() local
191 for(uint8_t i = 0; i < retry_count; i++) { in doOemSpecificErase()
/aosp12/bootable/recovery/install/include/private/
H A Dsetup_commands.h30 bool SetUpNonAbUpdateCommands(const std::string& package, ZipArchiveHandle zip, int retry_count,
/aosp12/bootable/recovery/install/include/install/
H A Dinstall.h52 bool should_wipe_cache, int retry_count, RecoveryUI* ui);
/aosp12/hardware/qcom/display/msm8996/hdmi_cec/
H A Dqhdmi_cec.cpp246 int retry_count = 0; in cec_send_message() local
251 retry_count++; in cec_send_message()
252 if (err == -EAGAIN && retry_count <= MAX_SEND_MESSAGE_RETRIES) { in cec_send_message()
/aosp12/hardware/qcom/display/msm8998/hdmi_cec/
H A Dqhdmi_cec.cpp250 int retry_count = 0; in cec_send_message() local
255 retry_count++; in cec_send_message()
256 if (err == -EAGAIN && retry_count <= MAX_SEND_MESSAGE_RETRIES) { in cec_send_message()
/aosp12/hardware/qcom/sdm845/display/hdmi_cec/
H A Dqhdmi_cec.cpp246 int retry_count = 0; in cec_send_message() local
251 retry_count++; in cec_send_message()
252 if (err == -EAGAIN && retry_count <= MAX_SEND_MESSAGE_RETRIES) { in cec_send_message()
/aosp12/hardware/qcom/sm7250/display/hdmi_cec/
H A Dqhdmi_cec.cpp246 int retry_count = 0; in cec_send_message() local
251 retry_count++; in cec_send_message()
252 if (err == -EAGAIN && retry_count <= MAX_SEND_MESSAGE_RETRIES) { in cec_send_message()
/aosp12/hardware/qcom/sm8150/display/hdmi_cec/
H A Dqhdmi_cec.cpp246 int retry_count = 0; in cec_send_message() local
251 retry_count++; in cec_send_message()
252 if (err == -EAGAIN && retry_count <= MAX_SEND_MESSAGE_RETRIES) { in cec_send_message()
/aosp12/system/core/fs_mgr/
H A Dfs_mgr.cpp214 int retry_count = 5; in check_fs() local
215 while (retry_count-- > 0) { in check_fs()
222 if (retry_count) sleep(1); in check_fs()
905 int retry_count = 2; in mount_with_alternatives() local
906 while (retry_count-- > 0) { in mount_with_alternatives()
919 if (retry_count <= 0) break; // run check_fs only once in mount_with_alternatives()
1985 int retry_count = 2; in fs_mgr_do_mount_helper() local
1986 while (retry_count-- > 0) { in fs_mgr_do_mount_helper()
1991 if (retry_count <= 0) break; // run check_fs only once in fs_mgr_do_mount_helper()
/aosp12/hardware/qcom/display/msm8909w_3100/hdmi_cec/
H A Dqhdmi_cec.cpp257 int retry_count = 0; in cec_send_message() local
262 retry_count++; in cec_send_message()
263 if (err == -EAGAIN && retry_count <= MAX_SEND_MESSAGE_RETRIES) { in cec_send_message()
/aosp12/hardware/qcom/display/msm8909/hdmi_cec/
H A Dqhdmi_cec.cpp257 int retry_count = 0; in cec_send_message() local
262 retry_count++; in cec_send_message()
263 if (err == -EAGAIN && retry_count <= MAX_SEND_MESSAGE_RETRIES) { in cec_send_message()
/aosp12/packages/modules/DnsResolver/tests/
H A Dresolv_callback_unit_test.cpp129 .retry_count = 2, in SetResolvers()
/aosp12/system/nfc/src/nfc/tags/
H A Drw_i93.cc3172 if ((rw_cb.tcb.i93.retry_count < RW_MAX_RETRIES) && in rw_i93_process_timeout()
3175 rw_cb.tcb.i93.retry_count++; in rw_i93_process_timeout()
3177 rw_cb.tcb.i93.retry_count); in rw_i93_process_timeout()
3191 rw_cb.tcb.i93.retry_count = 0; in rw_i93_process_timeout()
3224 if ((p_i93->retry_count < RW_MAX_RETRIES) && (p_i93->p_retry_cmd)) { in rw_i93_data_cback()
3225 p_i93->retry_count++; in rw_i93_data_cback()
3228 p_i93->retry_count); in rw_i93_data_cback()
3245 p_i93->retry_count = 0; in rw_i93_data_cback()
3254 p_i93->retry_count = 0; in rw_i93_data_cback()
3278 p_i93->retry_count = 0; in rw_i93_data_cback()
[all …]

12