Home
last modified time | relevance | path

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

12

/cts/tests/location/location_gnss/src/android/location/cts/gnss/suplClient/
DSuplTcpClient.java46 System.out.println("Connection established to " + socket.getOutputStream()); in SuplTcpClient()
53 socket.getOutputStream().write(data); in sendSuplRequest()
/cts/tests/net/src/android/net/cts/
DLocalSocketTest.java94 OutputStream clientOutStream = clientSocket.getOutputStream(); in testLocalConnections()
100 OutputStream serverOutStream = serverSocket.getOutputStream(); in testLocalConnections()
246 clientSocket.getOutputStream().write(toWrite); in testSetSoTimeout_writeTimeout()
271 OutputStream clientOutputStream = clientSocket.getOutputStream(); in testAvailable()
280 OutputStream serverOutputStream = serverSocket.getOutputStream(); in testAvailable()
309 clientSocketCreatedFromFileDescriptor.getOutputStream(); in testLocalSocketCreatedFromFileDescriptor()
333 OutputStream clientOutputStream = clientSocket.getOutputStream(); in testFlush()
337 OutputStream serverOutputStream = serverSocket.getOutputStream(); in testFlush()
371 final OutputStream os = s1.getOutputStream(); in sendAndReceiveBytes()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/proxy/
DPassthroughTestHelper.java60 PrintStream serverPrint = new PrintStream(serverSock.getOutputStream()); in runTest()
79 mClientPrint = new PrintStream(s.getOutputStream()); in createHttpConnectConnection()
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
DMyProvider.java135 socket.getOutputStream().write(val); in run()
136 socket.getOutputStream().flush(); in run()
/cts/hostsidetests/cpptools/test-apps/DomainSocketApp/src/com/android/cts/domainsocketapp/
DDomainSocketActivity.java43 new LocalServerSocket(DOMAIN_SOCKET_NAME).accept().getOutputStream() in onCreate()
/cts/tests/tests/webkit/src/android/webkit/cts/
DTracingControllerTest.java117 ByteArrayOutputStream getOutputStream() { return outputStream; } in getOutputStream() method
195 assertThat(tracingReceiver.getOutputStream().size(), greaterThan(0));
209 assertThat(tracingReceiver.getOutputStream().size(), greaterThan(0));
/cts/hostsidetests/appsecurity/test-apps/AppAccessData/src/com/android/cts/appaccessdata/
DAccessPrivateDataTest.java195 socket.getOutputStream().write(42); in testTrafficStatsStatsUidSelf()
196 socket.getOutputStream().flush(); in testTrafficStatsStatsUidSelf()
/cts/hostsidetests/jvmti/attaching/app/src/android/jvmti/
DJvmtiActivity.java64 DataOutputStream dos = new DataOutputStream(ls.getOutputStream()); in returnResult()
/cts/tests/tests/networksecurityconfig/networksecurityconfig-downloadmanager/src/android/security/net/config/cts/
DDownloadManagerTest.java131 s.getOutputStream().write(HTTP_RESPONSE.getBytes()); in runServer()
132 s.getOutputStream().flush(); in runServer()
/cts/tests/mediapc/src/android/mediapc/cts/
DPost.java103 new BufferedOutputStream(connection.getOutputStream())) { in send()
/cts/tests/tests/os/src/android/os/cts/
DMemoryFileTest.java70 OutputStream out = mMemoryFile.getOutputStream(); in testGetOutputStream()
DStrictModeTest.java449 socket.getOutputStream().close(); in testUntaggedSocketsRaw()
458 socket.getOutputStream().close(); in testUntaggedSocketsRaw()
549 socket.getOutputStream().close(); in testNetwork()
DParcelFileDescriptorTest.java196 OutputStream out = sSocket.getOutputStream(); in testFromSocket()
/cts/tests/tests/companion/PermissionsSyncTestApp/src/android/os/cts/companiontestapp/
DMainActivity.java204 socket.getOutputStream()); in startPermissionsSync()
315 socket.getOutputStream()); in run()
/cts/hostsidetests/appsecurity/test-apps/UseProcessSuccess/src/com/android/cts/useprocess/
DBaseNetworkService.java173 OutputStream out = socket.getOutputStream();
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/
DDataPathInBandTestCase.java306 OutputStream os = socket.getOutputStream(); in executeTestSubscriber()
405 OutputStream os = socket.getOutputStream(); in executeTestPublisher()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/targetprep/
DCecPortDiscoverer.java175 new OutputStreamWriter(mCecClient.getOutputStream())); in initValidClient()
/cts/hostsidetests/jdwptunnel/src/android/jdwptunnel/cts/
DJdwpTunnelTest.java326 OutputStream os = sock.getOutputStream(); in testDdmsWaitsForHandshake()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBluetoothChatService.java551 tmpOut = socket.getOutputStream(); in ConnectedThread()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
DPowerTestHostLink.java136 streamOut = receiverSocket.getOutputStream(); in run()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DNetworkLoggingTest.java424 final PrintStream output = new PrintStream(socket.getOutputStream()); in startFakeServer()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DHdmiCecClientWrapper.java141 new OutputStreamWriter(mCecClient.getOutputStream()), in initValidCecClient()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java125 sockets[0].getOutputStream().write(42); in testTlsHandshake()
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java1049 OutputStream outputstream = conn.getOutputStream(); in testStagefright_bug_68342866()
1348 OutputStream outputstream = conn.getOutputStream(); in testStagefright_cve_2016_3880()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java810 mOpenSocket.getOutputStream().write(b.array(), 0, b.capacity()); in run()
814 mOpenSocket.getOutputStream().write(barray); in run()
816 mOpenSocket.getOutputStream().flush(); in run()

12