Home
last modified time | relevance | path

Searched refs:retry (Results 1 – 25 of 40) 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.cpp124 int retry; in main() local
125 if (!android::base::ParseInt(args[2], &retry)) exit(EINVAL); in main()
126 checkStatus(args, vold->startCheckpoint(retry)); in main()
148 int retry; in main() local
149 if (!android::base::ParseInt(args[2], &retry)) exit(EINVAL); in main()
150 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.cpp124 Status cp_startCheckpoint(int retry) { in cp_startCheckpoint() argument
129 if (retry < -1) return error(EINVAL, "Retry count must be more than -1"); in cp_startCheckpoint()
130 std::string content = std::to_string(retry + 1); in cp_startCheckpoint()
131 if (retry == -1) { in cp_startCheckpoint()
219 int retry = 0; in abort_metadata_file() local
231 if (!android::base::ParseInt(retryContent, &retry)) { in abort_metadata_file()
235 if (retry > 0) { in abort_metadata_file()
243 void cp_abortChanges(const std::string& message, bool retry) { in cp_abortChanges() argument
245 if (!retry) abort_metadata_file(); in cp_abortChanges()
720 int retry = 0; in cp_markBootAttempt() local
[all …]
/system/core/logd/
DLogPermissions.cpp90 for (int retry = 3; !(ret = foundGid && foundUid && foundLog) && retry; in clientHasLogCredentials() local
91 --retry) { in clientHasLogCredentials()
DSimpleLogBuffer.cpp217 for (int retry = 0; retry < 3; ++retry) { in Clear() local
DSerializedLogBuffer.cpp269 for (int retry = 0; retry < 3; ++retry) { in Clear() local
/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/apex/apexd/
Dapexd_checkpoint_vold.cpp106 bool retry) { in AbortChanges() argument
107 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/bt/profile/avrcp/
Dconnection_handler.h138 virtual bool SdpLookup(const RawAddress& bdaddr, SdpCallback cb, bool retry);
140 tSDP_DISCOVERY_DB* disc_db, bool retry, uint16_t status);
Dconnection_handler.cc159 bool retry) { in SdpLookup() argument
180 cb, disc_db, retry)) == AVRC_SUCCESS; in SdpLookup()
410 tSDP_DISCOVERY_DB* disc_db, bool retry, in SdpCb() argument
414 if (status == SDP_CONN_FAILED and !retry) { in SdpCb()
/system/update_engine/common/
Dtest_utils.h120 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.h64 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/include/fmq/
DEventFlag.h108 bool retry = false);
/system/libfmq/
DEventFlag.cpp201 bool retry) { in wait() argument
202 if (!retry) { in wait()
/system/vold/binder/android/os/
DIVold.aidl109 void startCheckpoint(int retry); in startCheckpoint() argument
113 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/core/libprocessgroup/
Dprocessgroup.cpp323 int retry = retries; in KillProcessGroup() local
330 if (retry > 0) { in KillProcessGroup()
332 --retry; in KillProcessGroup()
/system/extras/boottime_tools/bootanalyze/
Dbootanalyze.py759 retry = 0
760 while retry < 20:
766 retry += 1
780 retry = 0
781 while retry < 5:
784 retry += 1
/system/netd/server/
DNetlinkHandler.cpp54 #define LOG_EVENT_FUNC(retry, func, ...) \ argument
59 if (retry(listener.first->func(__VA_ARGS__))) { \

12