Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/camera/
H A DCameraServiceProxy.java1021 private void notifySwitchWithRetries(int retries) { in notifySwitchWithRetries() argument
1023 notifySwitchWithRetriesLocked(retries); in notifySwitchWithRetries()
1027 private void notifySwitchWithRetriesLocked(int retries) { in notifySwitchWithRetriesLocked() argument
1032 retries = 0; in notifySwitchWithRetriesLocked()
1034 if (retries <= 0) { in notifySwitchWithRetriesLocked()
1038 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_SWITCH_USER, retries - 1, 0, null), in notifySwitchWithRetriesLocked()
1061 private void notifyDeviceStateWithRetries(int retries) { in notifyDeviceStateWithRetries() argument
1063 notifyDeviceStateWithRetriesLocked(retries); in notifyDeviceStateWithRetries()
1067 private void notifyDeviceStateWithRetriesLocked(int retries) { in notifyDeviceStateWithRetriesLocked() argument
1071 if (retries <= 0) { in notifyDeviceStateWithRetriesLocked()
[all …]
/aosp14/system/core/libprocessgroup/
H A Dprocessgroup.cpp216 static int RemoveProcessGroup(const char* cgroup, uid_t uid, int pid, unsigned int retries) { in RemoveProcessGroup() argument
221 while (retries--) { in RemoveProcessGroup()
452 static int KillProcessGroup(uid_t uid, int initialPid, int signal, int retries, in KillProcessGroup() argument
469 int retry = retries; in KillProcessGroup()
505 if (retries > 0) { in KillProcessGroup()
528 if (retries > 0) { in KillProcessGroup()
/aosp14/frameworks/base/services/core/java/com/android/server/content/
H A DSyncOperation.java104 int retries; field in SyncOperation
259 jobInfoExtras.putInt("retries", retries); in toJobInfoExtras()
328 op.retries = jobExtras.getInt("retries"); in maybeCreateFromJobExtras()
448 if (retries > 0) { in dump()
450 sb.append(retries); in dump()
H A DSyncManager.md90 `SyncOperation.syncExemptionFlag`, unless the number of retries (not counting the original sync
H A DSyncManager.java3866 syncOperation.retries++; in runSyncFinishedOrCanceledH()
3867 if (syncOperation.retries > mConstants.getMaxRetriesWithAppStandbyExemption()) { in runSyncFinishedOrCanceledH()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
H A DAppStandbyControllerTests.java761 int retries = 0; in assertBucket() local
768 retries++; in assertBucket()
769 } while(retries < ASSERT_RETRY_ATTEMPTS); in assertBucket()
776 int retries = 0; in assertNotBucket() local
783 retries++; in assertNotBucket()
784 } while(retries < ASSERT_RETRY_ATTEMPTS); in assertNotBucket()
/aosp14/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
H A DAppLaunch.java527 private void compileAppForIorapWithRetries(String appPkgName, int retries) throws IOException { in compileAppForIorapWithRetries() argument
528 for (int i = 0; i < retries; ++i) { in compileAppForIorapWithRetries()
536 + retries + " retries"); in compileAppForIorapWithRetries()