/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | ImageReaderTest.java | 76 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/base/services/tests/servicestests/src/com/android/server/ |
D | DropBoxTest.java | 113 e0.close(); in testAddText() 114 e1.close(); in testAddText() 115 e2.close(); in testAddText() 142 e.close(); 166 w0.close(); 167 gz1.close(); 168 os2.close(); 169 gz3.close(); 209 e0.close(); 210 e1.close(); [all …]
|
/frameworks/native/opengl/libs/EGL/ |
D | FileBlobCache.cpp | 69 close(fd); in FileBlobCache() 78 close(fd); in FileBlobCache() 87 close(fd); in FileBlobCache() 95 close(fd); in FileBlobCache() 101 close(fd); in FileBlobCache() 110 close(fd); in FileBlobCache() 115 close(fd); in FileBlobCache() 153 close(fd); in writeToFile() 163 close(fd); in writeToFile() 177 close(fd); in writeToFile() [all …]
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseStatementTest.java | 57 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 …]
|
D | DatabaseGeneralTest.java | 77 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 …]
|
D | CursorWindowTest.java | 42 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/libs/androidfw/ |
D | PosixUtils.cpp | 62 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/os/ |
D | MemoryFileTest.java | 68 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/services/tests/servicestests/src/com/android/server/backup/utils/ |
D | FullBackupUtilsTest.java | 68 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/multidex/library/test/src/androidx/multidex/ |
D | ZipUtilTest.java | 54 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/cmds/statsd/src/storage/ |
D | StorageManager.cpp | 123 close(fd); in writeFile() 144 close(fd); in writeTrainInfo() 153 close(fd); in writeTrainInfo() 163 close(fd); in writeTrainInfo() 171 close(fd); in writeTrainInfo() 180 close(fd); in writeTrainInfo() 190 close(fd); in writeTrainInfo() 203 close(fd); in writeTrainInfo() 211 close(fd); in writeTrainInfo() 215 close(fd); in writeTrainInfo() [all …]
|
/frameworks/ml/nn/driver/cache/nnCache/ |
D | nnCache.cpp | 194 close(fd); in saveBlobCacheLocked() 203 close(fd); in saveBlobCacheLocked() 216 close(fd); in saveBlobCacheLocked() 223 close(fd); in saveBlobCacheLocked() 243 close(fd); in loadBlobCacheLocked() 251 close(fd); in loadBlobCacheLocked() 259 close(fd); in loadBlobCacheLocked() 267 close(fd); in loadBlobCacheLocked() 273 close(fd); in loadBlobCacheLocked() 281 close(fd); in loadBlobCacheLocked() [all …]
|
/frameworks/av/media/ndk/ |
D | NdkMediaDataSource.cpp | 48 AMediaDataSourceClose close; member 58 AMediaDataSource_setClose(mDataSource, dataSource->close); in NdkDataSource() 104 void NdkDataSource::close() { in close() function in NdkDataSource 105 if (mDataSource->close != NULL && mDataSource->userdata != NULL) { in close() 106 mDataSource->close(mDataSource->userdata); in close() 187 mSource->close = NULL; in AMediaDataSource_new() 241 void AMediaDataSource_setClose(AMediaDataSource *mSource, AMediaDataSourceClose close) { in AMediaDataSource_setClose() argument 242 mSource->close = close; in AMediaDataSource_setClose() 247 return mSource->close(mSource->userdata); in AMediaDataSource_close()
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | RtpStream.cpp | 53 ::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/base/telephony/common/com/android/internal/telephony/ |
D | HbpcdUtils.java | 68 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/packages/SettingsProvider/src/com/android/providers/settings/ |
D | DatabaseHelper.java | 145 close(); in dropDatabase() 157 close(); in backupDatabase() 439 if (stmt != null) stmt.close(); in onUpgrade() 470 if (stmt != null) stmt.close(); in onUpgrade() 514 if (stmt != null) stmt.close(); in onUpgrade() 556 if (stmt != null) stmt.close(); in onUpgrade() 576 if (stmt != null) stmt.close(); in onUpgrade() 595 if (stmt != null) stmt.close(); in onUpgrade() 614 if (stmt != null) stmt.close(); in onUpgrade() 701 if (stmt != null) stmt.close(); in onUpgrade() [all …]
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
D | BackupTestActivity.java | 84 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/compile/mclinker/unittests/ |
D | FileHandleTest.cpp | 51 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/core/tests/coretests/src/android/util/ |
D | CloseGuardTest.java | 48 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/services/core/jni/ |
D | com_android_server_UsbMidiDevice.cpp | 73 close(fd); in android_server_UsbMidiDevice_get_subdevice_count() 122 close(pipeFD[0]); in android_server_UsbMidiDevice_open() 123 close(pipeFD[1]); in android_server_UsbMidiDevice_open() 139 close(fd); in android_server_UsbMidiDevice_open() 150 close(pipeFD); in android_server_UsbMidiDevice_close() 156 close(jniGetFDFromFileDescriptor(env, fd)); in android_server_UsbMidiDevice_close()
|
D | com_android_server_UsbDeviceManager.cpp | 79 close(fd); in android_server_UsbDeviceManager_getAccessoryStrings() 92 close(fd); in android_server_UsbDeviceManager_openAccessory() 108 close(fd); in android_server_UsbDeviceManager_isStartRequested() 120 close(fd); in android_server_UsbDeviceManager_getAudioMode() 138 close(fd); in android_server_UsbDeviceManager_openControl() 146 close(fd); in android_server_UsbDeviceManager_openControl()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | TriangleShape.java | 43 triangularPath.close(); in create() 48 triangularPath.close(); in create() 61 triangularPath.close(); in createHorizontal() 66 triangularPath.close(); in createHorizontal()
|
/frameworks/base/media/java/android/media/midi/ |
D | MidiDeviceServer.java | 105 close(); in PortClient() 109 abstract void close(); in close() method in MidiDeviceServer.PortClient 117 close(); in binderDied() 130 void close() { in close() method in MidiDeviceServer.InputPortClient 151 void close() { in close() method in MidiDeviceServer.OutputPortClient 276 client.close(); 365 client.close(); 404 public void close() throws IOException { in close() method in MidiDeviceServer 407 mGuard.close(); in close() 436 close(); in finalize()
|
D | MidiDevice.java | 74 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/broadcastradio/hal2/ |
D | AnnouncementAggregator.java | 70 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()
|