Home
last modified time | relevance | path

Searched refs:attempts (Results 1 – 13 of 13) sorted by relevance

/system/extras/tests/sdcard/
Dsysutil.cpp97 int attempts = 0; in readStringFromFile() local
101 while (size > 0 && !error && !eof && attempts < kMaxAttempts) in readStringFromFile()
124 ++attempts; in readStringFromFile()
163 int attempts = 0; in writeStringToFile() local
165 while (size > 0 && !error && attempts < kMaxAttempts) in writeStringToFile()
182 ++attempts; in writeStringToFile()
449 int attempts = 0; in writePidAndWaitForReply() local
451 while (size > 0 && !error && attempts < kMaxAttempts) in writePidAndWaitForReply()
468 ++attempts; in writePidAndWaitForReply()
480 attempts = 0; in writePidAndWaitForReply()
[all …]
/system/extras/tests/tcp_nuke_addr/
Dtcp_nuke_addr_test.cpp92 android::RWLock *lock, std::atomic<unsigned int> *attempts) { in connectLoop() argument
109 attempts->fetch_add(1); in connectLoop()
115 void progressThread(std::atomic<unsigned int> *attempts) { in progressThread() argument
121 total = attempts->load(); in progressThread()
138 std::atomic<unsigned int> attempts; in main() local
139 attempts.store(0); in main()
144 connectThreads[i] = new std::thread(connectLoop, sin, listensock, &lock, &attempts); in main()
146 std::thread t1(progressThread, &attempts); in main()
/system/core/fastboot/
Dudp.cpp125 size_t rx_length, int attempts, std::string* error);
130 uint8_t* rx_data, size_t rx_length, int attempts,
207 size_t rx_length, int attempts, std::string* error) { in SendData() argument
229 rx_length, attempts, error); in SendData()
254 size_t rx_length, const int attempts, std::string* error) { in SendSinglePacketHelper() argument
258 int attempts_left = attempts; in SendSinglePacketHelper()
304 attempts_left = attempts; in SendSinglePacketHelper()
/system/tpm/trunks/
Dresource_manager.cc163 int attempts = 0; in SendCommandAndWait() local
164 while (attempts++ < kMaxCommandAttempts) { in SendCommandAndWait()
469 int attempts = 0; in LoadContext() local
470 while (attempts++ < kMaxCommandAttempts) { in LoadContext()
817 int attempts = 0; in SaveContext() local
818 while (attempts++ < kMaxCommandAttempts) { in SaveContext()
/system/netd/server/
DRouteController.cpp940 unsigned attempts = 0; in flushRoutes() local
945 ++attempts; in flushRoutes()
946 } while (err != 0 && attempts < ROUTE_FLUSH_ATTEMPTS); in flushRoutes()
949 IP_VERSIONS[i], tableString, attempts); in flushRoutes()
/system/core/toolbox/
Dnewfs_msdos.c264 u_int extra_res, alignment=0, set_res, set_spf, set_spc, tempx, attempts=0; in newfs_msdos_main() local
603 attempts++; in newfs_msdos_main()
604 } while(opt_A && alignment != 0 && attempts < 2); in newfs_msdos_main()
/system/connectivity/shill/doc/
Ddevice-api.txt400 this property gives the number of attempts
408 gives the number of attempts remaining to supply
582 transmission attempts.
587 transmission attempts.
649 automated scan attempts. Setting this value to
Dprofile-api.txt169 The interval in seconds between attempts to
Dservice-api.txt415 attempts.
/system/core/logcat/
Devent.logtags72 75002 sqlite_mem_alarm_alloc_attempt (attempts|1|4)
/system/bt/doc/
Dpower_management.md67 min and max intervals, the number of attempts and the timeout. The overall
/system/tpm/trunks/generator/
Draw_commands_fixed.txt3512 of attack on the value of the key. If the caller attempts to use the session without knowing the
18868 If cpHash is not the Empty String when a policy command attempts to update it, the TPM will return
18873 timeOut – this parameter may only be changed to a smaller value. If a command attempts to update
25395 long as shEnable is CLEAR, the TPM will return an error in response to any command that attempts to
25400 attempts to operate upon an NV index that has TPMA_NV_PLATFORMCREATE SET.
27228 Self-healing shall not cause the count of failed attempts to decrement below zero.
27229 The count of failed attempts, the lockout interval, and self-healing interval are settable using
Draw_commands.txt3512 of attack on the value of the key. If the caller attempts to use the session without knowing the
18857 If cpHash is not the Empty String when a policy command attempts to update it, the TPM will return
18862 timeOut – this parameter may only be changed to a smaller value. If a command attempts to update
25384 long as shEnable is CLEAR, the TPM will return an error in response to any command that attempts to
25389 attempts to operate upon an NV index that has TPMA_NV_PLATFORMCREATE SET.
27217 Self-healing shall not cause the count of failed attempts to decrement below zero.
27218 The count of failed attempts, the lockout interval, and self-healing interval are settable using