Home
last modified time | relevance | path

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

/system/connectivity/wifilogd/
Dbyte_buffer.h40 class ByteBuffer {
42 ByteBuffer() : write_pos_(0) {} in ByteBuffer() function
47 ByteBuffer<SizeBytes>& AppendOrDie(NONNULL const void* data, in AppendOrDie()
Dcommand_processor.cpp195 ByteBuffer<sizeof(TimestampHeader) + protocol::kMaxMessageSize>() in CopyCommandToLog()
/system/core/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DApkArchive.java24 import java.nio.ByteBuffer;
88 long size = ByteBuffer.wrap(signature).order(ByteOrder.LITTLE_ENDIAN).getLong(); in extractMetadata()
102 ByteBuffer buffer = mChannel.map(FileChannel.MapMode.READ_ONLY, readOffset, in findEndOfCDRecord()
120 private Location findCDRecord(ByteBuffer buf) { in findCDRecord()
169 ByteBuffer signature = mChannel.map(FileChannel.MapMode.READ_ONLY, signatureOffset, in getSignatureLocation()
189 ByteBuffer buffer = mChannel.map(FileChannel.MapMode.READ_ONLY, loc.offset, loc.size); in readMetadata()
DPatchUtils.java23 import java.nio.ByteBuffer;
38 ByteBuffer buf = ByteBuffer.wrap(buffer).order(ByteOrder.LITTLE_ENDIAN); in readLELong()
/system/connectivity/wifilogd/tests/
Dbyte_buffer_unittest.cpp38 ByteBuffer<kBufferSizeBytes> buffer_;
65 ByteBuffer<kBufferSizeBytes> copy; in TEST_F()
87 const ByteBuffer<kBufferSizeBytes> copy{buffer_}; in TEST_F()
Dmemory_reader_unittest.cpp96 const auto& buf = ByteBuffer<sizeof(first_message) + sizeof(second_message)>() in TEST()
Dcommand_processor_unittest.cpp58 using CommandBuffer = ByteBuffer<protocol::kMaxMessageSize * 2>;
/system/timezone/testing/src/main/java/libcore/timezone/testing/
DZoneInfoTestHelper.java19 import java.nio.ByteBuffer;
369 byte[] bytes = ByteBuffer.allocate(4).putInt(value).array(); in writeInt()
374 byte[] bytes = ByteBuffer.allocate(8).putLong(value).array(); in writeLong()
/system/incremental_delivery/incfs/include/
Dincfs.h32 using ByteBuffer = std::vector<char>; variable
179 using RawMetadata = ByteBuffer;
180 using RawSignature = ByteBuffer;
/system/extras/verity/
DBootSignature.java21 import java.nio.ByteBuffer;
206 ByteBuffer image = ByteBuffer.wrap(data); in getSignableImageSize()
/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/
DCameraAvgFragment.java65 import java.nio.ByteBuffer;
945 ByteBuffer buffer = mImage.getPlanes()[0].getBuffer(); in run()
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java57 import java.nio.ByteBuffer;