/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | MacAuthenticatedInputStreamTest.java | 75 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/core/java/com/android/internal/os/ |
D | InstallerConnection.java | 220 private boolean readFully(byte[] buffer, int len) { in readFully() method in InstallerConnection 222 Streams.readFully(mIn, buffer, 0, len); in readFully() 237 if (!readFully(buf, 2)) { in readReply() 248 if (!readFully(buf, len)) { in readReply()
|
D | BatteryStatsHelper.java | 201 byte[] data = readFully(fin); in statsFromFile() 725 public static byte[] readFully(FileInputStream stream) throws java.io.IOException { in readFully() method in BatteryStatsHelper 726 return readFully(stream, stream.available()); in readFully() 729 public static byte[] readFully(FileInputStream stream, int avail) throws java.io.IOException { in readFully() method in BatteryStatsHelper 767 byte[] data = readFully(fis, MemoryFile.getSize(pfd.getFileDescriptor())); in getStats()
|
D | AtomicFile.java | 150 public byte[] readFully() throws IOException { in readFully() method in AtomicFile
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
D | WifiP2pDnsSdServiceResponse.java | 246 dis.readFully(data); in readDnsName() 271 dis.readFully(data); in readTxtData()
|
D | WifiP2pServiceResponse.java | 245 dis.readFully(data); in newInstance()
|
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/ |
D | BandwidthEnforcementTestService.java | 99 final String content = Streams.readFully( in testUrlConnection() 123 final String content = Streams.readFully( in testUrlConnectionv6()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 726 in.readFully(buffer, 0, nBytes); in onRestoreFile() 733 in.readFully(buffer, 0, nBytes); in onRestoreFile() 741 in.readFully(buffer, 0, nBytes); in onRestoreFile() 750 in.readFully(buffer, 0, nBytes); in onRestoreFile() 757 in.readFully(buffer, 0, nBytes); in onRestoreFile() 772 in.readFully(buffer, 0, nBytes); in onRestoreFile() 780 in.readFully(buffer, 0, nBytes); in onRestoreFile() 790 in.readFully(buffer, 0, nBytes); in onRestoreFile() 800 in.readFully(buffer, 0, nBytes); in onRestoreFile()
|
/frameworks/support/v4/java/android/support/v4/util/ |
D | AtomicFile.java | 175 public byte[] readFully() throws IOException { in readFully() method in AtomicFile
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GpsXtraDownloader.java | 127 return Streams.readFully(connection.getInputStream()); in doDownload()
|
/frameworks/base/core/java/android/util/ |
D | AtomicFile.java | 220 public byte[] readFully() throws IOException { in readFully() method in AtomicFile
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileBridgeTest.java | 74 MoreAsserts.assertEquals(expected, Streams.readFully(new FileInputStream(file))); in assertContents()
|
/frameworks/base/core/java/android/util/apk/ |
D | ZipUtils.java | 125 zip.readFully(buf.array(), buf.arrayOffset(), buf.capacity()); in findZipEndOfCentralDirectoryRecord()
|
D | ApkSignatureSchemeV2Verifier.java | 879 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/ |
D | WifiCertManager.java | 125 stream.readFully(bytes); in readConfigFile()
|
/frameworks/support/tests/java/android/support/v4/content/ |
D | FileProviderTest.java | 321 MoreAsserts.assertEquals(expected, readFully(in)); in assertContentsEquals() 370 private static byte[] readFully(InputStream in) throws IOException { in readFully() method in FileProviderTest
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarManifest.java | 87 read(Streams.readFully(is)); in StrictJarManifest()
|
D | StrictJarFile.java | 259 metaEntries.put(entry.getName(), Streams.readFully(getInputStream(entry))); in getMetaEntries()
|
/frameworks/base/core/java/android/os/ |
D | RecoverySystem.java | 187 raf.readFully(footer); in verifyPackage() 198 raf.readFully(eocd); in verifyPackage()
|
D | Process.java | 546 inputStream.readFully(bytes); in getAbiList()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PacManager.java | 202 return new String(Streams.readFully(urlConnection.getInputStream())); in get()
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
D | DocumentsProviderHelper.java | 149 buf = Streams.readFully(in); in readDocument()
|
/frameworks/base/services/core/java/com/android/server/ |
D | LockSettingsStorage.java | 302 raf.readFully(stored, 0, stored.length); in readFile()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | ColorFade.java | 194 return new String(Streams.readFully(new InputStreamReader(stream))); in readFile()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerBaseTest.java | 279 final byte[] body = Streams.readFully(new FileInputStream(bodyFile)); in buildResponse()
|