/external/caliper/caliper/src/main/java/com/google/caliper/bridge/ |
OpenedSocket.java | 38 public static OpenedSocket fromSocket(SocketChannel socket) throws IOException { 46 public static OpenedSocket fromSocket(Socket socket) throws IOException { 89 public Serializable read() throws IOException { 101 @Override public void close() throws IOException { 115 public void write(Serializable serializable) throws IOException { 119 @Override public void flush() throws IOException { 123 @Override public void close() throws IOException { 133 private static OutputStream getOutputStream(final Socket socket) throws IOException { 137 @Override public void close() throws IOException { 148 @Override public void write(int b) throws IOException [all...] |
/external/conscrypt/src/stub/java/com/android/org/conscrypt/ |
OpenSSLSocketImpl.java | 50 protected OpenSSLSocketImpl(SSLParametersImpl sslParameters) throws IOException { 56 String[] enabledCipherSuites) throws IOException { 61 throws IOException { 66 throws IOException { 73 SSLParametersImpl sslParameters) throws IOException { 79 SSLParametersImpl sslParameters) throws IOException { 84 boolean autoClose, SSLParametersImpl sslParameters) throws IOException { 88 @Override public synchronized void startHandshake() throws IOException { 94 throws CertificateEncodingException, SSLException { 104 throws CertificateException [all...] |
/external/conscrypt/src/stub/java/org/apache/harmony/xnet/xnet/provider/jsse/ |
OpenSSLSocketImpl.java | 50 protected OpenSSLSocketImpl(SSLParametersImpl sslParameters) throws IOException { 56 String[] enabledCipherSuites) throws IOException { 61 throws IOException { 66 throws IOException { 73 SSLParametersImpl sslParameters) throws IOException { 79 SSLParametersImpl sslParameters) throws IOException { 84 boolean autoClose, SSLParametersImpl sslParameters) throws IOException { 88 @Override public synchronized void startHandshake() throws IOException { 94 throws CertificateEncodingException, SSLException { 104 throws CertificateException [all...] |
/external/guava/guava/src/com/google/common/io/ |
GwtWorkarounds.java | 44 int read() throws IOException; 45 void close() throws IOException; 56 public int read() throws IOException { 61 public void close() throws IOException { 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 { 144 void write(byte b) throws IOException [all...] |
/external/guava/guava-tests/test/com/google/common/reflect/ |
ElementTest.java | 35 public void testPrivateField() throws Exception { 47 public void testPackagePrivateField() throws Exception { 58 public void testProtectedField() throws Exception { 69 public void testPublicField() throws Exception { 80 public void testFinalField() throws Exception { 87 public void testStaticField() throws Exception { 93 public void testVolatileField() throws Exception { 98 public void testTransientField() throws Exception { 103 public void testConstructor() throws Exception { 112 public void testAbstractMethod() throws Exception [all...] |
/external/okhttp/okio/okio/src/main/java/okio/ |
BufferedSink.java | 30 BufferedSink write(ByteString byteString) throws IOException; 36 BufferedSink write(byte[] source) throws IOException; 42 BufferedSink write(byte[] source, int offset, int byteCount) throws IOException; 48 long writeAll(Source source) throws IOException; 51 BufferedSink write(Source source, long byteCount) throws IOException; 54 BufferedSink writeUtf8(String string) throws IOException; 60 BufferedSink writeUtf8(String string, int beginIndex, int endIndex) throws IOException; 63 BufferedSink writeUtf8CodePoint(int codePoint) throws IOException; 66 BufferedSink writeString(String string, Charset charset) throws IOException; 73 throws IOException [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
LimitedLengthInputStreamTest.java | 33 protected void setUp() throws Exception { 40 public void testConstructor_NegativeOffset_Failure() throws Exception { 50 public void testConstructor_NegativeLength_Failure() throws Exception { 60 public void testConstructor_NullInputStream_Failure() throws Exception { 70 public void testConstructor_OffsetLengthOverflow_Fail() throws Exception { 81 throws Exception { 99 throws Exception { 105 throws Exception { 110 public void testReadBytesWithOffsetAndLength_ZeroOffset_FullLength_Success() throws Exception { 116 throws Exception [all...] |
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
MimeBodyPart.java | 44 public MimeBodyPart() throws MessagingException { 48 public MimeBodyPart(Body body) throws MessagingException { 52 public MimeBodyPart(Body body, String mimeType) throws MessagingException { 59 protected String getFirstHeader(String name) throws MessagingException { 64 public void addHeader(String name, String value) throws MessagingException { 69 public void setHeader(String name, String value) throws MessagingException { 74 public String[] getHeader(String name) throws MessagingException { 79 public void removeHeader(String name) throws MessagingException { 84 public Body getBody() throws MessagingException { 89 public void setBody(Body body) throws MessagingException [all...] |
/packages/services/Telephony/src/com/android/phone/common/mail/internet/ |
MimeBodyPart.java | 43 public MimeBodyPart() throws MessagingException { 47 public MimeBodyPart(Body body) throws MessagingException { 51 public MimeBodyPart(Body body, String mimeType) throws MessagingException { 58 protected String getFirstHeader(String name) throws MessagingException { 63 public void addHeader(String name, String value) throws MessagingException { 68 public void setHeader(String name, String value) throws MessagingException { 73 public String[] getHeader(String name) throws MessagingException { 78 public void removeHeader(String name) throws MessagingException { 83 public Body getBody() throws MessagingException { 88 public void setBody(Body body) throws MessagingException [all...] |
/libcore/luni/src/main/java/android/system/ |
Os.java | 43 public static FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoException, SocketException { return Libcore.os.accept(fd, peerAddress); } 49 public static FileDescriptor accept(FileDescriptor fd, SocketAddress peerAddress) throws ErrnoException, SocketException { return Libcore.os.accept(fd, peerAddress); } 54 public static boolean access(String path, int mode) throws ErrnoException { return Libcore.os.access(path, mode); } 56 /** @hide */ public static InetAddress[] android_getaddrinfo(String node, StructAddrinfo hints, int netId) throws GaiException { return Libcore.os.android_getaddrinfo(node, hints, netId); } 61 public static void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException { Libcore.os.bind(fd, address, port); } 63 /** @hide */ public static void bind(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException { Libcore.os.bind(fd, address); } 68 public static void chmod(String path, int mode) throws ErrnoException { Libcore.os.chmod(path, mode); } 73 public static void chown(String path, int uid, int gid) throws ErrnoException { Libcore.os.chown(path, uid, gid); } 78 public static void close(FileDescriptor fd) throws ErrnoException { Libcore.os.close(fd); } 83 public static void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException { Libcore.os.connect(fd, address, port); [all...] |
/cts/tools/dex-tools/dex/ |
classes0.out.dex | 19 @dalvik.annotation.Throws (value =Ljava/lang/CloneNotSupportedException; ) 24 @dalvik.annotation.Throws (value =Ljava/lang/Throwable; ) 36 @dalvik.annotation.Throws (value =Ljava/lang/InterruptedException; ) 38 @dalvik.annotation.Throws (value =Ljava/lang/InterruptedException; ) 41 @dalvik.annotation.Throws (value =Ljava/lang/InterruptedException; ) 86 @dalvik.annotation.Throws (value =Ljava/io/IOException; ) 92 @dalvik.annotation.Throws (value =Ljava/io/IOException; ) 106 @dalvik.annotation.Throws (value =Ljava/io/IOException; ) 120 @dalvik.annotation.Throws (value =Ljava/io/IOException; ) 122 @dalvik.annotation.Throws (value =Ljava/io/IOException; [all...] |
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
PermissionsHostTest.java | 52 protected void setUp() throws Exception { 62 protected void tearDown() throws Exception { 68 public void testFail() throws Exception { 80 public void testKill() throws Exception { 92 public void testCompatDefault22() throws Exception { 100 public void testCompatRevoked22() throws Exception { 114 public void testNoRuntimePrompt22() throws Exception { 122 public void testDefault23() throws Exception { 129 public void testGranted23() throws Exception { 136 public void testInteractiveGrant23() throws Exception [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaPlayerFlakyNetworkTest.java | 64 public void tearDown() throws Exception { 70 public void test_S0P0() throws Throwable { 74 public void test_S1P000005() throws Throwable { 78 public void test_S2P00001() throws Throwable { 82 public void test_S3P00001() throws Throwable { 86 public void test_S4P00001() throws Throwable { 90 public void test_S5P00001() throws Throwable { 94 public void test_S6P00002() throws Throwable { 108 private void doPlayStreams(int seed, float probability) throws Throwable { 132 throws Throwable [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
ToTextSAXHandler.java | 51 public void endElement(String elemName) throws SAXException 61 throws SAXException 81 throws org.xml.sax.SAXException 87 public void comment(String data) throws org.xml.sax.SAXException 127 public void indent(int n) throws SAXException 142 public void serialize(Node node) throws IOException 204 throws SAXException 211 public void elementDecl(String arg0, String arg1) throws SAXException 219 throws SAXException 227 throws SAXExceptio [all...] |
/external/javasqlite/src/main/java/SQLite/ |
Stmt.java | 32 public native boolean prepare() throws SQLite.Exception; 69 public native boolean step() throws SQLite.Exception; 75 public native void close() throws SQLite.Exception; 82 public native void reset() throws SQLite.Exception; 88 public native void clear_bindings() throws SQLite.Exception; 96 public native void bind(int pos, int value) throws SQLite.Exception; 104 public native void bind(int pos, long value) throws SQLite.Exception; 112 public native void bind(int pos, double value) throws SQLite.Exception; 120 public native void bind(int pos, byte[] value) throws SQLite.Exception; 128 public native void bind(int pos, String value) throws SQLite.Exception [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
LoudnessEnhancer.java | 72 * @throws java.lang.IllegalStateException 73 * @throws java.lang.IllegalArgumentException 74 * @throws java.lang.UnsupportedOperationException 75 * @throws java.lang.RuntimeException 78 throws IllegalStateException, IllegalArgumentException, 98 * @throws java.lang.IllegalStateException 99 * @throws java.lang.IllegalArgumentException 100 * @throws java.lang.UnsupportedOperationException 101 * @throws java.lang.RuntimeException 104 throws IllegalStateException, IllegalArgumentException [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
BlockingDeque.java | 25 * one throws an exception, the second returns a special value (either 38 * <td ALIGN=CENTER><em>Throws exception</em></td> 69 * <td ALIGN=CENTER><em>Throws exception</em></td> 194 * @throws IllegalStateException {@inheritDoc} 195 * @throws ClassCastException {@inheritDoc} 196 * @throws NullPointerException if the specified element is null 197 * @throws IllegalArgumentException {@inheritDoc} 209 * @throws IllegalStateException {@inheritDoc} 210 * @throws ClassCastException {@inheritDoc} 211 * @throws NullPointerException if the specified element is nul [all...] |
/art/tools/ahat/test/ |
InstanceUtilsTest.java | 28 public void asStringBasic() throws IOException { 35 public void asStringCharArray() throws IOException { 42 public void asStringTruncated() throws IOException { 49 public void asStringCharArrayTruncated() throws IOException { 56 public void asStringExactMax() throws IOException { 63 public void asStringCharArrayExactMax() throws IOException { 70 public void asStringNotTruncated() throws IOException { 77 public void asStringCharArrayNotTruncated() throws IOException { 84 public void asStringNegativeMax() throws IOException { 91 public void asStringCharArrayNegativeMax() throws IOException [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/targetprep/ |
SettingsToggler.java | 30 throws DeviceNotAvailableException { 41 throws DeviceNotAvailableException { 47 throws DeviceNotAvailableException { 53 throws DeviceNotAvailableException { 64 throws DeviceNotAvailableException { 70 throws DeviceNotAvailableException { 75 throws DeviceNotAvailableException { 84 throws DeviceNotAvailableException { 89 throws DeviceNotAvailableException { 94 throws DeviceNotAvailableException [all...] |
/external/guava/guava-gwt/test/com/google/common/collect/ |
LinkedHashMultimapTest_gwt.java | 21 public void testCreate() throws Exception { 26 public void testCreateFromIllegalSizes() throws Exception { 31 public void testCreateFromMultimap() throws Exception { 36 public void testCreateFromSizes() throws Exception { 41 public void testKeysToString_ordering() throws Exception { 46 public void testOrderingReadOnly() throws Exception { 51 public void testOrderingSynchronized() throws Exception { 56 public void testOrderingUnmodifiable() throws Exception { 61 public void testOrderingUpdates() throws Exception { 66 public void testPutMultimapOrdered() throws Exception [all...] |
TreeMultimapNaturalTest_gwt.java | 21 public void testComparators() throws Exception { 26 public void testCreateFromHashMultimap() throws Exception { 31 public void testCreateFromSortedSetMultimap() throws Exception { 36 public void testCreateFromTreeMultimap() throws Exception { 41 public void testMultimapConstructor() throws Exception { 46 public void testOrderedAsMapEntries() throws Exception { 51 public void testOrderedEntries() throws Exception { 56 public void testOrderedGet() throws Exception { 61 public void testOrderedKeySet() throws Exception { 66 public void testOrderedValues() throws Exception [all...] |
TreeMultisetTest_gwt.java | 21 public void testCreate() throws Exception { 26 public void testCreateFromIterable() throws Exception { 31 public void testCreateWithComparator() throws Exception { 36 public void testCustomComparator() throws Exception { 41 public void testDegenerateComparator() throws Exception { 46 public void testElementSetSortedSetMethods() throws Exception { 51 public void testElementSetSubsetClear() throws Exception { 56 public void testElementSetSubsetRemove() throws Exception { 61 public void testElementSetSubsetRemoveAll() throws Exception { 66 public void testElementSetSubsetRetainAll() throws Exception [all...] |
/external/guava/guava-gwt/test/com/google/common/collect/testing/ |
IteratorTesterTest_gwt.java | 21 public void testCanCatchDifferentContents() throws Exception { 26 public void testCanCatchDifferentLengthOfIteration() throws Exception { 31 public void testCanCatchDifferentRemoveBehaviour() throws Exception { 36 public void testCanCatchSunJavaBug6529795InTargetIterator() throws Exception { 41 public void testCanWorkAroundSunJavaBug6529795InTargetIterator() throws Exception { 46 public void testMismatchedException() throws Exception { 51 public void testMissingException() throws Exception { 56 public void testSimilarException() throws Exception { 61 public void testUnexpectedException() throws Exception { 66 public void testUnknownOrder() throws Exception [all...] |
/external/guava/guava-gwt/test/com/google/common/net/ |
HostAndPortTest_gwt.java | 21 public void testFromHost() throws Exception { 26 public void testFromParts() throws Exception { 31 public void testFromStringBadDefaultPort() throws Exception { 36 public void testFromStringBadPort() throws Exception { 41 public void testFromStringParseableNonsense() throws Exception { 46 public void testFromStringUnparseableNonsense() throws Exception { 51 public void testFromStringUnusedDefaultPort() throws Exception { 56 public void testFromStringWellFormed() throws Exception { 61 public void testGetPortOrDefault() throws Exception { 66 public void testHashCodeAndEquals() throws Exception [all...] |
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/ |
MockServerSocket.java | 37 public MockServerSocket() throws IOException { 49 public Socket connect() throws Exception { 64 public void waitForAccept() throws Exception { 74 public void close() throws IOException { 87 public Socket accept() throws IOException { 112 public void bind(SocketAddress endpoint, int backlog) throws IOException { 117 public void bind(SocketAddress endpoint) throws IOException { 142 public synchronized int getReceiveBufferSize() throws SocketException { 147 public boolean getReuseAddress() throws SocketException { 152 public synchronized int getSoTimeout() throws IOException [all...] |