/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/error/ |
D | CecClientWrapperException.java | 25 private ErrorCodes errorCode; 27 public CecClientWrapperException(ErrorCodes errorCode) { in CecClientWrapperException() 32 public CecClientWrapperException(ErrorCodes errorCode, String messageToBeAppend) { in CecClientWrapperException() 38 ErrorCodes errorCode, Throwable cause, String messageToBeAppend) { in CecClientWrapperException() 43 public CecClientWrapperException(ErrorCodes errorCode, Throwable cause) { in CecClientWrapperException() 48 public ErrorCodes getErrorCode() { in getErrorCode()
|
D | ErrorCodes.java | 20 public enum ErrorCodes { enum 37 private ErrorCodes(String message) { in ErrorCodes() method in ErrorCodes
|
/cts/tests/tests/nfc/src/android/nfc/tech/cts/ |
D | NdefFormatableTest.java | 28 import android.nfc.ErrorCodes; 85 when(mNfcTagMock.formatNdef(anyInt(), any())).thenReturn(ErrorCodes.SUCCESS); in testFormat() 87 when(mNfcTagMock.ndefWrite(anyInt(), any())).thenReturn(ErrorCodes.SUCCESS); in testFormat() 98 when(mNfcTagMock.formatNdef(anyInt(), any())).thenReturn(ErrorCodes.SUCCESS); in testFormatReadOnly() 100 when(mNfcTagMock.ndefWrite(anyInt(), any())).thenReturn(ErrorCodes.SUCCESS); in testFormatReadOnly() 101 when(mNfcTagMock.ndefMakeReadOnly(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testFormatReadOnly() 112 when(mNfcTagMock.formatNdef(anyInt(), any())).thenReturn(ErrorCodes.ERROR_IO); in testFormatReadOnly_formatNdefIOError() 120 when(mNfcTagMock.formatNdef(anyInt(), any())).thenReturn(ErrorCodes.ERROR_INVALID_PARAM); in testFormatReadOnly_formatNdefFormatError() 136 when(mNfcTagMock.formatNdef(anyInt(), any())).thenReturn(ErrorCodes.SUCCESS); in testFormatReadOnly_notNdef() 145 when(mNfcTagMock.formatNdef(anyInt(), any())).thenReturn(ErrorCodes.SUCCESS); in testFormatReadOnly_ndefWriteIOError() [all …]
|
D | NfcATest.java | 29 import android.nfc.ErrorCodes; 121 when(mNfcTagMock.setTimeout(anyInt(), anyInt())).thenReturn(ErrorCodes.SUCCESS); in testSetTimeout() 134 when(mNfcTagMock.setTimeout(anyInt(), anyInt())).thenReturn(ErrorCodes.ERROR_INVALID_PARAM); in testSetTimeout_invalidTimeout() 195 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testReconnect() 211 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.ERROR_CONNECT); in testReconnect_failReconnect() 227 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testClose() 238 when(mNfcTagMock.connect(anyInt(), anyInt())).thenReturn(ErrorCodes.SUCCESS); in createConnectedNfcA()
|
D | NfcFTest.java | 29 import android.nfc.ErrorCodes; 120 when(mNfcTagMock.setTimeout(anyInt(), anyInt())).thenReturn(ErrorCodes.SUCCESS); in testSetTimeout() 133 when(mNfcTagMock.setTimeout(anyInt(), anyInt())).thenReturn(ErrorCodes.ERROR_INVALID_PARAM); in testSetTimeout_invalidTimeout() 194 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testReconnect() 210 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.ERROR_CONNECT); in testReconnect_failReconnect() 226 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testClose() 237 when(mNfcTagMock.connect(anyInt(), anyInt())).thenReturn(ErrorCodes.SUCCESS); in createConnectedNfcF()
|
D | IsoDepTest.java | 27 import android.nfc.ErrorCodes; 102 when(mINfcTag.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testReconnect_success() 116 when(mINfcTag.reconnect(anyInt())).thenReturn(ErrorCodes.ERROR_IO); in testReconnect_error() 130 when(mINfcTag.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testClose() 138 when(mINfcTag.setTimeout(anyInt(), anyInt())).thenReturn(ErrorCodes.SUCCESS); in testSetTimeout_success() 148 when(mINfcTag.setTimeout(anyInt(), anyInt())).thenReturn(ErrorCodes.ERROR_INVALID_PARAM); in testSetTimeout_invalid() 206 when(mINfcTag.connect(anyInt(), anyInt())).thenReturn(ErrorCodes.SUCCESS); in createConnectedIsoDepInstance()
|
D | NdefTest.java | 28 import android.nfc.ErrorCodes; 199 when(mNfcTagMock.ndefWrite(anyInt(), any())).thenReturn(ErrorCodes.SUCCESS); in testWriteNdefMessage() 226 when(mNfcTagMock.ndefWrite(anyInt(), any())).thenReturn(ErrorCodes.ERROR_IO); in testWriteNdefMessage_ioError() 235 when(mNfcTagMock.ndefWrite(anyInt(), any())).thenReturn(ErrorCodes.ERROR_INVALID_PARAM); in testWriteNdefMessage_formatError() 276 when(mNfcTagMock.ndefMakeReadOnly(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testMakeReadOnly() 309 when(mNfcTagMock.ndefMakeReadOnly(anyInt())).thenReturn(ErrorCodes.ERROR_IO); in testMakeReadOnly_ioError() 318 when(mNfcTagMock.ndefMakeReadOnly(anyInt())).thenReturn(ErrorCodes.ERROR_INVALID_PARAM); in testMakeReadOnly_formatError() 374 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testReconnect() 390 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.ERROR_CONNECT); in testReconnect_failReconnect() 406 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testClose() [all …]
|
D | NfcBarcodeTest.java | 27 import android.nfc.ErrorCodes; 142 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testReconnect() 158 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.ERROR_CONNECT); in testReconnect_failReconnect() 174 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testClose() 185 when(mNfcTagMock.connect(anyInt(), anyInt())).thenReturn(ErrorCodes.SUCCESS); in createConnectedNfcBarcode()
|
D | NfcBTest.java | 29 import android.nfc.ErrorCodes; 159 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testReconnect() 175 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.ERROR_CONNECT); in testReconnect_failReconnect() 191 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testClose() 203 when(mNfcTagMock.connect(anyInt(), anyInt())).thenReturn(ErrorCodes.SUCCESS); in createConnectedNfcB()
|
D | NfcVTest.java | 29 import android.nfc.ErrorCodes; 158 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testReconnect() 174 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.ERROR_CONNECT); in testReconnect_failReconnect() 190 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testClose() 201 when(mNfcTagMock.connect(anyInt(), anyInt())).thenReturn(ErrorCodes.SUCCESS); in createConnectedNfcV()
|
D | MifareUltralightTest.java | 29 import android.nfc.ErrorCodes; 168 when(mNfcTagMock.setTimeout(anyInt(), anyInt())).thenReturn(ErrorCodes.SUCCESS); in testSetTimeout() 182 when(mNfcTagMock.setTimeout(anyInt(), anyInt())).thenReturn(ErrorCodes.ERROR_INVALID_PARAM); in testSetTimeout_invalidTimeout() 245 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testReconnect() 261 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.ERROR_CONNECT); in testReconnect_failReconnect() 277 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testClose() 288 when(mNfcTagMock.connect(anyInt(), anyInt())).thenReturn(ErrorCodes.SUCCESS); in createConnectedMifareUltralight()
|
D | MifareClassicTest.java | 29 import android.nfc.ErrorCodes; 431 when(mNfcTagMock.setTimeout(anyInt(), anyInt())).thenReturn(ErrorCodes.SUCCESS); in testSetTimeout() 444 when(mNfcTagMock.setTimeout(anyInt(), anyInt())).thenReturn(ErrorCodes.ERROR_INVALID_PARAM); in testSetTimeout_invalidTimeout() 505 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testReconnect() 521 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.ERROR_CONNECT); in testReconnect_failReconnect() 537 when(mNfcTagMock.reconnect(anyInt())).thenReturn(ErrorCodes.SUCCESS); in testClose() 548 when(mNfcTagMock.connect(anyInt(), anyInt())).thenReturn(ErrorCodes.SUCCESS); in createConnectedMifareClassic()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/rrlp_components/ |
D | ErrorCodes.java | 36 public class ErrorCodes extends Asn1Enumerated { class 82 public ErrorCodes() { in ErrorCodes() method in ErrorCodes 124 public static ErrorCodes fromPerUnaligned(byte[] encodedBytes) { in fromPerUnaligned() 125 ErrorCodes result = new ErrorCodes(); in fromPerUnaligned() 133 public static ErrorCodes fromPerAligned(byte[] encodedBytes) { in fromPerAligned() 134 ErrorCodes result = new ErrorCodes(); in fromPerAligned()
|
D | ProtocolError.java | 101 private ErrorCodes errorCause_; 102 public ErrorCodes getErrorCause() { in getErrorCause() 109 this.errorCause_ = (ErrorCodes) value; in setErrorCause() 111 public ErrorCodes setErrorCauseToNewInstance() { in setErrorCauseToNewInstance() 112 errorCause_ = new ErrorCodes(); in setErrorCauseToNewInstance() 177 return tag == null ? ErrorCodes.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | HdmiCecClientWrapper.java | 20 import android.hdmicec.cts.error.ErrorCodes; 93 ErrorCodes.CecClientStart, in getValidCecClientPorts() 112 throw new CecClientWrapperException(ErrorCodes.ReadConsole, ioe); in getValidCecClientPorts() 126 throw new CecClientWrapperException(ErrorCodes.DeviceNotAvailable, de); in initValidCecClient() 152 ErrorCodes.ReadConsole, ioe, "Could not open port mapping file"); in initValidCecClient() 161 ErrorCodes.CecClientStart, "Missing logical address of the target device."); in init() 190 throw new CecClientWrapperException(ErrorCodes.CecClientStart); in init() 196 throw new CecClientWrapperException(ErrorCodes.CecClientStart); in checkCecClient() 199 throw new CecClientWrapperException(ErrorCodes.CecClientNotRunning); in checkCecClient() 323 throw new CecClientWrapperException(ErrorCodes.WriteConsole, ioe); in sendCecMessage() [all …]
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/audio/ |
D | HdmiCecAudioReturnChannelControlTest.java | 26 import android.hdmicec.cts.error.ErrorCodes; 63 if (e.getErrorCode() != ErrorCodes.CecMessageNotFound) { in checkArcIsInitiated()
|
D | HdmiCecInvalidMessagesTest.java | 26 import android.hdmicec.cts.error.ErrorCodes; 76 if (e.getErrorCode() != ErrorCodes.CecMessageNotFound) { in checkArcIsInitiated()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/tv/ |
D | HdmiCecRoutingControlTest.java | 28 import android.hdmicec.cts.error.ErrorCodes; 69 if (e.getErrorCode() != ErrorCodes.CecMessageNotFound) { in checkForInitialActiveSourceMessage()
|
D | HdmiCecRemoteControlPassThroughTest.java | 28 import android.hdmicec.cts.error.ErrorCodes; 78 if (e.getErrorCode() != ErrorCodes.CecMessageNotFound) { in checkForInitialActiveSourceMessage()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/targetprep/ |
D | CecPortDiscoverer.java | 26 import android.hdmicec.cts.error.ErrorCodes; 209 throw new CecClientWrapperException(ErrorCodes.CecPortBusy); in initValidClient() 212 if (cwe.getErrorCode() != ErrorCodes.CecPortBusy) { in initValidClient()
|
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | MediaDrmClearkeyTest.java | 1671 MediaDrm.ErrorCodes.ERROR_SESSION_NOT_OPENED, e.getErrorCode()); in testMediaDrmStateExceptionErrorCode() 1674 String.valueOf(MediaDrm.ErrorCodes.ERROR_SESSION_NOT_OPENED))); in testMediaDrmStateExceptionErrorCode()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 23352 public static final class MediaDrm.ErrorCodes {
|