/aosp12/system/extras/tests/tcp_nuke_addr/ |
H A D | tcp_nuke_addr_test.cpp | 92 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 D | libgsi.cpp | 81 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 D | libgsi_private.h | 25 bool GetBootAttempts(const std::string& boot_key, int* attempts);
|
/aosp12/system/hardware/interfaces/suspend/1.0/default/ |
H A D | SuspendProperties.sysprop | 18 # 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 D | DisplayIdGenerator.h | 46 for (int attempts = 0; attempts < kMaxAttempts; attempts++) { in generateId() local
|
/aosp12/system/core/fastboot/ |
H A D | udp.cpp | 126 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 D | common.h | 38 attempts(1), in Arguments() 48 unsigned attempts; member
|
H A D | dnschk.cpp | 49 for (int i = 0; i < args.attempts; i++) { in main()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | KeyguardSecurityContainer.java | 732 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 D | AllApps.java | 123 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 D | IptablesRestoreControllerTest.cpp | 174 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 D | audio_health_tests.cpp | 39 int attempts = 10; in TEST() local 41 if (attempts-- < 0) { in TEST()
|
/aosp12/frameworks/av/media/mtp/ |
H A D | MtpFfsCompatHandle.cpp | 126 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 D | VehicleHalManager_test.cpp | 375 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 D | info.txt | 1 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 D | MoreWirelessSettingsTest2.java | 658 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 D | info.txt | 5 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 D | cc_tf_test_launcher.sh | 29 --no-enable-granular-attempts \
|
/aosp12/system/sepolicy/prebuilts/api/31.0/private/ |
H A D | mm_events.te | 8 # Allow running the sleep command to rate limit attempts
|
/aosp12/system/sepolicy/prebuilts/api/32.0/private/ |
H A D | mm_events.te | 8 # Allow running the sleep command to rate limit attempts
|
/aosp12/system/sepolicy/private/ |
H A D | mm_events.te | 8 # Allow running the sleep command to rate limit attempts
|
/aosp12/packages/services/Car/service/src/com/android/car/cluster/ |
H A D | InstrumentClusterService.java | 450 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 D | FileCopyUiTest.java | 157 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 D | usbhost.c | 325 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 D | utils.cc | 90 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()
|