/cts/tests/camera/utils/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 | 108 mDatabase.close(); in closeAndDeleteDatabase() 117 db.close(); in testOpenDatabase() 124 db.close(); in testOpenDatabase() 130 db.close(); in testOpenDatabase() 135 db.close(); in testOpenDatabase() 343 database.close(); in testAccessPageSize() 368 insertStatement.close(); in testCompileStatement() 369 cursor.close(); in testCompileStatement() 378 cursor.close(); in testCompileStatement() 386 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/tests/pdf/src/android/graphics/pdf/cts/ |
D | PdfDocumentTest.java | 58 doc.close(); in getPagesEmptyDocAfterClose() 65 doc.close(); in closeClosedDoc() 68 doc.close(); in closeClosedDoc() 74 doc.close(); in writeClosedDoc() 84 doc.close(); in startPageClosedDoc() 99 doc.close(); in finishPageTwiceDoc() 108 verifyException(doc::close, IllegalStateException.class); in closeWithOpenPage() 110 doc.close(); in closeWithOpenPage() 122 doc.close(); in writeEmptyDoc() 138 doc.close(); in writeWithOpenPage() [all …]
|
D | PdfRendererTest.java | 98 renderer.close(); in rendererRecoversAfterFailure() 100 firstRenderer.close(); in rendererRecoversAfterFailure() 106 renderer.close(); in useRendererAfterClose() 108 verifyException(renderer::close, IllegalStateException.class); in useRendererAfterClose() 118 page.close(); in usePageAfterClose() 125 verifyException(page::close, IllegalStateException.class); in usePageAfterClose() 132 renderer.close(); in usePageAfterClose() 140 verifyException(renderer::close, IllegalStateException.class); in closeWithOpenPage() 142 page.close(); in closeWithOpenPage() 143 renderer.close(); in closeWithOpenPage() [all …]
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetFileDescriptorTest.java | 66 mAssetFileDes.close(); in tearDown() 80 assetFileDes.close(); in testConstructor() 86 assetFileDes.close(); in testConstructor() 92 assetFileDes.close(); in testConstructor() 109 mOutputStream.close(); in testInputOutputStream() 123 mAssetFileDes.close(); in testInputOutputStream() 140 mInputStream.close(); in testInputOutputStream() 154 mAssetFileDes.close(); in testInputOutputStream() 159 mAssetFileDes.close(); in testInputOutputStream() 170 mAssetFileDes.close(); in testInputOutputStream()
|
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/ |
D | CreatePrivateDataTest.java | 79 outputStream.close(); in testCreatePrivateData() 85 dataOut.close(); in testCreatePrivateData() 86 outputStream.close(); in testCreatePrivateData() 101 inputStream.close(); in accessPublicData() 129 cursor.close(); in writeToDatabase() 132 db.close(); in writeToDatabase() 163 cursor.close(); in assertDatabaseDataDoesNotExist() 166 db.close(); in assertDatabaseDataDoesNotExist()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ImageWriterTest.java | 72 mWriter.close(); in tearDown() 151 reader.close(); in testAbandonedSurfaceExceptions() 160 writer.close(); in testAbandonedSurfaceExceptions() 171 reader.close(); in testAbandonedSurfaceExceptions() 179 writer.close(); in testAbandonedSurfaceExceptions() 191 writer.close(); in testWriterReaderBlobFormats() 192 reader.close(); in testWriterReaderBlobFormats() 206 defaultWriter.close(); in testWriterFormatOverride() 215 writer.close(); in testWriterFormatOverride() 343 cameraImage.close(); in readerWriterFormatTestByCamera() [all …]
|
/cts/tests/tests/print/src/android/print/pdf/cts/ |
D | PrintedPdfDocumentTest.java | 77 doc.close(); in createWithNullContext() 88 doc.close(); in startPage() 103 doc.close(); in oneMilPageSize() 124 doc.close(); in getPageWidth() 134 doc.close(); in getPageHeight() 145 doc.close(); in getContentRect() 159 doc.close(); in getContentRectBigMargins() 168 doc.close(); in getPageHeightAfterClose() 178 doc.close(); in getPageWidthAfterClose() 188 doc.close(); in getContentRectAfterClose()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-6262/ |
D | poc.c | 42 close(fd); in drm_version() 57 close(fd); in nouveau_gem_ioctl_new() 70 close(fd); in nouveau_gem_ioctl_map() 92 close(fd); in main()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | CloseGuardTest.java | 56 owner.close(); in testEnabled_OpenThenClosed() 73 owner.close(); in assertUnreleasedResources() 92 public void close() { in close() method in CloseGuardTest.ResourceOwner 93 mCloseGuard.close(); in close()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ARTBootASLRTest.java | 51 bufReader.close(); in testARTASLR() 52 reader.close(); in testARTASLR() 53 ins.close(); in testARTASLR()
|
D | MediaServerCrashTest.java | 57 mOnPrepareCalled.close(); in setUp() 58 mOnCompletionCalled.close(); in setUp() 100 afd.close(); in testIfMediaServerDied() 132 dmStream.close(); in checkIfMediaServerDiedForDrm() 133 flFile.close(); in checkIfMediaServerDiedForDrm() 145 flFd.close(); in checkIfMediaServerDiedForDrm()
|
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | Contacts_PeopleTest.java | 127 cursor.close(); in testAddToGroup() 133 cursor.close(); in testAddToGroup() 144 cursor.close(); in testAddToGroup() 158 cursor.close(); in testAddToGroup() 163 cursor.close(); in testAddToGroup() 168 cursor.close(); in testAddToGroup() 175 cursor.close(); in testAddToGroup() 180 cursor.close(); in testAddToGroup() 193 cursor.close(); in testAddToGroup() 200 cursor.close(); in testAddToGroup() [all …]
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ParcelFileDescriptorTest.java | 83 in.close(); in testConstructorAndOpen() 116 out.close(); in testFromSocket() 131 in.close(); in testFromSocket() 132 socket.close(); in testFromSocket() 133 pfd.close(); in testFromSocket() 152 is.close(); in assertInputStreamContent() 178 in.close(); in testWriteToParcel() 189 in1.close(); in testClose() 192 pf.close(); in testClose() 201 in2.close(); in testClose() [all …]
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | AutoCloseableWrapper.java | 62 void close(U object) throws Exception; in close() method 89 public void close() throws Exception { in close() method in AutoCloseableWrapper 90 mCloser.close(mObject); in close()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ReportLogDeviceInfoStore.java | 59 jsonReader.close(); in open() 66 formatWriter.close(); in open() 75 public void close() throws IOException { in close() method in ReportLogDeviceInfoStore 78 mJsonWriter.close(); in close()
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | LeL2capSocketTest.java | 66 serverSocket.close(); in testOpenInsecureLeL2capServerSocketOnce() 83 serverSocket.close(); in testOpenInsecureLeL2capServerSocketRepeatedly() 99 serverSocket.close(); in testOpenSecureLeL2capServerSocketOnce() 115 serverSocket.close(); in testOpenSecureLeL2capServerSocketRepeatedly()
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | TestSuiteTradefedParser.java | 124 xmlStream.close(); in praseKnownFailure() 128 zip.close(); in praseKnownFailure() 180 inStream.close(); in parseFile() 181 isReader.close(); in parseFile() 182 bfReader.close(); in parseFile() 187 zip.close(); in parseFile()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | SearchRecentSuggestionsTest.java | 65 c.close(); in testSearchRecentSuggestions() 81 c.close(); in testSearchRecentSuggestions() 113 c.close(); in testSearchRecentSuggestions() 119 c.close(); in testSearchRecentSuggestions() 153 cursor.close(); in testSuggestionsTable() 182 cursor.close(); in testSuggestionsTable() 208 cursor.close(); in waitForCursorCount()
|
/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()
|
/cts/tests/tests/provider/src/android/provider/cts/media/ |
D | MediaStore_Audio_Genres_MembersTest.java | 83 c.close(); in setUp() 89 c.close(); in setUp() 108 c.close(); in testGetContentUri() 122 c.close(); in testStoreAudioGenresMembersExternal() 174 c.close(); in testStoreAudioGenresMembersExternal() 184 c.close(); in testStoreAudioGenresMembersExternal() 194 c.close(); in testStoreAudioGenresMembersExternal() 211 c.close(); in testStoreAudioGenresMembersExternal() 220 c.close(); in testStoreAudioGenresMembersExternal() 229 c.close(); in testStoreAudioGenresMembersExternal() [all …]
|