Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/content/pm/
DMacAuthenticatedInputStreamTest.java78 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); in testString1Authenticate_Success()
89 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); in testString1Authenticate_WrongTag_Failure()
100 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); in testString1Authenticate_NullTag_Failure()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java360 in.readFully(buffer, 0, nBytes); in onRestoreFile()
368 in.readFully(buffer, 0, nBytes); in onRestoreFile()
376 in.readFully(buffer, 0, nBytes); in onRestoreFile()
386 in.readFully(buffer, 0, nBytes); in onRestoreFile()
395 in.readFully(supplicant_buffer, 0, supplicant_size); in onRestoreFile()
401 in.readFully(ipconfig_buffer, 0, nBytes); in onRestoreFile()
410 in.readFully(buffer, 0, nBytes); in onRestoreFile()
420 in.readFully(buffer, 0, nBytes); in onRestoreFile()
430 in.readFully(buffer, 0, nBytes); in onRestoreFile()
439 in.readFully(buffer, 0, nBytes); in onRestoreFile()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DKeyRevocationList.java135 return fromJsonString(readFully(stream)); in fromUrl()
139 private static String readFully(InputStream in) throws IOException { in readFully() method in KeyRevocationList
/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.java102 final String content = Streams.readFully( in testUrlConnection()
126 final String content = Streams.readFully( in testUrlConnectionv6()
/frameworks/base/cmds/incidentd/src/
DFdBuffer.h51 status_t readFully(int fd);
DFdBuffer.cpp105 status_t FdBuffer::readFully(int fd) { in readFully() function in android::os::incidentd::FdBuffer
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
DModuleClassLoader.java52 byte[] b = Streams.readFully(getResourceAsStream(myModuleRoot + path)); in findClass()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java337 raw = file.readFully(); in readFileToParcel()
380 raw = file.readFully(); in writeToParcel()
DBatteryStatsHelper.java231 byte[] data = readFully(fin); in statsFromFile()
850 public static byte[] readFully(FileInputStream stream) throws java.io.IOException { in readFully() method in BatteryStatsHelper
851 return readFully(stream, stream.available()); in readFully()
854 public static byte[] readFully(FileInputStream stream, int avail) throws java.io.IOException { in readFully() method in BatteryStatsHelper
1065 byte[] data = readFully(fis, MemoryFile.getSize(pfd.getFileDescriptor())); in getStats()
DAtomicFile.java161 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()
DApkSigningBlockUtils.java681 apk.readFully(footer.array(), footer.arrayOffset(), footer.capacity()); in findApkSigningBlock()
703 apk.readFully(apkSigBlock.array(), apkSigBlock.arrayOffset(), apkSigBlock.capacity()); in findApkSigningBlock()
/frameworks/base/core/java/android/util/
DAtomicFile.java259 public byte[] readFully() throws IOException { in readFully() method in AtomicFile
/frameworks/base/services/core/java/com/android/server/testharness/
DTestHarnessModeService.java425 is.readFully(adbKeys); in fromBytes()
428 is.readFully(adbTempKeys); in fromBytes()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupPasswordManager.java302 dataInputStream.readFully(salt); in deserialize()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DDeviceConfigServiceTest.java166 Streams.readFully(is); in executeShellCommand()
DBaseSettingsProviderTest.java356 Streams.readFully(is); in executeShellCommand()
/frameworks/base/core/java/android/util/jar/
DStrictJarManifest.java90 read(Streams.readFully(is)); in StrictJarManifest()
DStrictJarFile.java302 metaEntries.put(entry.getName(), Streams.readFully(getInputStream(entry))); in getMetaEntries()
/frameworks/base/core/java/android/os/
DRecoverySystem.java234 raf.readFully(footer); in verifyPackage()
245 raf.readFully(eocd); in verifyPackage()
383 Streams.readFully(zis, bytes); in verifyPackageCompatibility()
DZygoteProcess.java390 inputStream.readFully(bytes); in getAbiList()
824 state.mZygoteInputStream.readFully(bytes); in getZygotePid()
/frameworks/base/telephony/java/android/telephony/
DUiccAccessRule.java117 input.readFully(certificateHash); in decodeRules()

12