Home
last modified time | relevance | path

Searched refs:readFully (Results 1 – 25 of 67) 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.java375 in.readFully(buffer, 0, nBytes); in onRestoreFile()
382 in.readFully(buffer, 0, nBytes); in onRestoreFile()
390 in.readFully(buffer, 0, nBytes); in onRestoreFile()
399 in.readFully(buffer, 0, nBytes); in onRestoreFile()
408 in.readFully(supplicant_buffer, 0, supplicant_size); in onRestoreFile()
414 in.readFully(ipconfig_buffer, 0, nBytes); in onRestoreFile()
423 in.readFully(buffer, 0, nBytes); in onRestoreFile()
433 in.readFully(buffer, 0, nBytes); in onRestoreFile()
443 in.readFully(buffer, 0, nBytes); in onRestoreFile()
452 in.readFully(buffer, 0, nBytes); in onRestoreFile()
/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/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/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
1008 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.java231 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/telephony/java/android/telephony/
DUiccAccessRule.java111 input.readFully(certificateHash); in decodeRules()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupPasswordManager.java302 dataInputStream.readFully(salt); in deserialize()
/frameworks/base/core/java/android/os/
DRecoverySystem.java220 raf.readFully(footer); in verifyPackage()
231 raf.readFully(eocd); in verifyPackage()
368 Streams.readFully(zis, bytes); in verifyPackageCompatibility()
DZygoteProcess.java242 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/services/core/java/com/android/server/locksettings/
DLockSettingsStorage.java171 is.readFully(hash); in fromBytes()
374 raf.readFully(stored, 0, stored.length); in readFile()
/frameworks/base/media/java/android/media/
DExifInterface.java2646 makerNoteDataInputStream.readFully(makerNoteHeader1Bytes); in getOrfAttributes()
2649 makerNoteDataInputStream.readFully(makerNoteHeader2Bytes); in getOrfAttributes()
3058 dataInputStream.readFully(bytes); in readImageFileDirectory()
3196 in.readFully(thumbnailBytes); in handleThumbnailFromJfif()
3748 public void readFully(byte[] buffer, int offset, int length) throws IOException { in readFully() method in ExifInterface.ByteOrderedDataInputStream
3759 public void readFully(byte[] buffer) throws IOException { in readFully() method in ExifInterface.ByteOrderedDataInputStream

123