Home
last modified time | relevance | path

Searched refs:close (Results 1 – 25 of 1144) sorted by relevance

12345678910>>...46

/frameworks/support/samples/SupportLeanbackDemos/
Dgeneratev4.py37 file.close()
38 outfile.close()
51 file.close()
52 outfile.close()
71 file.close()
72 outfile.close()
83 file.close()
84 outfile.close()
92 file.close()
93 outfile.close()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java85 e0.close(); in testAddText()
86 e1.close(); in testAddText()
87 e2.close(); in testAddText()
110 e.close();
132 w0.close();
133 gz1.close();
134 os2.close();
135 gz3.close();
174 e0.close();
175 e1.close();
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DImageReaderTest.java75 mReader.close(); in tearDown()
98 verify(mImage1, never()).close(); in testGetLatestImage1()
109 verify(mImage1, atLeastOnce()).close(); in testGetLatestImage2()
110 verify(mImage2, never()).close(); in testGetLatestImage2()
123 verify(mImage1, atLeastOnce()).close(); in testGetLatestImage3()
124 verify(mImage2, atLeastOnce()).close(); in testGetLatestImage3()
125 verify(mImage3, never()).close(); in testGetLatestImage3()
156 verify(mImage1, atLeastOnce()).close(); in testGetLatestImageExceptionalError()
157 verify(mImage2, atLeastOnce()).close(); in testGetLatestImageExceptionalError()
158 verify(mImage3, atLeastOnce()).close(); in testGetLatestImageExceptionalError()
[all …]
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseStatementTest.java57 mDatabase.close(); in tearDown()
88 statement.close(); in testExecuteStatement()
124 statement1.close(); in testSimpleQuery()
125 statement2.close(); in testSimpleQuery()
137 statement.close(); in testStatementLongBinding()
147 c.close(); in testStatementLongBinding()
159 statement.close(); in testStatementStringBinding()
169 c.close(); in testStatementStringBinding()
182 statement.close(); in testStatementClearBindings()
191 c.close(); in testStatementClearBindings()
[all …]
DCursorWindowTest.java42 window.close(); in testConstructor_WithName()
50 window.close(); in testConstructorWithEmptyName()
58 window.close(); in testConstructorWithNullName()
67 window.close(); in testDeprecatedConstructor()
74 window.close(); in testValues()
DDatabaseGeneralTest.java70 mDatabase.close(); in tearDown()
127 c.close(); in testPhoneNumbersEqual()
136 c.close(); in testPhoneNumbersEqual()
145 c.close(); in testPhoneNumbersEqual()
150 c.close(); in testPhoneNumbersEqual()
159 c.close(); in testPhoneNumbersEqual()
168 c.close(); in testPhoneNumbersEqual()
177 c.close(); in testPhoneNumbersEqual()
197 c.close(); in testPhoneNumbersEqual()
206 c.close(); in testPhoneNumbersEqual()
[all …]
/frameworks/support/v17/leanback/tests/
Dgeneratev4.py41 file.close()
42 outfile.close()
62 file.close()
63 outfile.close()
78 file.close()
79 outfile.close()
88 file.close()
89 outfile.close()
/frameworks/base/core/tests/coretests/src/android/os/
DMemoryFileTest.java66 fileToClose.close(); in testPurge()
99 file.close(); in testRun()
136 is.close(); in readIndexOutOfBoundsException()
139 file.close(); in readIndexOutOfBoundsException()
182 is.close(); in testReadEOF()
185 file.close(); in testReadEOF()
195 file.close(); in testCloseClose()
196 file.close(); in testCloseClose()
203 file.close(); in testCloseRead()
218 file.close(); in testCloseWrite()
[all …]
/frameworks/multidex/library/test/src/android/support/multidex/
DZipUtilTest.java54 new ZipFile(zipFile).close(); in setupClass()
82 raf.close(); in testCrcRange()
108 zip.close(); in testCrcRange()
127 in.close(); in testCrcValue()
128 out.close(); in testCrcValue()
135 raf.close(); in testCrcValue()
139 zip.close(); in testCrcValue()
157 in.close(); in testInvalidCrcValue()
158 out.close(); in testInvalidCrcValue()
165 raf.close(); in testInvalidCrcValue()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java144 close(); in dropDatabase()
161 close(); in backupDatabase()
443 if (stmt != null) stmt.close(); in onUpgrade()
488 if (stmt != null) stmt.close(); in onUpgrade()
532 if (stmt != null) stmt.close(); in onUpgrade()
574 if (stmt != null) stmt.close(); in onUpgrade()
594 if (stmt != null) stmt.close(); in onUpgrade()
613 if (stmt != null) stmt.close(); in onUpgrade()
632 if (stmt != null) stmt.close(); in onUpgrade()
719 if (stmt != null) stmt.close(); in onUpgrade()
[all …]
/frameworks/opt/net/voip/src/jni/rtp/
DRtpStream.cpp53 ::close(socket); in create()
64 ::close(socket); in create()
85 ::close(socket); in create()
89 void close(JNIEnv *env, jobject thiz) in close() function
92 ::close(socket); in close()
98 {"close", "()V", (void *)close},
/frameworks/native/opengl/libs/EGL/
Degl_cache.cpp252 close(fd); in saveBlobCacheLocked()
262 close(fd); in saveBlobCacheLocked()
276 close(fd); in saveBlobCacheLocked()
283 close(fd); in saveBlobCacheLocked()
303 close(fd); in loadBlobCacheLocked()
312 close(fd); in loadBlobCacheLocked()
321 close(fd); in loadBlobCacheLocked()
329 close(fd); in loadBlobCacheLocked()
335 close(fd); in loadBlobCacheLocked()
344 close(fd); in loadBlobCacheLocked()
[all …]
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DAppFuseTest.java42 appFuse.close(); in testMount()
63 fd.close(); in testOpenFile()
64 appFuse.close(); in testOpenFile()
76 appFuse.close(); in testOpenFile_fileNotFound()
88 appFuse.close(); in testOpenFile_illegalMode()
129 appFuse.close(); in testReadFile()
169 appFuse.close(); in testWriteFile()
195 appFuse.close(); in testWriteFile_writeError()
230 IoUtils.close(fd.getFileDescriptor()); in testWriteFile_flushError()
235 appFuse.close(); in testWriteFile_flushError()
DMtpDatabaseTest.java66 mDatabase.close(); in tearDown()
112 cursor.close(); in testPutSingleStorageDocuments()
140 cursor.close(); in testPutSingleStorageDocuments()
181 cursor.close(); in testPutStorageDocuments()
265 cursor.close(); in testPutChildDocuments()
346 cursor.close(); in testRestoreIdForRootDocuments()
356 cursor.close(); in testRestoreIdForRootDocuments()
379 cursor.close(); in testRestoreIdForRootDocuments()
408 cursor.close(); in testRestoreIdForChildDocuments()
432 cursor.close(); in testRestoreIdForChildDocuments()
[all …]
/frameworks/base/tests/backup/src/com/android/backuptest/
DBackupTestActivity.java84 output.close();
87 output.close();
98 output.close();
101 output.close();
146 dataFile.close();
147 state.close();
167 dataFile.close();
168 state.close();
208 out.close(); in writeFile()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DHbpcdUtils.java69 c2.close(); in getMcc()
72 c2.close(); in getMcc()
96 c3.close(); in getMcc()
120 c5.close(); in getMcc()
123 c5.close(); in getMcc()
154 cur.close(); in getIddByMcc()
156 if (c != null) c.close(); in getIddByMcc()
/frameworks/support/v17/leanback/
Dgeneratev4.py43 file.close()
44 outfile.close()
53 file.close()
54 outfile.close()
/frameworks/compile/mclinker/unittests/
DFileHandleTest.cpp51 ASSERT_TRUE(m_pTestee->close()); in TEST_F()
71 ASSERT_TRUE(m_pTestee->close()); in TEST_F()
78 int close_result = ::close(fd); in TEST_F()
92 int close_result = ::close(m_pTestee->handler()); in TEST_F()
95 ASSERT_FALSE(m_pTestee->close()); in TEST_F()
/frameworks/base/media/java/android/media/midi/
DMidiDevice.java69 public void close() throws IOException { in close() method in MidiDevice.MidiConnection
72 mGuard.close(); in close()
89 close(); in finalize()
213 public void close() throws IOException { in close() method in MidiDevice
216 mGuard.close(); in close()
231 close(); in finalize()
DMidiInputPort.java134 public void close() throws IOException { in close() method in MidiInputPort
137 mGuard.close(); in close()
140 mParcelFileDescriptor.close(); in close()
144 mOutputStream.close(); in close()
165 close(); in finalize()
DMidiDeviceServer.java99 close(); in PortClient()
103 abstract void close(); in close() method in MidiDeviceServer.PortClient
107 close(); in binderDied()
120 void close() { in close() method in MidiDeviceServer.InputPortClient
141 void close() { in close() method in MidiDeviceServer.OutputPortClient
243 client.close();
349 public void close() throws IOException { in close() method in MidiDeviceServer
352 mGuard.close(); in close()
378 close(); in finalize()
/frameworks/base/services/core/jni/
Dcom_android_server_am_ActivityManagerService.cpp64 close(boost_cpuset_fd); in migrateToBoost()
83 close(boost_cpuset_fd); in migrateToBoost()
109 close(fg_cpuset_fd); in migrateFromBoost()
130 close(fg_cpuset_fd); in migrateFromBoost()
/frameworks/base/services/core/java/com/android/server/
DRandomBlock.java48 close(stream); in fromFile()
73 close(out); in toFile()
91 private static void close(Closeable c) { in close() method in RandomBlock
96 c.close(); in close()
/frameworks/base/core/java/com/android/internal/util/
DSizedInputStream.java38 public void close() throws IOException { in close() method in SizedInputStream
39 super.close(); in close()
40 mWrapped.close(); in close()
/frameworks/base/graphics/java/android/graphics/pdf/
DPdfRenderer.java176 public void close() { in close() method in PdfRenderer
238 mCurrentPage.close(); in doClose()
244 mInput.close(); in doClose()
249 mCloseGuard.close(); in doClose()
416 public void close() { in close() method in PdfRenderer.Page
438 mCloseGuard.close(); in doClose()

12345678910>>...46