Home
last modified time | relevance | path

Searched refs:retry (Results 1 – 25 of 41) sorted by relevance

12

/system/core/init/test_kill_services/
Dinit_kill_services_test.cpp42 for (size_t retry = 0; retry < kRetryTimes; retry++) { in ExpectKillingServiceRecovers() local
/system/vold/
Dvdc.cpp149 int retry; in main() local
150 if (!android::base::ParseInt(args[2], &retry)) exit(EINVAL); in main()
151 checkStatus(args, vold->startCheckpoint(retry)); in main()
173 int retry; in main() local
174 if (!android::base::ParseInt(args[2], &retry)) exit(EINVAL); in main()
175 checkStatus(args, vold->abortChanges(args[2], retry != 0)); in main()
DCheckpoint.h32 android::binder::Status cp_startCheckpoint(int retry);
36 void cp_abortChanges(const std::string& message, bool retry);
DCheckpoint.cpp123 Status cp_startCheckpoint(int retry) { in cp_startCheckpoint() argument
128 if (retry < -1) return error(EINVAL, "Retry count must be more than -1"); in cp_startCheckpoint()
129 std::string content = std::to_string(retry + 1); in cp_startCheckpoint()
130 if (retry == -1) { in cp_startCheckpoint()
218 int retry = 0; in abort_metadata_file() local
230 if (!android::base::ParseInt(retryContent, &retry)) { in abort_metadata_file()
234 if (retry > 0) { in abort_metadata_file()
242 void cp_abortChanges(const std::string& message, bool retry) { in cp_abortChanges() argument
244 if (!retry) abort_metadata_file(); in cp_abortChanges()
719 int retry = 0; in cp_markBootAttempt() local
[all …]
DVoldNativeService.h134 binder::Status startCheckpoint(int32_t retry);
143 binder::Status abortChanges(const std::string& message, bool retry);
/system/extras/tests/bootloader/
Dbootloadertest.py185 retry = self.get_exists_integer("slot-retry-count:"+slot)
187 maxtries = retry
189 self.assertEqual(maxtries, retry)
194 retry = self.get_exists_integer("slot-retry-count:"+slot)
196 maxtries = retry
198 self.assertEqual(maxtries, retry)
/system/core/init/
Dkeychords_test.cpp265 for (int retry = 1000; retry && !IsChord(chord); --retry) RelaxForMs(); in WaitForChord() local
306 for (int retry = 1000; retry && before == InitInputFds(); --retry) test_frame.RelaxForMs(); in TEST() local
/system/logging/logd/
DLogPermissions.cpp81 for (int retry = 3; !(ret = foundGid && foundUid && foundGroup) && retry; --retry) { in checkSupplementaryGroup() local
DSimpleLogBuffer.cpp217 for (int retry = 0; retry < 3; ++retry) { in Clear() local
/system/apex/apexd/
Dapexd_checkpoint_vold.cpp107 bool retry) { in AbortChanges() argument
108 vold_service_->abortChanges(msg, retry); in AbortChanges()
Dapexd_checkpoint.h38 bool retry) = 0;
Dapexd_checkpoint_vold.h44 android::base::Result<void> StartCheckpoint(int32_t retry) override;
/system/update_engine/common/
Dtest_utils.h115 for (int retry = 0; retry < 5; retry++) { in ~ScopedLoopbackDeviceBinder() local
/system/libhidl/transport/include/hidl/
DHidlTransportSupport.h162 sp<IType> getServiceInternal(const std::string& instance, bool retry, bool getStub) { in getServiceInternal() argument
165 sp<IBase> base = getRawServiceInternal(IType::descriptor, instance, retry, getStub); in getServiceInternal()
DServiceManagement.h67 bool retry, bool getStub);
/system/core/fastboot/
Dusb_linux.cpp443 int n, retry; in Read() local
456 retry = 0; in Read()
461 DBG("[ usb read %d ] = %d, fname=%s, Retry %d \n", xfer, n, handle_->fname, retry); in Read()
465 if (++retry > MAX_RETRIES) return -1; in Read()
/system/libfmq/
DEventFlag.cpp165 bool retry) { in wait() argument
166 if (!retry) { in wait()
/system/libfmq/include/fmq/
DEventFlag.h92 bool retry = false);
/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/
Dsnapuserd_merge.cpp471 bool retry = false; in Merge() local
479 retry = true; in Merge()
488 const bool sync_merge_required = (retry || !merge_async_); in Merge()
Dsnapuserd_readahead.cpp618 bool retry = false; in ReadAheadIOStart() local
628 retry = true; in ReadAheadIOStart()
638 const bool ra_sync_required = (retry || !read_ahead_async_); in ReadAheadIOStart()
/system/vold/binder/android/os/
DIVold.aidl108 void startCheckpoint(int retry); in startCheckpoint() argument
112 void abortChanges(in @utf8InCpp String device, boolean retry); in abortChanges() argument
/system/core/gatekeeperd/include/gatekeeper/
DGateKeeperResponse.h48 static GateKeeperResponse retry(int32_t timeout) { in retry() function
/system/extras/boottime_tools/bootanalyze/
Dbootanalyze.py797 retry = 0
798 while retry < 20:
804 retry += 1
818 retry = 0
819 while retry < 5:
822 retry += 1
/system/netd/server/
DNetlinkHandler.cpp54 #define LOG_EVENT_FUNC(retry, func, ...) \ argument
59 if (retry(listener.first->func(__VA_ARGS__))) { \
/system/core/libprocessgroup/
Dprocessgroup.cpp430 int retry = retries; in KillProcessGroup() local
437 if (retry > 0) { in KillProcessGroup()
439 --retry; in KillProcessGroup()

12