| /frameworks/layoutlib/bridge/src/dalvik/system/ |
| D | VMRuntimeCommonHelper.java | 33 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/ |
| D | RandomAccessObject.java | 34 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/native/libs/ftl/ |
| D | future_test.cpp | 59 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/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
| D | AudioSample.java | 23 public final byte[] bytes; field in AudioSample 25 public AudioSample(int sampleRate, int channelCount, byte[] bytes) { in AudioSample()
|
| /frameworks/native/libs/gralloc/types/fuzzer/ |
| D | util.cpp | 24 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/ |
| D | binderAllocationLimits.cpp | 73 static void* lambda_malloc_hook(size_t bytes, const void* arg) { in lambda_malloc_hook() 82 static void* lambda_realloc_hook(void* ptr, size_t bytes, const void* arg) { in lambda_realloc_hook() 112 const auto on_malloc = OnMalloc([&](size_t bytes) { in TEST() 125 return OnMalloc([&](size_t bytes) { in ScopeDisallowMalloc() 179 const auto on_malloc = OnMalloc([&](size_t bytes) { in TEST() 202 const auto on_malloc = OnMalloc([&](size_t bytes) { in TEST() 232 const auto on_malloc = OnMalloc([&](size_t bytes) { in TEST()
|
| D | IBinderRpcBenchmark.aidl | 20 byte[] repeatBytes(in byte[] bytes); in repeatBytes()
|
| /frameworks/rs/ |
| D | rsFifoSocket.cpp | 52 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()
|
| D | rsThreadIO.h | 70 uint32_t bytes; member 74 uint32_t bytes; member
|
| /frameworks/libs/net/common/device/com/android/net/module/util/netlink/ |
| D | NetlinkUtils.java | 80 public static boolean enoughBytesRemainForValidNlMsg(@NonNull final ByteBuffer bytes) { in enoughBytesRemainForValidNlMsg() 91 private static NetlinkErrorMessage parseNetlinkErrorMessage(ByteBuffer bytes) { in parseNetlinkErrorMessage() 106 final ByteBuffer bytes = recvMessage(fd, DEFAULT_RECV_BUFSIZE, IO_TIMEOUT_MS); in receiveNetlinkAck() local 229 FileDescriptor fd, byte[] bytes, int offset, int count, long timeoutMs) in sendMessage()
|
| /frameworks/base/core/java/android/os/incremental/ |
| D | V4Signature.java | 67 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() 275 private static int bytesSize(byte[] bytes) { in bytesSize() 331 private static void writeBytes(OutputStream stream, byte[] bytes) throws IOException { in writeBytes() 340 private static void writeBytes(ByteBuffer buffer, byte[] bytes) { in writeBytes()
|
| /frameworks/opt/net/voip/src/jni/rtp/ |
| D | AmrCodec.cpp | 102 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/ |
| D | PulledStatsTest.java | 57 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); in testPulledStats_UnknownReport() local 77 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); in testPulledStats_RemoteViewReportPackages() local
|
| /frameworks/native/libs/binder/tests/parcel_fuzzer/ |
| D | random_binder.cpp | 28 RandomBinder(const String16& descriptor, std::vector<uint8_t>&& bytes) in RandomBinder() 78 std::vector<uint8_t> bytes = provider->ConsumeBytes<uint8_t>( in getRandomBinder() local
|
| /frameworks/libs/binary_translation/tools/nogrod/ |
| D | byte_input_stream.cc | 79 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/jni/gnss/ |
| D | GnssPsds.cpp | 45 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/ |
| D | DataUsageDetailView.java | 68 final long bytes; in bind() local 126 private String formatBytes(long bytes) { in formatBytes()
|
| /frameworks/base/apct-tests/perftests/core/src/android/database/ |
| D | SQLiteDatabaseIoPerfTest.java | 103 long bytes = endMeasuringWrites(); in testDatabaseModifications() local 129 long bytes = endMeasuringWrites(); in testInsertsWithTransactions() local
|
| /frameworks/base/services/core/java/com/android/server/security/ |
| D | FileIntegrityService.java | 221 private void collectCertificate(@NonNull byte[] bytes) { in collectCertificate() 236 private static X509Certificate toCertificate(@NonNull byte[] bytes) in toCertificate()
|
| /frameworks/base/core/java/android/util/ |
| D | Base64InputStream.java | 103 long bytes = Math.min(n, outputEnd-outputStart); in skip() local 126 int bytes = Math.min(len, outputEnd-outputStart); in read() local
|
| /frameworks/base/core/java/android/service/storage/ |
| D | ExternalStorageService.java | 168 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/ |
| D | FormatterTest.java | 272 private void checkFormatBytes(long bytes, boolean useShort, in checkFormatBytes() 278 private void checkFormatBytes(long bytes, int flags, in checkFormatBytes()
|
| /frameworks/native/libs/input/tests/ |
| D | InputVerifier_test.cpp | 24 constexpr char bytes[] = {static_cast<char>(0xC0), static_cast<char>(0x80)}; in TEST() local
|
| /frameworks/base/core/tests/coretests/src/android/net/ |
| D | NetworkPolicyTest.kt | 66 val bytes = policy.bytesForBackup in assertPolicyBackupRestore() constant
|
| /frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/ |
| D | TrafficRecorder.h | 119 Bytes bytes = 0; in readBytesForLastPeriod() local 137 void TrafficRecorder<Time, Bytes>::writeBytes(Bytes bytes) { in writeBytes()
|