Home
last modified time | relevance | path

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

123

/aosp12/frameworks/base/core/tests/coretests/src/android/net/
H A DLocalSocketTest.java59 ls.getOutputStream().write(42); in testBasic()
72 ls.getOutputStream().write(42); in testBasic()
81 ls1.getOutputStream().write(new byte[]{0, 1, 2, 3, 4, 5}, 1, 5); in testBasic()
106 ls.getOutputStream().write(buffer, 1, 16); in testBasic()
113 ls.getOutputStream().write(buffer, -1, 15); in testBasic()
120 ls.getOutputStream().write(buffer, 0, -1); in testBasic()
141 ls.getOutputStream().write(42); in testBasic()
153 ls.getOutputStream().write(42); in testBasic()
171 ls1.getOutputStream().write(42); in testBasic()
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
H A DLocalSocketTest.java72 OutputStream clientOutStream = clientSocket.getOutputStream(); in testLocalConnections()
78 OutputStream serverOutStream = serverSocket.getOutputStream(); in testLocalConnections()
248 clientSocket.getOutputStream().write(toWrite); in testSetSoTimeout_writeTimeout()
272 OutputStream clientOutputStream = clientSocket.getOutputStream(); in testAvailable()
281 OutputStream serverOutputStream = serverSocket.getOutputStream(); in testAvailable()
310 clientSocketCreatedFromFileDescriptor.getOutputStream(); in testLocalSocketCreatedFromFileDescriptor()
333 OutputStream clientOutputStream = clientSocket.getOutputStream(); in testFlush()
337 OutputStream serverOutputStream = serverSocket.getOutputStream(); in testFlush()
H A DLocalServerSocketTest.java45 OutputStream clientOutStream = clientSocket.getOutputStream(); in testLocalServerSocket()
51 OutputStream serverOutStream = serverSocket.getOutputStream(); in testLocalServerSocket()
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
H A 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()
/aosp12/packages/services/Car/obd2-lib/src/com/android/car/obd2/connections/
H A DBluetoothConnection.java115 public OutputStream getOutputStream() { in getOutputStream() method in BluetoothConnection
118 return mSocket.getOutputStream(); in getOutputStream()
/aosp12/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/
H A DServerInterface.java69 try (OutputStream os = con.getOutputStream()) { in requestSignedCertificates()
120 try (OutputStream os = con.getOutputStream()) { in fetchGeek()
/aosp12/frameworks/base/core/java/android/net/
H A DLocalSocket.java201 public OutputStream getOutputStream() throws IOException { in getOutputStream() method in LocalSocket
203 return impl.getOutputStream(); in getOutputStream()
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/network/
H A DBlockingHttpClientTests.java97 when(mMockHttpConnection.getOutputStream()).thenReturn(mockOutputStream); in testError_forbiddenWithRequest()
131 when(mMockHttpConnection.getOutputStream()).thenReturn(mockOutputStream); in testSuccess()
/aosp12/frameworks/base/core/tests/coretests/src/android/os/
H A DMemoryFileTest.java87 OutputStream os = file.getOutputStream(); in testRun()
108 OutputStream os = file.getOutputStream(); in testOutputStreamAdvances()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DViewServer.java189 OutputStream clientStream = client.getOutputStream(); in writeValue()
298 out = new BufferedWriter(new OutputStreamWriter(mClient.getOutputStream())); in windowManagerAutolistLoop()
/aosp12/frameworks/base/core/java/android/bluetooth/
H A DBluetoothSocket.java272 as.mSocketOS = as.mSocket.getOutputStream(); in acceptSocket()
357 public OutputStream getOutputStream() throws IOException { in getOutputStream() method in BluetoothSocket
413 mSocketOS = mSocket.getOutputStream(); in connect()
473 mSocketOS = mSocket.getOutputStream(); in bindListen()
/aosp12/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
H A DSocketConnect.java18 this.to = to.getOutputStream(); in SocketConnect()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DBluetoothPbapObexTransport.java60 return mSocket.getOutputStream(); in openOutputStream()
/aosp12/system/extras/simpleperf/app_api/java/com/android/simpleperf/
H A DProfileSession.java341 mSimpleperfProcess.getOutputStream().write(cmd.getBytes()); in sendCmd()
342 mSimpleperfProcess.getOutputStream().flush(); in sendCmd()
/aosp12/packages/services/Car/obd2-lib/src/com/android/car/obd2/
H A DObd2Connection.java47 OutputStream getOutputStream(); in getOutputStream() method
121 OutputStream out = Objects.requireNonNull(mConnection.getOutputStream()); in runImpl()
/aosp12/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
H A DMockObd2UnderlyingTransport.java88 public OutputStream getOutputStream() { in getOutputStream() method in MockObd2UnderlyingTransport
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
H A DBlockingHttpClient.java74 OutputStream out = new BufferedOutputStream(mConnection.getOutputStream()); in execute()
/aosp12/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
H A DShadowBackupDataOutput.java58 public ObjectOutputStream getOutputStream() { in getOutputStream() method in ShadowBackupDataOutput
H A DShadowFullBackup.java60 ObjectOutputStream outputStream = shadowBackupDataOutput.getOutputStream(); in backupToTar()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/
H A DBluetoothObexTransport.java75 return mSocket.getOutputStream(); in openOutputStream()
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
H A DBinaryTempFileBody.java51 public OutputStream getOutputStream() throws IOException { in getOutputStream() method in BinaryTempFileBody
/aosp12/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/
H A DGenericSoundModelTest.java165 DataOutputStream out = new DataOutputStream(socket.getOutputStream()); in testTriggerGenericSoundModel()
242 DataOutputStream out = new DataOutputStream(socket.getOutputStream()); in testFuzzGenericSoundModel()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/
H A DHttpsServiceConnection.java107 return mConnection.getOutputStream(); in openOutputStream()
/aosp12/frameworks/base/core/java/android/webkit/
H A DCacheManager.java231 public OutputStream getOutputStream() { in getOutputStream() method in CacheManager.CacheResult
/aosp12/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/javatests/com/android/libraries/rcs/simpleclient/protocol/msrp/
H A DMsrpSessionTest.java60 when(socket.getOutputStream()).thenReturn(new PipedOutputStream(input)); in setUp()

123