/aosp_15_r20/libcore/ojluni/annotations/hiddenapi/java/io/ |
H A D | ObjectInputStream.java | 35 public ObjectInputStream(java.io.InputStream in) throws java.io.IOException { in ObjectInputStream() 39 protected ObjectInputStream() throws java.io.IOException, java.lang.SecurityException { in ObjectInputStream() 44 throws java.lang.ClassNotFoundException, java.io.IOException { in readObject() 49 throws java.lang.ClassNotFoundException, java.io.IOException { in readObjectOverride() 54 throws java.lang.ClassNotFoundException, java.io.IOException { in readUnshared() 58 public void defaultReadObject() throws java.lang.ClassNotFoundException, java.io.IOException { in defaultReadObject() 63 throws java.lang.ClassNotFoundException, java.io.IOException { in readFields() 73 throws java.lang.ClassNotFoundException, java.io.IOException { in resolveClass() 78 throws java.lang.ClassNotFoundException, java.io.IOException { in resolveProxyClass() 82 protected java.lang.Object resolveObject(java.lang.Object obj) throws java.io.IOException { in resolveObject() [all …]
|
H A D | ObjectOutputStream.java | 35 public ObjectOutputStream(java.io.OutputStream out) throws java.io.IOException { in ObjectOutputStream() 39 protected ObjectOutputStream() throws java.io.IOException, java.lang.SecurityException { in ObjectOutputStream() 43 public void useProtocolVersion(int version) throws java.io.IOException { in useProtocolVersion() 47 public final void writeObject(java.lang.Object obj) throws java.io.IOException { in writeObject() 51 protected void writeObjectOverride(java.lang.Object obj) throws java.io.IOException { in writeObjectOverride() 55 public void writeUnshared(java.lang.Object obj) throws java.io.IOException { in writeUnshared() 59 public void defaultWriteObject() throws java.io.IOException { in defaultWriteObject() 63 public java.io.ObjectOutputStream.PutField putFields() throws java.io.IOException { in putFields() 67 public void writeFields() throws java.io.IOException { in writeFields() 71 public void reset() throws java.io.IOException { in reset() [all …]
|
/aosp_15_r20/external/gson/gson/src/test/java/com/google/gson/stream/ |
H A D | JsonReaderTest.java | 34 import java.io.IOException; 44 public void testReadArray() throws IOException { in testReadArray() 54 public void testReadEmptyArray() throws IOException { in testReadEmptyArray() 63 public void testReadObject() throws IOException { in testReadObject() 76 public void testReadEmptyObject() throws IOException { in testReadEmptyObject() 85 public void testHasNextEndOfDocument() throws IOException { in testHasNextEndOfDocument() 93 public void testSkipArray() throws IOException { in testSkipArray() 128 public void testSkipObject() throws IOException { in testSkipObject() 159 public void testSkipObjectName() throws IOException { in testSkipObjectName() 169 public void testSkipObjectNameSingleQuoted() throws IOException { in testSkipObjectNameSingleQuoted() [all …]
|
/aosp_15_r20/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/function/ |
H A D | FailableFunctionsTest.java | 27 import java.io.IOException; 293 final IOException ioe = new IOException("Unknown I/O error"); in testAcceptBiConsumer() 314 final IOException ioe = new IOException("Unknown I/O error"); in testAcceptConsumer() 337 final IOException ioe = new IOException("Unknown I/O error"); in testAcceptDoubleConsumer() 362 final IOException ioe = new IOException("Unknown I/O error"); in testAcceptIntConsumer() 387 final IOException ioe = new IOException("Unknown I/O error"); in testAcceptLongConsumer() 415 final IOException ioe = new IOException("Unknown I/O error"); in testAcceptObjDoubleConsumer() 444 final IOException ioe = new IOException("Unknown I/O error"); in testAcceptObjIntConsumer() 473 final IOException ioe = new IOException("Unknown I/O error"); in testAcceptObjLongConsumer() 498 final IOException ioe = new IOException("Unknown I/O error"); in testApplyBiFunction() [all …]
|
/aosp_15_r20/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/ |
D | IConsentStorage.java | 27 import java.io.IOException; 52 * @throws IOException if the operation fails 54 void clearAllAppConsentData() throws IOException; in clearAllAppConsentData() 60 * @throws IOException if the operation fails 62 void clearConsentForUninstalledApp(@NonNull String packageName) throws IOException; in clearConsentForUninstalledApp() 69 * @throws IOException if the operation fails 72 throws IOException; in clearConsentForUninstalledApp() 79 * @throws IOException if the operation fails 81 void clearKnownAppsWithConsent() throws IOException; in clearKnownAppsWithConsent() 86 * @throws IOException if the operation fails [all …]
|
/aosp_15_r20/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | CodedOutputStream.java | 40 import java.io.IOException; 230 public abstract void writeTag(int fieldNumber, int wireType) throws IOException; in writeTag() 234 public abstract void writeInt32(int fieldNumber, int value) throws IOException; in writeInt32() 238 public abstract void writeUInt32(int fieldNumber, int value) throws IOException; in writeUInt32() 241 public final void writeSInt32(final int fieldNumber, final int value) throws IOException { in writeSInt32() 247 public abstract void writeFixed32(int fieldNumber, int value) throws IOException; in writeFixed32() 250 public final void writeSFixed32(final int fieldNumber, final int value) throws IOException { in writeSFixed32() 255 public final void writeInt64(final int fieldNumber, final long value) throws IOException { in writeInt64() 261 public abstract void writeUInt64(int fieldNumber, long value) throws IOException; in writeUInt64() 264 public final void writeSInt64(final int fieldNumber, final long value) throws IOException { in writeSInt64() [all …]
|
/aosp_15_r20/external/cronet/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | CodedOutputStream.java | 40 import java.io.IOException; 230 public abstract void writeTag(int fieldNumber, int wireType) throws IOException; in writeTag() 234 public abstract void writeInt32(int fieldNumber, int value) throws IOException; in writeInt32() 238 public abstract void writeUInt32(int fieldNumber, int value) throws IOException; in writeUInt32() 241 public final void writeSInt32(final int fieldNumber, final int value) throws IOException { in writeSInt32() 247 public abstract void writeFixed32(int fieldNumber, int value) throws IOException; in writeFixed32() 250 public final void writeSFixed32(final int fieldNumber, final int value) throws IOException { in writeSFixed32() 255 public final void writeInt64(final int fieldNumber, final long value) throws IOException { in writeInt64() 261 public abstract void writeUInt64(int fieldNumber, long value) throws IOException; in writeUInt64() 264 public final void writeSInt64(final int fieldNumber, final long value) throws IOException { in writeSInt64() [all …]
|
/aosp_15_r20/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldRandomAccessFileTest.java | 25 import java.io.IOException; 106 throws IOException { in test_ConstructorLjava_lang_StringLjava_lang_String() 175 } catch (IOException e) {} in test_close() 181 public void test_getChannel() throws IOException { in test_getChannel() 201 public void test_getFD() throws IOException { in test_getFD() 215 public void test_getFilePointer() throws IOException { in test_getFilePointer() 224 fail("Test 2: IOException expected."); in test_getFilePointer() 225 } catch (IOException e) { in test_getFilePointer() 233 public void test_length() throws IOException { in test_length() 242 fail("Test 2: IOException expected."); in test_length() [all …]
|
H A D | OldDataInputOutputStreamTest.java | 24 import java.io.IOException; 37 public void test_read_writeBoolean() throws IOException { in test_read_writeBoolean() 42 fail("Test 1: IOException expected."); in test_read_writeBoolean() 43 } catch (IOException e) { in test_read_writeBoolean() 63 fail("Test 4: IOException expected."); in test_read_writeBoolean() 64 } catch (IOException e) { in test_read_writeBoolean() 69 public void test_read_writeByte() throws IOException { in test_read_writeByte() 74 fail("Test 1: IOException expected."); in test_read_writeByte() 75 } catch (IOException e) { in test_read_writeByte() 95 fail("Test 4: IOException expected."); in test_read_writeByte() [all …]
|
/aosp_15_r20/external/libultrahdr/java/com/google/media/codecs/ultrahdr/ |
H A D | UltraHDREncoder.java | 25 import java.io.IOException; 64 * @throws IOException If the codec cannot be created then exception is thrown 66 public UltraHDREncoder() throws IOException { in UltraHDREncoder() 97 * @throws IOException If parameters are not valid or current encoder instance is not valid 102 int colorTransfer, int colorRange, int colorFormat, int intent) throws IOException { in setRawImage() 104 throw new IOException("received null for image data handle"); in setRawImage() 107 throw new IOException("received bad width and/or height, width or height is <= 0"); in setRawImage() 110 throw new IOException("received bad stride, stride is <= 0"); in setRawImage() 114 throw new IOException("received unsupported color format. supported color formats are" in setRawImage() 136 * @throws IOException If parameters are not valid or current encoder instance is not valid [all …]
|
H A D | UltraHDRDecoder.java | 28 import java.io.IOException; 146 * @throws IOException If parameters are not valid exception is thrown. 148 public static boolean isUHDRImage(byte[] data, int size) throws IOException { in isUHDRImage() 150 throw new IOException("received null for image data handle"); in isUHDRImage() 153 throw new IOException("received invalid compressed image size, size is <= 0"); in isUHDRImage() 161 * @throws IOException If the codec cannot be created then exception is thrown 163 public UltraHDRDecoder() throws IOException { in UltraHDRDecoder() 200 * @throws IOException If parameters are not valid or current decoder instance is not valid 205 int range) throws IOException { in setCompressedImage() 207 throw new IOException("received null for image data handle"); in setCompressedImage() [all …]
|
/aosp_15_r20/frameworks/base/core/java/android/net/ |
H A D | LocalSocketImpl.java | 28 import java.io.IOException; 64 public int available() throws IOException { in available() 66 if (myFd == null) throw new IOException("socket closed"); in available() 76 public void close() throws IOException { in close() 82 public int read() throws IOException { in read() 86 if (myFd == null) throw new IOException("socket closed"); in read() 95 public int read(byte[] b) throws IOException { in read() 101 public int read(byte[] b, int off, int len) throws IOException { in read() 104 if (myFd == null) throw new IOException("socket closed"); in read() 124 public void close() throws IOException { in close() [all …]
|
/aosp_15_r20/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
H A D | RegularFileTest.java | 30 import java.io.IOException; 198 private void fillContent(String fill) throws IOException { in fillContent() 234 public void testEmpty_write_singleByte_atStart() throws IOException { in testEmpty_write_singleByte_atStart() 239 public void testEmpty_write_byteArray_atStart() throws IOException { in testEmpty_write_byteArray_atStart() 245 public void testEmpty_write_partialByteArray_atStart() throws IOException { in testEmpty_write_partialByteArray_atStart() 251 public void testEmpty_write_singleBuffer_atStart() throws IOException { in testEmpty_write_singleBuffer_atStart() 256 public void testEmpty_write_multipleBuffers_atStart() throws IOException { in testEmpty_write_multipleBuffers_atStart() 261 public void testEmpty_write_singleByte_atNonZeroPosition() throws IOException { in testEmpty_write_singleByte_atNonZeroPosition() 266 public void testEmpty_write_byteArray_atNonZeroPosition() throws IOException { in testEmpty_write_byteArray_atNonZeroPosition() 272 public void testEmpty_write_partialByteArray_atNonZeroPosition() throws IOException { in testEmpty_write_partialByteArray_atNonZeroPosition() [all …]
|
/aosp_15_r20/cts/tests/tests/util/src/android/util/cts/ |
H A D | JsonReaderTest.java | 34 import java.io.IOException; 45 public void testReadArray() throws IOException { in testReadArray() 55 public void testReadEmptyArray() throws IOException { in testReadEmptyArray() 64 public void testReadObject() throws IOException { in testReadObject() 77 public void testReadEmptyObject() throws IOException { in testReadEmptyObject() 86 public void testSkipObject() throws IOException { in testSkipObject() 99 public void testSkipBeforeEndOfObject() throws IOException { in testSkipBeforeEndOfObject() 107 public void testSkipBeforeEndOfArray() throws IOException { in testSkipBeforeEndOfArray() 115 public void testSkipAfterEndOfDocument() throws IOException { in testSkipAfterEndOfDocument() 128 public void testHelloWorld() throws IOException { in testHelloWorld() [all …]
|
/aosp_15_r20/external/libultrahdr/java/jni/ |
H A D | ultrahdr-jni.cpp | 43 RET_IF_TRUE(clazz == nullptr, "java/io/IOException", "GetObjectClass returned with error") \ 45 RET_IF_TRUE(fid == nullptr, "java/io/IOException", \ 64 RET_VAL_IF_TRUE(clazz == nullptr, "java/io/IOException", "GetObjectClass returned with error", \ 67 RET_VAL_IF_TRUE(fid == nullptr, "java/io/IOException", \ 74 RET_IF_TRUE(clazz == nullptr, "java/io/IOException", "GetObjectClass returned with error") in Java_com_google_media_codecs_ultrahdr_UltraHDREncoder_init() 76 RET_IF_TRUE(fid == nullptr, "java/io/IOException", in Java_com_google_media_codecs_ultrahdr_UltraHDREncoder_init() 98 RET_IF_TRUE(handle == 0, "java/io/IOException", "invalid encoder instance") in Java_com_google_media_codecs_ultrahdr_UltraHDREncoder_setRawImageNative___3IIIIIIIII() 100 RET_IF_TRUE(length < height * rgb_stride, "java/io/IOException", in Java_com_google_media_codecs_ultrahdr_UltraHDREncoder_setRawImageNative___3IIIIIIIII() 114 RET_IF_TRUE(status.error_code != UHDR_CODEC_OK, "java/io/IOException", in Java_com_google_media_codecs_ultrahdr_UltraHDREncoder_setRawImageNative___3IIIIIIIII() 123 RET_IF_TRUE(handle == 0, "java/io/IOException", "invalid encoder instance") in Java_com_google_media_codecs_ultrahdr_UltraHDREncoder_setRawImageNative___3JIIIIIIII() [all …]
|
/aosp_15_r20/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
H A D | Http2.java | 19 import java.io.IOException; 102 @Override public void readConnectionPreface() throws IOException { in readConnectionPreface() 107 throw ioException("Expected a connection header but was %s", connectionPreface.utf8()); in readConnectionPreface() 111 @Override public boolean nextFrame(Handler handler) throws IOException { in nextFrame() 114 } catch (IOException e) { in nextFrame() 132 throw ioException("FRAME_SIZE_ERROR: %s", length); in nextFrame() 184 throws IOException { in readHeaders() 185 if (streamId == 0) throw ioException("PROTOCOL_ERROR: TYPE_HEADERS streamId == 0"); in readHeaders() 204 throws IOException { in readHeaderBlock() 217 throws IOException { in readData() [all …]
|
/aosp_15_r20/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/ |
H A D | HTMLElement.java | 15 import java.io.IOException; 38 * @throws IOException 42 throws IOException { in HTMLElement() 48 throws IOException { in HTMLElement() 53 public HTMLElement element(final String name) throws IOException { in element() 57 private void classattr(final String classattr) throws IOException { in classattr() 65 * @throws IOException 68 public HTMLElement head() throws IOException { in head() 76 * @throws IOException 79 public HTMLElement body() throws IOException { in body() [all …]
|
/aosp_15_r20/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | StubDevice.java | 37 import java.io.IOException; 62 throws TimeoutException, AdbCommandRejectedException, IOException { in createForward() 63 throw new IOException("stub"); in createForward() 69 throws TimeoutException, AdbCommandRejectedException, IOException { in createForward() 135 throws TimeoutException, AdbCommandRejectedException, IOException { in getScreenshot() 136 throw new IOException("stub"); in getScreenshot() 143 throws TimeoutException, AdbCommandRejectedException, IOException { in getScreenshot() 144 throw new IOException("stub"); in getScreenshot() 159 throws TimeoutException, AdbCommandRejectedException, IOException { in getSyncService() 160 throw new IOException("stub"); in getSyncService() [all …]
|
/aosp_15_r20/external/apache-commons-io/src/main/java/org/apache/commons/io/file/ |
H A D | FilesUncheck.java | 22 import java.io.IOException; 52 …nk Files} to uncheck calls by throwing {@link UncheckedIOException} instead of {@link IOException}. 55 * @see IOException 63 * {@link IOException}. 69 * @throws UncheckedIOException Wraps an {@link IOException}. 78 * {@link IOException}. 83 * @throws UncheckedIOException Wraps an {@link IOException}. 91 * {@link IOException}. 97 * @throws UncheckedIOException Wraps an {@link IOException}. 105 * {@link IOException}. [all …]
|
/aosp_15_r20/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/ |
H A D | Http2.java | 20 import java.io.IOException; 104 @Override public void readConnectionPreface() throws IOException { in readConnectionPreface() 109 throw ioException("Expected a connection header but was %s", connectionPreface.utf8()); in readConnectionPreface() 113 @Override public boolean nextFrame(Handler handler) throws IOException { in nextFrame() 116 } catch (IOException e) { in nextFrame() 134 throw ioException("FRAME_SIZE_ERROR: %s", length); in nextFrame() 186 throws IOException { in readHeaders() 187 if (streamId == 0) throw ioException("PROTOCOL_ERROR: TYPE_HEADERS streamId == 0"); in readHeaders() 206 throws IOException { in readHeaderBlock() 219 throws IOException { in readData() [all …]
|
/aosp_15_r20/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/framed/ |
H A D | Http2.java | 24 import java.io.IOException; 109 @Override public void readConnectionPreface() throws IOException { in readConnectionPreface() 114 throw ioException("Expected a connection header but was %s", connectionPreface.utf8()); in readConnectionPreface() 118 @Override public boolean nextFrame(Handler handler) throws IOException { in nextFrame() 121 } catch (IOException e) { in nextFrame() 139 throw ioException("FRAME_SIZE_ERROR: %s", length); in nextFrame() 191 throws IOException { in readHeaders() 192 if (streamId == 0) throw ioException("PROTOCOL_ERROR: TYPE_HEADERS streamId == 0"); in readHeaders() 211 throws IOException { in readHeaderBlock() 224 throws IOException { in readData() [all …]
|
/aosp_15_r20/libcore/ojluni/src/test/java/io/InputStream/ |
H A D | NullInputStream.java | 31 import java.io.IOException; 52 } catch (IOException e) { in setup() 53 fail("Unexpected IOException"); in setup() 61 } catch (IOException e) { in closeStream() 62 fail("Unexpected IOException"); in closeStream() 75 } catch (IOException ioe) { in testAvailable() 76 fail("Unexpected IOException"); in testAvailable() 84 } catch (IOException ioe) { in testRead() 85 fail("Unexpected IOException"); in testRead() 94 } catch (IOException ioe) { in testReadBII() [all …]
|
/aosp_15_r20/external/okio/okio/src/jvmMain/kotlin/okio/ |
H A D | BufferedSource.kt | 18 import java.io.IOException 34 @Throws(IOException::class) 37 @Throws(IOException::class) 40 @Throws(IOException::class) 43 @Throws(IOException::class) 46 @Throws(IOException::class) 49 @Throws(IOException::class) 52 @Throws(IOException::class) 55 @Throws(IOException::class) 58 @Throws(IOException::class) [all …]
|
/aosp_15_r20/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | DerInputStream.java | 29 import java.io.IOException; 79 public DerInputStream(byte[] data) throws IOException { in DerInputStream() 94 public DerInputStream(byte[] data, int offset, int len) throws IOException { in DerInputStream() 114 boolean allowIndefiniteLength) throws IOException { in DerInputStream() 122 boolean allowIndefiniteLength) throws IOException { in init() 124 throw new IOException("Encoding bytes too short"); in init() 129 throw new IOException("Indefinite length BER encoding found"); in init() 158 throws IOException { in subStream() 191 public int getInteger() throws IOException { in getInteger() 193 throw new IOException("DER input, Integer tag error"); in getInteger() [all …]
|
/aosp_15_r20/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
H A D | ObjectInputStreamTest.java | 32 import java.io.IOException; 80 private void writeObject(ObjectOutputStream oos) throws IOException { in writeObject() 136 public void test_ConstructorLjava_io_InputStream_IOException() throws IOException { in test_ConstructorLjava_io_InputStream_IOException() 144 fail("Test 1: IOException expected."); in test_ConstructorLjava_io_InputStream_IOException() 145 } catch (IOException e) { in test_ConstructorLjava_io_InputStream_IOException() 151 public void test_ClassDescriptor() throws IOException, in test_ClassDescriptor() 168 public void test_available_IOException() throws IOException { in test_available_IOException() 177 fail("Test 1: IOException expected."); in test_available_IOException() 178 } catch (IOException e) { in test_available_IOException() 195 fail("Test 1: IOException expected."); in test_close() [all …]
|