Home
last modified time | relevance | path

Searched refs:getInputStream (Results 1 – 25 of 121) sorted by relevance

12345

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DArchiveHandleTest.java338 InputStream inputStream = archiveHandle.getInputStream( in closeInputStream_zipFile_shouldBeSuccess()
373 InputStream inputStream = archiveHandle.getInputStream( in getInputStream_zipFile_shouldHaveTheSameContent()
390 archiveHandle.getInputStream(archiveEntry); in getInputStream_zipFileNotExistEntry_shouldFail()
406 archiveHandle.getInputStream(archiveEntry); in getInputStream_directoryEntry_shouldFail()
423 archiveHandle.getInputStream(archiveEntry); in getInputStream_negativeSizeEntry_shouldFail()
441 archiveHandle.getInputStream(archiveEntry); in getInputStream_emptyStringEntry_shouldFail()
459 InputStream inputStream = archiveHandle.getInputStream( in getInputStream_sevenZFile_shouldHaveTheSameContent()
478 InputStream inputStream = archiveHandle.getInputStream( in getInputStream_tarGzFile_shouldHaveTheSameContent()
498 archiveHandle.getInputStream(null); in getInputStream_tarGzFileNullEntry_getNullInputStream()
520 archiveHandle.getInputStream(archiveEntry); in getInputStream_tarGzFileInvalidEntry_getNullInputStream()
[all …]
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DServerInterfaceTest.java290 Mockito.when(connection.getInputStream()).thenThrow(new IOException()); in testReadTextErrorFromErrorStreamNoErrorData()
302 Mockito.when(connection.getInputStream()).thenThrow(new IOException()); in testReadTextErrorFromErrorStream()
324 Mockito.when(connection.getInputStream()) in testReadTextError()
339 Mockito.when(connection.getInputStream()) in testReadJsonError()
352 Mockito.when(connection.getInputStream()).thenReturn(stream); in testReadErrorStreamThrowsException()
363 Mockito.when(connection.getInputStream()) in testReadErrorEmptyStream()
380 Mockito.when(connection.getInputStream()) in testReadErrorStreamTooLarge()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DWifiBackhaulMonitorTest.java230 doReturn(stream).when(mProcessV4).getInputStream(); in testRttPassed_v4()
246 doReturn(stream_v4).when(mProcessV4).getInputStream(); in testRtt_v4Failed_v6Passed()
247 doReturn(stream_v6).when(mProcessV6).getInputStream(); in testRtt_v4Failed_v6Passed()
263 doReturn(stream_v4).when(mProcessV4).getInputStream(); in testRtt_v4v6Failed()
264 doReturn(stream_v6).when(mProcessV6).getInputStream(); in testRtt_v4v6Failed()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DLocalServerSocketTest.java47 InputStream serverInStream = serverSocket.getInputStream(); in testLocalServerSocket()
53 InputStream clientInStream = clientSocket.getInputStream(); in testLocalServerSocket()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DMailTransport.java143 in = new BufferedInputStream(socket.getInputStream(), 1024); in open()
216 in = new BufferedInputStream(socket.getInputStream(), 1024); in reopenTls()
299 public InputStream getInputStream() { in getInputStream() method in MailTransport
328 InputStream in = getInputStream(); in readLine()
DBody.java23 public InputStream getInputStream() throws MessagingException; in getInputStream() method
DBase64Body.java35 public InputStream getInputStream() throws MessagingException { in getInputStream() method in Base64Body
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/
DAggregateEncryptionKeyFetcherTest.java193 when(mUrlConnection.getInputStream()).thenReturn(inputStream); in testInvalidResponseBodyJson()
217 when(mUrlConnection.getInputStream()).thenReturn(inputStream); in testMissingCacheControlHeader()
236 when(mUrlConnection.getInputStream()).thenReturn(inputStream); in testMissingAgeHeader()
268 when(mUrlConnection.getInputStream()).thenReturn(inputStream); in testBrokenAgeHeader()
299 when(mUrlConnection.getInputStream()).thenReturn(inputStream); in testCachedAgeGreaterThanMaxAge()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DBinaryTempFileBody.java58 public InputStream getInputStream() throws MessagingException { in getInputStream() method in BinaryTempFileBody
68 InputStream in = getInputStream(); in writeTo()
DTextBody.java51 public InputStream getInputStream() throws MessagingException { in getInputStream() method in TextBody
/packages/services/Car/libs/obd2-lib/src/com/android/car/obd2/connections/
DBluetoothConnection.java106 public InputStream getInputStream() { in getInputStream() method in BluetoothConnection
109 return mSocket.getInputStream(); in getInputStream()
/packages/modules/AdServices/adservices/tests/host/room/src/com/android/adservices/room/test/
DRoomDatabaseVersionBumpGuardrailTest.java100 baseSchemas.getInputStream(baseFile).readAllBytes(), in roomDatabaseVersionBumpGuardrailTest()
101 newSchemas.getInputStream(newFile).readAllBytes())) { in roomDatabaseVersionBumpGuardrailTest()
/packages/apps/Camera2/src/com/android/camera/ui/
DZoomView.java67 InputStream isForDimensions = getInputStream(); in doInBackground()
139 InputStream is = getInputStream(); in doInBackground()
271 private InputStream getInputStream() { in getInputStream() method in ZoomView
/packages/apps/Gallery/src/com/android/camera/gallery/
DUriImage.java53 private InputStream getInputStream() { in getInputStream() method in UriImage
108 return getInputStream(); in fullSizeImageData()
/packages/modules/Bluetooth/android/pandora/server/src/
DL2cap.kt110 connectionInStreamMap[connection] = bluetoothSocket.getInputStream()!! in acceptL2CAPChannel()
143 connectionInStreamMap[connection] = bluetoothSocket.getInputStream()!! in createLECreditBasedChannel()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/network/
DBlockingHttpClientTests.java116 when(mMockHttpConnection.getInputStream()).thenReturn(new ByteArrayInputStream(response)); in testSuccess_emptyRequest()
133 when(mMockHttpConnection.getInputStream()).thenReturn(new ByteArrayInputStream(response)); in testSuccess()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothSocket.java283 bluetoothSocket.mSocketIS = bluetoothSocket.mSocket.getInputStream(); in createSocketFromOpenFd()
324 as.mSocketIS = as.mSocket.getInputStream(); in acceptSocket()
381 public InputStream getInputStream() throws IOException { in getInputStream() method in BluetoothSocket
468 mSocketIS = mSocket.getInputStream(); in connect()
570 mSocketIS = mSocket.getInputStream(); in bindListen()
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
DTinyPlanetFragment.java264 InputStream is = getInputStream(sourceImageUri); in createPaddedSourceImage()
271 is = getInputStream(sourceImageUri); in createPaddedSourceImage()
434 private InputStream getInputStream(Uri uri) { in getInputStream() method in TinyPlanetFragment
/packages/services/Car/libs/obd2-lib/src/com/android/car/obd2/
DObd2Connection.java46 InputStream getInputStream(); in getInputStream() method
122 try (InputStream in = Objects.requireNonNull(mConnection.getInputStream())) { in runImpl()
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DHttpFetcher.java77 is = conn.getInputStream(); in sendRequestAsByteArray()
139 InputStream is = httpUrlConnection.getInputStream(); in sendRequestAsInputStream()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/async/
DFileHandle.java67 InputStream getInputStream() { in getInputStream() method in FileHandle
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
DMockObd2UnderlyingTransport.java83 public InputStream getInputStream() { in getInputStream() method in MockObd2UnderlyingTransport
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/
DTlsConnectionAvailableRule.java72 connection.getInputStream();
/packages/services/Telephony/testapps/TestSliceApp/app/src/main/java/com/google/android/sample/testsliceapp/
DRequestTask.java60 InputStream inputStream = connection.getInputStream(); in httpGet()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DNoReadLogsPermissionTest.java52 reader = new BufferedReader(new InputStreamReader(logcatProc.getInputStream())); in testLogcat()

12345