/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
ObjectInputOutputStreamTest.java | 66 os.close(); 78 is.close(); 111 os.close(); 123 is.close(); 156 os.close(); 168 is.close(); 201 os.close(); 213 is.close(); 246 os.close(); 258 is.close(); [all...] |
FileReaderTest.java | 55 bw.close(); 59 br.close(); 89 bw.close(); 94 br.close(); 95 fis.close(); 116 bw.close(); 120 br.close(); 151 * Tears down the fixture, for example, close a network connection. This 157 bw.close(); 158 br.close(); [all...] |
SerializationStressTest0.java | 81 oos.close(); 83 oos.close(); 96 // Test for method void java.io.ObjectOutputStream.close() 98 oos.close(); 100 oos.close(); 140 oos.close(); 149 oos.close(); 171 ois.close(); 192 oos.close(); 195 ois.close(); [all...] |
FileWriterTest.java | 62 fos.close(); 65 bw.close(); 69 br.close(); 114 fileWriter.close(); 119 fileWriter.close(); 124 fileReader.close(); 132 fileWriter.close(); 137 fileWriter.close(); 142 fileReader.close(); 181 fos.close(); [all...] |
CharArrayReaderTest.java | 96 * @tests java.io.CharArrayReader#close() 100 notes = "Verifies close() method.", 101 method = "close", 106 cr.close(); 134 cr.close(); 174 cr.close(); 231 cr.close(); 257 cr.close(); 267 cr.close(); 292 cr.close(); [all...] |
/external/junit/src/junit/swingui/ |
AboutDialog.java | 39 JButton close= new JButton("Close"); local 40 close.addActionListener( 47 getRootPane().setDefaultButton(close); 73 getContentPane().add(close, constraintsButton1);
|
/external/ppp/pppd/plugins/ |
passprompt.c | 47 close(p[0]); 48 close(p[1]); 56 close(p[0]); 70 close(p[1]); 86 close(p[0]);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
DelayingSuggestionsAdapter.java | 43 public void close() { method in class:DelayingSuggestionsAdapter 45 super.close(); 81 suggestions.close(); 90 // Close old suggestions, but only if they are not also the current 93 mPendingSuggestions.close();
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
PerNameExecutorTest.java | 93 assertRanNever("before close()", a1); 94 mExecutor.close(); 95 assertRanNever("after close() 1", a1); 96 mExecutor.close(); 97 assertRanNever("after close() 2", a1);
|
/cts/tests/tests/os/src/android/os/cts/ |
ParcelFileDescriptorTest.java | 69 in.close(); 91 out.close(); 105 in.close(); 106 socket.close(); 107 pfd.close(); 142 in.close(); 148 method = "close", 157 in1.close(); 160 pf.close(); 169 in2.close(); [all...] |
/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
ZipFileTest.java | 100 zfile.close(); // about to reopen the same temp file 103 zip.close(); 148 zfile.close(); // about to reopen the same temp file 150 zip.close(); 199 in.close(); 200 out.close(); 218 * @tests java.util.zip.ZipFile#close() 222 method = "close", 226 // Test for method void java.util.zip.ZipFile.close() 235 zf.close(); [all...] |
ZipInputStreamTest.java | 66 zos.close(); 78 zis.close(); 99 * @tests java.util.zip.ZipInputStream#close() 104 method = "close", 109 zis.close(); 119 * @tests java.util.zip.ZipInputStream#close() 124 method = "close", 129 zis.close(); 130 // another call to close should NOT cause an exception 131 zis.close(); [all...] |
CheckedInputStreamTest.java | 56 checkInput.close(); 74 outEmp.close(); 82 inEmp.close(); 95 checkInput.close(); 105 checkInput.close(); 132 checkInput.close(); 157 checkIn.close(); 165 checkInput.close(); 182 checkIn.close(); 190 checkInput.close(); [all...] |
GZIPOutputStreamTest.java | 67 outGZIP.close(); 93 outGZIP.close(); 129 outGZIP.close(); 136 outFile.close(); 146 * @tests java.util.zip.GZIPOutputStream#close() 151 method = "close", 155 // test method java.util.zip.GZIPOutputStream.close() 161 outGZIP.close(); 169 "GZIP instance can still be used after close is called", 1, 208 outGZIP.close(); [all...] |
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/ |
AbstractInterruptibleChannelTest.java | 43 * @tests AbstractInterruptibleChannel#close() 49 method = "close", 63 testMiChannel.close(); 118 testChannel.close(); 122 * @tests AbstractInterruptibleChannel#close/begin/end() 140 method = "close", 155 testChannel.close();
|
/external/iproute2/ip/ |
tunnel.c | 78 close(fd); 95 close(fd); 113 close(fd); 129 close(fd); 148 close(fd); 167 close(fd); 183 close(fd);
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteProgramTest.java | 54 mDatabase.close(); 75 statementOne.close(); 76 statementTwo.close(); 80 statementOne.close(); 83 statementTwo.close(); 89 statement1.close(); 90 statement2.close(); 110 statementOne.close(); 130 statementOne.close(); 156 method = "close", [all...] |
DatabaseStatementTest.java | 58 mDatabase.close(); 89 statement.close(); 125 statement1.close(); 126 statement2.close(); 138 statement.close(); 148 c.close(); 160 statement.close(); 170 c.close(); 183 statement.close(); 192 c.close(); [all...] |
/external/webkit/WebKitTools/WebKitAPITest/tests/ |
WebViewDestruction.cpp | 110 TEST_ASSERT(SUCCEEDED(webView->close())); 115 // Tests that releasing a WebView without calling IWebView::close or DestroyWindow doesn't leak. <http://webkit.org/b/33162> 126 // Tests that calling IWebView::close without calling DestroyWindow, then releasing a WebView doesn't crash. <http://webkit.org/b/32827> 134 TEST_ASSERT(SUCCEEDED(webView->close())); 158 TEST_ASSERT(SUCCEEDED(webView->close())); 172 TEST_ASSERT(SUCCEEDED(webView->close())); 197 TEST_ASSERT(SUCCEEDED(webView->close())); 209 TEST_ASSERT(SUCCEEDED(webView->close())); 215 // Tests that calling IWebView::mainFrame after calling IWebView::close doesn't crash. <http://webkit.org/b/32868> 223 TEST_ASSERT(SUCCEEDED(webView->close())); [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothServerSocket.java | 46 * BluetoothSocket} is acquired, it's a good idea to call {@link #close()} on 49 * close the returned {@link BluetoothSocket}. 52 * safe. In particular, {@link #close} will always immediately abort ongoing 53 * operations and close the server socket. 85 * <p>{@link #close} can be used to abort this call from another thread. 99 * <p>{@link #close} can be used to abort this call from another thread. 109 * Immediately close this socket, and release all associated resources. 113 * close any {@link BluetoothSocket} received from {@link #accept()}. 115 public void close() throws IOException { method in class:BluetoothServerSocket 121 mSocket.close(); [all...] |
/system/netd/ |
TetherController.cpp | 64 close(fd); 67 close(fd); 82 close(fd); 86 close(fd); 113 close(pipefd[0]); 114 close(pipefd[1]); 119 close(pipefd[1]); 125 close(pipefd[0]); 150 close(pipefd[0]); 171 close(mDaemonFd) [all...] |
/system/vold/ |
Devmapper.cpp | 68 close(fd); 76 close(fd); 109 close(fd); 149 close(fd); 152 close(fd); 183 close(fd); 198 close(fd); 207 close(fd); 236 close(fd); 246 close(fd) [all...] |
/frameworks/base/core/tests/coretests/src/android/database/ |
DatabaseStatementTest.java | 59 mDatabase.close(); 90 statement.close(); 126 statement1.close(); 127 statement2.close(); 139 statement.close(); 149 c.close(); 161 statement.close(); 171 c.close(); 184 statement.close(); 193 c.close(); [all...] |
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/tasks/ |
ProgressDialog.java | 61 /** Close pending. Close button clicked or thread finished but there were some
62 * messages so the user needs to manually close. */
64 /** Close button clicked or thread finished. The window will automatically close. */
117 mDialogShell.close();
203 * Sets the mode to close manual.
204 * The first time, this also ungrays the pause button and converts it to a close button.
220 mCancelButton.setText("Close");
236 * Sets the mode to close auto. [all...] |
/dalvik/libcore/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
FileHandlerTest.java | 125 handler.close(); 151 handler.close(); 157 handler.close(); 184 handler.close(); 191 handler.close(); 206 h.close(); 207 h2.close(); 208 h3.close(); 209 h4.close(); 218 h6.close(); [all...] |