Home
last modified time | relevance | path

Searched refs:retries (Results 1 – 25 of 34) sorted by relevance

12

/hardware/st/secure_element/ese-spi-driver/
DSpiLayerDriver.cc105 int retries = 0; in SpiLayerDriver_read() local
125 while (retries < 3) { in SpiLayerDriver_read()
137 int delay = delayTab[retries]; in SpiLayerDriver_read()
139 retries++; in SpiLayerDriver_read()
141 STLOG_HAL_W("## SpiRead retry %d/3 in %d milliseconds.", retries, delay); in SpiLayerDriver_read()
148 retries++; in SpiLayerDriver_read()
174 int retries = 0; in SpiLayerDriver_write() local
195 while (retries < 3) { in SpiLayerDriver_write()
207 int delay = delayTab[retries]; in SpiLayerDriver_write()
209 retries++; in SpiLayerDriver_write()
[all …]
/hardware/st/nfc/1.0/adaptation/
Di2clayer.c348 int retries = 0; in i2cWrite() local
351 while (retries < 3) { in i2cWrite()
360 retries++; in i2cWrite()
367 retries++; in i2cWrite()
384 int retries = 0; in i2cRead() local
387 while ((retries < 3) && (result < 0)) { in i2cRead()
407 if (retries < 3) { in i2cRead()
410 int delay = delayTab[retries]; in i2cRead()
412 retries++; in i2cRead()
413 STLOG_HAL_W("## i2cRead retry %d/3 in %d milliseconds.", retries, delay); in i2cRead()
/hardware/st/nfc/st21nfc/adaptation/
Di2clayer.cc459 int retries = 0; in i2cWrite() local
507 while (retries < 3) { in i2cWrite()
515 retries++; in i2cWrite()
522 retries++; in i2cWrite()
529 retries = 0; in i2cWrite()
546 int retries = 0; in i2cRead() local
549 while ((retries < 3) && (result < 0)) { in i2cRead()
570 if (retries < 3) { in i2cRead()
573 int delay = delayTab[retries]; in i2cRead()
575 retries++; in i2cRead()
[all …]
/hardware/st/secure_element2/secure_element/esehal/src/
Diso7816_t1.c253 t1->retries = MAX_RETRIES; in parse_rblock()
256 t1->retries--; in parse_rblock()
257 if (t1->retries <= 0) r = -ETIMEDOUT; in parse_rblock()
262 t1->retries--; in parse_rblock()
274 t1->retries--; in parse_rblock()
330 t1->retries = 0; in parse_request()
488 while (!t1->state.halt && t1->retries) { in t1_loop()
523 t1->retries--; in t1_loop()
544 t1->retries = 0; in t1_loop()
554 t1->retries--; in t1_loop()
[all …]
Diso7816_t1.h50 uint8_t retries; /* Remaining retries in case of incorrect block */ member
/hardware/qcom/gps/msm8960/utils/
Dloc_timer.c48 unsigned char retries=0; in timer_thread() local
72 while(retries < MAX_DELAY_RETRIES) { in timer_thread()
97 retries++; in timer_thread()
/hardware/interfaces/wifi/aidl/default/tests/
Daidl_struct_util_unit_tests.cpp154 link.stat.ac[legacy_hal::WIFI_AC_BE].retries = rand(); in TEST_F()
163 link.stat.ac[legacy_hal::WIFI_AC_BK].retries = rand(); in TEST_F()
172 link.stat.ac[legacy_hal::WIFI_AC_VI].retries = rand(); in TEST_F()
181 link.stat.ac[legacy_hal::WIFI_AC_VO].retries = rand(); in TEST_F()
200 .retries = 3, in TEST_F()
209 .retries = 9, in TEST_F()
276 EXPECT_EQ(link.stat.ac[legacy_hal::WIFI_AC_BE].retries, in TEST_F()
277 converted.iface.links[l].wmeBePktStats.retries); in TEST_F()
296 EXPECT_EQ(link.stat.ac[legacy_hal::WIFI_AC_BK].retries, in TEST_F()
297 converted.iface.links[l].wmeBkPktStats.retries); in TEST_F()
[all …]
/hardware/google/pixel/recovery/
Drecovery_ui.cpp130 uint32_t retries = 5; in PostWipeData() local
131 while (retries--) { in PostWipeData()
/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/current/android/hardware/wifi/
DStaLinkLayerIfacePacketStats.aidl40 long retries;
DStaRateStat.aidl41 int retries;
/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/1/android/hardware/wifi/
DStaLinkLayerIfacePacketStats.aidl40 long retries;
DStaRateStat.aidl41 int retries;
/hardware/interfaces/wifi/aidl/android/hardware/wifi/
DStaLinkLayerIfacePacketStats.aidl39 long retries;
DStaRateStat.aidl46 int retries;
/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/2/android/hardware/wifi/
DStaLinkLayerIfacePacketStats.aidl40 long retries;
DStaRateStat.aidl41 int retries;
/hardware/interfaces/biometrics/fingerprint/aidl/vts/
DVtsHalBiometricsFingerprintTargetTest.cpp146 int retries = 0; in SetUp() local
162 ++retries; in SetUp()
163 } while (!isOk && retries < 2); in SetUp()
/hardware/qcom/sm7250/display/liblight/
Dlights.c217 int retries = 20; in set_rgb_led_timer_trigger() local
229 while(retries--) { in set_rgb_led_timer_trigger()
230 ALOGD("retry %d set delay_off and delay_on\n", retries); in set_rgb_led_timer_trigger()
/hardware/interfaces/wifi/legacy_headers/include/hardware_legacy/
Dlink_layer_stats.h137 u32 retries; // total number of data pkt retries member
190 u32 retries; // total number of data pkt retries member
/hardware/interfaces/biometrics/face/aidl/vts/
DVtsHalBiometricsFaceTargetTest.cpp165 int retries = 0; in SetUp() local
181 ++retries; in SetUp()
182 } while (!isOk && retries < 2); in SetUp()
/hardware/libhardware_legacy/audio/
DA2dpAudioInterface.cpp301 int retries = MAX_WRITE_RETRIES; in write() local
302 while (remaining > 0 && retries) { in write()
309 retries--; in write()
/hardware/interfaces/radio/1.5/
DIRadioResponse.hal266 * no retries needed, such as illegal SIM or ME.
304 * @param remainingRetries postiive values indicates number of retries remaining,
305 * must be equal to -1 if number of retries is infinite.
/hardware/interfaces/wifi/1.5/
Dtypes.hal187 * Number of data packet retries
189 uint32_t retries;
/hardware/interfaces/wifi/aidl/default/
Daidl_struct_util.cpp936 linkStats.wmeBePktStats.retries = link.stat.ac[legacy_hal::WIFI_AC_BE].retries; in convertLegacyLinkLayerMlStatsToAidl()
948 linkStats.wmeBkPktStats.retries = link.stat.ac[legacy_hal::WIFI_AC_BK].retries; in convertLegacyLinkLayerMlStatsToAidl()
960 linkStats.wmeViPktStats.retries = link.stat.ac[legacy_hal::WIFI_AC_VI].retries; in convertLegacyLinkLayerMlStatsToAidl()
972 linkStats.wmeVoPktStats.retries = link.stat.ac[legacy_hal::WIFI_AC_VO].retries; in convertLegacyLinkLayerMlStatsToAidl()
1026 linkStats.wmeBePktStats.retries = legacy_stats.iface.ac[legacy_hal::WIFI_AC_BE].retries; in convertLegacyLinkLayerStatsToAidl()
1038 linkStats.wmeBkPktStats.retries = legacy_stats.iface.ac[legacy_hal::WIFI_AC_BK].retries; in convertLegacyLinkLayerStatsToAidl()
1050 linkStats.wmeViPktStats.retries = legacy_stats.iface.ac[legacy_hal::WIFI_AC_VI].retries; in convertLegacyLinkLayerStatsToAidl()
1062 linkStats.wmeVoPktStats.retries = legacy_stats.iface.ac[legacy_hal::WIFI_AC_VO].retries; in convertLegacyLinkLayerStatsToAidl()
1151 rateStat.retries = legacy_rate_stats.retries; in convertLegacyPeerInfoStatsToAidl()
/hardware/qcom/audio/hal/audio_extn/
Dcirrus_playback.c463 uint32_t retries = 5; in audio_extn_cirrus_calibration_thread() local
467 while (!adev->platform && retries) { in audio_extn_cirrus_calibration_thread()
470 retries--; in audio_extn_cirrus_calibration_thread()

12