Home
last modified time | relevance | path

Searched refs:attemptCount (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/cpp/powerpolicy/client/src/
DPowerPolicyClientBase.cpp83 int attemptCount = 1; in init() local
84 while (attemptCount <= kMaxConnectionAttempt) { in init()
89 LOG(WARNING) << "Connection attempt #" << attemptCount << " failed: " << ret.error(); in init()
90 attemptCount++; in init()
/packages/services/Car/service/src/com/android/car/
DCarLocationService.java599 private void injectLocation(Location location, int attemptCount) { in injectLocation() argument
613 logd("Successfully injected stored location on attempt %s.", attemptCount); in injectLocation()
615 } else if (attemptCount <= MAX_LOCATION_INJECTION_ATTEMPTS) { in injectLocation()
616 logd("Failed to inject stored location on attempt %s.", attemptCount); in injectLocation()
618 injectLocation(location, attemptCount + 1); in injectLocation()
619 }, 200L * attemptCount); in injectLocation() local