HomeSort by relevance Sort by last modified time
    Searched defs:IOException (Results 51 - 75 of 83) sorted by null

1 23 4

  /libcore/luni/src/main/java/java/nio/
DatagramChannelImpl.java 21 import java.io.IOException;
73 protected DatagramChannelImpl(SelectorProvider selectorProvider) throws IOException {
119 synchronized public DatagramChannel connect(SocketAddress address) throws IOException {
149 synchronized public DatagramChannel disconnect() throws IOException {
167 public SocketAddress receive(ByteBuffer target) throws IOException {
197 private SocketAddress receiveImpl(ByteBuffer target, boolean loop) throws IOException {
226 private SocketAddress receiveDirectImpl(ByteBuffer target, boolean loop) throws IOException {
246 public int send(ByteBuffer source, SocketAddress socketAddress) throws IOException {
252 throw new IOException();
276 public int read(ByteBuffer target) throws IOException {
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
ProviderTest.java 27 import java.io.IOException;
542 public final void testLoad() throws IOException {
570 public int read() throws IOException {
571 throw new IOException();
578 fail("expected IOException");
579 } catch (IOException e) {
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
AttachmentUtilities.java 43 import java.io.IOException;
365 private static long copyFile(InputStream in, File file) throws IOException {
419 throw new IOException();
426 } catch (IOException e) {
  /packages/apps/Email/tests/src/com/android/email/mail/transport/
MockTransport.java 23 import java.io.IOException;
44 private static final String SPECIAL_RESPONSE_IOEXCEPTION = "!!!IOEXCEPTION!!!";
87 return "Expect IOException";
284 public String readLine() throws IOException {
287 throw new IOException("Reading from MockTransport with closed input");
307 throw new IOException("Expected IOException.");
340 public void writeLine(String s, String sensitiveReplacement) throws IOException {
349 throw new IOException("Expected IOException.")
    [all...]
  /packages/apps/Exchange/exchange2/src/com/android/exchange/
EasOutboxService.java 56 import java.io.IOException;
123 } catch (IOException e) {
128 } catch (IOException e) {
136 public void writeTo(OutputStream outstream) throws IOException {
145 * @throws IOException
147 public void writeTo(OutputStream outstream, boolean withData) throws IOException {
197 public SendMailParser(InputStream in, int startTag) throws IOException {
210 public boolean parse() throws IOException {
212 throw new IOException();
319 * IOException, which is handled by ExchangeService with retries, backoffs, etc
    [all...]
EasAccountService.java 59 import java.io.IOException;
160 } catch (IOException e) {
162 userLog("Caught IOException: ", (message == null) ? "No message" : message);
214 * @throws IOException
217 public void sync() throws IOException, EasParserException {
269 throw new IOException(e);
290 throw new IOException("Will retry after a brief hold...");
292 errorLog("OPTIONS command failed; throwing IOException");
293 throw new IOException();
416 } catch (IOException e)
    [all...]
EasSyncService.java 98 import java.io.IOException;
110 // IOException is thrown. After a small added allowance, our watchdog alarm goes off (allowing
113 // Connection timeout is the time given to connect to the server before reporting an IOException
393 } catch (IOException e) {
571 } catch (IOException e) {
578 userLog("IOException caught: ", e.getMessage());
620 * @throws IOException on any IOException within the HttpClient code
624 throws IOException, MessagingException {
652 userLog("Code: " + code + ", throwing IOException");
    [all...]
  /packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
FolderSyncParserTests.java 32 import java.io.IOException;
53 public void testIsValidMailFolder() throws IOException {
138 public void testSaveAndRestoreMailboxSyncOptions() throws IOException {
223 throws IOException {
258 private String getLine() throws IOException {
273 public int getValueInt() throws IOException {
278 public String getValue() throws IOException {
280 if (line == null) throw new IOException();
282 if (start < 0) throw new IOException("Line has no value: " + line);
287 throw new IOException("Value not followed by end tag: " + name)
    [all...]
  /packages/apps/Exchange/tests/src/com/android/exchange/adapter/
FolderSyncParserTests.java 32 import java.io.IOException;
53 public void testIsValidMailFolder() throws IOException {
138 public void testSaveAndRestoreMailboxSyncOptions() throws IOException {
223 throws IOException {
258 private String getLine() throws IOException {
273 public int getValueInt() throws IOException {
278 public String getValue() throws IOException {
280 if (line == null) throw new IOException();
282 if (start < 0) throw new IOException("Line has no value: " + line);
287 throw new IOException("Value not followed by end tag: " + name)
    [all...]
  /cts/suite/audio_quality/client/src/com/android/cts/audiotest/
AudioProtocol.java 29 import java.io.IOException;
101 }catch (IOException e) {
122 } catch (IOException e) {
140 * @throws IOException
143 private void read(InputStream in, ByteBuffer buffer, int len) throws IOException, ExitRequest {
150 throw new IOException();
185 } catch (IOException e) {
221 private void handleDownload(int len) throws IOException, ExitRequest {
232 private void handleStartPlayback(int len) throws ProtocolError, IOException, ExitRequest {
312 private void handleStopPlayback(int len) throws ProtocolError, IOException {
    [all...]
  /external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
StreamHandlerTest.java 21 import java.io.IOException;
858 public void close() throws IOException {
868 public void flush() throws IOException {
894 public void close() throws IOException {
895 throw new IOException();
903 public void flush() throws IOException {
904 throw new IOException();
  /packages/apps/Email/src/com/android/email/mail/store/
Pop3Store.java 46 import java.io.IOException;
249 } catch (IOException ioe) {
299 } catch (IOException ioe) {
312 statException = new IOException();
316 } catch (IOException ioe) {
392 } catch (IOException ioe) {
413 } catch (IOException ioe) {
437 * @throws IOException
440 throws MessagingException, IOException {
462 throw new IOException();
    [all...]
  /cts/libs/testserver/src/android/webkit/cts/
CtsTestServer.java 54 import java.io.IOException;
141 * @throws IOException
204 } catch (IOException e) {
214 throws IOException, NoSuchAlgorithmException, KeyManagementException {
428 * @throws IOException
430 private HttpResponse getResponse(HttpRequest request) throws InterruptedException, IOException {
509 throw new IOException();
527 } catch (IOException e) {
676 private static HttpResponse createTestDownloadResponse(Uri uri) throws IOException {
687 private static FileEntity createFileEntity(String downloadId, int numBytes) throws IOException {
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
FormatterTest.java 25 import java.io.IOException;
64 public Appendable append(CharSequence arg0) throws IOException {
68 public Appendable append(char arg0) throws IOException {
73 throws IOException {
105 public Appendable append(char c) throws IOException {
110 throw new IOException();
115 public Appendable append(CharSequence csq) throws IOException {
120 throw new IOException();
126 throws IOException {
131 throw new IOException();
    [all...]
ScannerTest.java 24 import java.io.IOException;
69 public void close() throws IOException {
70 throw new IOException();
73 public int read(CharBuffer cb) throws IOException {
82 public void test_ConstructorLjava_io_File() throws IOException {
118 throws IOException {
259 throws IOException {
300 throws IOException {
363 public void test_close() throws IOException {
375 // Write out a int after the scanner is closed, IOException should b
    [all...]
  /external/dexmaker/src/test/java/com/google/dexmaker/stock/
ProxyBuilderTest.java 21 import java.io.IOException;
439 } catch (IOException expected) {
465 public CtorHasDeclaredException() throws IOException {
466 throw new IOException();
487 assertTrue(expected.getCause() instanceof IOException);
  /libcore/luni/src/main/java/java/io/
ObjectInputStream.java 146 * @throws IOException
150 public abstract boolean defaulted(String name) throws IOException,
163 * @throws IOException
171 throws IOException, IllegalArgumentException;
183 * @throws IOException
191 throws IOException, IllegalArgumentException;
203 * @throws IOException
211 throws IOException, IllegalArgumentException;
223 * @throws IOException
231 throws IOException, IllegalArgumentException
    [all...]
ObjectOutputStream.java 230 * @throws IOException
236 public abstract void write(ObjectOutput out) throws IOException;
244 * @throws IOException
247 protected ObjectOutputStream() throws IOException {
249 * WARNING - we should throw IOException if not called from a subclass
262 * @throws IOException
266 public ObjectOutputStream(OutputStream output) throws IOException {
291 * @throws IOException
295 protected void annotateClass(Class<?> aClass) throws IOException {
306 * @throws IOException
    [all...]
  /packages/apps/VoiceDialer/src/com/android/voicedialer/
VoiceDialerActivity.java 45 import java.io.IOException;
604 } catch (java.io.IOException e) {
605 Log.e(TAG, "IOException " + e);
634 void skipBeep(InputStream is) throws IOException {
658 throw new java.io.IOException();
    [all...]
  /external/dexmaker/src/test/java/com/google/dexmaker/
DexMakerTest.java 20 import java.io.IOException;
    [all...]
  /cts/tools/vm-tests-tf/lib/
junit.jar 
  /external/dexmaker/lib/
junit.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.junit_3.8.2.v3_8_2_v20100427-1100/
junit.jar 
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 

Completed in 1759 milliseconds

1 23 4