Home
last modified time | relevance | path

Searched defs:bytes (Results 1 – 25 of 207) sorted by relevance

123456789

/frameworks/layoutlib/bridge/src/dalvik/system/
DVMRuntimeCommonHelper.java33 int bytes = 20 + (2 * minLength); in newUnpaddedArray() local
42 int bytes = 20 + minLength; in newUnpaddedArray() local
48 int bytes = 20 + minLength; in newUnpaddedArray() local
54 int bytes = 20 + (2 * minLength); in newUnpaddedArray() local
/frameworks/base/services/core/java/com/android/server/integrity/parser/
DRandomAccessObject.java34 public abstract int read(byte[] bytes, int off, int len) throws IOException; in read()
48 public static RandomAccessObject ofBytes(byte[] bytes) { in ofBytes()
78 public int read(byte[] bytes, int off, int len) throws IOException { in read()
97 RandomAccessByteArrayObject(byte[] bytes) { in RandomAccessByteArrayObject()
116 public int read(byte[] bytes, int off, int len) throws IOException { in read()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/backup/
DCommunalBackupHelper.kt58 val bytes = state.toByteArray() in performBackup() constant
87 val bytes = ByteArray(dataSize) in restoreEntity() constant
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DAudioSample.java23 public final byte[] bytes; field in AudioSample
25 public AudioSample(int sampleRate, int channelCount, byte[] bytes) { in AudioSample()
/frameworks/native/libs/ftl/
Dfuture_test.cpp59 ByteVector decrement(ByteVector bytes) { in decrement()
75 [](ByteVector bytes) { return ftl::defer(decrement, std::move(bytes)); }); in TEST()
91 .then([&](ByteVector bytes) { in TEST()
96 .then([](ftl::Future<ByteVector> bytes) { return bytes; }) in TEST()
97 .then([](const ByteVector& bytes) { return std::string(bytes.begin(), bytes.end()); }) in TEST()
/frameworks/native/libs/gralloc/types/fuzzer/
Dutil.cpp24 std::string hexString(const void* bytes, size_t len) { in hexString()
39 std::string hexString(const std::vector<uint8_t>& bytes) { in hexString()
/frameworks/native/libs/binder/tests/
DbinderAllocationLimits.cpp76 static void* lambda_malloc_hook(size_t bytes, const void* arg) { in lambda_malloc_hook()
85 static void* lambda_realloc_hook(void* ptr, size_t bytes, const void* arg) { in lambda_realloc_hook()
115 const auto on_malloc = OnMalloc([&](size_t bytes) { in TEST()
128 return OnMalloc([&](size_t bytes) { in ScopeDisallowMalloc()
194 const auto on_malloc = OnMalloc([&](size_t bytes) { in TEST()
217 const auto on_malloc = OnMalloc([&](size_t bytes) { in TEST()
247 const auto on_malloc = OnMalloc([&](size_t bytes) { in TEST()
/frameworks/rs/
DrsFifoSocket.cpp52 bool FifoSocket::writeAsync(const void *data, size_t bytes, bool waitForSpace) { in writeAsync()
76 size_t FifoSocket::read(void *data, size_t bytes) { in read()
101 void FifoSocket::readReturn(const void *data, size_t bytes) { in readReturn()
DrsThreadIO.h70 uint32_t bytes; member
74 uint32_t bytes; member
/frameworks/base/core/java/android/os/incremental/
DV4Signature.java67 public static HashingInfo fromByteArray(@NonNull byte[] bytes) throws IOException { in fromByteArray()
101 public static SigningInfo fromByteArray(byte[] bytes) throws IOException { in fromByteArray()
161 public static SigningInfos fromByteArray(byte[] bytes) throws IOException { in fromByteArray()
203 public static V4Signature readFrom(@NonNull byte[] bytes) throws IOException { in readFrom()
278 private static int bytesSize(byte[] bytes) { in bytesSize()
334 private static void writeBytes(OutputStream stream, byte[] bytes) throws IOException { in writeBytes()
343 private static void writeBytes(ByteBuffer buffer, byte[] bytes) { in writeBytes()
/frameworks/opt/net/voip/src/jni/rtp/
DAmrCodec.cpp102 unsigned char *bytes = (unsigned char *)payload; in encode() local
133 unsigned char *bytes = (unsigned char *)payload; in decode() local
226 unsigned char *bytes = (unsigned char *)payload; in encode() local
244 unsigned char *bytes = (unsigned char *)payload; in decode() local
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPulledStatsTest.java57 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); in testPulledStats_UnknownReport() local
77 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); in testPulledStats_RemoteViewReportPackages() local
/frameworks/native/libs/binder/tests/parcel_fuzzer/
Drandom_binder.cpp27 RandomBinder::RandomBinder(const String16& descriptor, std::vector<uint8_t>&& bytes) in RandomBinder()
74 std::vector<uint8_t> bytes = provider->ConsumeBytes<uint8_t>( in getRandomBinder() local
/frameworks/libs/binary_translation/tools/nogrod/
Dbyte_input_stream.cc79 size_t bytes = DecodeLeb128(buffer_ + offset_, size_ - offset_, &result); in ReadLeb128() local
86 size_t bytes = DecodeSleb128(buffer_ + offset_, size_ - offset_, &result); in ReadSleb128() local
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageCacher.java83 protected ParsedPackage fromCacheEntry(byte[] bytes) { in fromCacheEntry()
89 public static ParsedPackage fromCacheEntryStatic(byte[] bytes) { in fromCacheEntryStatic()
93 private static ParsedPackage fromCacheEntryStatic(byte[] bytes, in fromCacheEntryStatic()
/frameworks/base/services/core/jni/gnss/
DGnssPsds.cpp45 jbyte* bytes = reinterpret_cast<jbyte*>(env->GetPrimitiveArrayCritical(data, 0)); in injectPsdsData() local
67 jbyte* bytes = reinterpret_cast<jbyte*>(env->GetPrimitiveArrayCritical(data, 0)); in injectPsdsData() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDataUsageDetailView.java68 final long bytes; in bind() local
126 private String formatBytes(long bytes) { in formatBytes()
/frameworks/base/apct-tests/perftests/core/src/android/database/
DSQLiteDatabaseIoPerfTest.java103 long bytes = endMeasuringWrites(); in testDatabaseModifications() local
129 long bytes = endMeasuringWrites(); in testInsertsWithTransactions() local
/frameworks/base/core/java/android/util/
DBase64InputStream.java104 long bytes = Math.min(n, outputEnd-outputStart); in skip() local
127 int bytes = Math.min(len, outputEnd-outputStart); in read() local
/frameworks/base/core/java/android/service/storage/
DExternalStorageService.java168 public void onFreeCache(@NonNull UUID volumeUuid, @BytesLong long bytes) throws IOException { in onFreeCache()
222 public void freeCache(String sessionId, String volumeUuid, long bytes, in freeCache()
226 onFreeCache(StorageManager.convert(volumeUuid), bytes); in freeCache() local
/frameworks/base/core/tests/coretests/src/android/text/format/
DFormatterTest.java272 private void checkFormatBytes(long bytes, boolean useShort, in checkFormatBytes()
278 private void checkFormatBytes(long bytes, int flags, in checkFormatBytes()
/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/
DTrafficRecorder.h119 Bytes bytes = 0; in readBytesForLastPeriod() local
137 void TrafficRecorder<Time, Bytes>::writeBytes(Bytes bytes) { in writeBytes()
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkPolicyTest.kt66 val bytes = policy.bytesForBackup in assertPolicyBackupRestore() constant
/frameworks/base/core/java/com/android/internal/util/
DBitUtils.java104 public static int bytesToBEInt(byte[] bytes) { in bytesToBEInt()
111 public static int bytesToLEInt(byte[] bytes) { in bytesToLEInt()
127 public static void put(ByteBuffer buffer, int position, byte[] bytes) { in put()
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DQuotedPrintable.java42 public static final byte[] decodeQuotedPrintable(byte[] bytes) { in decodeQuotedPrintable()

123456789