Home
last modified time | relevance | path

Searched refs:CONNECT_RETRY_MAX_TIMES (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/test/moduletest/common/ams/service_app_spawn_client_test/
H A Dams_service_app_spawn_client_module_test.cpp45 const int32_t CONNECT_RETRY_MAX_TIMES = 2; variable
551 .Times(CONNECT_RETRY_MAX_TIMES)
588 .Times(CONNECT_RETRY_MAX_TIMES + 1)
617 for (int32_t i = 0; i < CONNECT_RETRY_MAX_TIMES; i++) {
659 … EXPECT_CALL(*mockedAppSpawnSocket, CloseAppSpawnConnection()).Times(CONNECT_RETRY_MAX_TIMES + 1);
689 .Times((CONNECT_RETRY_MAX_TIMES + 1) * (CONNECT_RETRY_MAX_TIMES + 1) - 1)
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_service_app_spawn_client_test/
H A Dams_service_app_spawn_client_test.cpp37 const int32_t CONNECT_RETRY_MAX_TIMES = 2; variable
745 .Times(CONNECT_RETRY_MAX_TIMES)
771 .Times(CONNECT_RETRY_MAX_TIMES + 1)
824 for (int i = 0; i < CONNECT_RETRY_MAX_TIMES; i++) {
/ohos5.0/base/startup/appspawn/test/moduletest/
H A Dappspawn_module_test.cpp40 static const int32_t CONNECT_RETRY_MAX_TIMES = 5; variable
52 while ((access(filepath, F_OK) != 0) && (retryCount < CONNECT_RETRY_MAX_TIMES)) { in CheckFileIsExists()
57 if (retryCount < CONNECT_RETRY_MAX_TIMES) { in CheckFileIsExists()
66 while ((access(filepath, F_OK) == 0) && (retryCount < CONNECT_RETRY_MAX_TIMES)) { in CheckFileIsNotExists()
71 if (retryCount < CONNECT_RETRY_MAX_TIMES) { in CheckFileIsNotExists()