Home
last modified time | relevance | path

Searched full:reconnect (Results 1 – 25 of 1826) sorted by relevance

12345678910>>...74

/aosp_15_r20/tools/acloud/reconnect/
H A Dreconnect_test.py14 """Tests for reconnect."""
34 from acloud.reconnect import reconnect
42 """Test reconnect functions."""
46 """Test Reconnect Instances."""
73 reconnect.ReconnectInstance(
81 reconnect.ReconnectInstance(
95 reconnect.ReconnectInstance(
116 reconnect.ReconnectInstance(
129 # test fail reconnect report.
132 reconnect.ReconnectInstance(
[all …]
H A Dreconnect.py14 r"""Reconnect entry point.
16 Reconnect will:
120 @utils.TimeExecute(function_description="Reconnect instances")
127 """Reconnect to the specified instance.
145 errors.UnknownAvdType: Unable to reconnect to instance of unknown avd
149 raise errors.UnknownAvdType("Unable to reconnect to instance (%s) of "
234 """Run reconnect.
248 reconnect_report = report.Report(command="reconnect")
251 utils.PrintColorString("Skipping reconnect of instance %s due to "
H A Dreconnect_args.py14 r"""Reconnect args.
16 Defines the reconnect arg parser that holds delete specific args.
21 CMD_RECONNECT = "reconnect"
25 """Return the reconnect arg parser.
31 argparse.ArgumentParser with reconnect options defined.
41 help="The names of the instances that need to reconnect remote/local "
50 help="If more than 1 AVD instance is found, reconnect them all.")
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/opt-testcases/
H A Dtls13-misc.sh49 run_test "TLS 1.3 m->m: Multiple PSKs: valid ticket, reconnect with ticket" \
51 …evel=5 psk_identity=Client_identity psk=6162636465666768696a6b6c6d6e6f70 reco_mode=1 reconnect=1" \
63 run_test "TLS 1.3 m->m: Multiple PSKs: invalid ticket, reconnect with PSK" \
65 …evel=5 psk_identity=Client_identity psk=6162636465666768696a6b6c6d6e6f70 reco_mode=1 reconnect=1" \
150 "$P_CLI reco_mode=1 reconnect=1" \
170 "$P_CLI server_name=localhost reco_mode=1 reconnect=1" \
189 "$P_CLI reco_mode=1 reconnect=1" \
209 "$P_CLI force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 reco_mode=1 reconnect=1" \
229 "$P_CLI debug_level=3 early_data=1 reco_mode=1 reconnect=1" \
260 …I debug_level=3 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 early_data=1 reco_mode=1 reconnect=1" \
[all …]
/aosp_15_r20/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiManagerTest.py392 """Connect to multiple networks, turn off/on wifi, then reconnect to
399 4. Reconnect to the non-current network.
407 reconnect = self.connect_to_wifi_network_with_id(
410 if not reconnect:
418 reconnect a previously connected network.
424 4. Reconnect to the non-current network.
432 reconnect = self.connect_to_wifi_network_with_id(
435 if not reconnect:
442 """Connect to multiple networks, reboot then reconnect to previously
450 5. Reconnect to the non-current network.
[all …]
/aosp_15_r20/external/mbedtls/tests/opt-testcases/
H A Dtls13-misc.sh49 run_test "TLS 1.3 m->m: Multiple PSKs: valid ticket, reconnect with ticket" \
51 …evel=5 psk_identity=Client_identity psk=6162636465666768696a6b6c6d6e6f70 reco_mode=1 reconnect=1" \
63 run_test "TLS 1.3 m->m: Multiple PSKs: invalid ticket, reconnect with PSK" \
65 …evel=5 psk_identity=Client_identity psk=6162636465666768696a6b6c6d6e6f70 reco_mode=1 reconnect=1" \
80 "$P_CLI debug_level=4 reco_mode=1 reconnect=1" \
99 "$P_CLI debug_level=4 reco_mode=1 reconnect=1" \
118 "$P_CLI debug_level=4 reco_mode=1 reconnect=1" \
137 "$P_CLI debug_level=4 reco_mode=1 reconnect=1" \
156 "$P_CLI debug_level=4 reco_mode=1 reconnect=1" \
175 "$P_CLI debug_level=4 reco_mode=1 reconnect=1" \
[all …]
/aosp_15_r20/tools/test/connectivity/acts_tests/tests/google/wifi/p2p/functional/
DWifiP2pManagerTest.py65 5. Trigger connect again from GO for reconnect test.
67 7. Trigger connect again from GC for reconnect test.
88 self.log.info("Reconnect test, triggered by GO")
89 # trigger reconnect from GO
97 # trigger reconnect from GC
98 self.log.info("Reconnect test, triggered by GC")
116 5. Trigger connect again from GO for reconnect test.
118 7. Trigger connect again from GC for reconnect test.
139 self.log.info("Reconnect test, triggered by GO")
140 # trigger reconnect from GO
[all …]
DWifiP2pMultiCoutryTest.py116 6. Trigger connect again from GO for reconnect test.
118 8. Trigger connect again from GC for reconnect test.
153 self.log.info("Reconnect test, triggered by GO")
154 # trigger reconnect from GO
162 # trigger reconnect from GC
163 self.log.info("Reconnect test, triggered by GC")
186 6. Trigger connect again from GO for reconnect test.
188 8. Trigger connect again from GC for reconnect test.
223 self.log.info("Reconnect test, triggered by GO")
224 # trigger reconnect from GO
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/tower/src/reconnect/
Dmod.rs1 //! Reconnect services when they fail.
3 //! Reconnect takes some [`MakeService`] and transforms it into a
5 //! reconnect on failure. The `Reconnect` service becomes unavailable
8 //! returned in the next call to `Reconnect::call`. This allows the user to
29 /// Reconnect to failed services.
30 pub struct Reconnect<M, Target> struct
47 impl<M, Target> Reconnect<M, Target> argument
51 /// Lazily connect and reconnect to a [`Service`].
53 Reconnect { in new()
61 /// Reconnect to a already connected [`Service`].
[all …]
/aosp_15_r20/external/autotest/server/site_tests/bluetooth_AdapterSRHealth/
H A Dbluetooth_AdapterSRHealth.py10 - Reconnect on resume test
22 - Reconnect on resume test
71 # Reconnect after suspend tests
85 @params iterations: number of suspend/resume + reconnect iterations
86 @params auto_reconnect: Expect host to automatically reconnect to peer
116 # Trigger suspend, wait for regular resume, verify we can reconnect
125 # Only reconnect if we don't expect automatic reconnect.
134 # LE can't reconnect without
152 @test_wrapper('Reconnect Classic HID', devices={'MOUSE': 1})
160 @test_wrapper('Reconnect LE HID', devices={'BLE_MOUSE': 1})
[all …]
/aosp_15_r20/tools/acloud/
H A DREADME.md43 * [reconnect](#reconnect)
148 #### **reconnect**
150 Reconnect will re-establish ssh tunnels for adb/webrtc/vnc port forwarding for all
152 `adb devices` and reconnect them to adb. Lastly it will restart webrtc/vnc for all
157 * Reconnect sole instance or prompt user with list of instances to reconnect.
159 > $ acloud reconnect
161 * Reconnect all instances
163 > $ acloud reconnect --all
165 * Reconnect a specific instance
167 > $ acloud reconnect --instance-names [instance-name]
/aosp_15_r20/external/aws-crt-java/src/main/java/software/amazon/awssdk/crt/mqtt5/
H A DMqtt5ClientOptions.java155 …* Returns how the reconnect delay is modified in order to smooth out the distribution of reconnect…
158 …* @return how the reconnect delay is modified in order to smooth out the distribution of reconnect…
167 * Returns the minimum amount of time to wait to reconnect after a disconnect.
170 * @return The minimum amount of time to wait to reconnect after a disconnect.
177 …* Returns the maximum amount of time to wait to reconnect after a disconnect. Exponential back-of…
180 * @return The maximum amount of time to wait to reconnect after a disconnect
187 …ount of time that must elapse with an established connection before the reconnect delay is reset t…
188 …* This helps alleviate bandwidth-waste in fast reconnect cycles due to permission failures on oper…
190 …ount of time that must elapse with an established connection before the reconnect delay is reset t…
714 …* Sets how the reconnect delay is modified in order to smooth out the distribution of reconnection…
[all …]
/aosp_15_r20/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dapollo_lib.py503 self.reconnect()
505 def reboot(self, reconnect=10, retry_timer=30): argument
509 reconnect: reconnect attempts after reboot, None for no reconnect.
513 True if successfully reboot or reconnect.
517 if not reconnect:
531 return self.reconnect(reconnect, retry_timer)
533 def reconnect(self, iterations=30, retry_timer=20): member in BudsDevice
534 """Reconnect to the device.
541 True if reconnect to the device successfully.
544 DeviceError: Failed to reconnect.
[all …]
/aosp_15_r20/trusty/vendor/google/aosp/scripts/
Dtest-map332 name="com.android.storage-reconnect-test.tp.reconnect",
334 "com.android.storage-reconnect-test.tp.before "
339 "com.android.storage-reconnect-test.tp.during "
344 "com.android.storage-reconnect-test.tp.after "),
346 name="com.android.storage-reconnect-test.td.reconnect",
348 "com.android.storage-reconnect-test.td.before "
353 "com.android.storage-reconnect-test.td.during "
358 "com.android.storage-reconnect-test.td.after "),
360 name="com.android.storage-reconnect-test.tdp.reconnect",
362 "com.android.storage-reconnect-test.tdp.before "
[all …]
/aosp_15_r20/external/autotest/server/cros/servo/
H A Dpd_device.py133 @param disc_time_sec: Time in seconds between disconnect and reconnect
142 @param disc_time_sec: Time in seconds between disconnect and reconnect
148 """Get the connected state after disconnect/reconnect
257 """Disconnect/reconnect using drp mode settings
265 @param disc_time_sec: time in seconds to wait to reconnect
289 # only cause the disconnect to appear momentarily and reconnect
518 """Disconnect/reconnect using PDTester
521 and reconnect.
531 """Get the connected state after disconnect/reconnect using PDTester
534 and reconnect. It returns the first connected state (either source or
[all …]
/aosp_15_r20/cts/tests/tests/nfc/src/android/nfc/tech/cts/
H A DNfcBarcodeTest.java142 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testReconnect()
144 nfcBarcode.reconnect(); in testReconnect()
145 verify(mNfcTagMock, times(1)).reconnect(anyInt()); in testReconnect()
152 assertThrows(() -> nfcBarcode.reconnect()); in testReconnect_notConnected()
158 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.ERROR_CONNECT); in testReconnect_failReconnect()
160 assertThrows(() -> nfcBarcode.reconnect()); in testReconnect_failReconnect()
166 when(mNfcTagMock.reconnect(anyInt())).thenThrow(new RemoteException()); in testReconnect_remoteException()
168 assertThrows(() -> nfcBarcode.reconnect()); in testReconnect_remoteException()
174 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testClose()
H A DNfcVTest.java158 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testReconnect()
160 nfcV.reconnect(); in testReconnect()
161 verify(mNfcTagMock, times(1)).reconnect(anyInt()); in testReconnect()
168 assertThrows(() -> nfcV.reconnect()); in testReconnect_notConnected()
174 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.ERROR_CONNECT); in testReconnect_failReconnect()
176 assertThrows(() -> nfcV.reconnect()); in testReconnect_failReconnect()
182 when(mNfcTagMock.reconnect(anyInt())).thenThrow(new RemoteException()); in testReconnect_remoteException()
184 assertThrows(() -> nfcV.reconnect()); in testReconnect_remoteException()
190 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testClose()
H A DNfcBTest.java159 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testReconnect()
161 nfcB.reconnect(); in testReconnect()
162 verify(mNfcTagMock, times(1)).reconnect(anyInt()); in testReconnect()
169 assertThrows(() -> nfcB.reconnect()); in testReconnect_notConnected()
175 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.ERROR_CONNECT); in testReconnect_failReconnect()
177 assertThrows(() -> nfcB.reconnect()); in testReconnect_failReconnect()
183 when(mNfcTagMock.reconnect(anyInt())).thenThrow(new RemoteException()); in testReconnect_remoteException()
185 assertThrows(() -> nfcB.reconnect()); in testReconnect_remoteException()
191 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testClose()
H A DIsoDepTest.java102 when(mINfcTag.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testReconnect_success()
103 id.reconnect(); in testReconnect_success()
104 verify(mINfcTag, times(1)).reconnect(anyInt()); in testReconnect_success()
110 Assert.assertThrows(IllegalStateException.class, () -> id.reconnect()); in testReconnect_notConnected()
116 when(mINfcTag.reconnect(anyInt())).thenReturn(ErrorCodes.ERROR_IO); in testReconnect_error()
117 Assert.assertThrows(IOException.class, () -> id.reconnect()); in testReconnect_error()
123 when(mINfcTag.reconnect(anyInt())).thenThrow(new RemoteException()); in testReconnect_serviceDead()
124 Assert.assertThrows(IOException.class, () -> id.reconnect()); in testReconnect_serviceDead()
130 when(mINfcTag.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testClose()
H A DNfcFTest.java194 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testReconnect()
196 nfcF.reconnect(); in testReconnect()
197 verify(mNfcTagMock, times(1)).reconnect(anyInt()); in testReconnect()
204 assertThrows(() -> nfcF.reconnect()); in testReconnect_notConnected()
210 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.ERROR_CONNECT); in testReconnect_failReconnect()
212 assertThrows(() -> nfcF.reconnect()); in testReconnect_failReconnect()
218 when(mNfcTagMock.reconnect(anyInt())).thenThrow(new RemoteException()); in testReconnect_remoteException()
220 assertThrows(() -> nfcF.reconnect()); in testReconnect_remoteException()
226 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testClose()
H A DNfcATest.java195 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testReconnect()
197 nfcA.reconnect(); in testReconnect()
198 verify(mNfcTagMock, times(1)).reconnect(anyInt()); in testReconnect()
205 assertThrows(() -> nfcA.reconnect()); in testReconnect_notConnected()
211 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.ERROR_CONNECT); in testReconnect_failReconnect()
213 assertThrows(() -> nfcA.reconnect()); in testReconnect_failReconnect()
219 when(mNfcTagMock.reconnect(anyInt())).thenThrow(new RemoteException()); in testReconnect_remoteException()
221 assertThrows(() -> nfcA.reconnect()); in testReconnect_remoteException()
227 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testClose()
H A DMifareUltralightTest.java245 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testReconnect()
247 ultralight.reconnect(); in testReconnect()
248 verify(mNfcTagMock, times(1)).reconnect(anyInt()); in testReconnect()
255 assertThrows(() -> ultralight.reconnect()); in testReconnect_notConnected()
261 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.ERROR_CONNECT); in testReconnect_failReconnect()
263 assertThrows(() -> ultralight.reconnect()); in testReconnect_failReconnect()
269 when(mNfcTagMock.reconnect(anyInt())).thenThrow(new RemoteException()); in testReconnect_remoteException()
271 assertThrows(() -> ultralight.reconnect()); in testReconnect_remoteException()
277 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testClose()
H A DNdefFormatableTest.java244 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testReconnect()
246 formatable.reconnect(); in testReconnect()
247 verify(mNfcTagMock, times(1)).reconnect(anyInt()); in testReconnect()
256 assertThrows(() -> formatable.reconnect()); in testReconnect_notConnected()
262 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.ERROR_CONNECT); in testReconnect_failReconnect()
264 assertThrows(() -> formatable.reconnect()); in testReconnect_failReconnect()
270 when(mNfcTagMock.reconnect(anyInt())).thenThrow(new RemoteException()); in testReconnect_remoteException()
272 assertThrows(() -> formatable.reconnect()); in testReconnect_remoteException()
278 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testClose()
/aosp_15_r20/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorConferenceCreator.java40 private static final String RECONNECT = "reconnect"; field in SimulatorConferenceCreator
74 * @param reconnect whether all connections should reconnect once (connections are reconnected
77 private void addNextCall(int callCount, boolean reconnect) { in addNextCall() argument
81 if (reconnect) { in addNextCall()
93 extras.putBoolean(RECONNECT, reconnect); in addNextCall()
166 return connection.getExtras().getBoolean(RECONNECT); in shouldReconnect()
/aosp_15_r20/external/rust/android-crates-io/crates/tonic/src/transport/service/
Dreconnect.rs13 pub(crate) struct Reconnect<M, Target> struct
33 impl<M, Target> Reconnect<M, Target> argument
39 Reconnect { in new()
50 impl<M, Target, S, Request> Service<Request> for Reconnect<M, Target> implementation
105 tracing::debug!("reconnect::poll_ready: {:?}", error); in poll_ready()
142 tracing::trace!("Reconnect::call"); in call()
158 impl<M, Target> fmt::Debug for Reconnect<M, Target> implementation
167 fmt.debug_struct("Reconnect") in fmt()

12345678910>>...74