Home
last modified time | relevance | path

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

1234567

/aosp14/frameworks/base/services/core/java/com/android/server/integrity/parser/
H A 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()
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DAudioSample.java23 public final byte[] bytes; field in AudioSample
25 public AudioSample(int sampleRate, int channelCount, byte[] bytes) { in AudioSample()
/aosp14/system/core/fastboot/
H A Dudp.cpp60 static uint16_t ExtractUint16(const uint8_t* bytes) { in ExtractUint16()
71 const uint8_t* bytes() const { return bytes_; } in bytes() function in udp::Header
229 ssize_t bytes = SendSinglePacketHelper(&header, tx_data, packet_data_length, rx_data, in SendData() local
267 ssize_t bytes = 0; in SendSinglePacketHelper() local
331 ssize_t bytes = SendData(kIdFastboot, nullptr, 0, reinterpret_cast<uint8_t*>(data), length, in Read() local
349 ssize_t bytes = SendData(kIdFastboot, reinterpret_cast<const uint8_t*>(data), length, nullptr, in Write() local
/aosp14/frameworks/base/core/java/android/os/incremental/
H A 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()
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()
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DCharSequences.java32 public static CharSequence forAsciiBytes(final byte[] bytes) { in forAsciiBytes()
H A DBitUtils.java103 public static int bytesToBEInt(byte[] bytes) { in bytesToBEInt()
110 public static int bytesToLEInt(byte[] bytes) { in bytesToLEInt()
126 public static void put(ByteBuffer buffer, int position, byte[] bytes) { in put()
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DPulledStatsTest.java57 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); in testPulledStats_UnknownReport() local
77 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); in testPulledStats_RemoteViewReportPackages() local
/aosp14/system/core/fs_mgr/libfs_avb/tests/
H A Dutil_test.cpp108 uint8_t bytes[16]; in TEST() local
118 uint8_t bytes[16]; in TEST() local
127 const uint8_t bytes[16]{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}; in TEST() local
141 uint8_t bytes[16]; in TEST() local
148 uint8_t bytes[8]; in TEST() local
/aosp14/frameworks/base/services/core/jni/gnss/
H A 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
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DDataUsageDetailView.java68 final long bytes; in bind() local
126 private String formatBytes(long bytes) { in formatBytes()
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/database/
H A DSQLiteDatabaseIoPerfTest.java103 long bytes = endMeasuringWrites(); in testDatabaseModifications() local
129 long bytes = endMeasuringWrites(); in testInsertsWithTransactions() local
/aosp14/frameworks/base/core/java/android/util/
H A DBase64InputStream.java103 long bytes = Math.min(n, outputEnd-outputStart); in skip() local
126 int bytes = Math.min(len, outputEnd-outputStart); in read() local
/aosp14/frameworks/base/services/core/java/com/android/server/security/
H A DFileIntegrityService.java221 private void collectCertificate(@NonNull byte[] bytes) { in collectCertificate()
236 private static X509Certificate toCertificate(@NonNull byte[] bytes) in toCertificate()
/aosp14/frameworks/base/core/tests/coretests/src/android/text/format/
H A DFormatterTest.java272 private void checkFormatBytes(long bytes, boolean useShort, in checkFormatBytes()
278 private void checkFormatBytes(long bytes, int flags, in checkFormatBytes()
/aosp14/system/core/fs_mgr/libfs_avb/
H A Dutil.cpp52 bool HexToBytes(uint8_t* bytes, size_t bytes_len, const std::string& hex) { in HexToBytes()
75 std::string BytesToHex(const uint8_t* bytes, size_t bytes_len) { in BytesToHex()
/aosp14/frameworks/base/telephony/common/com/google/android/mms/pdu/
H A DQuotedPrintable.java42 public static final byte[] decodeQuotedPrintable(byte[] bytes) { in decodeQuotedPrintable()
/aosp14/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DByteBufferInputStream.java39 public int read(byte[] bytes, int off, int len) { in read()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutBitmapSaver.java89 public final byte[] bytes; field in ShortcutBitmapSaver.PendingItem
94 private PendingItem(ShortcutInfo shortcut, byte[] bytes) { in PendingItem()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/parsing/
H A DPackageCacher.java72 protected ParsedPackage fromCacheEntry(byte[] bytes) { in fromCacheEntry()
78 public static ParsedPackage fromCacheEntryStatic(byte[] bytes) { in fromCacheEntryStatic()
/aosp14/frameworks/base/libs/hwui/utils/
H A DStringUtils.h42 int bytes; member
/aosp14/frameworks/base/services/core/java/com/android/server/integrity/model/
H A DByteTrackedOutputStream.java49 public void write(byte[] bytes) throws IOException { in write()
/aosp14/system/core/libutils/
H A DFileMap_fuzz.cpp33 const char* bytes = contents.c_str(); in LLVMFuzzerTestOneInput() local
H A DJenkinsHash.cpp37 uint32_t JenkinsHashMixBytes(uint32_t hash, const uint8_t* bytes, size_t size) { in JenkinsHashMixBytes()
/aosp14/frameworks/base/core/java/android/service/storage/
H A 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()
/aosp14/system/core/fs_mgr/libstorage_literals/storage_literals/
H A Dstorage_literals.h28 constexpr uint64_t bytes() const { return value_ << power; } in bytes() function

1234567