Home
last modified time | relevance | path

Searched defs:inputStream (Results 1 – 25 of 97) sorted by relevance

1234

/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DTarBackupReaderTest.java104 InputStream inputStream = mContext.getResources().openRawResource( in readTarHeaders_backupEncrypted_correctlyParsesFileMetadata() local
121 InputStream inputStream = mContext.getResources().openRawResource( in readTarHeaders_backupNotEncrypted_correctlyParsesFileMetadata() local
139 InputStream inputStream = mContext.getResources().openRawResource( in readTarHeaders_backupNotEncrypted_correctlyReadsPaxHeader() local
178 InputStream inputStream = mContext.getResources().openRawResource( in readAppManifest_backupEncrypted_correctlyParsesAppManifest() local
199 InputStream inputStream = mContext.getResources().openRawResource( in readAppManifest_backupNotEncrypted_correctlyParsesAppManifest() local
220 InputStream inputStream = mContext.getResources().openRawResource( in chooseRestorePolicy_signaturesIsNull_returnsIgnore() local
238 InputStream inputStream = mContext.getResources().openRawResource( in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndHasApk_returnsAcceptIfApk() local
263 InputStream inputStream = mContext.getResources().openRawResource( in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndDoesNotHaveApk_returnsAcceptIfApkLogsCannotRestore() local
291 InputStream inputStream = mContext.getResources().openRawResource( in chooseRestorePolicy_packageDoesNotExistAndDoesNotAllowApks_returnsIgnore() local
312 InputStream inputStream = mContext.getResources().openRawResource( in chooseRestorePolicy_doesNotAllowsBackup_returnsIgnore() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/restore/
DPerformAdbRestoreTaskTest.java53 InputStream inputStream = mContext.getResources().openRawResource( in parseBackupFileAndReturnTarStream_backupNotEncrypted_returnsNonNull() local
65 InputStream inputStream = mContext.getResources().openRawResource( in parseBackupFileAndReturnTarStream_backupEncryptedAndPasswordProvided_returnsNonNull() local
77 InputStream inputStream = mContext.getResources().openRawResource( in parseBackupFileAndReturnTarStream_backupEncryptedAndPasswordNotProvided_returnsNull() local
89 InputStream inputStream = mContext.getResources().openRawResource( in parseBackupFileAndReturnTarStream_backupEncryptedAndIncorrectPassword_returnsNull() local
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardParserTests.java94 InputStream inputStream = getContext().getResources().openRawResource(R.raw.v21_simple_1); in testSimple() local
112 InputStream inputStream = getContext().getResources().openRawResource(R.raw.v21_nest); in testNest() local
146 …InputStream inputStream = getContext().getResources().openRawResource(R.raw.v30_ios_613_multiline); in testIosMultiline() local
177 InputStream inputStream = in testParseOne() local
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/cdc/
DContentDefinedChunkerTest.java123 ByteArrayInputStream inputStream = new ByteArrayInputStream(input); in chunkify_withLargeChunks_splitsIntoChunksAcrossBoundaries() local
138 ByteArrayInputStream inputStream = new ByteArrayInputStream(input); in chunkify_withSmallChunks_combinesChunksUntilMinSize() local
154 ByteArrayInputStream inputStream = new ByteArrayInputStream(largeInput); in chunkify_doesNotProduceChunksLargerThanMaxSize() local
200 ByteArrayInputStream inputStream = new ByteArrayInputStream(new byte[] {1}); in chunkify_whenConsumerThrowsException_rethrowsException() local
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
DFrameTimingStats.java68 public FrameTimingStats(DataInputStream inputStream) throws IOException { in FrameTimingStats()
73 public void update(DataInputStream inputStream) throws IOException { in update()
/frameworks/av/media/libstagefright/tests/writer/
DWriterUtility.cpp25 int32_t sendBuffersToWriter(ifstream &inputStream, vector<BufferInfo> &bufferInfo, in sendBuffersToWriter()
83 int32_t writeHeaderBuffers(ifstream &inputStream, vector<BufferInfo> &bufferInfo, in writeHeaderBuffers()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointXmlUtilsTest.java196 final ByteArrayInputStream inputStream = in serializeAndDeserializePasspointConfiguration() local
238 final ByteArrayInputStream inputStream = in deserializePasspointConfigurationWithUnknownTag() local
DPasspointConfigSharedStoreDataTest.java79 final ByteArrayInputStream inputStream = new ByteArrayInputStream(data); in deserializeData() local
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_decode_header.cpp115 ERROR_CODE pvmp3_decode_header(tmp3Bits *inputStream, in pvmp3_decode_header()
Dpvmp3_get_side_info.cpp114 ERROR_CODE pvmp3_get_side_info(tmp3Bits *inputStream, in pvmp3_get_side_info()
Dpvmp3_crc.cpp123 uint32 getbits_crc(tmp3Bits *inputStream, /* bit stream structure */ in getbits_crc()
Dpvmp3_seek_synch.cpp282 ERROR_CODE pvmp3_header_sync(tmp3Bits *inputStream) in pvmp3_header_sync()
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/
DChunker.java33 void chunkify(InputStream inputStream, ChunkConsumer chunkConsumer) in chunkify()
/frameworks/base/services/core/java/com/android/server/
DPersistentDataBlockService.java240 private int getTotalDataSizeLocked(DataInputStream inputStream) throws IOException { in getTotalDataSizeLocked()
315 DataInputStream inputStream; in computeDigestLocked() local
411 DataInputStream inputStream; in doGetOemUnlockEnabled() local
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunk/
DChunk.java20 static Chunk readFromProto(ProtoInputStream inputStream) throws IOException { in readFromProto()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifReader.java44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, in read()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DXmlUtilTest.java543 ByteArrayInputStream inputStream = new ByteArrayInputStream(data); in deserializeWifiConfiguration() local
611 ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray()); in serializeDeserializeIpConfiguration() local
634 ByteArrayInputStream inputStream = new ByteArrayInputStream(data); in deserializeNetworkSelectionStatus() local
666 ByteArrayInputStream inputStream = new ByteArrayInputStream(data); in deserializeWifiEnterpriseConfig() local
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotDeserializer.java76 public static KeyChainSnapshot deserialize(InputStream inputStream) in deserialize()
85 private static KeyChainSnapshot deserializeInternal(InputStream inputStream) throws IOException, in deserializeInternal()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DFullRestoreEngineThread.java28 FullRestoreEngineThread(FullRestoreEngine engine, InputStream inputStream) { in FullRestoreEngineThread()
/frameworks/ex/framesequence/jni/
DStream.h76 JavaInputStream(JNIEnv* env, jobject inputStream, jbyteArray byteArray) : in JavaInputStream()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DLayoutPullParser.java73 private LayoutPullParser(@NonNull InputStream inputStream) { in LayoutPullParser()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DPictureCaptureDemo.java143 PipedInputStream inputStream = new PipedInputStream(); in deepCopy() local
/frameworks/base/mime/java/android/content/type/
DDefaultMimeMapFactory.java78 try (InputStream inputStream = Objects.requireNonNull(resourceSupplier.apply(resourceName)); in parseTypes()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DTestConferenceEventPackageParser.java75 public TestConferenceEventPackageParser(InputStream inputStream) { in TestConferenceEventPackageParser()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DRandomizedMacStoreDataTest.java80 final ByteArrayInputStream inputStream = new ByteArrayInputStream(data); in deserializeData() local

1234