Home
last modified time | relevance | path

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

12345678910>>...59

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DImageReaderTest.java76 mReader.close(); in tearDown()
99 verify(mImage1, never()).close(); in testGetLatestImage1()
110 verify(mImage1, atLeastOnce()).close(); in testGetLatestImage2()
111 verify(mImage2, never()).close(); in testGetLatestImage2()
124 verify(mImage1, atLeastOnce()).close(); in testGetLatestImage3()
125 verify(mImage2, atLeastOnce()).close(); in testGetLatestImage3()
126 verify(mImage3, never()).close(); in testGetLatestImage3()
157 verify(mImage1, atLeastOnce()).close(); in testGetLatestImageExceptionalError()
158 verify(mImage2, atLeastOnce()).close(); in testGetLatestImageExceptionalError()
159 verify(mImage3, atLeastOnce()).close(); in testGetLatestImageExceptionalError()
[all …]
/frameworks/native/opengl/libs/EGL/
DFileBlobCache.cpp67 close(fd); in FileBlobCache()
76 close(fd); in FileBlobCache()
85 close(fd); in FileBlobCache()
93 close(fd); in FileBlobCache()
99 close(fd); in FileBlobCache()
108 close(fd); in FileBlobCache()
113 close(fd); in FileBlobCache()
151 close(fd); in writeToFile()
161 close(fd); in writeToFile()
175 close(fd); in writeToFile()
[all …]
/frameworks/base/libs/androidfw/
DPosixUtils.cpp62 close(stdout[0]); in ExecuteBinary()
63 close(stdout[1]); in ExecuteBinary()
91 close(stdout[0]); in ExecuteBinary()
95 close(stderr[0]); in ExecuteBinary()
104 close(stdout[1]); in ExecuteBinary()
105 close(stderr[1]); in ExecuteBinary()
115 close(stdout[0]); in ExecuteBinary()
118 close(stderr[0]); in ExecuteBinary()
/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 …]
DDatabaseGeneralTest.java77 mDatabase.close(); in tearDown()
134 c.close(); in testPhoneNumbersEqual()
143 c.close(); in testPhoneNumbersEqual()
152 c.close(); in testPhoneNumbersEqual()
157 c.close(); in testPhoneNumbersEqual()
166 c.close(); in testPhoneNumbersEqual()
175 c.close(); in testPhoneNumbersEqual()
184 c.close(); in testPhoneNumbersEqual()
204 c.close(); in testPhoneNumbersEqual()
213 c.close(); in testPhoneNumbersEqual()
[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()
/frameworks/base/core/tests/coretests/src/android/os/
DMemoryFileTest.java68 fileToClose.close(); in testPurge()
101 file.close(); in testRun()
138 is.close(); in readIndexOutOfBoundsException()
141 file.close(); in readIndexOutOfBoundsException()
184 is.close(); in testReadEOF()
187 file.close(); in testReadEOF()
197 file.close(); in testCloseClose()
198 file.close(); in testCloseClose()
205 file.close(); in testCloseRead()
220 file.close(); in testCloseWrite()
[all …]
/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/
DProtoInputStreamIncompleteValueTest.java60 stream.close(); in testIncompleteVarint()
64 stream.close(); in testIncompleteVarint()
98 stream.close(); in testIncompleteFixed64()
102 stream.close(); in testIncompleteFixed64()
136 stream.close(); in testIncompleteLengthDelimited()
140 stream.close(); in testIncompleteLengthDelimited()
173 stream.close(); in testIncompleteFixed32()
177 stream.close(); in testIncompleteFixed32()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DFullBackupUtilsTest.java68 mTemporaryFileDescriptor.close(); in tearDown()
96 outputStream.close(); in routeSocketDataToOutput_emptyInput_throwsEOFException()
117 outputStream.close(); in routeSocketDataToOutput_incompleteChunkSizeInput_throwsEOFException()
137 outputStream.close(); in routeSocketDataToOutput_validEmptyInput_doesNotWriteAnything()
154 outputStream.close(); in routeSocketDataToOutput_notEnoughData_throwsEOFException()
166 verify(mOutputStreamMock, never()).close(); in routeSocketDataToOutput_notEnoughData_throwsEOFException()
177 outputStream.close(); in routeSocketDataToOutput_oneSmallChunk_writesOutputCorrectly()
186 verify(mOutputStreamMock, never()).close(); in routeSocketDataToOutput_oneSmallChunk_writesOutputCorrectly()
197 outputStream.close(); in routeSocketDataToOutput_oneLargeChunk_writesOutputCorrectly()
206 verify(mOutputStreamMock, never()).close(); in routeSocketDataToOutput_oneLargeChunk_writesOutputCorrectly()
[all …]
/frameworks/base/cmds/statsd/src/storage/
DStorageManager.cpp146 close(fd); in writeFile()
172 close(fd); in writeTrainInfo()
181 close(fd); in writeTrainInfo()
191 close(fd); in writeTrainInfo()
199 close(fd); in writeTrainInfo()
208 close(fd); in writeTrainInfo()
218 close(fd); in writeTrainInfo()
231 close(fd); in writeTrainInfo()
241 close(fd); in writeTrainInfo()
248 close(fd); in writeTrainInfo()
[all …]
/frameworks/multidex/library/test/src/androidx/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/ml/nn/driver/cache/nnCache/
DnnCache.cpp193 close(fd); in saveBlobCacheLocked()
202 close(fd); in saveBlobCacheLocked()
215 close(fd); in saveBlobCacheLocked()
222 close(fd); in saveBlobCacheLocked()
242 close(fd); in loadBlobCacheLocked()
250 close(fd); in loadBlobCacheLocked()
258 close(fd); in loadBlobCacheLocked()
266 close(fd); in loadBlobCacheLocked()
272 close(fd); in loadBlobCacheLocked()
280 close(fd); in loadBlobCacheLocked()
[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/av/media/ndk/
DNdkMediaDataSource.cpp49 AMediaDataSourceClose close; member
59 AMediaDataSource_setClose(mDataSource, dataSource->close); in NdkDataSource()
105 void NdkDataSource::close() { in close() function in NdkDataSource
106 if (mDataSource->close != NULL && mDataSource->userdata != NULL) { in close()
107 mDataSource->close(mDataSource->userdata); in close()
189 mSource->close = NULL; in AMediaDataSource_new()
243 void AMediaDataSource_setClose(AMediaDataSource *mSource, AMediaDataSourceClose close) { in AMediaDataSource_setClose() argument
244 mSource->close = close; in AMediaDataSource_setClose()
249 return mSource->close(mSource->userdata); in AMediaDataSource_close()
/frameworks/base/telephony/common/com/android/internal/telephony/
DHbpcdUtils.java68 c2.close(); in getMcc()
71 c2.close(); in getMcc()
103 c3.close(); in getMcc()
106 c3.close(); in getMcc()
122 c5.close(); in getMcc()
125 c5.close(); in getMcc()
156 cur.close(); in getIddByMcc()
158 if (c != null) c.close(); in getIddByMcc()
/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/native/libs/nativewindow/tests/
DANativeWindowTest.cpp84 close(fd); in TEST_F()
102 close(fd); in TEST_F()
114 close(fd); in TEST_F()
134 close(fd); in TEST_F()
151 close(fd); in TEST_F()
156 close(fd); in TEST_F()
165 close(fd); in TEST_F()
/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/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java146 close(); in dropDatabase()
158 close(); in backupDatabase()
440 if (stmt != null) stmt.close(); in onUpgrade()
471 if (stmt != null) stmt.close(); in onUpgrade()
515 if (stmt != null) stmt.close(); in onUpgrade()
557 if (stmt != null) stmt.close(); in onUpgrade()
577 if (stmt != null) stmt.close(); in onUpgrade()
596 if (stmt != null) stmt.close(); in onUpgrade()
615 if (stmt != null) stmt.close(); in onUpgrade()
702 if (stmt != null) stmt.close(); in onUpgrade()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DCloseGuardTest.java48 owner.close(); in testEnabled_OpenThenClosed()
65 owner.close(); in assertUnreleasedResources()
84 public void close() { in close() method in CloseGuardTest.ResourceOwner
85 mCloseGuard.close(); in close()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DTriangleShape.java43 triangularPath.close(); in create()
48 triangularPath.close(); in create()
61 triangularPath.close(); in createHorizontal()
66 triangularPath.close(); in createHorizontal()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DAnnouncementAggregator.java70 public void close() throws RemoteException { in close() method in AnnouncementAggregator.ModuleWatcher
71 if (mCloseHandle != null) mCloseHandle.close(); in close()
78 close(); in binderDied()
119 public void close() throws RemoteException { in close() method in AnnouncementAggregator
127 watcher.close(); in close()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerDbHelper.java99 db.close(); in updateGenericSoundModel()
128 c.close(); in getGenericSoundModel()
129 db.close(); in getGenericSoundModel()
148 db.close(); in deleteGenericSoundModel()
191 c.close(); in dump()
192 db.close(); in dump()
/frameworks/base/media/java/android/media/midi/
DMidiDevice.java74 public void close() throws IOException { in close() method in MidiDevice.MidiConnection
77 mGuard.close(); in close()
97 close(); in finalize()
222 public void close() throws IOException { in close() method in MidiDevice
230 mGuard.close(); in close()
248 close(); in finalize()
/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()

12345678910>>...59