Home
last modified time | relevance | path

Searched refs:IOException (Results 1 – 25 of 3334) sorted by relevance

12345678910>>...134

/external/okhttp/okio/okio/src/main/java/okio/
DBufferedSource.java18 import java.io.IOException;
35 boolean exhausted() throws IOException; in exhausted()
42 void require(long byteCount) throws IOException; in require()
49 boolean request(long byteCount) throws IOException; in request()
52 byte readByte() throws IOException; in readByte()
55 short readShort() throws IOException; in readShort()
58 short readShortLe() throws IOException; in readShortLe()
61 int readInt() throws IOException; in readInt()
64 int readIntLe() throws IOException; in readIntLe()
67 long readLong() throws IOException; in readLong()
[all …]
DBufferedSink.java18 import java.io.IOException;
30 BufferedSink write(ByteString byteString) throws IOException; in write()
36 BufferedSink write(byte[] source) throws IOException; in write()
42 BufferedSink write(byte[] source, int offset, int byteCount) throws IOException; in write()
48 long writeAll(Source source) throws IOException; in writeAll()
51 BufferedSink write(Source source, long byteCount) throws IOException; in write()
54 BufferedSink writeUtf8(String string) throws IOException; in writeUtf8()
60 BufferedSink writeUtf8(String string, int beginIndex, int endIndex) throws IOException; in writeUtf8()
63 BufferedSink writeUtf8CodePoint(int codePoint) throws IOException; in writeUtf8CodePoint()
66 BufferedSink writeString(String string, Charset charset) throws IOException; in writeString()
[all …]
DRealBufferedSource.java19 import java.io.IOException;
44 @Override public long read(Buffer sink, long byteCount) throws IOException { in read()
58 @Override public boolean exhausted() throws IOException { in exhausted()
63 @Override public void require(long byteCount) throws IOException { in require()
67 @Override public boolean request(long byteCount) throws IOException { in request()
76 @Override public byte readByte() throws IOException { in readByte()
81 @Override public ByteString readByteString() throws IOException { in readByteString()
86 @Override public ByteString readByteString(long byteCount) throws IOException { in readByteString()
91 @Override public byte[] readByteArray() throws IOException { in readByteArray()
96 @Override public byte[] readByteArray(long byteCount) throws IOException { in readByteArray()
[all …]
DRealBufferedSink.java19 import java.io.IOException;
43 throws IOException { in write()
49 @Override public BufferedSink write(ByteString byteString) throws IOException { in write()
55 @Override public BufferedSink writeUtf8(String string) throws IOException { in writeUtf8()
62 throws IOException { in writeUtf8()
68 @Override public BufferedSink writeUtf8CodePoint(int codePoint) throws IOException { in writeUtf8CodePoint()
74 @Override public BufferedSink writeString(String string, Charset charset) throws IOException { in writeString()
81 Charset charset) throws IOException { in writeString()
87 @Override public BufferedSink write(byte[] source) throws IOException { in write()
93 @Override public BufferedSink write(byte[] source, int offset, int byteCount) throws IOException { in write()
[all …]
/external/javassist/src/main/javassist/bytecode/annotation/
DAnnotationsWriter.java85 public void close() throws IOException { in close()
95 public void numParameters(int num) throws IOException { in numParameters()
105 public void numAnnotations(int num) throws IOException { in numAnnotations()
119 throws IOException in annotation()
134 throws IOException in annotation()
149 public void memberValuePair(String memberName) throws IOException { in memberValuePair()
163 public void memberValuePair(int memberNameIndex) throws IOException { in memberValuePair()
173 public void constValueIndex(boolean value) throws IOException { in constValueIndex()
183 public void constValueIndex(byte value) throws IOException { in constValueIndex()
193 public void constValueIndex(char value) throws IOException { in constValueIndex()
[all …]
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/
DHTMLElementTest.java16 import java.io.IOException;
32 public void setUp() throws IOException { in setUp()
42 public void testMeta() throws IOException { in testMeta()
51 public void testLink() throws IOException { in testLink()
60 public void testTitle() throws IOException { in testTitle()
67 public void testH1() throws IOException { in testH1()
74 public void testP() throws IOException { in testP()
81 public void testSpan1() throws IOException { in testSpan1()
88 public void testSpan2() throws IOException { in testSpan2()
95 public void testSpan3() throws IOException { in testSpan3()
[all …]
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DDataInputCompressor.java10 import java.io.IOException;
42 public boolean readBoolean() throws IOException { in readBoolean()
46 public byte readByte() throws IOException { in readByte()
50 public int readUnsignedByte() throws IOException { in readUnsignedByte()
54 public double readDouble() throws IOException { in readDouble()
58 public float readFloat() throws IOException { in readFloat()
62 public void readFully(byte[] b) throws IOException { in readFully()
66 public void readFully(byte[] b, int off, int len) throws IOException { in readFully()
70 public int skipBytes(int n) throws IOException { in skipBytes()
74 public String readLine() throws IOException { in readLine()
[all …]
DDataOutputCompressor.java10 import java.io.IOException;
40 public void write(byte[] b) throws IOException { in write()
44 public void write(byte[] b, int off, int len) throws IOException { in write()
48 public void write(int b) throws IOException { in write()
52 public void writeBoolean(boolean v) throws IOException { in writeBoolean()
56 public void writeByte(int v) throws IOException { in writeByte()
60 public void writeBytes(String s) throws IOException { in writeBytes()
64 public void writeDouble(double v) throws IOException { in writeDouble()
68 public void writeFloat(float v) throws IOException { in writeFloat()
72 public void close() throws IOException { in close()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DDataInputCompressor.java11 import java.io.IOException;
43 public boolean readBoolean() throws IOException { in readBoolean()
47 public byte readByte() throws IOException { in readByte()
51 public int readUnsignedByte() throws IOException { in readUnsignedByte()
55 public double readDouble() throws IOException { in readDouble()
59 public float readFloat() throws IOException { in readFloat()
63 public void readFully(byte[] b) throws IOException { in readFully()
67 public void readFully(byte[] b, int off, int len) throws IOException { in readFully()
71 public int skipBytes(int n) throws IOException { in skipBytes()
75 public String readLine() throws IOException { in readLine()
[all …]
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/xml/
DXMLElementTest.java16 import java.io.IOException;
32 public void setUp() throws IOException { in setUp()
39 public void testEmptyNode() throws IOException { in testEmptyNode()
46 @Test(expected = IOException.class)
47 public void testAddAttributeToClosedNode() throws IOException { in testAddAttributeToClosedNode()
52 @Test(expected = IOException.class)
53 public void testAddChildToClosedNode() throws IOException { in testAddChildToClosedNode()
58 @Test(expected = IOException.class)
59 public void testAddTextToClosedNode() throws IOException { in testAddTextToClosedNode()
65 public void testNestedElement() throws IOException { in testNestedElement()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/data/
DExecutionDataReaderWriterTest.java22 import java.io.IOException;
48 public void setup() throws IOException { in setup()
56 public void testEmpty() throws IOException { in testEmpty()
72 public void testFlush() throws IOException { in testFlush()
76 public void write(int b) throws IOException { in testFlush()
80 public void flush() throws IOException { in testFlush()
89 public void testCustomBlocks() throws IOException { in testCustomBlocks()
96 protected boolean readBlock(byte blocktype) throws IOException { in testCustomBlocks()
122 public void testMultipleHeaders() throws IOException { in testMultipleHeaders()
129 @Test(expected = IOException.class)
[all …]
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/
DHTMLElement.java14 import java.io.IOException;
39 public HTMLElement element(final String name) throws IOException { in element()
45 private void classattr(final String classattr) throws IOException { in classattr()
61 throws IOException { in meta()
82 final String typeattr) throws IOException { in link()
97 public HTMLElement title() throws IOException { in title()
108 public HTMLElement h1() throws IOException { in h1()
119 public HTMLElement p() throws IOException { in p()
130 public HTMLElement span() throws IOException { in span()
143 public HTMLElement span(final String classattr) throws IOException { in span()
[all …]
/external/protobuf/java/src/main/java/com/google/protobuf/micro/
DCodedOutputStreamMicro.java34 import java.io.IOException;
121 throws IOException { in writeDouble()
128 throws IOException { in writeFloat()
135 throws IOException { in writeUInt64()
142 throws IOException { in writeInt64()
149 throws IOException { in writeInt32()
156 throws IOException { in writeFixed64()
163 throws IOException { in writeFixed32()
170 throws IOException { in writeBool()
177 throws IOException { in writeString()
[all …]
/external/guava/guava/src/com/google/common/io/
DGwtWorkarounds.java23 import java.io.IOException;
44 int read() throws IOException; in read()
45 void close() throws IOException; in close()
56 public int read() throws IOException { in asCharInput()
61 public void close() throws IOException { in asCharInput()
95 int read() throws IOException;
96 void close() throws IOException;
107 public int read() throws IOException {
112 public int read(byte[] b, int off, int len) throws IOException {
134 public void close() throws IOException {
[all …]
DByteStreams.java33 import java.io.IOException;
64 throws IOException { in copy()
90 WritableByteChannel to) throws IOException { in copy()
113 public static byte[] toByteArray(InputStream in) throws IOException { in toByteArray()
126 InputStream in, int expectedSize) throws IOException { in toByteArray()
215 } catch (IOException e) { in readFully()
223 } catch (IOException e) { in readFully()
231 } catch (IOException e) { in skipBytes()
239 } catch (IOException e) { in readBoolean()
249 } catch (IOException impossible) { in readByte()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DInputOutputExceptionTest.java18 import java.io.IOException;
32 assertTrue(e.getCause() instanceof IOException); in testIOExceptionOnLoad()
42 assertTrue(e.getCause() instanceof IOException); in testIOExceptionOnDump()
49 public int read() throws IOException { in read()
50 throw new IOException("Broken 1"); in read()
54 public int read(byte[] bytes, int i, int i1) throws IOException { in read()
55 throw new IOException("Broken 2"); in read()
59 public void close() throws IOException { in close()
60 throw new IOException("Broken 3"); in close()
66 public void close() throws IOException { in close()
[all …]
/external/protobuf/java/src/main/java/com/google/protobuf/
DCodedOutputStream.java33 import java.io.IOException;
155 public void write(int b) throws IOException { in write()
160 public void write(byte[] data, int offset, int length) throws IOException { in write()
169 throws IOException { in writeDouble()
176 throws IOException { in writeFloat()
183 throws IOException { in writeUInt64()
190 throws IOException { in writeInt64()
197 throws IOException { in writeInt32()
204 throws IOException { in writeFixed64()
211 throws IOException { in writeFixed32()
[all …]
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/
DWebSocketWriterTest.java19 import java.io.IOException;
42 @After public void tearDown() throws IOException { in tearDown()
46 @Test public void serverSendSimpleHello() throws IOException { in serverSendSimpleHello()
52 @Test public void clientSendSimpleHello() throws IOException { in clientSendSimpleHello()
58 @Test public void serverStreamSimpleHello() throws IOException { in serverStreamSimpleHello()
71 @Test public void serverStreamCloseFlushes() throws IOException { in serverStreamCloseFlushes()
82 @Test public void clientStreamSimpleHello() throws IOException { in clientStreamSimpleHello()
95 @Test public void serverSendBinary() throws IOException { in serverSendBinary()
102 @Test public void serverSendBinaryShort() throws IOException { in serverSendBinaryShort()
109 @Test public void serverSendBinaryLong() throws IOException { in serverSendBinaryLong()
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/
DOpenedSocket.java22 import java.io.IOException;
38 public static OpenedSocket fromSocket(SocketChannel socket) throws IOException { in fromSocket()
46 public static OpenedSocket fromSocket(Socket socket) throws IOException { in fromSocket()
89 public Serializable read() throws IOException { in read()
101 @Override public void close() throws IOException { in close()
115 public void write(Serializable serializable) throws IOException { in write()
119 @Override public void flush() throws IOException { in flush()
123 @Override public void close() throws IOException { in close()
133 private static OutputStream getOutputStream(final Socket socket) throws IOException { in getOutputStream()
137 @Override public void close() throws IOException { in getOutputStream()
[all …]
/external/guava/guava-tests/test/com/google/common/io/
DCloserTest.java32 import java.io.IOException;
65 public void testNoExceptionsThrown() throws IOException { in testNoExceptionsThrown()
85 public void testExceptionThrown_fromTryBlock() throws IOException { in testExceptionThrown_fromTryBlock()
91 IOException exception = new IOException(); in testExceptionThrown_fromTryBlock()
111 public void testExceptionThrown_whenCreatingCloseables() throws IOException { in testExceptionThrown_whenCreatingCloseables()
128 assertTrue(expected instanceof IOException); in testExceptionThrown_whenCreatingCloseables()
138 public void testExceptionThrown_whileClosingLastCloseable() throws IOException { in testExceptionThrown_whileClosingLastCloseable()
141 IOException exception = new IOException(); in testExceptionThrown_whileClosingLastCloseable()
159 public void testExceptionThrown_whileClosingFirstCloseable() throws IOException { in testExceptionThrown_whileClosingFirstCloseable()
162 IOException exception = new IOException(); in testExceptionThrown_whileClosingFirstCloseable()
[all …]
/external/apache-http/src/org/apache/http/conn/
DEofSensorInputStream.java34 import java.io.IOException;
130 protected boolean isReadAllowed() throws IOException { in isReadAllowed()
132 throw new IOException("Attempted read on closed stream."); in isReadAllowed()
140 public int read() throws IOException { in read()
147 } catch (IOException ex) { in read()
159 public int read(byte[] b, int off, int len) throws IOException { in read()
166 } catch (IOException ex) { in read()
178 public int read(byte[] b) throws IOException { in read()
185 } catch (IOException ex) { in read()
196 public int available() throws IOException { in available()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFrameWriter.java20 import java.io.IOException;
27 void connectionPreface() throws IOException; in connectionPreface()
29 void ackSettings(Settings peerSettings) throws IOException; in ackSettings()
47 throws IOException; in pushPromise()
50 void flush() throws IOException; in flush()
52 List<Header> headerBlock) throws IOException; in synStream()
54 throws IOException; in synReply()
55 void headers(int streamId, List<Header> headerBlock) throws IOException; in headers()
56 void rstStream(int streamId, ErrorCode errorCode) throws IOException; in rstStream()
69 void data(boolean outFinished, int streamId, Buffer source, int byteCount) throws IOException; in data()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/data/
DCompactDataInputOutputTest.java16 import java.io.IOException;
34 public void setup() throws IOException { in setup()
41 public void testVarInt0x00000000() throws IOException { in testVarInt0x00000000()
46 public void testVarInt0x0000007F() throws IOException { in testVarInt0x0000007F()
51 public void testVarInt0x00000080() throws IOException { in testVarInt0x00000080()
56 public void testVarInt0x00000100() throws IOException { in testVarInt0x00000100()
61 public void testVarInt0x12345678() throws IOException { in testVarInt0x12345678()
66 public void testVarIntMinus1() throws IOException { in testVarIntMinus1()
71 public void testVarIntMinValue() throws IOException { in testVarIntMinValue()
76 public void testVarIntMaxValue() throws IOException { in testVarIntMaxValue()
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothRfcommFacade.java36 import java.io.IOException;
74 private BluetoothConnection getConnection(String connID) throws IOException { in getConnection()
82 throw new IOException("Bluetooth not ready for this connID."); in getConnection()
104 throws IOException { in bluetoothRfcommConnect()
136 throws IOException { in bluetoothRfcommCloseSocket()
156 throws IOException { in bluetoothRfcommGetConnectedDeviceName()
168 throws IOException { in bluetoothRfcommAccept()
187 throws IOException { in bluetoothRfcommWrite()
191 } catch (IOException e) { in bluetoothRfcommWrite()
202 throws IOException { in bluetoothRfcommRead()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDexDataWriter.java38 import java.io.IOException;
74 public void write(int b) throws IOException { in write()
80 public void write(byte[] b) throws IOException { in write()
85 public void write(byte[] b, int off, int len) throws IOException { in write()
90 public void writeLong(long value) throws IOException { in writeLong()
95 public static void writeInt(OutputStream out, int value) throws IOException { in writeInt()
102 public void writeInt(int value) throws IOException { in writeInt()
106 public void writeShort(int value) throws IOException { in writeShort()
114 public void writeUshort(int value) throws IOException { in writeUshort()
122 public void writeUbyte(int value) throws IOException { in writeUbyte()
[all …]

12345678910>>...134