Home
last modified time | relevance | path

Searched refs:maxSizeBytes (Results 1 – 12 of 12) sorted by relevance

/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/tlswire/util/
DIoUtils.java27 public static byte[] readTlsVariableLengthByteVector(DataInput in, int maxSizeBytes) in readTlsVariableLengthByteVector() argument
29 int sizeBytes = readTlsVariableLengthVectorSizeBytes(in, maxSizeBytes); in readTlsVariableLengthByteVector()
34 public static int[] readTlsVariableLengthUnsignedShortVector(DataInput in, int maxSizeBytes) in readTlsVariableLengthUnsignedShortVector() argument
36 int sizeBytes = readTlsVariableLengthVectorSizeBytes(in, maxSizeBytes); in readTlsVariableLengthUnsignedShortVector()
44 private static int readTlsVariableLengthVectorSizeBytes(DataInput in, int maxSizeBytes) in readTlsVariableLengthVectorSizeBytes() argument
46 if (maxSizeBytes < 0x100) { in readTlsVariableLengthVectorSizeBytes()
48 } else if (maxSizeBytes < 0x10000) { in readTlsVariableLengthVectorSizeBytes()
50 } else if (maxSizeBytes < 0x1000000) { in readTlsVariableLengthVectorSizeBytes()
/external/conscrypt/testing/src/main/java/org/conscrypt/tlswire/util/
DIoUtils.java23 public static byte[] readTlsVariableLengthByteVector(DataInput in, int maxSizeBytes) in readTlsVariableLengthByteVector() argument
25 int sizeBytes = readTlsVariableLengthVectorSizeBytes(in, maxSizeBytes); in readTlsVariableLengthByteVector()
30 public static int[] readTlsVariableLengthUnsignedShortVector(DataInput in, int maxSizeBytes) in readTlsVariableLengthUnsignedShortVector() argument
32 int sizeBytes = readTlsVariableLengthVectorSizeBytes(in, maxSizeBytes); in readTlsVariableLengthUnsignedShortVector()
40 private static int readTlsVariableLengthVectorSizeBytes(DataInput in, int maxSizeBytes) in readTlsVariableLengthVectorSizeBytes() argument
42 if (maxSizeBytes < 0x100) { in readTlsVariableLengthVectorSizeBytes()
44 } else if (maxSizeBytes < 0x10000) { in readTlsVariableLengthVectorSizeBytes()
46 } else if (maxSizeBytes < 0x1000000) { in readTlsVariableLengthVectorSizeBytes()
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/
DDeltaFriendlyOldBlobSizeLimiter.java49 private final long maxSizeBytes; field in DeltaFriendlyOldBlobSizeLimiter
59 public DeltaFriendlyOldBlobSizeLimiter(long maxSizeBytes) { in DeltaFriendlyOldBlobSizeLimiter() argument
60 if (maxSizeBytes < 0) { in DeltaFriendlyOldBlobSizeLimiter()
61 throw new IllegalArgumentException("maxSizeBytes must be non-negative: " + maxSizeBytes); in DeltaFriendlyOldBlobSizeLimiter()
63 this.maxSizeBytes = maxSizeBytes; in DeltaFriendlyOldBlobSizeLimiter()
73 long bytesRemaining = maxSizeBytes - oldFile.length(); in getModifiedRecommendations()
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/internalandroidapi/
DHasCacheHolder.java75 public static CacheHolder create(File directory, long maxSizeBytes) { in create() argument
76 Cache cache = new Cache(directory, maxSizeBytes); in create()
85 public boolean isEquivalent(File directory, long maxSizeBytes) { in isEquivalent() argument
87 && okHttpCache.getMaxSize() == maxSizeBytes in isEquivalent()
/external/okhttp/android/src/main/java/com/android/okhttp/internalandroidapi/
DHasCacheHolder.java73 public static CacheHolder create(File directory, long maxSizeBytes) { in create() argument
74 Cache cache = new Cache(directory, maxSizeBytes); in create()
83 public boolean isEquivalent(File directory, long maxSizeBytes) { in isEquivalent() argument
85 && okHttpCache.getMaxSize() == maxSizeBytes in isEquivalent()
/external/webrtc/webrtc/voice_engine/include/
Dvoe_file.h116 int maxSizeBytes = -1) = 0;
128 int maxSizeBytes = -1) = 0;
/external/webrtc/webrtc/voice_engine/
Dvoe_file_impl.h66 int maxSizeBytes = -1) override;
78 int maxSizeBytes = -1) override;
Dvoe_file_impl.cc306 int maxSizeBytes) { in StartRecordingPlayout() argument
310 channel, fileNameUTF8, maxSizeBytes); in StartRecordingPlayout()
380 int maxSizeBytes) { in StartRecordingMicrophone() argument
384 fileNameUTF8, maxSizeBytes); in StartRecordingMicrophone()
/external/webrtc/webrtc/modules/media_file/
Dmedia_file.h130 const uint32_t maxSizeBytes = 0) = 0;
Dmedia_file_impl.cc734 const uint32_t maxSizeBytes) in StartRecordingAudioFile() argument
762 if(maxSizeBytes) in StartRecordingAudioFile()
764 outputStream->SetMaxFileSize(maxSizeBytes); in StartRecordingAudioFile()
Dmedia_file_impl.h70 const uint32_t maxSizeBytes = 0) override;
/external/webrtc/webrtc/test/
Dmock_voice_engine.h208 int maxSizeBytes));
215 int maxSizeBytes));