/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/ |
D | MaybeNull.java | 42 public static <T extends AutoCloseable> void close(T closeable) throws Exception { in close() method in MaybeNull 44 closeable.close(); in close() 56 public static <T extends UncheckedCloseable> void close(T closeable) { in close() method in MaybeNull 58 closeable.close(); in close() 68 public static <T extends Closeable> void close(T closeable) throws IOException { in close() method in MaybeNull 70 closeable.close(); in close()
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | DatabaseStatementTest.java | 58 mDatabase.close(); in tearDown() 89 statement.close(); in testExecuteStatement() 125 statement1.close(); in testSimpleQuery() 126 statement2.close(); in testSimpleQuery() 138 statement.close(); in testStatementLongBinding() 148 c.close(); in testStatementLongBinding() 160 statement.close(); in testStatementStringBinding() 170 c.close(); in testStatementStringBinding() 183 statement.close(); in testStatementClearBindings() 192 c.close(); in testStatementClearBindings() [all …]
|
D | SQLiteProgramTest.java | 46 mDatabase.close(); in tearDown() 68 statement.close(); in testBind() 88 statement.close(); in testBind() 99 cursor.close(); in testBind() 110 cursor.close(); in testBind() 119 statement.close(); in testBind() 133 statement.close(); in testBindNull() 149 cursor.close(); in testBindNull() 164 statement.close(); in testBindBlob() 181 cursor.close(); in testBindBlob()
|
D | SQLiteStatementTest.java | 65 mDatabase.close(); in tearDown() 99 statement2.close(); in testExecute() 107 statement1.close(); in testExecute() 110 statement2.close(); in testExecute() 123 statement2.close(); in testExecute() 137 statement.close(); in testExecuteInsert() 142 statement.close(); in testExecuteInsert() 149 c.close(); in testExecuteInsert() 161 statement.close(); in testExecuteInsert() 187 statement.close(); in testSimpleQueryForLong() [all …]
|
D | SQLiteDatabaseTest.java | 85 mDatabase.close(); in tearDown() 101 db.close(); in testOpenDatabase() 108 db.close(); in testOpenDatabase() 114 db.close(); in testOpenDatabase() 119 db.close(); in testOpenDatabase() 319 database.close(); in testAccessPageSize() 344 insertStatement.close(); in testCompileStatement() 345 cursor.close(); in testCompileStatement() 354 cursor.close(); in testCompileStatement() 362 deleteStatement.close(); in testCompileStatement() [all …]
|
D | SQLiteFtsTest.java | 53 mDatabase.close(); in tearDown() 72 cursor.close(); in testFts3Porter() 86 cursor.close(); in testFts3Simple() 100 cursor.close(); in testFts4Simple()
|
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/ |
D | CreatePrivateDataTest.java | 79 outputStream.close(); in testCreatePrivateData() 86 dataOut.close(); in testCreatePrivateData() 87 outputStream.close(); in testCreatePrivateData() 104 inputStream.close(); in accessPublicData() 134 cursor.close(); in writeToDatabase() 137 db.close(); in writeToDatabase() 168 cursor.close(); in assertDatabaseDataDoesNotExist() 171 db.close(); in assertDatabaseDataDoesNotExist() 191 qtaguidReader.close(); in accessOwnTrafficStats() 221 out.close(); in createTrafficStatsWithTags() [all …]
|
/cts/tests/tests/net/src/android/net/cts/ |
D | VpnServiceTest.java | 56 descriptor.close(); in testEstablish() 70 socket.close(); in testProtect_DatagramSocket() 84 socket.close(); in testProtect_Socket() 99 descriptor.close(); in testProtect_int() 104 socket.close(); in testProtect_int()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ParcelFileDescriptorTest.java | 61 in.close(); in testConstructorAndOpen() 92 out.close(); in testFromSocket() 107 in.close(); in testFromSocket() 108 socket.close(); in testFromSocket() 109 pfd.close(); in testFromSocket() 144 is.close(); in assertInputStreamContent() 165 is.close(); in testFromDataSkip() 189 in.close(); in testWriteToParcel() 199 in1.close(); in testClose() 202 pf.close(); in testClose() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | Contacts_PeopleTest.java | 125 cursor.close(); in testAddToGroup() 131 cursor.close(); in testAddToGroup() 142 cursor.close(); in testAddToGroup() 156 cursor.close(); in testAddToGroup() 161 cursor.close(); in testAddToGroup() 166 cursor.close(); in testAddToGroup() 173 cursor.close(); in testAddToGroup() 178 cursor.close(); in testAddToGroup() 191 cursor.close(); in testAddToGroup() 198 cursor.close(); in testAddToGroup() [all …]
|
D | MediaStore_Audio_Genres_MembersTest.java | 48 c.close(); in setUp() 54 c.close(); in setUp() 72 c.close(); in testGetContentUri() 78 c.close(); in testGetContentUri() 99 c.close(); in testStoreAudioGenresMembersExternal() 150 c.close(); in testStoreAudioGenresMembersExternal() 160 c.close(); in testStoreAudioGenresMembersExternal() 170 c.close(); in testStoreAudioGenresMembersExternal() 185 c.close(); in testStoreAudioGenresMembersExternal() 194 c.close(); in testStoreAudioGenresMembersExternal() [all …]
|
D | MediaStore_FilesTest.java | 145 cursor.close(); in testGetContentUri() 161 cursor.close(); in testGetContentUri() 173 cursor.close(); in testGetContentUri() 190 pfd.close(); in testCaseSensitivity() 226 pfd.close(); in testAccess() 238 pfd.close(); in testAccess() 246 pfd.close(); in testAccess() 258 pfd.close(); in testAccess() 268 fos.close(); in testAccess() 276 pfd.close(); in testAccess() [all …]
|
D | MediaStore_Audio_ArtistsTest.java | 44 c.close(); in testGetContentUri() 48 c.close(); in testGetContentUri() 90 c.close(); in testStoreAudioArtists() 118 c.close(); in testStoreAudioArtists() 123 c.close(); in testStoreAudioArtists() 130 c.close(); in testStoreAudioArtists()
|
D | SearchRecentSuggestionsTest.java | 64 c.close(); in testSearchRecentSuggestions() 80 c.close(); in testSearchRecentSuggestions() 112 c.close(); in testSearchRecentSuggestions() 118 c.close(); in testSearchRecentSuggestions() 152 cursor.close(); in testSuggestionsTable() 181 cursor.close(); in testSuggestionsTable() 207 cursor.close(); in waitForCursorCount()
|
D | MediaStore_Audio_AlbumsTest.java | 53 c.close(); in testGetContentUri() 57 c.close(); in testGetContentUri() 120 c.close(); in testStoreAudioAlbums() 148 c.close(); in testStoreAudioAlbums() 153 c.close(); in testStoreAudioAlbums() 160 c.close(); in testStoreAudioAlbums() 181 afd.close(); in testAlbumArt() 186 c.close(); in testAlbumArt() 199 c.close(); in testAlbumArt()
|
D | Settings_NameValueTableTest.java | 39 c.close(); in testPutString() 45 c.close(); in testPutString() 55 c.close(); in testPutString() 64 c.close(); in testPutString()
|
/cts/tools/dasm/src/dasm/ |
D | Main.java | 90 close(inp); in assemble() 101 close(inp); in assemble() 161 close(hr_outp); in assemble() 162 close(outp); in assemble() 169 close(hr_outp); in assemble() 170 close(outp); in assemble() 176 private static void close(Closeable c) { in close() method in Main 179 c.close(); in close()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetFileDescriptorTest.java | 64 mAssetFileDes.close(); in tearDown() 82 mOutputStream.close(); in testInputOutputStream() 96 mAssetFileDes.close(); in testInputOutputStream() 113 mInputStream.close(); in testInputOutputStream() 127 mAssetFileDes.close(); in testInputOutputStream() 132 mAssetFileDes.close(); in testInputOutputStream() 143 mAssetFileDes.close(); in testInputOutputStream()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ARTBootASLRTest.java | 49 bufReader.close(); in testARTASLR() 50 reader.close(); in testARTASLR() 51 ins.close(); in testARTASLR()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | ImageWriterTest.java | 64 mWriter.close(); in tearDown() 154 reader.close(); in testAbandonedSurfaceExceptions() 163 writer.close(); in testAbandonedSurfaceExceptions() 174 reader.close(); in testAbandonedSurfaceExceptions() 182 writer.close(); in testAbandonedSurfaceExceptions() 286 cameraImage.close(); in readerWriterFormatTestByCamera() 287 outputImage.close(); in readerWriterFormatTestByCamera() 321 outputImage.close(); in readerWriterFormatTestByCamera() 328 mReader.close(); in readerWriterFormatTestByCamera() 330 mReaderForWriter.close(); in readerWriterFormatTestByCamera() [all …]
|
/cts/tests/tests/net/jni/ |
D | NativeMultinetworkJni.c | 87 close(fd); in Java_android_net_cts_MultinetworkApiTest_runSetsocknetwork() 148 close(fd); in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck() 159 close(fd); in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck() 168 close(fd); in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck() 201 close(fd); in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck() 219 close(fd); in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck() 226 close(fd); in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck() 233 close(fd); in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck()
|
/cts/tools/vm-tests-tf/src/util/build/ |
D | DasmBuildStep.java | 67 close(inp); in assemble() 81 close(inp); in assemble() 135 close(outp); in assemble() 142 close(outp); in assemble() 148 private static void close(Closeable c) { in close() method in DasmBuildStep 152 c.close(); in close()
|
/cts/libs/vogar-expect/src/vogar/util/ |
D | IoUtils.java | 28 c.close(); in closeQuietly() 37 c.close(); in closeQuietly()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | MovieTest.java | 90 source.close(); in writeSampleImage() 93 target.close(); in writeSampleImage() 105 in.close(); in inputStreamToBytes() 106 out.close(); in inputStreamToBytes() 116 is.close(); in testDecodeByteArray() 127 is.close(); in testDecodeStream()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | DatabaseUtils_InsertHelperTest.java | 46 mInsertHelper.close(); in tearDown() 47 mDatabase.close(); in tearDown() 57 mInsertHelper.close(); in testClose() 103 cursor.close(); in testInsert() 138 cursor.close(); in testInsert() 170 cursor.close(); in testInsert() 205 cursor.close(); in testReplace() 234 cursor.close(); in testReplace() 247 cursor.close(); in testReplace() 280 cursor.close(); in testReplace()
|