/packages/modules/Bluetooth/system/rust/src/connection/ |
D | attempt_manager.rs | 40 attempts: HashMap<ConnectionAttempt, ConnectionAttemptData>, field 64 Self { attempt_id: AttemptId(0), attempts: HashMap::new() } in new() 94 let Entry::Vacant(entry) = self.attempts.entry(attempt) else { in register_direct_connection() 122 let Entry::Vacant(entry) = self.attempts.entry(attempt) else { in register_background_connection() 138 self.attempts.remove(&ConnectionAttempt { client, mode, remote_address: address }); in cancel_attempt() 150 self.attempts.retain(|_, attempt| attempt.id != id); in cancel_attempt_with_id() 155 self.attempts.retain(|attempt, _| attempt.remote_address != address); in remove_unconditionally() 160 self.attempts.retain(|attempt, _| attempt.client != client); in remove_client() 167 self.attempts.keys().cloned().collect() in active_attempts() 177 .attempts in process_connection() [all …]
|
D | acceptlist_manager.rs | 25 pub fn determine_target_state(attempts: &[ConnectionAttempt]) -> TargetState { in determine_target_state() 26 let background_list = attempts in determine_target_state() 32 let direct_list = attempts in determine_target_state()
|
/packages/modules/Bluetooth/system/rust/src/ |
D | connection.rs | 88 attempts: ConnectionAttempts, field 123 attempts: ConnectionAttempts::new(), in new() 137 .drive_to_state(determine_target_state(&state.attempts.active_attempts())); in reconcile_state() 171 let pending_attempt = state.attempts.register_direct_connection(client, address)?; in direct_connection() 182 state.attempts.cancel_attempt_with_id(attempt_id); in direct_connection() 212 state.attempts.register_background_connection(client, address)?; in add_background_connection() 225 state.attempts.cancel_attempt(client, address, mode)?; in cancel_connection() 233 state.attempts.remove_unconditionally(address); in cancel_unconditionally() 240 state.attempts.remove_client(client); in remove_client() 251 state.attempts.process_connection(address, result); in on_le_connect()
|
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | AllApps.java | 158 int attempts = 0; in tryGetAppIcon() local 182 ++attempts <= MAX_SCROLL_ATTEMPTS); in tryGetAppIcon() 259 int attempts = 0; in scrollBackToBeginning() local 273 ++attempts <= MAX_SCROLL_ATTEMPTS); in scrollBackToBeginning()
|
/packages/modules/Bluetooth/system/blueberry/utils/ |
D | android_bluetooth_decorator.py | 393 def pair_and_connect_bluetooth(self, mac_address: str, attempts: int = 3, 437 for i in range(attempts): 444 if i + 1 < attempts: 450 if i + 1 < attempts and enable_pairing_retry: 629 attempts: int = 5) -> bool: 646 while curr_attempts < attempts: 648 …og.info('Connection of profile %s at curr attempt %d (total %d)', profile, curr_attempts, attempts) 653 self.log.error('Connection of profile %s failed after %d attempts', profile, attempts)
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
D | MoreWirelessSettingsTest2.java | 662 for (int attempts = 0; attempts < MAX_ADD_NETWORK_BUTTON_ATTEMPTS; ++attempts) { in loadAddNetworkMenu() 758 for (int attempts = 0; found == null && attempts < MAX_SCROLL_ATTEMPTS; ++attempts) { in scrollToObject()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | FileCopyUiTest.java | 165 int attempts = 0; in setUp() local 166 while (mSdCardRoot == null && attempts++ < 15) { in setUp() 199 int attempts = 0; in tearDown() local 200 while (mSdCardRoot != null && attempts++ < 15) { in tearDown()
|
/packages/services/Car/service/src/com/android/car/cluster/ |
D | InstrumentClusterService.java | 485 int attempts = msg.arg1; in handleMessage() local 486 if (--attempts >= 0) { in handleMessage() 487 sendMessageDelayed(obtainMessage(0, attempts, 0), in handleMessage()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ImageUtils.java | 535 for (int attempts = 0; attempts < NUMBER_OF_RESIZE_ATTEMPTS; attempts++) { in resizeStaticImage() 536 final byte[] encoded = recodeImage(attempts); in resizeStaticImage()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/ |
D | IkeConnectionController.java | 953 for (int attempts = 0; in resolveAndSetAvailableRemoteAddresses() 954 attempts < MAX_DNS_RESOLUTION_ATTEMPTS in resolveAndSetAvailableRemoteAddresses() 956 attempts++) { in resolveAndSetAvailableRemoteAddresses() 960 final boolean willRetry = attempts + 1 < MAX_DNS_RESOLUTION_ATTEMPTS; in resolveAndSetAvailableRemoteAddresses() 965 + (attempts + 1) in resolveAndSetAvailableRemoteAddresses()
|
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/ |
D | AbstractRestrictBackgroundNetworkTestCase.java | 276 int attempts = 0; in assertRestrictBackgroundChangedReceived() local 280 attempts++; in assertRestrictBackgroundChangedReceived() 288 + attempts + " attempts; sleeping " in assertRestrictBackgroundChangedReceived() 291 if (attempts <= maxAttempts) { in assertRestrictBackgroundChangedReceived() 294 } while (attempts <= maxAttempts); in assertRestrictBackgroundChangedReceived()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/settings/viewmodel/ |
D | FingerprintSettingsViewModel.kt | 130 attempts, in <lambda>() method 158 return@combine dialogShowing == null && isLockedOut == null && resume && attempts < 15 in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | StorageWizardBase.java | 264 protected VolumeInfo findFirstVolume(int type, int attempts) { in findFirstVolume() argument 274 if (--attempts > 0) { in findFirstVolume()
|
/packages/modules/Virtualization/microdroid/ |
D | microdroid_event-log-tags | 34 75002 sqlite_mem_alarm_alloc_attempt (attempts|1|4)
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | ConnectivityManagerTest.java | 506 final int attempts = 600; in testConnectivityManagerDoesNotLeakContext() local 508 for (int i = 0; i < attempts; i++) { in testConnectivityManagerDoesNotLeakContext() 515 assertNull("ConnectivityManager weak reference still not null after " + attempts in testConnectivityManagerDoesNotLeakContext()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringServiceTest.java | 669 final int attempts = 600; in testTetheringManagerLeak() local 671 for (int i = 0; i < attempts; i++) { in testTetheringManagerLeak()
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | NetworkStatsService.java | 1257 final int attempts; 1261 attempts = mImportLegacyAttemptsCounter.get(); 1276 fallbacks != 0 && runComparison && (attempts >= targetAttempts); 1278 if (attempts >= targetAttempts && !dryRunImportOnly) return; 1283 Log.i(TAG, "Starting import : attempts " + attempts + "/" + targetAttempts); 1388 + (targetAttempts - attempts), e); 1392 mImportLegacyAttemptsCounter.set(attempts + 1);
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | PermissionControllerServiceImpl.java | 649 int attempts = numAttempts + 1; in onUpdateUserSensistivePermissionFlagsWithRetry() 652 executor, callback, attempts), RETRY_DELAY_MS); in onUpdateUserSensistivePermissionFlagsWithRetry()
|
/packages/modules/Wifi/service/proto/src/ |
D | scorecard.proto | 200 // Number of connection attempts at high RSSI
|
D | metrics.proto | 338 // Count of connection attempts that were initiated unsuccessfully 1865 // Total number of attempts to offload pno scans 3781 // current build but without sufficient connection attempts for previous build 3783 // Number of networks with sufficient connection attempts for current build 3784 // but without suffcient connection attempts for previous build 3786 // Number of networks with sufficient connection attempts for both current and previous builds
|
/packages/modules/Bluetooth/system/doc/ |
D | power_management.md | 67 min and max intervals, the number of attempts and the timeout. The overall
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 1008 final int attempts = 50; // Causes the test to take about 200ms on bullhead-eng. in testWaitForIdle() local 1011 for (int i = 0; i < attempts; i++) { in testWaitForIdle() 1024 for (int i = 0; i < attempts; i++) { in testWaitForIdle() 1044 final int attempts = 50; // Causes the test to take about 200ms on bullhead-eng. in verifyThatNotWaitingForIdleCausesRaceConditions() local 1045 for (int i = 0; i < attempts; i++) { in verifyThatNotWaitingForIdleCausesRaceConditions() 1054 fail("expected race condition at least once in " + attempts + " attempts"); in verifyThatNotWaitingForIdleCausesRaceConditions()
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | en_GB_wordlist.combined.gz |
|
D | en_US_wordlist.combined.gz |
|
D | en_wordlist.combined.gz |
|