/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | MacAuthenticatedInputStreamTest.java | 78 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/core/java/com/android/internal/util/ |
D | FastDataInput.java | 96 public void readFully(byte[] b) throws IOException { in readFully() method in FastDataInput 97 readFully(b, 0, b.length); in readFully() 101 public void readFully(byte[] b, int off, int len) throws IOException { in readFully() method in FastDataInput 139 readFully(tmp, 0, len); in readUTF()
|
D | BinaryXmlPullParser.java | 118 mIn.readFully(magic); in setInput() 242 mIn.readFully(res); in consumeToken()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | AesEncryptionUtil.java | 51 cipherStream.readFully(iv); in decrypt() 59 cipherStream.readFully(rawCipherText); in decrypt()
|
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | KeyRevocationList.java | 135 return fromJsonString(readFully(stream)); in fromUrl() 139 private static String readFully(InputStream in) throws IOException { in readFully() method in KeyRevocationList
|
/frameworks/base/core/java/android/os/incremental/ |
D | V4Signature.java | 216 private static void readFully(InputStream stream, byte[] buffer) throws IOException { in readFully() method in V4Signature 230 readFully(stream, buffer); in readIntLE() 248 readFully(stream, bytes); in readBytes()
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/ |
D | BackupFileDecryptorTask.java | 156 input.readFully(encryptedChunkBuffer, 0, length); in decryptFileWithExplicitStarts() 198 input.readFully(plaintextChunk); in decryptFileWithInlineLengths() 365 input.readFully(chunksMetadataBytes); in getChunksMetadata()
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | SoftApConfToXmlMigrationUtilTest.java | 142 private static byte[] readFully(InputStream stream) throws IOException { in readFully() method in SoftApConfToXmlMigrationUtilTest 193 byte[] xmlBytes = readFully(xmlStream); in testConversion()
|
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/ |
D | BandwidthEnforcementTestService.java | 102 final String content = Streams.readFully( in testUrlConnection() 126 final String content = Streams.readFully( in testUrlConnectionv6()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 447 in.readFully(buffer, 0, nBytes); in onRestoreFile() 456 in.readFully(buffer, 0, nBytes); in onRestoreFile() 471 in.readFully(buffer, 0, nBytes); in onRestoreFile() 482 in.readFully(buffer, 0, nBytes); in onRestoreFile() 491 in.readFully(supplicant_buffer, 0, supplicant_size); in onRestoreFile() 497 in.readFully(ipconfig_buffer, 0, nBytes); in onRestoreFile() 506 in.readFully(buffer, 0, nBytes); in onRestoreFile() 516 in.readFully(buffer, 0, nBytes); in onRestoreFile() 526 in.readFully(buffer, 0, nBytes); in onRestoreFile() 535 in.readFully(buffer, 0, nBytes); in onRestoreFile()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
D | ModuleClassLoader.java | 52 byte[] b = Streams.readFully(getResourceAsStream(myModuleRoot + path)); in findClass()
|
/frameworks/base/cmds/incidentd/src/ |
D | FdBuffer.h | 52 status_t readFully(int fd);
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHelper.java | 189 byte[] data = readFully(fin); in statsFromFile() 535 public static byte[] readFully(FileInputStream stream) throws java.io.IOException { in readFully() method in BatteryStatsHelper 536 return readFully(stream, stream.available()); in readFully() 539 public static byte[] readFully(FileInputStream stream, int avail) throws java.io.IOException { in readFully() method in BatteryStatsHelper 691 byte[] data = readFully(fis, MemoryFile.getSize(pfd.getFileDescriptor())); in getStats()
|
D | BatteryStatsHistory.java | 347 raw = file.readFully(); in readFileToParcel() 390 raw = file.readFully(); in writeToParcel()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | FastDataTest.java | 79 assertThrows(EOFException.class, () -> in.readFully(tmp)); in testEndOfFile_Bytes_Small() 84 assertThrows(EOFException.class, () -> in.readFully(tmp)); in testEndOfFile_Bytes_Small() 308 in.readFully(tmp, 8, 32); in testBounce_Bytes()
|
/frameworks/base/core/java/android/util/apk/ |
D | ZipUtils.java | 125 zip.readFully(buf.array(), buf.arrayOffset(), buf.capacity()); in findZipEndOfCentralDirectoryRecord()
|
D | SourceStampVerifier.java | 421 return Streams.readFully(apkJar.getInputStream(zipEntry)); in getSourceStampCertificateDigest() 429 return Streams.readFully(apkJar.getInputStream(zipEntry)); in getManifestBytes()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileBridgeTest.java | 76 MoreAsserts.assertEquals(expected, Streams.readFully(new FileInputStream(file))); in assertContents()
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/chunking/ |
D | ProtoStore.java | 110 byte[] data = protoStore.readFully(); in loadProto()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | UserData.java | 174 in.readFully(conversationsPayload, 0, conversationsPayloadSize); in restore()
|
/frameworks/base/services/core/java/com/android/server/testharness/ |
D | TestHarnessModeService.java | 433 is.readFully(adbKeys); in fromBytes() 436 is.readFully(adbTempKeys); in fromBytes()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupPasswordManager.java | 302 dataInputStream.readFully(salt); in deserialize()
|
/frameworks/base/core/java/android/util/ |
D | AtomicFile.java | 290 public byte[] readFully() throws IOException { in readFully() method in AtomicFile
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | DeviceConfigServiceTest.java | 166 Streams.readFully(is); in executeShellCommand()
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarManifest.java | 93 read(Streams.readFully(is)); in StrictJarManifest()
|