Add API Coverage for java.nio methods
API list:
java.nio.channels.AsynchronousFileChannel.lock(A, java.nio.channels.CompletionHandler)
java.nio.channels.FileLock.toString()
java.nio.file.ClosedFileSystemException.ClosedFileSystemException()
java.nio.file.ProviderNotFoundException.ProviderNotFoundException()
java.nio.file.ReadOnlyFileSystemException.ReadOnlyFileSystemException()
java.nio.file.attribute.AclEntry.newBuilder(java.nio.file.attribute.AclEntry)
java.nio.file.spi.FileSystemProvider.createLink(java.nio.file.Path, java.nio.file.Path)
java.nio.file.spi.FileSystemProvider.newAsynchronousFileChannel(java.nio.file.Path, java.util.Set, java.util.concurrent.ExecutorService, java.nio.file.attribute.FileAttribute[])
Bug: 182165666
Test: atest CtsLibcoreTestCases:libcore.java.nio.channels.AsynchronousFileChannelTest
Test: atest CtsLibcoreTestCases:libcore.java.nio.channels.FileLockTest
Test: atest CtsLibcoreTestCases:libcore.java.nio.file.ClosedFileSystemExceptionTest
Test: atest CtsLibcoreTestCases:libcore.java.nio.file.ProviderNotFoundExceptionTest
Test: atest CtsLibcoreTestCases:libcore.java.nio.file.ReadOnlyFileSystemExceptionTest
Test: atest CtsLibcoreTestCases:libcore.java.nio.file.attribute.AclEntryTest
Test: atest CtsLibcoreTestCases:libcore.java.nio.file.spi.FileSystemProviderTest
Change-Id: I6a41821f60746d8f4facaaec1e6076f74fdd4fb0
7 files changed