Home | History | Annotate | Download | only in nfc

Lines Matching refs:ErrorCodes

44 import android.nfc.ErrorCodes;
492 return ErrorCodes.ERROR_NOT_INITIALIZED;
516 case ErrorCodes.ERROR_BUFFER_TO_SMALL:
517 return ErrorCodes.ERROR_BUFFER_TO_SMALL;
518 case ErrorCodes.ERROR_INSUFFICIENT_RESOURCES:
519 return ErrorCodes.ERROR_INSUFFICIENT_RESOURCES;
521 return ErrorCodes.ERROR_SOCKET_CREATION;
533 return ErrorCodes.ERROR_NOT_INITIALIZED;
553 case ErrorCodes.ERROR_BUFFER_TO_SMALL:
554 return ErrorCodes.ERROR_BUFFER_TO_SMALL;
555 case ErrorCodes.ERROR_INSUFFICIENT_RESOURCES:
556 return ErrorCodes.ERROR_INSUFFICIENT_RESOURCES;
558 return ErrorCodes.ERROR_SOCKET_CREATION;
570 return ErrorCodes.ERROR_NOT_INITIALIZED;
591 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(errorStatus));
594 case ErrorCodes.ERROR_BUFFER_TO_SMALL:
595 return ErrorCodes.ERROR_BUFFER_TO_SMALL;
596 case ErrorCodes.ERROR_INSUFFICIENT_RESOURCES:
597 return ErrorCodes.ERROR_INSUFFICIENT_RESOURCES;
599 return ErrorCodes.ERROR_SOCKET_CREATION;
687 return ErrorCodes.ERROR_NFC_ON;
694 return ErrorCodes.ERROR_INVALID_PARAM;
702 return ErrorCodes.ERROR_INVALID_PARAM;
716 return ErrorCodes.ERROR_INVALID_PARAM;
730 return ErrorCodes.ERROR_INVALID_PARAM;
744 return ErrorCodes.ERROR_INVALID_PARAM;
804 return ErrorCodes.ERROR_INVALID_PARAM;
807 return ErrorCodes.SUCCESS;
883 return ErrorCodes.ERROR_NOT_INITIALIZED;
892 return ErrorCodes.SUCCESS;
894 return ErrorCodes.ERROR_IO;
907 return ErrorCodes.ERROR_NOT_INITIALIZED;
915 return ErrorCodes.SUCCESS;
917 return ErrorCodes.ERROR_IO;
920 return ErrorCodes.ERROR_IO;
934 return ErrorCodes.ERROR_NOT_INITIALIZED;
942 return ErrorCodes.SUCCESS;
944 return ErrorCodes.ERROR_IO;
947 return ErrorCodes.ERROR_IO;
960 return ErrorCodes.ERROR_NOT_INITIALIZED;
980 return ErrorCodes.ERROR_NOT_INITIALIZED;
1000 return ErrorCodes.ERROR_NOT_INITIALIZED;
1020 return ErrorCodes.ERROR_NOT_INITIALIZED;
1029 return ErrorCodes.ERROR_SOCKET_NOT_CONNECTED;
1032 return ErrorCodes.ERROR_SOCKET_NOT_CONNECTED;
1044 return ErrorCodes.ERROR_NOT_INITIALIZED;
1053 return ErrorCodes.ERROR_SOCKET_NOT_CONNECTED;
1056 return ErrorCodes.ERROR_SOCKET_NOT_CONNECTED;
1068 return ErrorCodes.ERROR_NOT_INITIALIZED;
1089 return ErrorCodes.ERROR_NOT_INITIALIZED;
1097 return ErrorCodes.SUCCESS;
1099 return ErrorCodes.ERROR_IO;
1102 return ErrorCodes.ERROR_IO;
1126 return ErrorCodes.ERROR_NOT_INITIALIZED;
1142 return ErrorCodes.ERROR_IO;
1145 return ErrorCodes.ERROR_IO;
1210 return ErrorCodes.ERROR_NOT_INITIALIZED;
1256 return ErrorCodes.ERROR_NOT_INITIALIZED;
1264 return ErrorCodes.SUCCESS;
1266 return ErrorCodes.ERROR_IO;
1269 return ErrorCodes.ERROR_IO;
1284 return ErrorCodes.ERROR_NOT_INITIALIZED;
1293 return ErrorCodes.SUCCESS;
1297 return ErrorCodes.ERROR_DISCONNECT;
1308 return ErrorCodes.ERROR_NOT_INITIALIZED;
1314 return ErrorCodes.ERROR_DISCONNECT;
1321 return ErrorCodes.SUCCESS;
1323 return ErrorCodes.ERROR_DISCONNECT;
1335 return ErrorCodes.ERROR_NOT_INITIALIZED;
1342 return ErrorCodes.SUCCESS;
1344 return ErrorCodes.ERROR_DISCONNECT;
1347 return ErrorCodes.ERROR_DISCONNECT;
1485 return ErrorCodes.ERROR_NOT_INITIALIZED;
1491 return ErrorCodes.ERROR_IO;
1495 return ErrorCodes.SUCCESS;
1498 return ErrorCodes.ERROR_IO;
1521 return ErrorCodes.ERROR_NOT_INITIALIZED;
1527 return ErrorCodes.ERROR_IO;
1531 return ErrorCodes.SUCCESS;
1534 return ErrorCodes.ERROR_IO;
1546 return ErrorCodes.ERROR_NOT_INITIALIZED;
1552 return ErrorCodes.ERROR_IO;
1556 return ErrorCodes.SUCCESS;
1559 return ErrorCodes.ERROR_IO;
1610 return ErrorCodes.ERROR_NOT_INITIALIZED;
1618 return ErrorCodes.ERROR_INVALID_PARAM;
1676 return ErrorCodes.ERROR_NOT_INITIALIZED;
1683 return ErrorCodes.SUCCESS;
1686 return ErrorCodes.ERROR_CONNECT;
1745 return ErrorCodes.ERROR_NOT_INITIALIZED;
1753 return ErrorCodes.ERROR_INVALID_PARAM;
2357 if (ErrorCodes.isError(handle)) {
2358 Log.e(TAG, "unable to create socket: " + ErrorCodes.asString(handle));
2373 if (ErrorCodes.isError(handle)) {
2374 Log.e(TAG, "unable to create socket: " + ErrorCodes.asString(handle));