HomeSort by relevance Sort by last modified time
    Searched defs:IOException (Results 26 - 50 of 119) sorted by null

12 3 4 5

  /packages/apps/Email/provider_src/com/android/email/service/
ImapTempFileLiteral.java 35 import java.io.IOException;
48 /* package */ ImapTempFileLiteral(FixedLengthInputStream stream) throws IOException {
96 throw new IOException();
99 } catch (IOException e) {
  /packages/apps/Nfc/src/com/android/nfc/snep/
SnepMessenger.java 27 import java.io.IOException;
44 public void sendMessage(SnepMessage msg) throws IOException {
72 throw new IOException("Invalid SNEP message", e);
77 throw new IOException("Invalid response from server (" +
91 public SnepMessage getMessage() throws IOException, SnepException {
114 } catch (IOException e) {
117 throw new IOException("Error reading SNEP message.");
121 } catch (IOException e) {
124 throw new IOException("Invalid fragment from sender.");
157 } catch (IOException e)
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
BinaryDictionaryUtils.java 26 import java.io.IOException;
50 throws IOException, UnsupportedFormatException {
55 final long offset, final long length) throws IOException, UnsupportedFormatException {
64 throw new IOException();
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/
FileDisk.java 25 import java.io.IOException;
88 * @throws IOException on error creating the {@code FileDisk}
90 public static FileDisk create(File file, long size) throws IOException {
98 throw new IOException(ex);
103 public long getSize() throws IOException {
110 public void read(long devOffset, ByteBuffer dest) throws IOException {
114 if ((devOffset + toRead) > getSize()) throw new IOException(
119 if (read < 0) throw new IOException();
126 public void write(long devOffset, ByteBuffer src) throws IOException {
133 if ((devOffset + toWrite) > getSize()) throw new IOException(
    [all...]
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
MethodExitWithReturnValueDebuggee.java 21 import java.io.IOException;
134 } catch (IOException e) {
147 static public int exceptionMethod() throws IOException {
148 throw new IOException();
  /external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/
CharWrapperTester.java 23 import java.io.IOException;
140 } catch (IOException expected) {
156 } catch (IOException expected) {
163 } catch (IOException expected) {
174 } catch (IOException expected) {
198 public void close() throws IOException {
203 public void flush() throws IOException {
207 public void write(char[] buf, int offset, int count) throws IOException {
209 throw new IOException();
220 public void write(char[] buf, int offset, int count) throws IOException {
    [all...]
WrapperTester.java 24 import java.io.IOException;
141 } catch (IOException expected) {
157 } catch (IOException expected) {
164 } catch (IOException expected) {
175 } catch (IOException expected) {
195 public void close() throws IOException {
200 public void write(int oneByte) throws IOException {
202 throw new IOException();
213 public void write(int oneByte) throws IOException {
215 throw new IOException("Already closed")
    [all...]
  /external/doclava/src/com/google/doclava/
ClearPage.java 26 import java.io.IOException;
140 } catch (IOException e) {
146 } catch (IOException e) {}
165 throw new IOException();
168 } catch (IOException e) {
175 } catch (IOException e) {
193 } catch (IOException e) {
200 } catch (IOException e) {
209 } catch (IOException e) {}
212 } catch (IOException e) {
    [all...]
  /external/guava/guava/src/com/google/common/io/
ByteSource.java 32 import java.io.IOException;
82 * @throws IOException if an I/O error occurs in the process of opening the stream
84 public abstract InputStream openStream() throws IOException;
95 * @throws IOException if an I/O error occurs in the process of opening the stream
98 public InputStream openBufferedStream() throws IOException {
119 * @throws IOException if an I/O error occurs
122 public boolean isEmpty() throws IOException {
147 * @throws IOException if an I/O error occurs in the process of reading the size of this source
149 public long size() throws IOException {
154 } catch (IOException e)
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
AC3TrackImpl.java 11 import java.io.IOException;
41 public AC3TrackImpl(InputStream fin, String lang) throws IOException {
46 public AC3TrackImpl(InputStream fin) throws IOException {
50 private void parse(InputStream fin) throws IOException {
56 throw new IOException();
85 throw new IOException();
131 private boolean readVariables() throws IOException {
254 private boolean readSamples() throws IOException {
AACTrackImpl.java 27 import java.io.IOException;
83 public AACTrackImpl(InputStream inputStream, String lang) throws IOException {
88 public AACTrackImpl(InputStream inputStream) throws IOException {
92 private void parse(InputStream inputStream) throws IOException {
97 throw new IOException();
102 throw new IOException();
215 private boolean readVariables() throws IOException {
242 private boolean readSamples() throws IOException {
EC3TrackImpl.java 11 import java.io.IOException;
40 public EC3TrackImpl(InputStream fin, String lang) throws IOException {
45 public EC3TrackImpl(InputStream fin) throws IOException {
49 private void parse(InputStream fin) throws IOException {
57 throw new IOException();
74 throw new IOException();
123 throw new IOException();
169 private BitStreamInfo readVariables() throws IOException {
392 private boolean readSamples() throws IOException {
  /external/volley/src/main/java/com/android/volley/toolbox/
BasicNetwork.java 44 import java.io.IOException;
136 throw new IOException();
146 } catch (IOException e) {
238 private byte[] entityToBytes(HttpEntity entity) throws IOException, ServerError {
257 } catch (IOException e) {
  /external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/
CameraManager.java 31 import java.io.IOException;
78 * @throws IOException Indicates the camera driver failed to open.
80 public void openDriver(SurfaceHolder holder) throws IOException {
85 throw new IOException();
  /frameworks/base/core/java/android/nfc/tech/
Ndef.java 29 import java.io.IOException;
256 * {@link IOException} if {@link #close} is called from another thread.
262 * @throws IOException if there is an I/O failure, or the operation is canceled
265 public NdefMessage getNdefMessage() throws IOException, FormatException {
271 throw new IOException("Mock tags don't support this operation.");
296 * {@link IOException} if {@link #close} is called from another thread.
302 * @throws IOException if there is an I/O failure, or the operation is canceled
305 public void writeNdefMessage(NdefMessage msg) throws IOException, FormatException {
311 throw new IOException("Mock tags don't support this operation.");
320 throw new IOException();
    [all...]
  /frameworks/base/core/java/com/android/internal/os/
SamplingProfilerIntegration.java 28 import java.io.IOException;
183 throw new IOException();
186 } catch (IOException e) {
  /frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
TestMtpManager.java 24 import java.io.IOException;
94 synchronized MtpDeviceRecord openDevice(int deviceId) throws IOException {
97 throw new IOException();
107 synchronized void closeDevice(int deviceId) throws IOException {
110 throw new IOException();
119 MtpObjectInfo getObjectInfo(int deviceId, int objectHandle) throws IOException {
124 throw new IOException("getObjectInfo error: " + key);
129 int[] getObjectHandles(int deviceId, int storageId, int parentObjectHandle) throws IOException {
134 throw new IOException("getObjectHandles error: " + key);
140 throws IOException {
    [all...]
  /libcore/ojluni/src/main/java/java/io/
BufferedReader.java 121 private void ensureOpen() throws IOException {
123 throw new IOException("Stream closed");
129 private void fill() throws IOException {
186 * @exception IOException If an I/O error occurs
188 public int read() throws IOException {
213 private int read1(char[] cbuf, int off, int len) throws IOException {
285 * @exception IOException If an I/O error occurs
287 public int read(char cbuf[], int off, int len) throws IOException {
321 * @exception IOException If an I/O error occurs
323 String readLine(boolean ignoreLF) throws IOException {
    [all...]
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
TestKeyStoreSpi.java 5 import java.io.IOException;
147 throws IOException, NoSuchAlgorithmException, CertificateException {
151 throw new IOException();
162 public void engineLoad(LoadStoreParameter param) throws IOException,
228 throws IOException, NoSuchAlgorithmException, CertificateException {
230 throw new IOException("store failed");
241 public void engineStore(LoadStoreParameter param) throws IOException,
244 throw new IOException();
  /libcore/support/src/test/java/org/apache/harmony/testframework/
CharWrapperTester.java 23 import java.io.IOException;
140 } catch (IOException expected) {
156 } catch (IOException expected) {
163 } catch (IOException expected) {
174 } catch (IOException expected) {
198 public void close() throws IOException {
203 public void flush() throws IOException {
207 public void write(char[] buf, int offset, int count) throws IOException {
209 throw new IOException();
220 public void write(char[] buf, int offset, int count) throws IOException {
    [all...]
WrapperTester.java 24 import java.io.IOException;
141 } catch (IOException expected) {
157 } catch (IOException expected) {
164 } catch (IOException expected) {
175 } catch (IOException expected) {
195 public void close() throws IOException {
200 public void write(int oneByte) throws IOException {
202 throw new IOException();
213 public void write(int oneByte) throws IOException {
215 throw new IOException("Already closed")
    [all...]
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
NetworkUtilities.java 46 import java.io.IOException;
139 } catch (final IOException e) {
140 Log.e(TAG, "IOException when getting authtoken", e);
162 throws JSONException, ParseException, IOException, AuthenticationException {
213 throw new IOException();
263 } catch (IOException ioex) {
  /external/guava/guava-tests/test/com/google/common/io/
CloserTest.java 32 import java.io.IOException;
65 public void testNoExceptionsThrown() throws IOException {
85 public void testExceptionThrown_fromTryBlock() throws IOException {
91 IOException exception = new IOException();
111 public void testExceptionThrown_whenCreatingCloseables() throws IOException {
128 assertTrue(expected instanceof IOException);
138 public void testExceptionThrown_whileClosingLastCloseable() throws IOException {
141 IOException exception = new IOException();
    [all...]
  /frameworks/base/media/java/android/media/
MediaHTTPConnection.java 26 import java.io.IOException;
142 } catch (IOException e) {
177 private void seekTo(long offset) throws IOException {
290 throw new IOException();
305 } catch (IOException e) {
354 } catch (IOException e) {
373 } catch (IOException e) {
386 } catch (IOException e) {
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
ObjectStreamClassTest.java 24 import java.io.IOException;
194 public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException {
198 public void writeExternal(ObjectOutput output) throws IOException {
199 throw new IOException();

Completed in 1007 milliseconds

12 3 4 5