Home
last modified time | relevance | path

Searched refs:byteCount (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Car/DebuggingRestrictionController/libs/
Dokio-1.15.0.jarMETA-INF/ META-INF/MANIFEST.MF okio/ okio/AsyncTimeout$Watchdog. ...
Dokhttp-3.12.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/proguard/ okhttp3/ ...
/packages/modules/GeoTZ/s2storage/src/write/java/com/android/storage/io/write/
DTypedOutputStream.java48 public void writeVarByteValue(int byteCount, long value) throws IOException { in writeVarByteValue() argument
49 if (byteCount < 1 || byteCount > 8) { in writeVarByteValue()
50 throw new IllegalArgumentException("byteCount " + byteCount + " out of range"); in writeVarByteValue()
54 if (byteCount < 8) { in writeVarByteValue()
55 long unusedBits = value & BitwiseUtils.getHighBitsMask((8 - byteCount) * 8); in writeVarByteValue()
63 for (int i = byteCount - 1; i >= 0; i--) { in writeVarByteValue()
/packages/modules/Connectivity/tests/cts/netpermission/updatestatspermission/src/android/net/cts/network/permission/
DUpdateStatsPermissionTest.java66 final int byteCount = 1024; in testUpdateDeviceStatsPermission() local
71 byte[] buf = new byte[byteCount]; in testUpdateDeviceStatsPermission()
84 + uidTxDeltaBytes + " >= " + byteCount, uidTxDeltaBytes >= byteCount); in testUpdateDeviceStatsPermission()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DMD5Calculator.java35 int byteCount; in checksum() local
36 while ((byteCount = in.read(bytes)) > 0) { in checksum()
37 digester.update(bytes, 0, byteCount); in checksum()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFingerprint.java81 public static Fingerprint fromInputStream(InputStream stream, long[] byteCount) in fromInputStream() argument
97 if ((byteCount != null) && (byteCount.length > 0)) byteCount[0] = count; in fromInputStream()
/packages/modules/Connectivity/framework-t/src/android/net/
DIpSecTransformState.java56 long byteCount, in IpSecTransformState() argument
62 mByteCount = byteCount; in IpSecTransformState()
263 public Builder setByteCount(long byteCount) { in setByteCount() argument
264 mByteCount = byteCount; in setByteCount()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dbyte_array_utils.h235 int byteCount = 0; in calculateRequiredByteCountToStoreCodePoints() local
243 byteCount += 3; in calculateRequiredByteCountToStoreCodePoints()
246 byteCount += 1; in calculateRequiredByteCountToStoreCodePoints()
251 byteCount += 1; in calculateRequiredByteCountToStoreCodePoints()
253 return byteCount; in calculateRequiredByteCountToStoreCodePoints()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DTrafficStatsTest.java121 final int byteCount = 1024; in testTrafficStatsForLocalhost() local
135 final byte[] buf = new byte[byteCount]; in testTrafficStatsForLocalhost()
163 final byte[] buf = new byte[byteCount]; in testTrafficStatsForLocalhost()
164 while (read < byteCount * packetCount) { in testTrafficStatsForLocalhost()
172 assertTrue("Not all data read back", read >= byteCount * packetCount); in testTrafficStatsForLocalhost()
237 final long pktBytes = tcpPacketToIpBytes(packetCount, byteCount); in testTrafficStatsForLocalhost()
/packages/modules/GeoTZ/s2storage/src/write/java/com/android/storage/block/write/
DBlockFileWriter.java170 int byteCount = Math.min(buffer.length, byteBuffer.remaining()); in copyAll() local
171 byteBuffer.get(buffer, 0, byteCount); in copyAll()
172 outputStream.writeBytes(buffer, 0, byteCount); in copyAll()
173 totalByteCount += byteCount; in copyAll()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/
DImsMediaNetworkUtil.cpp76 socklen_t byteCount = sizeof(ss); in getLocalIpPortFromSocket() local
78 int res = getsockname(nSocketFD, sa, &byteCount); in getLocalIpPortFromSocket()
98 socklen_t byteCount = sizeof(ss); in getRemoteIpPortFromSocket() local
100 int res = getpeername(nSocketFD, sa, &byteCount); in getRemoteIpPortFromSocket()
/packages/apps/DevCamera/src/com/android/devcamera/
DMediaSaver.java75 int byteCount = 0; in saveDepth() local
77 byteCount = channel.write(depthCloudData); in saveDepth()
78 if (0 == byteCount) { in saveDepth()
81 bytesWritten += byteCount; in saveDepth()
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/storage/block/read/
DBlockData.java98 public byte[] getBytes(int byteOffset, int byteCount) { in getBytes() argument
99 byte[] bytes = new byte[byteCount]; in getBytes()
100 for (int i = 0; i < byteCount; i++) { in getBytes()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/
DJPEGInputStream.java137 public long skip(long byteCount) throws IOException { in skip() argument
138 if (byteCount <= 0) { in skip()
142 int flag = skipDecodedBytes((int) (0x7FFFFFFF & byteCount)); in skip()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/classifier/
DCommonClassifierHelper.java80 int byteCount = 0; in computeClassifierAssetChecksum() local
83 while ((byteCount = inputStream.read(byteArray)) != -1) { in computeClassifierAssetChecksum()
84 sha256Digest.update(byteArray, 0, byteCount); in computeClassifierAssetChecksum()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java928 private static String readAsciiString(@NonNull final ByteBuffer buf, int byteCount, in readAsciiString() argument
930 final byte[] bytes = new byte[byteCount]; in readAsciiString()