Searched refs:kMaxAttempts (Results 1 – 4 of 4) sorted by relevance
44 constexpr int kMaxAttempts = 1000; in generateId() local46 for (int attempts = 0; attempts < kMaxAttempts; attempts++) { in generateId()54 LOG_ALWAYS_FATAL("Couldn't generate ID after %d attempts", kMaxAttempts); in generateId()
2529 constexpr int kMaxAttempts = 3; in loadDisplayModes() local2540 } while (!activeModeIsSupported && ++attempt < kMaxAttempts); in loadDisplayModes()2544 kMaxAttempts, *activeModeHwcId, base::Join(hwcModes, ", ").c_str()); in loadDisplayModes()
135 static constexpr const size_t kMaxAttempts = 20; member in __anon3f7f08150110::ReconnectHandler178 ReconnectAttempt{transport, reconnect_time, ReconnectHandler::kMaxAttempts}); in TrackTransport()
2296 constexpr int kMaxAttempts = 50; in findDnsSockets() local2298 for (int i = 0; i < kMaxAttempts; i++) { in findDnsSockets()2301 << "Failed to dump sockets, attempt " << i << " of " << kMaxAttempts; in findDnsSockets()