/packages/modules/RemoteKeyProvisioning/app/tests/hosttest/src/com/android/rkpdapp/hosttest/ |
D | RkpdStatsTests.java | 71 final RemoteKeyProvisioningAttempt attempt = getAttemptMetric(data); in testDataBudgetEmptyGenerateKey() local 72 assertThat(attempt).isNotNull(); in testDataBudgetEmptyGenerateKey() 73 assertThat(attempt.getCause()).isEqualTo(Cause.OUT_OF_KEYS); in testDataBudgetEmptyGenerateKey() 74 assertThat(attempt.getRemotelyProvisionedComponent()).isEqualTo(RPC_DEFAULT); in testDataBudgetEmptyGenerateKey() 75 assertThat(attempt.getUptime()).isNotEqualTo(UpTime.UPTIME_UNKNOWN); in testDataBudgetEmptyGenerateKey() 76 assertThat(attempt.getEnablement()).isIn(VALID_ENABLEMENTS); in testDataBudgetEmptyGenerateKey() 77 assertThat(attempt.getStatus()).isEqualTo(RemoteKeyProvisioningStatus.OUT_OF_ERROR_BUDGET); in testDataBudgetEmptyGenerateKey() 83 attempt.getRemotelyProvisionedComponent()); in testDataBudgetEmptyGenerateKey() 94 assertThat(network.getStatus()).isEqualTo(attempt.getStatus()); in testDataBudgetEmptyGenerateKey() 104 final RemoteKeyProvisioningAttempt attempt = getAttemptMetric(data); in testRetryableRkpError() local [all …]
|
/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/hosttestutils/ |
D | AdoptableStorageUtils.java | 63 int attempt = 0; in enableVirtualDisk() local 66 while (!hasVirtualDisk && attempt++ < 50) { in enableVirtualDisk() 88 int attempt = 0; in getAdoptionDisk() local 90 while ((disks == null || disks.isEmpty()) && attempt++ < 15) { in getAdoptionDisk() 124 int attempt = 0; in getAdoptionVolume() local 126 while (attempt++ < 15) { in getAdoptionVolume() 135 attempt--; in getAdoptionVolume() 150 int attempt = 0; in waitForVolumeReady() local 151 while (attempt++ < 15) { in waitForVolumeReady() 164 int attempt = 0; in waitForVolumeReadyNoCheckingOrEjecting() local [all …]
|
D | AwaitUtils.java | 40 int attempt = 0; in waitFor() local 41 while (attempt++ < retryLimit) { in waitFor()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CreateConnectionProcessor.java | 232 CallAttemptRecord attempt = null; in attemptNextPhoneAccount() local 234 attempt = mAttemptRecordIterator.next(); in attemptNextPhoneAccount() 237 attempt.connectionManagerPhoneAccount)) { in attemptNextPhoneAccount() 240 + "attempt: %s", attempt); in attemptNextPhoneAccount() 247 if (!attempt.connectionManagerPhoneAccount.equals(attempt.targetPhoneAccount) && in attemptNextPhoneAccount() 249 attempt.targetPhoneAccount)) { in attemptNextPhoneAccount() 252 + "attempt: %s", attempt); in attemptNextPhoneAccount() 258 if (mCallResponse != null && attempt != null) { in attemptNextPhoneAccount() 259 Log.i(this, "Trying attempt %s", attempt); in attemptNextPhoneAccount() 260 PhoneAccountHandle phoneAccount = attempt.connectionManagerPhoneAccount; in attemptNextPhoneAccount() [all …]
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/testutils/ |
D | HandlerUtilsTest.kt | 72 repeat(ATTEMPTS) { attempt -> in <lambda>() method 75 y = visibleOnHandlerThread(handler, ThrowingSupplier<Int> { x = attempt; attempt }) in <lambda>() 76 assertEquals(attempt, x) in <lambda>() 77 assertEquals(attempt, y) in <lambda>() 78 handler.post { assertEquals(attempt, x) } in <lambda>()
|
/packages/modules/Bluetooth/system/rust/src/connection/ |
D | attempt_manager.rs | 90 let attempt = in register_direct_connection() localVariable 94 let Entry::Vacant(entry) = self.attempts.entry(attempt) else { in register_direct_connection() 118 let attempt = in register_background_connection() localVariable 122 let Entry::Vacant(entry) = self.attempts.entry(attempt) else { in register_background_connection() 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() 179 .filter(|attempt| attempt.remote_address == address) in process_connection() 183 for attempt in interested_clients { in process_connection() 184 if attempt.mode == ConnectionMode::Direct { in process_connection() [all …]
|
D | acceptlist_manager.rs | 28 .filter(|attempt| attempt.mode == ConnectionMode::Background) in determine_target_state() 29 .map(|attempt| attempt.remote_address) in determine_target_state() 34 .filter(|attempt| attempt.mode == ConnectionMode::Direct) in determine_target_state() 35 .map(|attempt| attempt.remote_address) in determine_target_state()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ui/settings/ |
D | SettingsUiTest.java | 108 for (int attempt = 0; attempt <= maxRetries; attempt++) { in launchSettingsActivityWithRetry() 109 if (attempt > 0) { in launchSettingsActivityWithRetry() 112 long backoffTimeInMillis = backoffSeedInMillis * (2 ^ (attempt - 1)); in launchSettingsActivityWithRetry()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/ |
D | ServerAuctionE2ETestBase.java | 140 int attempt = 1; in retryOnCondition() local 141 while (attempt <= maxRetries) { in retryOnCondition() 142 Log.w(getTag(), String.format("Trying %s. Attempt: %d", funcName, attempt)); in retryOnCondition() 147 attempt++; in retryOnCondition() 148 if (attempt > maxRetries) { in retryOnCondition()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | BackgroundWorkerService.java | 116 final int attempt = intent.getIntExtra(EXTRA_ATTEMPT, -1); in onHandleWork() local 117 doBackgroundWork(action, attempt); in onHandleWork() 130 private void doBackgroundWork(final Action action, final int attempt) { in doBackgroundWork() argument 153 startServiceWithAction(action, attempt + 1); in doBackgroundWork()
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
D | StorageWizardTest.java | 152 int attempt = 0; in getAdoptableDisk() local 154 while ((disks == null || disks.isEmpty()) && attempt++ < 15) { in getAdoptableDisk() 167 int attempt = 0; in getPublicVolume() local 170 && attempt++ < 15) { in getPublicVolume()
|
/packages/modules/adb/ |
D | transport.cpp | 176 ReconnectAttempt attempt = *reconnect_queue_.begin(); in Stop() local 178 remove_transport(attempt.transport); in Stop() 201 ReconnectAttempt attempt; in Run() local 239 attempt = *reconnect_queue_.begin(); in Run() 242 D("attempting to reconnect %s", attempt.transport->serial.c_str()); in Run() 244 switch (attempt.transport->Reconnect()) { in Run() 246 D("attempting to reconnect %s failed.", attempt.transport->serial.c_str()); in Run() 247 if (attempt.attempts_left == 0) { in Run() 249 attempt.transport->serial.c_str()); in Run() 250 remove_transport(attempt.transport); in Run() [all …]
|
/packages/modules/Bluetooth/system/test/headless/utils/ |
D | power_mode_client.h | 39 .attempt = 0x0020, 47 .attempt = 4, 55 .attempt = 0, // Unused
|
/packages/modules/StatsD/tests/src/android/cts/statsd/metadata/ |
D | MetadataTests.java | 286 for (int attempt = 0; attempt < maxIterationCount; attempt++) { in runTestUntilLossAtomReported() 292 LogUtil.CLog.d("runTestUntilLossAtomReported iteration " + attempt + " for " + pkg); in runTestUntilLossAtomReported()
|
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/ |
D | NetworkTracePollerTest.cpp | 190 for (int attempt = 0; attempt < 10; attempt++) { in TEST_F() local
|
/packages/modules/Bluetooth/system/stack/acl/ |
D | btm_pm.cc | 441 p_res->attempt = (p_md1->attempt > p_md2->attempt) ? (p_md1->attempt) in btm_pm_compare_modes() 442 : (p_md2->attempt); in btm_pm_compare_modes() 596 btsnd_hcic_sniff_mode(handle, md_res.max, md_res.min, md_res.attempt, in btm_pm_snd_md_req()
|
/packages/providers/MediaProvider/tests/utils/src/com/android/providers/media/tests/utils/ |
D | PublicVolumeSetupHelper.java | 179 int attempt = 0; in executeShellCommand() local 180 while (attempt++ < 5) { in executeShellCommand()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/ |
D | DocumentProvidersManager.java | 69 int attempt) { in readDocumentProviders() argument 80 if (attempt == 0) { in readDocumentProviders()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | FileCopyUiTest.java | 347 int attempt = 0; in getAdoptionDisk() local 349 while ((disks == null || disks.isEmpty()) && attempt++ < 15) { in getAdoptionDisk() 361 int attempt = 0; in waitForPublicVolume() local 364 && attempt++ < 15) { in waitForPublicVolume()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | IpConnectivityMetricsTest.java | 121 int attempt = 100; // More than burst quota, but less than buffer size. in testRateLimiting() local 122 for (int i = 0; i < attempt; i++) { in testRateLimiting() 129 for (int i = 0; i < attempt; i++) { in testRateLimiting()
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/interfaces/ |
D | ServerInterface.java | 413 int attempt = 1; in connectAndGetData() local 424 Log.v(TAG, "Requesting data from server. Attempt " + attempt); in connectAndGetData() 452 attempt += 1; in connectAndGetData()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConnectivityManagerTest.java | 1803 for (int attempt = 0; attempt < maxAttemptRate; attempt++) { in connectionAttemptRateLimitedWhenScreenOff() 1845 for (int attempt = 0; attempt < maxAttemptRate; attempt++) { in connectionAttemptNotRateLimitedWhenScreenOff() 1890 for (int attempt = 0; attempt < maxAttemptRate; attempt++) { in connectionAttemptNotRateLimitedWhenScreenOffForceConnectivityScan() 1903 for (int attempt = 0; attempt < maxAttemptRate; attempt++) { in connectionAttemptNotRateLimitedWhenScreenOffForceConnectivityScan() 1937 for (int attempt = 0; attempt < maxAttemptRate; attempt++) { in connectionAttemptNotRateLimitedWhenScreenOffAfterUserSelection() 1950 for (int attempt = 0; attempt < maxAttemptRate; attempt++) { in connectionAttemptNotRateLimitedWhenScreenOffAfterUserSelection() 1984 for (int attempt = 0; attempt < maxAttemptRate; attempt++) { in connectionAttemptNotRateLimitedWhenScreenOffAfterWifiToggle() 1998 for (int attempt = 0; attempt < maxAttemptRate; attempt++) { in connectionAttemptNotRateLimitedWhenScreenOffAfterWifiToggle()
|
/packages/modules/DnsResolver/ |
D | res_send.cpp | 578 for (int attempt = 0; attempt < retryTimes; ++attempt) { in res_nsend() local 590 const bool shouldRecordStats = (attempt == 0); in res_nsend() 599 attempt = retryTimes; in res_nsend() 616 retry_count_for_event = attempt; in res_nsend()
|
/packages/modules/Bluetooth/system/gd/hci/acl_manager/ |
D | classic_acl_connection.h | 52 …virtual bool SniffMode(uint16_t max_interval, uint16_t min_interval, uint16_t attempt, uint16_t ti…
|
/packages/modules/Bluetooth/system/rust/src/ |
D | connection.rs | 191 let Some((attempt, guard)) = attempt_and_guard else { in direct_connection() 196 let ret = attempt.await; in direct_connection()
|