/frameworks/base/core/tests/coretests/src/android/os/ |
FileBridgeTest.java | 41 protected void setUp() throws Exception { 56 protected void tearDown() throws Exception { 61 private void assertOpen() throws Exception { 65 private void closeAndAssertClosed() throws Exception { 73 private void assertContents(byte[] expected) throws Exception { 77 public void testNoWriteNoSync() throws Exception { 82 public void testNoWriteSync() throws Exception { 88 public void testWriteNoSync() throws Exception { 95 public void testWriteSync() throws Exception { 103 public void testWriteSyncWrite() throws Exception [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
DrawableBgMinSizeTest.java | 56 protected void setUp() throws Exception { 72 public void testSetUpConditions() throws Exception { 83 public void doMinimumSizeTest(View view) throws Exception { 91 public void testTextViewMinimumSize() throws Exception { 96 public void testLinearLayoutMinimumSize() throws Exception { 101 public void testRelativeLayoutMinimumSize() throws Exception { 106 public void testAbsoluteLayoutMinimumSize() throws Exception { 111 public void testFrameLayoutMinimumSize() throws Exception { 115 public void doDiffBgMinimumSizeTest(final View view) throws Exception { 128 public void testTextViewDiffBgMinimumSize() throws Exception [all...] |
InflateTest.java | 37 protected void setUp() throws Exception { 71 public void testLayout1() throws Exception { 76 public void testLayout2() throws Exception { 81 public void testLayout3() throws Exception { 86 public void testLayout4() throws Exception { 91 public void testLayout5() throws Exception { 96 public void testLayout6() throws Exception { 101 public void testCachedLayout1() throws Exception { 106 public void testCachedLayout2() throws Exception { 111 public void testCachedLayout3() throws Exception [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
FileDescriptorHolderSocketImpl.java | 47 public void setOption(int optID, Object value) throws SocketException { 52 public Object getOption(int optID) throws SocketException { 57 protected void create(boolean stream) throws IOException { 62 protected void connect(String host, int port) throws IOException { 67 protected void connect(InetAddress address, int port) throws IOException { 72 protected void connect(SocketAddress address, int timeout) throws IOException { 77 protected void bind(InetAddress host, int port) throws IOException { 82 protected void listen(int backlog) throws IOException { 87 protected void accept(SocketImpl s) throws IOException { 92 protected InputStream getInputStream() throws IOException [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
ProxyInputStream.java | 50 * @throws IOException if an I/O error occurs 52 public int read() throws IOException { 60 * @throws IOException if an I/O error occurs 62 public int read(byte[] bts) throws IOException { 72 * @throws IOException if an I/O error occurs 74 public int read(byte[] bts, int st, int end) throws IOException { 82 * @throws IOException if an I/O error occurs 84 public long skip(long ln) throws IOException { 91 * @throws IOException if an I/O error occurs 93 public int available() throws IOException [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
ProxyWriter.java | 49 * @throws IOException if an I/O error occurs 51 public void write(int idx) throws IOException { 58 * @throws IOException if an I/O error occurs 60 public void write(char[] chr) throws IOException { 69 * @throws IOException if an I/O error occurs 71 public void write(char[] chr, int st, int end) throws IOException { 78 * @throws IOException if an I/O error occurs 80 public void write(String str) throws IOException { 89 * @throws IOException if an I/O error occurs 91 public void write(String str, int st, int end) throws IOException [all...] |
/packages/services/Car/car-support-lib/src/android/support/car/ |
CarAppContextManager.java | 74 * @throws CarNotConnectedException 77 int contextFilter) throws CarNotConnectedException; 82 * @throws CarNotConnectedException 84 public abstract void unregisterContextListener() throws CarNotConnectedException; 89 * @throws CarNotConnectedException 91 public abstract int getActiveAppContexts() throws CarNotConnectedException; 97 * @throws CarNotConnectedException 99 public abstract boolean isOwningContext(int context) throws CarNotConnectedException; 109 * @throws IllegalStateException If listener was not registered. 110 * @throws SecurityException If owner cannot be changed [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidXmlCharacterMatcherTest.java | 31 public void testGotoMatchingFwd1() throws Exception { 37 public void testGotoMatchingFwd2() throws Exception { 43 public void testGotoMatchingFwd3() throws Exception { 49 public void testGotoMatchingBwd1() throws Exception { 55 public void testGotoMatchingBwd2() throws Exception { 61 public void testGotoMatchingBwd3() throws Exception { 67 public void testGotoMatchingBwd4() throws Exception { 73 public void testGotoMatchingBwd5() throws Exception { 79 public void testGotoMatchingBwd6() throws Exception { 85 public void testGotoMatchingFwd4() throws Exception [all...] |
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/ |
BlockDevice.java | 37 * @throws IOException on error getting the size of this device 39 public abstract long getSize() throws IOException; 46 * @throws IOException on read error 49 throws IOException; 56 * @throws ReadOnlyException if this {@code BlockDevice} is read-only 57 * @throws IOException on write error 58 * @throws IllegalArgumentException if the {@code devOffset} is negative 63 throws ReadOnlyException, IOException, 69 * @throws IOException on write error 71 public abstract void flush() throws IOException [all...] |
/cts/tests/tests/keystore/src/android/keystore/cts/ |
AESCipherNistCavpKatTest.java | 41 public void testECBVarKey128() throws Exception { 45 public void testECBVarKey192() throws Exception { 48 public void testECBVarKey256() throws Exception { 52 public void testECBVarTxt128() throws Exception { 56 public void testECBVarTxt192() throws Exception { 60 public void testECBVarTxt256() throws Exception { 64 public void testECBGFSbox128() throws Exception { 68 public void testECBGFSbox192() throws Exception { 72 public void testECBGFSbox256() throws Exception { 76 public void testECBKeySbox128() throws Exception [all...] |
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/ |
RectRegionTest.java | 28 public void setUp() throws Exception {
33 public void tearDown() throws Exception {
38 public void testContainsPoint() throws Exception {
43 public void testContainsValue() throws Exception {
48 public void testContainsDomainValue() throws Exception {
53 public void testContainsRangeValue() throws Exception {
60 public void testIsWithin() throws Exception {
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_URLConnector.java | 39 public void open(String address) throws IOException { 43 public void close() throws IOException { 52 public InputStream getInputStream() throws IOException { 60 public OutputStream getOutputStream() throws IOException { 74 public void setRequestProperty(String key, String value) throws IOException { 78 public String getHeaderField(int index) throws IOException { 82 public String getHeaderFieldKey(int index) throws IOException {
|
/external/conscrypt/src/compat/java/org/conscrypt/ |
BaseOpenSSLSocketAdapterFactory.java | 44 public Socket createSocket() throws IOException { 50 throws IOException, UnknownHostException { 56 throws IOException, UnknownHostException { 61 public Socket createSocket(InetAddress address, int port) throws IOException { 70 throws IOException { 77 throws IOException { 85 protected abstract Socket wrap(OpenSSLSocketImpl sock) throws IOException;
|
/external/guava/guava-gwt/test/com/google/common/util/concurrent/ |
AtomicLongMapTest_gwt.java | 21 public void testAddAndGet() throws Exception { 26 public void testAddAndGet_zero() throws Exception { 31 public void testClear() throws Exception { 36 public void testCreate_map() throws Exception { 41 public void testDecrementAndGet() throws Exception { 46 public void testDecrementAndGet_zero() throws Exception { 51 public void testEmpty() throws Exception { 56 public void testGetAndAdd() throws Exception { 61 public void testGetAndAdd_zero() throws Exception { 66 public void testGetAndDecrement() throws Exception [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
TestOutputStream.java | 39 public TestOutputStream(OutputStream out, TestOption... options) throws IOException { 43 public TestOutputStream(OutputStream out, Iterable<TestOption> options) throws IOException { 54 public void write(byte[] b, int off, int len) throws IOException { 61 public void write(int b) throws IOException { 68 public void close() throws IOException { 74 private void throwIf(TestOption option) throws IOException { 78 private static void throwIf(boolean condition) throws IOException {
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
AccountTest.java | 17 public void shouldHaveStringsConstructor() throws Exception { 25 public void shouldHaveParcelConstructor() throws Exception { 38 public void shouldHaveCreator() throws Exception { 50 public void shouldThrowIfNameIsEmpty() throws Exception { 55 public void shouldThrowIfTypeIsEmpty() throws Exception { 60 public void shouldHaveToString() throws Exception { 66 public void shouldProvideEqualAndHashCode() throws Exception {
|
/frameworks/base/core/java/android/database/ |
IBulkCursor.java | 36 public CursorWindow getWindow(int position) throws RemoteException; 44 public void onMove(int position) throws RemoteException; 46 public void deactivate() throws RemoteException; 48 public void close() throws RemoteException; 50 public int requery(IContentObserver observer) throws RemoteException; 52 Bundle getExtras() throws RemoteException; 54 Bundle respond(Bundle extras) throws RemoteException;
|
/frameworks/base/core/java/android/net/ |
LocalSocket.java | 72 public LocalSocket(FileDescriptor fd) throws IOException { 100 * @throws IOException from SocketImpl.create() 102 private void implCreateIfNeeded() throws IOException { 121 * @throws IOException if socket is in invalid state or the address does 124 public void connect(LocalSocketAddress endpoint) throws IOException { 142 * @throws IOException 144 public void bind(LocalSocketAddress bindpoint) throws IOException { 171 * @throws IOException if socket has been closed or cannot be created. 173 public InputStream getInputStream() throws IOException { 182 * @throws IOException if socket has been closed or cannot be created [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
PositionInputStream.java | 40 public int available() throws IOException { 44 public int read() throws IOException { 51 public void close() throws IOException { 55 public void reset() throws IOException { 69 public long skip(long n) throws IOException { 75 public int read(byte b[]) throws IOException { 81 public int read(byte b[], int off, int len) throws IOException {
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
BigMatrix.java | 50 BigMatrix add(BigMatrix m) throws IllegalArgumentException; 59 BigMatrix subtract(BigMatrix m) throws IllegalArgumentException; 82 * @throws IllegalArgumentException 85 BigMatrix multiply(BigMatrix m) throws IllegalArgumentException; 91 * @throws IllegalArgumentException 94 BigMatrix preMultiply(BigMatrix m) throws IllegalArgumentException; 137 int endColumn) throws MatrixIndexException; 150 throws MatrixIndexException; 158 * @throws MatrixIndexException if the specified row index is invalid 160 BigMatrix getRowMatrix(int row) throws MatrixIndexException [all...] |
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
SingleXZInputStream.java | 59 private static byte[] readStreamHeader(InputStream in) throws IOException { 76 * @throws XZFormatException 79 * @throws CorruptedInputException 82 * @throws UnsupportedOptionsException 86 * @throws EOFException 90 * @throws IOException may be thrown by <code>in</code> 92 public SingleXZInputStream(InputStream in) throws IOException { 110 * @throws XZFormatException 113 * @throws CorruptedInputException 116 * @throws UnsupportedOptionsExceptio [all...] |
/frameworks/data-binding/compiler/src/test/java/android/databinding/ |
BindingExpressionParserTest.java | 55 public void testSingleQuoteStringLiteral() throws Exception { 67 public void testDoubleQuoteStringLiteral() throws Exception { 78 public void testSingleQuoteEscapeStringLiteral() throws Exception { 88 public void testCharLiteral() throws Exception { 98 public void testIntLiterals() throws Exception { 120 public void testFloatLiterals() throws Exception { 131 public void testBoolLiterals() throws Exception { 137 public void testNullLiteral() throws Exception { 144 public void testVoidExtraction() throws Exception { 152 public void testPrimitiveClassExtraction() throws Exception [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
InterceptorTest.java | 53 @Test public void applicationInterceptorsCanShortCircuitResponses() throws Exception { 69 @Override public Response intercept(Chain chain) throws IOException { 78 @Test public void networkInterceptorsCannotShortCircuitResponses() throws Exception { 82 @Override public Response intercept(Chain chain) throws IOException { 107 @Test public void networkInterceptorsCannotCallProceedMultipleTimes() throws Exception { 112 @Override public Response intercept(Chain chain) throws IOException { 132 @Test public void networkInterceptorsCannotChangeServerAddress() throws Exception { 136 @Override public Response intercept(Chain chain) throws IOException { 160 @Test public void networkInterceptorsHaveConnectionAccess() throws Exception { 164 @Override public Response intercept(Chain chain) throws IOException [all...] |
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
DeviceInfoStore.java | 37 public DeviceInfoStore(File file) throws Exception { 45 public void open() throws IOException { 57 public void close() throws IOException { 66 public void startGroup() throws IOException { 74 public void startGroup(String name) throws IOException { 83 public void endGroup() throws IOException { 91 public void startArray() throws IOException { 99 public void startArray(String name) throws IOException { 109 public void endArray() throws IOException { 117 public void addResult(String name, int value) throws IOException [all...] |
/cts/common/host-side/util/src/com/android/compatibility/common/util/ |
HostInfoStore.java | 37 public HostInfoStore(File file) throws Exception { 45 public void open() throws IOException { 57 public void close() throws IOException { 66 public void startGroup() throws IOException { 74 public void startGroup(String name) throws IOException { 83 public void endGroup() throws IOException { 91 public void startArray() throws IOException { 99 public void startArray(String name) throws IOException { 109 public void endArray() throws IOException { 117 public void addResult(String name, int value) throws IOException [all...] |