Home
last modified time | relevance | path

Searched refs:readFully (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/content/pm/
DMacAuthenticatedInputStreamTest.java75 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); in testString1Authenticate_Success()
86 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); in testString1Authenticate_WrongTag_Failure()
97 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); in testString1Authenticate_NullTag_Failure()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java359 in.readFully(buffer, 0, nBytes); in onRestoreFile()
366 in.readFully(buffer, 0, nBytes); in onRestoreFile()
374 in.readFully(buffer, 0, nBytes); in onRestoreFile()
383 in.readFully(buffer, 0, nBytes); in onRestoreFile()
392 in.readFully(supplicant_buffer, 0, supplicant_size); in onRestoreFile()
398 in.readFully(ipconfig_buffer, 0, nBytes); in onRestoreFile()
407 in.readFully(buffer, 0, nBytes); in onRestoreFile()
417 in.readFully(buffer, 0, nBytes); in onRestoreFile()
427 in.readFully(buffer, 0, nBytes); in onRestoreFile()
436 in.readFully(buffer, 0, nBytes); in onRestoreFile()
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pDnsSdServiceResponse.java246 dis.readFully(data); in readDnsName()
271 dis.readFully(data); in readTxtData()
DWifiP2pServiceResponse.java237 dis.readFully(data); in newInstance()
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
DBandwidthEnforcementTestService.java99 final String content = Streams.readFully( in testUrlConnection()
123 final String content = Streams.readFully( in testUrlConnectionv6()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
DModuleClassLoader.java52 byte[] b = Streams.readFully(getResourceAsStream(myModuleRoot + path)); in findClass()
/frameworks/support/compat/java/android/support/v4/util/
DAtomicFile.java175 public byte[] readFully() throws IOException { in readFully() method in AtomicFile
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java219 byte[] data = readFully(fin); in statsFromFile()
800 public static byte[] readFully(FileInputStream stream) throws java.io.IOException { in readFully() method in BatteryStatsHelper
801 return readFully(stream, stream.available()); in readFully()
804 public static byte[] readFully(FileInputStream stream, int avail) throws java.io.IOException { in readFully() method in BatteryStatsHelper
980 byte[] data = readFully(fis, MemoryFile.getSize(pfd.getFileDescriptor())); in getStats()
DAtomicFile.java150 public byte[] readFully() throws IOException { in readFully() method in AtomicFile
/frameworks/base/core/tests/coretests/src/android/os/
DFileBridgeTest.java74 MoreAsserts.assertEquals(expected, Streams.readFully(new FileInputStream(file))); in assertContents()
/frameworks/base/core/java/android/util/apk/
DZipUtils.java125 zip.readFully(buf.array(), buf.arrayOffset(), buf.capacity()); in findZipEndOfCentralDirectoryRecord()
DApkSignatureSchemeV2Verifier.java879 apk.readFully(footer.array(), footer.arrayOffset(), footer.capacity()); in findApkSigningBlock()
901 apk.readFully(apkSigBlock.array(), apkSigBlock.arrayOffset(), apkSigBlock.capacity()); in findApkSigningBlock()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiCertManager.java125 stream.readFully(bytes); in readConfigFile()
DWifiConfigStore.java489 return mAtomicFile.readFully(); in readRawData()
/frameworks/base/core/java/android/util/
DAtomicFile.java222 public byte[] readFully() throws IOException { in readFully() method in AtomicFile
/frameworks/support/core-utils/tests/java/android/support/v4/content/
DFileProviderTest.java361 MoreAsserts.assertEquals(expected, readFully(in)); in assertContentsEquals()
410 private static byte[] readFully(InputStream in) throws IOException { in readFully() method in FileProviderTest
/frameworks/base/core/java/android/os/
DRecoverySystem.java209 raf.readFully(footer); in verifyPackage()
220 raf.readFully(eocd); in verifyPackage()
357 Streams.readFully(zis, bytes); in verifyPackageCompatibility()
DZygoteProcess.java241 inputStream.readFully(bytes); in getAbiList()
/frameworks/base/core/java/android/util/jar/
DStrictJarManifest.java87 read(Streams.readFully(is)); in StrictJarManifest()
DStrictJarFile.java302 metaEntries.put(entry.getName(), Streams.readFully(getInputStream(entry))); in getMetaEntries()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DBaseSettingsProviderTest.java353 Streams.readFully(is); in executeShellCommand()
/frameworks/base/media/java/android/media/
DExifInterface.java2471 makerNoteDataInputStream.readFully(makerNoteHeader1Bytes); in getOrfAttributes()
2474 makerNoteDataInputStream.readFully(makerNoteHeader2Bytes); in getOrfAttributes()
2883 dataInputStream.readFully(bytes); in readImageFileDirectory()
3021 in.readFully(thumbnailBytes); in handleThumbnailFromJfif()
3573 public void readFully(byte[] buffer, int offset, int length) throws IOException { in readFully() method in ExifInterface.ByteOrderedDataInputStream
3584 public void readFully(byte[] buffer) throws IOException { in readFully() method in ExifInterface.ByteOrderedDataInputStream
/frameworks/support/exifinterface/src/android/support/media/
DExifInterface.java2409 makerNoteDataInputStream.readFully(makerNoteHeader1Bytes); in getOrfAttributes()
2412 makerNoteDataInputStream.readFully(makerNoteHeader2Bytes); in getOrfAttributes()
2825 dataInputStream.readFully(bytes); in readImageFileDirectory()
2961 in.readFully(thumbnailBytes); in handleThumbnailFromJfif()
3540 public void readFully(byte[] buffer, int offset, int length) throws IOException { in readFully() method in ExifInterface.ByteOrderedDataInputStream
3551 public void readFully(byte[] buffer) throws IOException { in readFully() method in ExifInterface.ByteOrderedDataInputStream
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java113 mPipe.readFully(receivedData); in run()
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java194 return new String(Streams.readFully(new InputStreamReader(stream))); in readFile()

123