Home
last modified time | relevance | path

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

12345678910>>...129

/external/r8/src/test/java/com/android/tools/r8/jdwp/
DRunJdwpTests.java20 import java.io.IOException;
153 public static void compileLibraries() throws IOException, CompilationException { in compileLibraries()
197 void runTest(String test, Tool tool) throws IOException { in runTest()
235 public void testArrayReference_GetValuesTest_D8() throws IOException { in testArrayReference_GetValuesTest_D8()
240 public void testArrayReference_LengthTest_D8() throws IOException { in testArrayReference_LengthTest_D8()
245 public void testArrayReference_SetValues002Test_D8() throws IOException { in testArrayReference_SetValues002Test_D8()
250 public void testArrayReference_SetValues003Test_D8() throws IOException { in testArrayReference_SetValues003Test_D8()
255 public void testArrayReference_SetValuesTest_D8() throws IOException { in testArrayReference_SetValuesTest_D8()
260 public void testArrayType_NewInstanceTest_D8() throws IOException { in testArrayType_NewInstanceTest_D8()
265 public void testClassLoaderReference_VisibleClassesTest_D8() throws IOException { in testClassLoaderReference_VisibleClassesTest_D8()
[all …]
/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/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedOutputStream.java37 import java.io.IOException;
191 public abstract void writeTag(int fieldNumber, int wireType) throws IOException; in writeTag()
195 public abstract void writeInt32(int fieldNumber, int value) throws IOException; in writeInt32()
199 public abstract void writeUInt32(int fieldNumber, int value) throws IOException; in writeUInt32()
202 public final void writeSInt32(final int fieldNumber, final int value) throws IOException { in writeSInt32()
208 public abstract void writeFixed32(int fieldNumber, int value) throws IOException; in writeFixed32()
211 public final void writeSFixed32(final int fieldNumber, final int value) throws IOException { in writeSFixed32()
216 public final void writeInt64(final int fieldNumber, final long value) throws IOException { in writeInt64()
222 public abstract void writeUInt64(int fieldNumber, long value) throws IOException; in writeUInt64()
225 public final void writeSInt64(final int fieldNumber, final long value) throws IOException { in writeSInt64()
[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/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.java23 import java.io.IOException;
49 public void setup() throws IOException { in setup()
57 public void testEmpty() throws IOException { in testEmpty()
73 public void testFlush() throws IOException { in testFlush()
77 public void write(int b) throws IOException { in testFlush()
81 public void flush() throws IOException { in testFlush()
90 public void testCustomBlocks() throws IOException { in testCustomBlocks()
97 protected boolean readBlock(byte blocktype) throws IOException { in testCustomBlocks()
123 public void testMultipleHeaders() throws IOException { in testMultipleHeaders()
130 @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/javamicro/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/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/
DRealWebSocketTest.java22 import java.io.IOException;
69 @Override protected void close() throws IOException { in setUp()
76 throw new IOException("Oops!"); in setUp()
82 @Override protected void close() throws IOException { in setUp()
96 @Test public void nullMessageThrows() throws IOException { in nullMessageThrows()
105 @Test public void textMessage() throws IOException { in textMessage()
111 @Test public void binaryMessage() throws IOException { in binaryMessage()
117 @Test public void missingContentTypeThrows() throws IOException { in missingContentTypeThrows()
127 @Test public void unknownContentTypeThrows() throws IOException { in unknownContentTypeThrows()
138 @Test public void streamingMessage() throws IOException { in streamingMessage()
[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/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/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/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/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 …]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothRfcommFacade.java36 import java.io.IOException;
75 private BluetoothConnection getConnection(String connID) throws IOException { in getConnection()
83 throw new IOException("Bluetooth connection not established."); in getConnection()
141 throws IOException { in bluetoothRfcommBeginConnectThread()
164 throws IOException { in bluetoothRfcommEndConnectThread()
173 throws IOException { in bluetoothRfcommEndAcceptThread()
193 throws IOException { in bluetoothRfcommGetConnectedDeviceName()
204 throws IOException { in bluetoothRfcommBeginAcceptThread()
215 throws IOException { in bluetoothRfcommWrite()
219 } catch (IOException e) { in bluetoothRfcommWrite()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DASN1OutputStream.java3 import java.io.IOException;
21 throws IOException in writeLength()
47 throws IOException in write()
53 throws IOException in write()
59 throws IOException in write()
67 throws IOException in writeEncoded()
75 throws IOException in writeTag()
108 throws IOException in writeEncoded()
116 throws IOException in writeNull()
124 throws IOException in writeObject()
[all …]
/external/proguard/src/proguard/classfile/io/
DRuntimeDataInput.java50 catch (IOException ex) in readBoolean()
62 catch (IOException ex) in readByte()
74 catch (IOException ex) in readChar()
86 catch (IOException ex) in readDouble()
98 catch (IOException ex) in readFloat()
110 catch (IOException ex) in readFully()
122 catch (IOException ex) in readFully()
134 catch (IOException ex) in readInt()
146 catch (IOException ex) in readLine()
158 catch (IOException ex) in readLong()
[all …]

12345678910>>...129