Home
last modified time | relevance | path

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

123

/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptor_AutoCloseInputStreamTest.java258 AssetFileDescriptor.AutoCloseInputStream input = getInputStream(); in testGetChannel()
267 AssetFileDescriptor.AutoCloseInputStream input = getInputStream(); in testOffsetCorrectFileChannelSize()
274 AssetFileDescriptor.AutoCloseInputStream input = getInputStream(); in testOffsetCorrectFileChannelReadBuffer()
293 AssetFileDescriptor.AutoCloseInputStream input = getInputStream(); in testOffsetCorrectFileChannelReadBuffers()
311 AssetFileDescriptor.AutoCloseInputStream input = getInputStream(); in testOffsetCorrectFileChannelReadBufferFromPosition()
328 AssetFileDescriptor.AutoCloseInputStream input = getInputStream(); in testOffsetCorrectFileChannelTransferTo()
358 AssetFileDescriptor.AutoCloseInputStream input = getInputStream(); in testOffsetCorrectFileChannelMap()
374 AssetFileDescriptor.AutoCloseInputStream input = getInputStream(); in testOffsetCorrectFileChannelWriteBuffer()
388 AssetFileDescriptor.AutoCloseInputStream input = getInputStream(); in testOffsetCorrectFileChannelWriteBuffers()
404 AssetFileDescriptor.AutoCloseInputStream input = getInputStream(); in testOffsetCorrectFileChannelWriteBufferFromPosition()
[all …]
/cts/tests/net/src/android/net/cts/
DLocalSocketTest.java96 InputStream serverInStream = serverSocket.getInputStream(); in testLocalConnections()
102 InputStream clientInStream = clientSocket.getInputStream(); in testLocalConnections()
210 clientSocket.getInputStream().read(); in testSetSoTimeout_readTimeout()
272 InputStream serverInputStream = serverSocket.getInputStream(); in testAvailable()
279 InputStream clientInputStream = clientSocket.getInputStream(); in testAvailable()
310 InputStream serverInputStream = serverSocket.getInputStream(); in testLocalSocketCreatedFromFileDescriptor()
334 InputStream serverInputStream = serverSocket.getInputStream(); in testFlush()
338 InputStream clientInputStream = clientSocket.getInputStream(); in testFlush()
375 final InputStream is = s2.getInputStream(); in sendAndReceiveBytes()
/cts/tests/tests/apache-http/src/android/net/http/cts/
DHttpResponseCacheTest.java140 InputStream inputStream1 = c1.getInputStream(); in testStatisticsTracking()
149 assertEquals('A', c2.getInputStream().read()); in testStatisticsTracking()
152 assertEquals('A', c3.getInputStream().read()); in testStatisticsTracking()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/proxy/
DPassthroughTestHelper.java61 InputStream serverRead = serverSock.getInputStream(); in runTest()
80 mClientRead = s.getInputStream(); in createHttpConnectConnection()
/cts/tests/tests/util/src/android/util/cts/
DStrictJarFileTest.java147 assertEquals("Blah", readUtf8String(jarFile.getInputStream(ze))); in checkIteration()
183 assertEquals("Blah", readUtf8String(jarFile.getInputStream(ze))); in checkFindEntry()
230 jarFile.getInputStream(zipEntry).skip(Long.MAX_VALUE); in checkJarSigning_wellFormed()
257 jarFile.getInputStream(ze).skip(Long.MAX_VALUE); in checkJarSigning_fudgedEntry()
262 jarFile.getInputStream(ze).skip(Long.MAX_VALUE); in checkJarSigning_fudgedEntry()
289 jarFile.getInputStream(ze).skip(Long.MAX_VALUE); in checkJarSigning_modifiedClass()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DTestSuiteTradefedParser.java120 InputStream xmlStream = zip.getInputStream(entry); in praseKnownFailure()
156 InputStream inStream = zip.getInputStream(entry); in parseFile()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/suplClient/
DSuplTcpClient.java47 bufferedInputStream = new BufferedInputStream(socket.getInputStream()); in SuplTcpClient()
/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/
DTestUtils.java115 connection.getInputStream(); in assertUrlConnectionFails()
125 connection.getInputStream(); in assertUrlConnectionSucceeds()
/cts/tests/tests/classloaderfactory/src/android/app/classloaderfactory/cts/
DInMemoryDexClassLoaderFactory.java46 InputStream zipIS = zipFile.getInputStream(zipEntry); in instantiateClassLoader()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DPropertyUtil.java267 scanner = new Scanner(process.getInputStream()); in getProperty()
286 scanner = new Scanner(process.getInputStream()); in getPropertiesWithPrefix()
/cts/hostsidetests/jvmti/attaching/app/src/android/jvmti/
DJvmtiActivity.java68 while (-1 != ls.getInputStream().read()) {} in returnResult()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DStorageDeviceInfo.java70 Scanner scanner = new Scanner(df.getInputStream()); in scanPartitions()
/cts/hostsidetests/adb/src/android/adb/cts/
DAdbHostTest.java77 BufferedReader br = new BufferedReader(new InputStreamReader(p.getInputStream())); in testHasMsOsDescriptors()
/cts/hostsidetests/jdwpsecurity/src/android/jdwpsecurity/cts/
DJdwpSecurityHostTest.java151 br = new BufferedReader(new InputStreamReader(scriptProcess.getInputStream())); in readScriptPid()
216 in = adbProcess.getInputStream(); in listPidsWithAdbJdwp()
/cts/hostsidetests/packagemanager/parsing/processing/api/src/android/content/pm/parsing/cts/generator/api/
DApkGenerator.kt77 zipFile.getInputStream(entry).use { input -> in <lambda>()
/cts/tests/mediapc/src/android/mediapc/cts/
DPost.java110 ? new BufferedInputStream(connection.getInputStream()) in send()
/cts/tests/tests/os/src/android/os/cts/
DMemoryFileTest.java74 InputStream in = mMemoryFile.getInputStream(); in testGetOutputStream()
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
DMyProvider.java134 final int val = socket.getInputStream().read(); in run()
/cts/tests/tests/companion/PermissionsSyncTestApp/src/android/os/cts/companiontestapp/
DMainActivity.java203 socket.getInputStream(), in startPermissionsSync()
314 socket.getInputStream(), in run()
/cts/tests/signature/lib/android/src/android/signature/cts/
DVirtualPath.java133 return zip.getInputStream(entry); in newInputStream()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerNegativeTest.java124 try (BufferedReader r = new BufferedReader(new InputStreamReader(p.getInputStream()))) { in runCommand()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApkNdkApiReport.java149 InputStream is = apkFile.getInputStream(entry); in parseTestcasesFolder()
/cts/hostsidetests/appsecurity/test-apps/UseProcessSuccess/src/com/android/cts/useprocess/
DBaseNetworkService.java191 InputStream in = socket.getInputStream();
/cts/tests/tests/selinux/common/src/android/security/
DSELinuxTargetSdkTestBase.java43 scanner = new Scanner(process.getInputStream()); in getProperty()
/cts/hostsidetests/security/src/android/security/cts/
DSELinuxNeverallowRule.java172 BufferedReader result = new BufferedReader(new InputStreamReader(p.getInputStream())); in testNeverallowRule()

123