Searched refs:StreamUtils (Results 1 – 10 of 10) sorted by relevance
/aosp12/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/utils/ |
H A D | StreamUtilsTest.java | 44 String resultString = StreamUtils.inputStreamToString(inputStream); in inputStreamToString() 51 assertThrows(IOException.class, () -> StreamUtils.inputStreamToString(null)); in inputStreamToString_nullInputStream_shouldThrowException() 59 assertThrows(IOException.class, () -> StreamUtils.inputStreamToString(inputStream)); in inputStreamToString_readThrowsIOException_shouldThrowException() 67 String resultString = StreamUtils.inputStreamToStringSafe(inputStream); in inputStreamToStringSafe() 74 String resultString = StreamUtils.inputStreamToStringSafe(null); in inputStreamToStringSafe_nullInputStream_shouldReturnEmpty() 84 String resultString = StreamUtils.inputStreamToStringSafe(inputStream); in inputStreamToStringSafe_readThrowsIOException_shouldReturnEmpty()
|
/aosp12/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/ |
H A D | StreamUtilsTest.java | 52 StreamUtils.copyStream(mSource, mDestination, mSourceData.length); in copyStream_copiesAllBytesIfAsked() 58 StreamUtils.copyStream(mSource, mDestination, mSourceData.length - 10); in copyStream_stopsShortIfAsked() 64 StreamUtils.copyStream(mSource, mDestination, mSourceData.length + 10); in copyStream_stopsShortIfAskedToCopyMoreThanAvailable()
|
/aosp12/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/ |
H A D | EncryptedFullBackupDataProcessor.java | 27 import com.android.server.backup.encryption.StreamUtils; 125 StreamUtils.copyStream(mInputStream, mOutputStream, numBytes); in pushData() 169 StreamUtils.closeQuietly(mInputStream); in closeStreams() 170 StreamUtils.closeQuietly(mOutputStream); in closeStreams()
|
H A D | EncryptedFullRestoreTask.java | 27 import com.android.server.backup.encryption.StreamUtils; 133 StreamUtils.closeQuietly(mDecryptedFileInputStream); in finish()
|
H A D | EncryptedFullBackupTask.java | 23 import com.android.server.backup.encryption.StreamUtils; 182 StreamUtils.closeQuietly(mInputStream); in call()
|
/aosp12/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/utils/ |
H A D | StreamUtils.java | 29 public final class StreamUtils { class 32 private StreamUtils() {} in StreamUtils() method in StreamUtils
|
/aosp12/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/ |
H A D | StreamUtils.java | 21 public class StreamUtils { class 23 private StreamUtils() { in StreamUtils() method in StreamUtils
|
/aosp12/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/http/ |
H A D | HttpClient.java | 38 import com.android.libraries.entitlement.utils.StreamUtils; 81 StreamUtils.inputStreamToStringSafe(mConnection.getErrorStream()), in request() 155 return StreamUtils.inputStreamToStringSafe(in); in readResponse()
|
/aosp12/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/ |
H A D | StreamUtils.java | 25 public class StreamUtils { class
|
/aosp12/packages/apps/Gallery2/ |
H A D | proguard.flags | 87 -keep class com.android.gallery3d.jpegstream.StreamUtils { *; }
|