Home
last modified time | relevance | path

Searched refs:Streams (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/content/pm/
DMacAuthenticatedInputStreamTest.java24 import libcore.io.Streams;
80 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); in testString1Authenticate_Success()
91 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); in testString1Authenticate_WrongTag_Failure()
102 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); in testString1Authenticate_NullTag_Failure()
/frameworks/base/services/companion/java/com/android/server/companion/transport/
DRawTransport.java25 import libcore.io.Streams;
107 Streams.readFully(mRemoteIn, headerBytes); in receiveMessage()
113 Streams.readFully(mRemoteIn, data); in receiveMessage()
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/util/
DModuleClassLoader.java24 import libcore.io.Streams;
57 byte[] b = Streams.readFully(classStream); in findClass()
/frameworks/base/services/companion/java/com/android/server/companion/securechannel/
DSecureChannel.java35 import libcore.io.Streams;
278 Streams.readFully(mInput, headerBytes); in readMessage()
284 Streams.skipByReading(mInput, Long.MAX_VALUE); in readMessage()
290 Streams.skipByReading(mInput, Long.MAX_VALUE); in readMessage()
299 Streams.readFully(mInput, lengthBytes); in readMessage()
307 Streams.skipByReading(mInput, Long.MAX_VALUE); in readMessage()
311 Streams.readFully(mInput, data); in readMessage()
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
DBandwidthEnforcementTestService.java27 import libcore.io.Streams;
102 final String content = Streams.readFully( in testUrlConnection()
126 final String content = Streams.readFully( in testUrlConnectionv6()
/frameworks/base/drm/java/android/drm/
DDrmOutputStream.java31 import libcore.io.Streams;
117 Streams.writeSingleByte(this, oneByte); in write()
/frameworks/base/core/java/android/util/jar/
DStrictJarManifest.java22 import libcore.io.Streams;
93 read(Streams.readFully(is)); in StrictJarManifest()
192 read(Streams.readFullyNoClose(is)); in read()
DStrictJarFile.java39 import libcore.io.Streams;
302 metaEntries.put(entry.getName(), Streams.readFully(getInputStream(entry))); in getMetaEntries()
385 return Streams.skipByReading(this, byteCount); in skip()
462 return Streams.readSingleByte(this); in read()
/frameworks/base/core/java/android/os/
DFileBridge.java30 import libcore.io.Streams;
192 Streams.writeSingleByte(this, oneByte); in write()
/frameworks/base/core/tests/coretests/src/android/os/
DFileBridgeTest.java33 import libcore.io.Streams;
91 MoreAsserts.assertEquals(expected, Streams.readFully(new FileInputStream(file))); in assertContents()
/frameworks/native/libs/bufferstreams/
DREADME.md1 # libbufferstreams: Reactive Streams for Graphics Buffers
/frameworks/base/services/core/java/com/android/server/updates/
DCertificateTransparencyLogInstallReceiver.java27 import libcore.io.Streams;
100 byte[] content = Streams.readFullyNoClose(inputStream); in install()
DConfigUpdateInstallReceiver.java31 import libcore.io.Streams;
205 Streams.copy(inputStream, out); in writeUpdate()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestUtils.java30 import libcore.io.Streams;
161 Streams.copy(stream, new FileOutputStream(file)); in writeInputStreamToFile()
/frameworks/base/core/tests/coretests/src/android/util/apk/
DSourceStampVerifierTest.java34 import libcore.io.Streams;
257 return Streams.readFully(apkZipFile.getInputStream(stampCertZipEntry)); in getSourceStampCertificateHashFromApk()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DDeviceConfigServiceTest.java36 import libcore.io.Streams;
211 Streams.readFully(is); in executeShellCommand()
DBaseSettingsProviderTest.java32 import libcore.io.Streams;
372 Streams.readFully(is); in executeShellCommand()
/frameworks/base/core/java/android/util/apk/
DSourceStampVerifier.java32 import libcore.io.Streams;
426 return Streams.readFully(apkJar.getInputStream(zipEntry)); in getSourceStampCertificateDigest()
434 return Streams.readFully(apkJar.getInputStream(zipEntry)); in getManifestBytes()
/frameworks/base/packages/SettingsLib/AvatarPicker/src/
DAvatarPhotoController.java46 import libcore.io.Streams;
174 Streams.copy(in, out); in copyAndCropPhoto()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java46 import libcore.io.Streams;
343 Streams.copy(bis, fos); in openDocumentThumbnail()
/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageManagerBaseTest.java28 import libcore.io.Streams;
185 Streams.copy(in, out); in createObbFile()
/frameworks/av/media/libaudiohal/impl/
DHal2AidlMapper.h133 using Streams = std::map<wp<StreamHalInterface>, variable
231 Streams mStreams;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DExifInterfaceTest.java45 import libcore.io.Streams;
178 Streams.copy(inputStream, outputStream); in setUp()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportReceiverTest.java78 import libcore.io.Streams;
790 String actualContent = new String(Streams.readFully(is)); in assertContent()
805 Streams.copy(zis, bos); in assertZipContent()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/cpu/
DCpuInfoReaderTest.java34 import libcore.io.Streams;
564 Streams.copy(in, out); in copyAssets()

12