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.cpp131 int retry; in main() local
132 if (!android::base::ParseInt(args[2], &retry)) exit(EINVAL); in main()
133 checkStatus(args, vold->startCheckpoint(retry)); in main()
155 int retry; in main() local
156 if (!android::base::ParseInt(args[2], &retry)) exit(EINVAL); in main()
157 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 …]
/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/logging/logd/
DLogPermissions.cpp86 for (int retry = 3; !(ret = foundGid && foundUid && foundLog) && retry; in clientHasLogCredentials() local
87 --retry) { in clientHasLogCredentials()
DSimpleLogBuffer.cpp217 for (int retry = 0; retry < 3; ++retry) { in Clear() local
/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.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.h120 for (int retry = 0; retry < 5; retry++) { in ~ScopedLoopbackDeviceBinder() local
/system/bt/profile/avrcp/
Dconnection_handler.h146 virtual bool SdpLookup(const RawAddress& bdaddr, SdpCallback cb, bool retry);
148 tSDP_DISCOVERY_DB* disc_db, bool retry, uint16_t status);
Dconnection_handler.cc172 bool retry) { in SdpLookup() argument
193 cb, disc_db, retry)) == AVRC_SUCCESS; in SdpLookup()
424 tSDP_DISCOVERY_DB* disc_db, bool retry, in SdpCb() argument
428 if (status == SDP_CONN_FAILED and !retry) { in SdpCb()
/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/include/fmq/
DEventFlag.h108 bool retry = false);
/system/bt/test/mock/
Dmock_system_libfmq_eventflag.cc83 int64_t timeoutNanoSeconds, bool retry) { in wait() argument
/system/libfmq/
DEventFlag.cpp202 bool retry) { in wait() argument
203 if (!retry) { in wait()
/system/core/gatekeeperd/include/gatekeeper/
DGateKeeperResponse.h48 static GateKeeperResponse retry(int32_t timeout) { in retry() function
/system/vold/binder/android/os/
DIVold.aidl119 void startCheckpoint(int retry); in startCheckpoint() argument
123 void abortChanges(in @utf8InCpp String device, boolean retry); in abortChanges() argument
/system/extras/boottime_tools/bootanalyze/
Dbootanalyze.py754 retry = 0
755 while retry < 20:
761 retry += 1
775 retry = 0
776 while retry < 5:
779 retry += 1
/system/core/libprocessgroup/
Dprocessgroup.cpp355 int retry = retries; in KillProcessGroup() local
362 if (retry > 0) { in KillProcessGroup()
364 --retry; in KillProcessGroup()
/system/netd/server/
DNetlinkHandler.cpp54 #define LOG_EVENT_FUNC(retry, func, ...) \ argument
59 if (retry(listener.first->func(__VA_ARGS__))) { \

12