Home
last modified time | relevance | path

Searched refs:attempts (Results 1 – 25 of 99) sorted by relevance

1234

/aosp12/system/extras/tests/tcp_nuke_addr/
H A Dtcp_nuke_addr_test.cpp92 android::RWLock *lock, std::atomic<unsigned int> *attempts) { in connectLoop() argument
109 attempts->fetch_add(1); in connectLoop()
115 void progressThread(std::atomic<unsigned int> *attempts) { in progressThread() argument
121 total = attempts->load(); in progressThread()
138 std::atomic<unsigned int> attempts; in main() local
139 attempts.store(0); in main()
143 std::thread(connectLoop, sin, listensock, &lock, &attempts).detach(); in main()
146 progressThread(&attempts); in main()
/aosp12/system/gsid/
H A Dlibgsi.cpp81 int attempts; in CanBootIntoGsi() local
82 if (GetBootAttempts(boot_key, &attempts)) { in CanBootIntoGsi()
83 if (attempts + 1 > kMaxBootAttempts) { in CanBootIntoGsi()
96 new_key = std::to_string(attempts + 1); in CanBootIntoGsi()
128 bool GetBootAttempts(const std::string& boot_key, int* attempts) { in GetBootAttempts() argument
129 return android::base::ParseInt(boot_key, attempts); in GetBootAttempts()
H A Dlibgsi_private.h25 bool GetBootAttempts(const std::string& boot_key, int* attempts);
/aosp12/system/hardware/interfaces/suspend/1.0/default/
H A DSuspendProperties.sysprop18 # Maximum time in milliseconds that system will wait between repeated suspend attempts
27 # Base time in milliseconds that system will wait between repeated suspend attempts
36 # Number of consecutive bad (short, failed) suspends above which time between attempts is scaled
54 # Factor for scaling the time between repeated suspend attempts
63 # If true, the wait time between repeated suspend attempts will be scaled on failed suspends
72 # If true, the wait time between repeated suspend attempts will be scaled on short suspends
/aosp12/frameworks/native/services/surfaceflinger/
H A DDisplayIdGenerator.h46 for (int attempts = 0; attempts < kMaxAttempts; attempts++) { in generateId() local
/aosp12/system/core/fastboot/
H A Dudp.cpp126 size_t rx_length, int attempts, std::string* error);
131 uint8_t* rx_data, size_t rx_length, int attempts,
208 size_t rx_length, int attempts, std::string* error) { in SendData() argument
230 rx_length, attempts, error); in SendData()
255 size_t rx_length, const int attempts, std::string* error) { in SendSinglePacketHelper() argument
259 int attempts_left = attempts; in SendSinglePacketHelper()
305 attempts_left = attempts; in SendSinglePacketHelper()
/aosp12/system/extras/multinetwork/
H A Dcommon.h38 attempts(1), in Arguments()
48 unsigned attempts; member
H A Ddnschk.cpp49 for (int i = 0; i < args.attempts; i++) { in main()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSecurityContainer.java732 void showAlmostAtWipeDialog(int attempts, int remaining, int userType) { in showAlmostAtWipeDialog() argument
737 attempts, remaining); in showAlmostAtWipeDialog()
741 attempts, remaining); in showAlmostAtWipeDialog()
745 attempts, remaining); in showAlmostAtWipeDialog()
751 void showWipeDialog(int attempts, int userType) { in showWipeDialog() argument
756 attempts); in showWipeDialog()
760 attempts); in showWipeDialog()
764 attempts); in showWipeDialog()
/aosp12/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
H A DAllApps.java123 int attempts = 0; in getAppIcon() local
147 ++attempts <= MAX_SCROLL_ATTEMPTS); in getAppIcon()
173 int attempts = 0; in scrollBackToBeginning() local
184 ++attempts <= MAX_SCROLL_ATTEMPTS); in scrollBackToBeginning()
/aosp12/system/netd/server/
H A DIptablesRestoreControllerTest.cpp174 int attempts; in acquireIptablesLock() local
175 for (attempts = 0; attempts < XT_LOCK_ATTEMPTS; attempts++) { in acquireIptablesLock()
181 EXPECT_LT(attempts, XT_LOCK_ATTEMPTS) << in acquireIptablesLock()
/aosp12/frameworks/av/services/audiopolicy/tests/
H A Daudio_health_tests.cpp39 int attempts = 10; in TEST() local
41 if (attempts-- < 0) { in TEST()
/aosp12/frameworks/av/media/mtp/
H A DMtpFfsCompatHandle.cpp126 size_t attempts = 0; in start() local
128 attempts < ENDPOINT_ALLOC_RETRIES) { in start()
136 attempts += 1; in start()
/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/tests/
H A DVehicleHalManager_test.cpp375 int attempts = 0; in TEST_F() local
376 while (StatusCode::TRY_AGAIN == actualStatusCode && ++attempts < 10) { in TEST_F()
381 ASSERT_EQ(kRetriablePropMockedAttempts + 1, attempts); in TEST_F()
446 int attempts = 0; in TEST_F() local
447 while (StatusCode::TRY_AGAIN == actualStatusCode && ++attempts < 10) { in TEST_F()
452 ASSERT_EQ(kRetriablePropMockedAttempts + 1, attempts); in TEST_F()
/aosp12/art/test/102-concurrent-gc/
H A Dinfo.txt1 Test that attempts to hide objects from a concurrently running GC. The
/aosp12/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
H A DMoreWirelessSettingsTest2.java658 for (int attempts = 0; attempts < MAX_ADD_NETWORK_BUTTON_ATTEMPTS; ++attempts) { in loadAddNetworkMenu()
754 for (int attempts = 0; found == null && attempts < MAX_SCROLL_ATTEMPTS; ++attempts) { in scrollToObject()
/aosp12/art/test/978-virtual-interface/
H A Dinfo.txt5 This test checks that we correctly detect when one attempts to invoke an
/aosp12/build/pesto/experiments/prepare_bazel_test_env/data/static/build/bazel/rules/
H A Dcc_tf_test_launcher.sh29 --no-enable-granular-attempts \
/aosp12/system/sepolicy/prebuilts/api/31.0/private/
H A Dmm_events.te8 # Allow running the sleep command to rate limit attempts
/aosp12/system/sepolicy/prebuilts/api/32.0/private/
H A Dmm_events.te8 # Allow running the sleep command to rate limit attempts
/aosp12/system/sepolicy/private/
H A Dmm_events.te8 # Allow running the sleep command to rate limit attempts
/aosp12/packages/services/Car/service/src/com/android/car/cluster/
H A DInstrumentClusterService.java450 int attempts = msg.arg1; in handleMessage() local
451 if (--attempts >= 0) { in handleMessage()
452 sendMessageDelayed(obtainMessage(0, attempts, 0), NEXT_REBIND_ATTEMPT_DELAY_MS); in handleMessage()
/aosp12/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
H A DFileCopyUiTest.java157 int attempts = 0; in setUp() local
158 while (mSdCardRoot == null && attempts++ < 15) { in setUp()
191 int attempts = 0; in tearDown() local
192 while (mSdCardRoot != null && attempts++ < 15) { in tearDown()
/aosp12/system/core/libusbhost/
H A Dusbhost.c325 int fd, attempts, writeable = 1; in usb_device_open() local
334 for (attempts = 0; attempts < MAX_ATTEMPTS; ++attempts) { in usb_device_open()
/aosp12/art/libartbase/base/
H A Dutils.cc90 bool TouchAndFlushCacheLinesWithinPage(uintptr_t start, uintptr_t limit, size_t attempts) { in TouchAndFlushCacheLinesWithinPage() argument
95 for (size_t i = 0; i < attempts; ++i) { in TouchAndFlushCacheLinesWithinPage()

1234