/frameworks/base/libs/androidfw/ |
D | PosixUtils.cpp | 58 close(stdout[0]); in ExecuteBinary() 59 close(stdout[1]); in ExecuteBinary() 76 close(stdout[0]); in ExecuteBinary() 77 close(stdout[1]); in ExecuteBinary() 78 close(stderr[0]); in ExecuteBinary() 79 close(stderr[1]); in ExecuteBinary() 93 close(stdout[0]); in ExecuteBinary() 97 close(stderr[0]); in ExecuteBinary() 106 close(stdout[1]); in ExecuteBinary() 107 close(stderr[1]); in ExecuteBinary() [all …]
|
/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 | 121 e0.close(); in testAddText() 122 e1.close(); in testAddText() 123 e2.close(); in testAddText() 150 e.close(); 174 w0.close(); 175 gz1.close(); 176 os2.close(); 177 gz3.close(); 217 e0.close(); 218 e1.close(); [all …]
|
/frameworks/native/opengl/libs/EGL/ |
D | FileBlobCache.cpp | 74 close(fd); in FileBlobCache() 83 close(fd); in FileBlobCache() 92 close(fd); in FileBlobCache() 100 close(fd); in FileBlobCache() 106 close(fd); in FileBlobCache() 115 close(fd); in FileBlobCache() 120 close(fd); in FileBlobCache() 160 close(fd); in writeToFile() 170 close(fd); in writeToFile() 184 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 …]
|
/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/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/ |
D | ProtoInputStreamIncompleteValueTest.java | 60 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/mockingservicestests/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/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/ |
D | AnnouncementAggregatorHidlTest.java | 119 mAnnouncementAggregator.close(); in onListUpdated_afterClosed_notUpdated() 129 mAnnouncementAggregator.close(); in watchModule_afterClosed_throwsException() 144 mAnnouncementAggregator.close(); in close_withOneModuleWatcher_invokesCloseHandle() 146 verify(mCloseHandleMocks[0]).close(); in close_withOneModuleWatcher_invokesCloseHandle() 155 mAnnouncementAggregator.close(); in close_withMultipleModuleWatcher_invokesCloseHandles() 158 verify(mCloseHandleMocks[index]).close(); in close_withMultipleModuleWatcher_invokesCloseHandles() 166 mAnnouncementAggregator.close(); in close_twice_invokesCloseHandleOnce() 167 mAnnouncementAggregator.close(); in close_twice_invokesCloseHandleOnce() 169 verify(mCloseHandleMocks[0]).close(); in close_twice_invokesCloseHandleOnce() 179 verify(mCloseHandleMocks[0]).close(); in binderDied_forDeathRecipient_invokesCloseHandle()
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/ |
D | AnnouncementAggregatorTest.java | 118 mAnnouncementAggregator.close(); in onListUpdated_afterClosed_notUpdated() 128 mAnnouncementAggregator.close(); in watchModule_afterClosed_throwsException() 143 mAnnouncementAggregator.close(); in close_withOneModuleWatcher_invokesCloseHandle() 145 verify(mCloseHandleMocks[0]).close(); in close_withOneModuleWatcher_invokesCloseHandle() 154 mAnnouncementAggregator.close(); in close_withMultipleModuleWatcher_invokesCloseHandles() 157 verify(mCloseHandleMocks[index]).close(); in close_withMultipleModuleWatcher_invokesCloseHandles() 165 mAnnouncementAggregator.close(); in close_twice_invokesCloseHandleOnce() 166 mAnnouncementAggregator.close(); in close_twice_invokesCloseHandleOnce() 168 verify(mCloseHandleMocks[0]).close(); in close_twice_invokesCloseHandleOnce() 178 verify(mCloseHandleMocks[0]).close(); in binderDied_forDeathRecipient_invokesCloseHandle()
|
/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/av/media/ndk/ |
D | NdkMediaDataSource.cpp | 49 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/services/companion/java/com/android/server/companion/transport/ |
D | SecureTransport.java | 62 void close() { in close() method in SecureTransport 63 mSecureChannel.close(); in close() 66 super.close(); in close() 96 close(); in sendMessage() 106 close(); in establishSecureConnection() 123 close(); in onSecureConnection() 152 close(); in onError()
|
/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/services/core/jni/ |
D | com_android_server_UsbAlsaMidiDevice.cpp | 72 close(fd); in android_server_UsbAlsaMidiDevice_open() 87 close(fd); in android_server_UsbAlsaMidiDevice_open() 104 close(pipeFD[0]); in android_server_UsbAlsaMidiDevice_open() 105 close(pipeFD[1]); in android_server_UsbAlsaMidiDevice_open() 121 close(fd); in android_server_UsbAlsaMidiDevice_open() 131 close(pipeFD); in android_server_UsbAlsaMidiDevice_close() 137 close(jniGetFDFromFileDescriptor(env, fd)); in android_server_UsbAlsaMidiDevice_close()
|
/frameworks/libs/net/common/netd/libnetdutils/ |
D | FdTest.cpp | 75 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(status::ok)); in TEST_F() 85 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(status::ok)); in TEST_F() 93 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(status::ok)); in TEST_F() 108 EXPECT_CALL(mSyscalls, close(kFd)).WillOnce(Return(status::ok)); in TEST_F() 127 EXPECT_CALL(mSyscalls, close(kFd)).WillOnce(Return(status::ok)); in TEST_F() 136 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(status::ok)); in TEST_F() 142 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(statusFromErrno(EINTR, "test"))); in TEST_F()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | PenStylusActivity.kt | 54 image.close() 70 mImageReader.acquireNextImage().close() in unlockCanvas() 79 override fun close() { in close() method in com.android.test.hwui.PenStylusActivity.SingleBufferedCanvas 80 mHardwareBuffer.close() in close() 82 mImageReader.close() in close()
|
/frameworks/base/services/core/jni/gnss/ |
D | GnssNavigationMessage.cpp | 43 jboolean GnssNavigationMessageAidl::close() { in close() function in android::gnss::GnssNavigationMessageAidl 44 auto status = mIGnssNavigationMessage->close(); in close() 68 jboolean GnssNavigationMessageHidl::close() { in close() function in android::gnss::GnssNavigationMessageHidl 69 auto result = mIGnssNavigationMessageHidl->close(); in close()
|
D | GnssAntennaInfo.cpp | 42 jboolean GnssAntennaInfoAidl::close() { in close() function in android::gnss::GnssAntennaInfoAidl 43 auto status = mIGnssAntennaInfoAidl->close(); in close() 72 jboolean GnssAntennaInfo_V2_1::close() { in close() function in android::gnss::GnssAntennaInfo_V2_1 73 auto result = mIGnssAntennaInfo_V2_1->close(); in close()
|
/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/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/native/libs/nativewindow/tests/ |
D | ANativeWindowTest.cpp | 84 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/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/base/core/java/com/android/internal/midi/ |
D | MidiEventMultiScheduler.java | 31 public void close() { in close() method in MidiEventMultiScheduler.MultiLockMidiEventScheduler 35 super.close(); in close() 123 public void close() { in close() method in MidiEventMultiScheduler 125 eventScheduler.close(); in close()
|