Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/coretests/src/android/content/pm/
DMacAuthenticatedInputStreamTest.java77 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); in testString1Authenticate_Success()
88 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); in testString1Authenticate_WrongTag_Failure()
99 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is))); in testString1Authenticate_NullTag_Failure()
/frameworks/support/core/ktx/src/main/java/androidx/core/util/
DAtomicFile.kt71 inline fun AtomicFile.readBytes(): ByteArray = readFully() in readBytes()
80 return readFully().toString(charset) in readBytes()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java355 in.readFully(buffer, 0, nBytes); in onRestoreFile()
362 in.readFully(buffer, 0, nBytes); in onRestoreFile()
370 in.readFully(buffer, 0, nBytes); in onRestoreFile()
379 in.readFully(buffer, 0, nBytes); in onRestoreFile()
388 in.readFully(supplicant_buffer, 0, supplicant_size); in onRestoreFile()
394 in.readFully(ipconfig_buffer, 0, nBytes); in onRestoreFile()
403 in.readFully(buffer, 0, nBytes); in onRestoreFile()
413 in.readFully(buffer, 0, nBytes); in onRestoreFile()
423 in.readFully(buffer, 0, nBytes); in onRestoreFile()
432 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.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.cpp94 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/support/compat/src/main/java/androidx/core/util/
DAtomicFile.java182 public byte[] readFully() throws IOException { in readFully() method in AtomicFile
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java223 byte[] data = readFully(fin); in statsFromFile()
825 public static byte[] readFully(FileInputStream stream) throws java.io.IOException { in readFully() method in BatteryStatsHelper
826 return readFully(stream, stream.available()); in readFully()
829 public static byte[] readFully(FileInputStream stream, int avail) throws java.io.IOException { in readFully() method in BatteryStatsHelper
1035 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()
DApkSigningBlockUtils.java701 apk.readFully(footer.array(), footer.arrayOffset(), footer.capacity()); in findApkSigningBlock()
723 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/backup/java/com/android/server/backup/
DBackupPasswordManager.java302 dataInputStream.readFully(salt); in deserialize()
/frameworks/support/compat/src/androidTest/java/androidx/core/content/
DFileProviderTest.java370 assertArrayEquals(expected, readFully(in)); in assertContentsEquals()
419 private static byte[] readFully(InputStream in) throws IOException { in readFully() method in FileProviderTest
/frameworks/base/telephony/java/android/telephony/
DUiccAccessRule.java112 input.readFully(certificateHash); in decodeRules()
/frameworks/base/core/java/android/os/
DRecoverySystem.java224 raf.readFully(footer); in verifyPackage()
235 raf.readFully(eocd); in verifyPackage()
372 Streams.readFully(zis, bytes); in verifyPackageCompatibility()
/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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java513 return mAtomicFile.readFully(); in readRawData()
/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()

123