Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/settings/
DControlsSettingsDialogManager.kt126 val attempts = prefs.getInt(PREFS_SETTINGS_DIALOG_ATTEMPTS, 0) in maybeShowDialog() constant
128 attempts >= MAX_NUMBER_ATTEMPTS_CONTROLS_DIALOG || in maybeShowDialog()
135 val listener = DialogListener(prefs, attempts, onAttemptCompleted) in maybeShowDialog()
180 private val attempts: Int, constant in com.android.systemui.controls.settings.ControlsSettingsDialogManagerImpl.DialogListener
196 if (attempts != MAX_NUMBER_ATTEMPTS_CONTROLS_DIALOG) { in onClick()
206 if (attempts < MAX_NUMBER_ATTEMPTS_CONTROLS_DIALOG) { in onCancel()
207 prefs.edit().putInt(PREFS_SETTINGS_DIALOG_ATTEMPTS, attempts + 1).apply() in onCancel()
/frameworks/native/services/surfaceflinger/
DDisplayIdGenerator.h46 for (int attempts = 0; attempts < kMaxAttempts; attempts++) { in generateId() local
/frameworks/proto_logging/stats/atoms/telephony/satellite/
Dsatellite_extension_atoms.proto61 // Total count of successful attempts for turning on satellite service.
63 // Total count of failed attempts for turning on satellite service.
67 // Total count of failed attempts for outgoing datagrams.
71 // Total count of failed attempts for incoming datagrams.
73 // Total count of successful attempts for transferring SOS SMS.
75 // Total count of failed attempts for transferring SOS SMS.
77 // Total count of successful attempts for transferring location sharing.
79 // Total count of failed attempts for transferring location sharing.
83 // Total count of failed attempts for provisioning.
85 // Total count of successful attempts for deprovisioning.
[all …]
/frameworks/base/services/foldables/devicestateprovider/src/com/android/server/policy/
DBookStylePreferredScreenCalculator.java94 int attempts = 0; in calculatePreferredScreen() local
96 while (attempts < MAX_STATE_CHANGES && !Objects.equals(mState, newState)) { in calculatePreferredScreen()
99 attempts++; in calculatePreferredScreen()
102 if (attempts >= MAX_STATE_CHANGES) { in calculatePreferredScreen()
/frameworks/av/services/audiopolicy/tests/
Daudio_health_tests.cpp40 int attempts = 10; in TEST() local
42 if (attempts-- < 0) { in TEST()
/frameworks/av/media/mtp/
DMtpFfsCompatHandle.cpp126 size_t attempts = 0; in start() local
128 attempts < ENDPOINT_ALLOC_RETRIES) { in start()
136 attempts += 1; in start()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java753 void showAlmostAtWipeDialog(int attempts, int remaining, int userType) { in showAlmostAtWipeDialog() argument
758 attempts, remaining); in showAlmostAtWipeDialog()
762 attempts, remaining); in showAlmostAtWipeDialog()
769 attempts, remaining), in showAlmostAtWipeDialog()
770 attempts, remaining); in showAlmostAtWipeDialog()
776 void showWipeDialog(int attempts, int userType) { in showWipeDialog() argument
781 attempts); in showWipeDialog()
785 attempts); in showWipeDialog()
791 R.string.kg_failed_attempts_now_erasing_profile, attempts), in showWipeDialog()
792 attempts); in showWipeDialog()
/frameworks/proto_logging/stats/atoms/wearpas/
Dwearpas_extension_atoms.proto25 /* Number of suspend attempts during this interval */
29 * Number of suspend attempts that failed during this interval, a subset of
65 * Time spent doing suspend/resume work for all failed suspend attempts during
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/settings/
DControlsSettingsDialogManagerImplTest.kt281 val attempts = 0 in <lambda>() constant
282 sharedPreferences.putAttempts(attempts) in <lambda>()
290 .isEqualTo(attempts + 1) in <lambda>()
/frameworks/base/core/java/android/security/
Dflags.aconfig93 description: "Report primary auth attempts from LockSettingsService"
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/ui/viewmodel/
DPatternBouncerViewModelTest.kt304 val attempts = FakeAuthenticationRepository.MAX_FAILED_AUTH_TRIES_BEFORE_LOCKOUT + 1 in <lambda>() constant
305 repeat(attempts) { attempt -> in <lambda>()
/frameworks/av/media/libaudioclient/tests/
Daudio_test_utils.cpp565 int attempts = 5; in listAudioPorts() local
570 if (attempts-- < 0) { in listAudioPorts()
624 int attempts = 5; in listAudioPatches() local
629 if (attempts-- < 0) { in listAudioPatches()
/frameworks/base/packages/SystemUI/docs/device-entry/
Dbouncer.md16 …f controllers/views to render the user's security method and to manage the authentication attempts.
Dglossary.md30 …lures, the primary authentication bouncer is shown. The exact number of attempts is defined in: [B…
/frameworks/proto_logging/stats/atoms/corenetworking/platform/
Dvpn_extension_atoms.proto127 // Count of the validation attempts
130 // Count of the successful validation attempts
/frameworks/base/tests/CtsSurfaceControlTestsStaging/src/main/java/android/view/surfacecontroltests/
DGraphicsActivity.java629 int attempts = 0; in runTestsWithPreconditions() local
680 attempts++; in runTestsWithPreconditions()
684 attempts < PRECONDITION_WAIT_MAX_ATTEMPTS); in runTestsWithPreconditions()
/frameworks/base/ravenwood/
DREADME.md17 …* _Contrasted with Robolectric which attempts to run API implementations as-is, causing maintenanc…
/frameworks/base/core/proto/android/os/
Dbatteryusagestats.proto55 // Evidently, if one attempts to write an int to an enum field that is out of range, it
/frameworks/base/packages/SystemUI/docs/
Dmedia-controls.md77 …* Listens for new media data and attempts to find a valid `MediaBrowserService` for the app. If su…
Dclock-plugins.md44 otherwise attempts to do as little work as possible. It does maintain some state where necessary.
/frameworks/base/proto/src/
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.
/frameworks/compile/libbcc/
DREADME.rst16 performance *at the same time*. libbcc attempts to address these
/frameworks/proto_logging/stats/atoms/bluetooth/
Dbluetooth_extension_atoms.proto291 * Logs RFCOMM connection attempts
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1604 int attempts = MAX_PORT_GENERATION_SYNC_ATTEMPTS; in android_media_AudioSystem_listAudioPorts() local
1609 if (attempts-- < 0) { in android_media_AudioSystem_listAudioPorts()
1828 int attempts = MAX_PORT_GENERATION_SYNC_ATTEMPTS; in android_media_AudioSystem_listAudioPatches() local
1833 if (attempts-- < 0) { in android_media_AudioSystem_listAudioPatches()
/frameworks/proto_logging/stats/atoms/cronet/
Dcronet_extension_atoms.proto430 // the impl takes responsibility for logging this atom and attempts to do so soon as

12