Home
last modified time | relevance | path

Searched refs:TerminationReason (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/ble/
DGattTransportClientProvider.java36 import com.android.server.uwb.discovery.TransportProvider.TerminationReason;
104 terminateOnError(TerminationReason.REMOTE_DISCONNECTED);
109 terminateOnError(TerminationReason.REMOTE_DISCONNECTED);
129 terminateOnError(TerminationReason.SERVICE_DISCOVERY_FAILURE);
140 terminateOnError(TerminationReason.SERVICE_DISCOVERY_FAILURE);
164 terminateOnError(TerminationReason.SERVICE_DISCOVERY_FAILURE);
191 terminateOnError(TerminationReason.CHARACTERSTIC_READ_FAILURE);
207 terminateOnError(TerminationReason.CHARACTERSTIC_WRITE_FAILURE);
226 terminateOnError(TerminationReason.DESCRIPTOR_WRITE_FAILURE);
416 terminateOnError(TerminationReason.CHARACTERSTIC_WRITE_FAILURE); in processInDataPacket()
[all …]
DGattTransportServerProvider.java35 import com.android.server.uwb.discovery.TransportProvider.TerminationReason;
488 protected void terminateOnError(TerminationReason reason) { in terminateOnError()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/
DTransportProviderTest.java33 import com.android.server.uwb.discovery.TransportProvider.TerminationReason;
66 public TerminationReason lastTerminationReason = null;
100 protected void terminateOnError(TerminationReason reason) { in terminateOnError()
189 private void verifyAdminErrorMessageReceive(ErrorType errorType, TerminationReason reason) { in verifyAdminErrorMessageReceive()
201 TerminationReason.REMOTE_DEVICE_MESSAGE_ERROR); in testOnMessageReceived_receiveAdminErrorPacket()
203 ErrorType.MESSAGE_LENGTH_OVERFLOW, TerminationReason.REMOTE_DEVICE_MESSAGE_ERROR); in testOnMessageReceived_receiveAdminErrorPacket()
206 TerminationReason.REMOTE_DEVICE_MESSAGE_ERROR); in testOnMessageReceived_receiveAdminErrorPacket()
208 ErrorType.SECID_INVALID, TerminationReason.REMOTE_DEVICE_SECID_ERROR); in testOnMessageReceived_receiveAdminErrorPacket()
210 ErrorType.SECID_INVALID_FOR_RESPONSE, TerminationReason.REMOTE_DEVICE_SECID_ERROR); in testOnMessageReceived_receiveAdminErrorPacket()
212 ErrorType.SECID_BUSY, TerminationReason.REMOTE_DEVICE_SECID_ERROR); in testOnMessageReceived_receiveAdminErrorPacket()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/
DTransportProvider.java37 public enum TerminationReason { enum in TransportProvider
68 void onTerminated(TerminationReason reason); in onTerminated()
256 terminateOnError(TerminationReason.REMOTE_DEVICE_MESSAGE_ERROR); in processAdminMessage()
263 terminateOnError(TerminationReason.REMOTE_DEVICE_SECID_ERROR); in processAdminMessage()
285 protected abstract void terminateOnError(TerminationReason reason); in terminateOnError()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/ble/
DGattTransportClientProviderTest.java54 import com.android.server.uwb.discovery.TransportProvider.TerminationReason;
350 .onTerminated(TerminationReason.CHARACTERSTIC_WRITE_FAILURE); in testStartProcessing_capabilitiesNotWritten()
376 .onTerminated(TerminationReason.DESCRIPTOR_WRITE_FAILURE); in testStartProcessing_notificationNotEnabled()
409 .onTerminated(TerminationReason.REMOTE_DISCONNECTED); in testConnectionStateChange_disconnected()
422 .onTerminated(TerminationReason.REMOTE_DISCONNECTED); in testConnectionStateChange_statusFailed()
441 .onTerminated(TerminationReason.DESCRIPTOR_WRITE_FAILURE); in testDescriptorWrite_statusFailed()
453 .onTerminated(TerminationReason.CHARACTERSTIC_WRITE_FAILURE); in testCharacteristicWrite_statusFailed()
465 .onTerminated(TerminationReason.CHARACTERSTIC_READ_FAILURE); in testCharacteristicRead_statusFailed()
569 .onTerminated(TerminationReason.CHARACTERSTIC_WRITE_FAILURE); in testSendMessage_charactersticWriteFailed()
666 .onTerminated(TerminationReason.CHARACTERSTIC_READ_FAILURE); in testOutCharactersticNotifyAndRead_readFailed()
[all …]
DGattTransportServerProviderTest.java51 import com.android.server.uwb.discovery.TransportProvider.TerminationReason;
676 .onTerminated(TerminationReason.REMOTE_DEVICE_SECID_ERROR); in testInCharactersticWrite_adminErrorMessage()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothLeCallControl.java113 public @interface TerminationReason {} annotation in BluetoothLeCallControl
622 public void onCallRemoved(@NonNull UUID callId, @TerminationReason int reason) { in onCallRemoved()