Home
last modified time | relevance | path

Searched refs:intentArgument1 (Results 1 – 4 of 4) sorted by relevance

/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/le_audio/
H A DLeAudioStateMachineTest.java150 ArgumentCaptor<Intent> intentArgument1 = ArgumentCaptor.forClass(Intent.class); in testIncomingPriorityAccept() local
152 intentArgument1.capture(), anyString(), any(Bundle.class)); in testIncomingPriorityAccept()
154 intentArgument1.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingPriorityAccept()
192 ArgumentCaptor<Intent> intentArgument1 = ArgumentCaptor.forClass(Intent.class); in testOutgoingTimeout() local
194 intentArgument1.capture(), in testOutgoingTimeout()
197 intentArgument1.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testOutgoingTimeout()
235 ArgumentCaptor<Intent> intentArgument1 = ArgumentCaptor.forClass(Intent.class); in testIncomingTimeout() local
237 intentArgument1.capture(), in testIncomingTimeout()
240 intentArgument1.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingTimeout()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/
H A DHearingAidStateMachineTest.java153 ArgumentCaptor<Intent> intentArgument1 = ArgumentCaptor.forClass(Intent.class); in testIncomingPriorityAccept() local
155 intentArgument1.capture(), anyString(), any(Bundle.class)); in testIncomingPriorityAccept()
157 intentArgument1.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingPriorityAccept()
196 ArgumentCaptor<Intent> intentArgument1 = ArgumentCaptor.forClass(Intent.class); in testOutgoingTimeout() local
198 intentArgument1.capture(), in testOutgoingTimeout()
201 intentArgument1.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testOutgoingTimeout()
241 ArgumentCaptor<Intent> intentArgument1 = ArgumentCaptor.forClass(Intent.class); in testIncomingTimeout() local
243 intentArgument1.capture(), in testIncomingTimeout()
246 intentArgument1.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingTimeout()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
H A DA2dpStateMachineTest.java174 ArgumentCaptor<Intent> intentArgument1 = ArgumentCaptor.forClass(Intent.class); in testIncomingPriorityAccept() local
175 verify(mA2dpService, timeout(TIMEOUT_MS).times(1)).sendBroadcast(intentArgument1.capture(), in testIncomingPriorityAccept()
178 intentArgument1.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingPriorityAccept()
221 ArgumentCaptor<Intent> intentArgument1 = ArgumentCaptor.forClass(Intent.class); in testOutgoingTimeout() local
222 verify(mA2dpService, timeout(TIMEOUT_MS).times(1)).sendBroadcast(intentArgument1.capture(), in testOutgoingTimeout()
225 intentArgument1.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testOutgoingTimeout()
261 ArgumentCaptor<Intent> intentArgument1 = ArgumentCaptor.forClass(Intent.class); in testIncomingTimeout() local
262 verify(mA2dpService, timeout(TIMEOUT_MS).times(1)).sendBroadcast(intentArgument1.capture(), in testIncomingTimeout()
265 intentArgument1.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingTimeout()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/
H A DHeadsetClientStateMachineTest.java172 ArgumentCaptor<Intent> intentArgument1 = ArgumentCaptor.forClass(Intent.class); in testIncomingPriorityAccept() local
173 verify(mHeadsetClientService, timeout(STANDARD_WAIT_MILLIS)).sendBroadcast(intentArgument1 in testIncomingPriorityAccept()
177 intentArgument1.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingPriorityAccept()
218 ArgumentCaptor<Intent> intentArgument1 = ArgumentCaptor.forClass(Intent.class); in testIncomingTimeout() local
219 verify(mHeadsetClientService, timeout(STANDARD_WAIT_MILLIS)).sendBroadcast(intentArgument1 in testIncomingTimeout()
223 intentArgument1.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingTimeout()