Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/settings/
H A DControlsSettingsDialogManager.kt126 val attempts = prefs.getInt(PREFS_SETTINGS_DIALOG_ATTEMPTS, 0) regex
128 attempts >= MAX_NUMBER_ATTEMPTS_CONTROLS_DIALOG ||
135 val listener = DialogListener(prefs, attempts, onAttemptCompleted)
180 private val attempts: Int,
196 if (attempts != MAX_NUMBER_ATTEMPTS_CONTROLS_DIALOG) {
206 if (attempts < MAX_NUMBER_ATTEMPTS_CONTROLS_DIALOG) {
207 prefs.edit().putInt(PREFS_SETTINGS_DIALOG_ATTEMPTS, attempts + 1).apply()
/aosp14/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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSecurityContainer.java750 void showAlmostAtWipeDialog(int attempts, int remaining, int userType) { in showAlmostAtWipeDialog() argument
755 attempts, remaining); in showAlmostAtWipeDialog()
759 attempts, remaining); in showAlmostAtWipeDialog()
766 attempts, remaining), in showAlmostAtWipeDialog()
767 attempts, remaining); in showAlmostAtWipeDialog()
773 void showWipeDialog(int attempts, int userType) { in showWipeDialog() argument
778 attempts); in showWipeDialog()
782 attempts); in showWipeDialog()
788 R.string.kg_failed_attempts_now_erasing_profile, attempts), in showWipeDialog()
789 attempts); in showWipeDialog()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/settings/
H A DControlsSettingsDialogManagerImplTest.kt281 val attempts = 0 regex
282 sharedPreferences.putAttempts(attempts)
290 .isEqualTo(attempts + 1)
/aosp14/system/core/libusbhost/
H A Dusbhost.c319 int fd, attempts, writeable = 1; in usb_device_open() local
328 for (attempts = 0; attempts < MAX_ATTEMPTS; ++attempts) { in usb_device_open()
/aosp14/frameworks/base/packages/SystemUI/docs/device-entry/
H A Dbouncer.md16 …f controllers/views to render the user's security method and to manage the authentication attempts.
H A Dglossary.md30 …lures, the primary authentication bouncer is shown. The exact number of attempts is defined in: [B…
/aosp14/frameworks/base/core/proto/android/os/
H A Dbatteryusagestats.proto55 // Evidently, if one attempts to write an int to an enum field that is out of range, it
/aosp14/frameworks/base/packages/SystemUI/docs/
H A Dmedia-controls.md77 …* Listens for new media data and attempts to find a valid `MediaBrowserService` for the app. If su…
H A Dclock-plugins.md44 otherwise attempts to do as little work as possible. It does maintain some state where necessary.
/aosp14/frameworks/base/proto/src/
H A Dipconnectivity.proto470 // Total number of validation attempts.
473 // Results from all validation attempts.
478 // The Pair value is the duration of the validation attempts in milliseconds.
/aosp14/system/core/fs_mgr/libsnapshot/android/snapshot/
H A Dsnapshot.proto213 // Status of the update after the merge attempts.
/aosp14/frameworks/base/core/jni/
H A Dandroid_media_AudioSystem.cpp1623 int attempts = MAX_PORT_GENERATION_SYNC_ATTEMPTS; in android_media_AudioSystem_listAudioPorts() local
1628 if (attempts-- < 0) { in android_media_AudioSystem_listAudioPorts()
1848 int attempts = MAX_PORT_GENERATION_SYNC_ATTEMPTS; in android_media_AudioSystem_listAudioPatches() local
1853 if (attempts-- < 0) { in android_media_AudioSystem_listAudioPatches()
/aosp14/system/core/fastboot/fuzzy_fastboot/
H A DREADME.md344 This is also how Fuzzy Fastboot attempts to recover from errors when the device is
/aosp14/frameworks/base/core/proto/android/server/
H A Djobscheduler.proto182 // Don't batch a non-ACTIVE job if it's been delayed due to force batching attempts for
/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java6145 public synchronized boolean waitForLoaded(int attempts) { in waitForLoaded() argument
6146 while ((mStatus == SOUND_EFFECTS_LOADING) && (attempts-- > 0)) { in waitForLoaded()