Home
last modified time | relevance | path

Searched refs:getOutputStream (Results 1 – 25 of 58) sorted by relevance

123

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DLocalServerSocketTest.java45 OutputStream clientOutStream = clientSocket.getOutputStream(); in testLocalServerSocket()
51 OutputStream serverOutStream = serverSocket.getOutputStream(); in testLocalServerSocket()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DMailTransport.java144 out = new BufferedOutputStream(socket.getOutputStream(), 512); in open()
217 out = new BufferedOutputStream(socket.getOutputStream(), 512); in reopenTls()
303 public OutputStream getOutputStream() { in getOutputStream() method in MailTransport
315 OutputStream out = getOutputStream(); in writeLine()
/packages/services/Car/libs/obd2-lib/src/com/android/car/obd2/connections/
DBluetoothConnection.java118 public OutputStream getOutputStream() { in getOutputStream() method in BluetoothConnection
121 return mSocket.getOutputStream(); in getOutputStream()
/packages/modules/Bluetooth/android/pandora/server/src/
DL2cap.kt111 connectionOutStreamMap[connection] = bluetoothSocket.getOutputStream()!! in acceptL2CAPChannel()
144 connectionOutStreamMap[connection] = bluetoothSocket.getOutputStream()!! in createLECreditBasedChannel()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/network/
DBlockingHttpClientTests.java97 when(mMockHttpConnection.getOutputStream()).thenReturn(mockOutputStream); in testError_forbiddenWithRequest()
131 when(mMockHttpConnection.getOutputStream()).thenReturn(mockOutputStream); in testSuccess()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothSocket.java284 bluetoothSocket.mSocketOS = bluetoothSocket.mSocket.getOutputStream(); in createSocketFromOpenFd()
325 as.mSocketOS = as.mSocket.getOutputStream(); in acceptSocket()
394 public OutputStream getOutputStream() throws IOException { in getOutputStream() method in BluetoothSocket
469 mSocketOS = mSocket.getOutputStream(); in connect()
571 mSocketOS = mSocket.getOutputStream(); in bindListen()
/packages/services/Car/libs/obd2-lib/src/com/android/car/obd2/
DObd2Connection.java48 OutputStream getOutputStream(); in getOutputStream() method
123 try (OutputStream out = Objects.requireNonNull(mConnection.getOutputStream())) { in runImpl()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/async/
DFileHandle.java71 OutputStream getOutputStream() { in getOutputStream() method in FileHandle
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/http/
DHttpClientTest.java149 when(mockSuccessfulHttpURLConnection.getOutputStream()) in testPerformGetRequestSuccessWithRetry()
186 when(mMockHttpURLConnection.getOutputStream()).thenReturn(new ByteArrayOutputStream()); in testPerformPostRequestSuccess()
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
DMockObd2UnderlyingTransport.java88 public OutputStream getOutputStream() { in getOutputStream() method in MockObd2UnderlyingTransport
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/
DDebugReportSenderTest.java43 Mockito.when(httpUrlConnection.getOutputStream()).thenReturn(outputStream); in testSendDebugReport()
DEventReportSenderTest.java78 Mockito.when(httpUrlConnection.getOutputStream()).thenReturn(outputStream); in testSendEventReport()
DAggregateReportSenderTest.java87 Mockito.when(httpUrlConnection.getOutputStream()).thenReturn(outputStream); in testSendAggregateReport()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/touch/
DInjectMotionTestFragment.java222 mOutStreamForShell = new DataOutputStream(mShellProcess.getOutputStream()); in openShellSession()
238 mShellProcess.getOutputStream().close(); in closeShellSession()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
DBlockingHttpClient.java74 OutputStream out = new BufferedOutputStream(mConnection.getOutputStream()); in execute()
/packages/modules/Connectivity/tests/cts/netpermission/updatestatspermission/src/android/net/cts/network/permission/
DUpdateStatsPermissionTest.java70 OutputStream out = socket.getOutputStream(); in testUpdateDeviceStatsPermission()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DBinaryTempFileBody.java51 public OutputStream getOutputStream() throws IOException { in getOutputStream() method in BinaryTempFileBody
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/
DMeasurementReportSender.java103 OutputStream out = new BufferedOutputStream(urlConnection.getOutputStream()); in sendReportPostRequest()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DBluetoothObexTransport.java73 return mSocket.getOutputStream(); in openOutputStream()
/packages/modules/AdServices/sdksandbox/tests/cts/inprocess/src/com/android/sdksandbox/tests/cts/inprocess/
DSdkSandboxUnixStreamTest.java76 sendSocket.getOutputStream().write(42); in testUnixStreamSocket_sandboxToSelf()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/
DHttpsServiceConnection.java107 return mConnection.getOutputStream(); in openOutputStream()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/javatests/com/android/libraries/rcs/simpleclient/protocol/msrp/
DMsrpSessionTest.java60 when(socket.getOutputStream()).thenReturn(new PipedOutputStream(input)); in setUp()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DJavaNetHttpHelper.kt96 val writer = OutputStreamWriter(c.getOutputStream()) in post()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/http/
DFakeURLStreamHandler.java103 public OutputStream getOutputStream() { in getOutputStream() method in FakeURLStreamHandler.FakeHttpsURLConnection
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunControlSocket.java176 OutputStream out = mSocket.getOutputStream(); in send()

123