Home
last modified time | relevance | path

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

12345

/system/core/fs_mgr/libfs_avb/tests/
Dutil_test.cpp105 uint8_t bytes[16]; in TEST() local
115 uint8_t bytes[16]; in TEST() local
124 const uint8_t bytes[16]{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}; in TEST() local
138 uint8_t bytes[16]; in TEST() local
145 uint8_t bytes[8]; in TEST() local
/system/update_engine/
Dfake_file_writer.h44 virtual ssize_t Write(const void* bytes, size_t count) { in Write()
59 const brillo::Blob& bytes() { return bytes_; } in bytes() function
/system/core/fastboot/
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
228 ssize_t bytes = SendSinglePacketHelper(&header, tx_data, packet_data_length, rx_data, in SendData() local
266 ssize_t bytes = 0; in SendSinglePacketHelper() local
330 ssize_t bytes = SendData(kIdFastboot, nullptr, 0, reinterpret_cast<uint8_t*>(data), length, in Read() local
348 ssize_t bytes = SendData(kIdFastboot, reinterpret_cast<const uint8_t*>(data), length, nullptr, in Write() local
/system/core/libunwindstack/tests/
DMemoryRangesTest.cpp53 size_t bytes = ranges_->Read(0, dst.data(), dst.size()); in TEST_F() local
83 size_t bytes = ranges_->Read(6000, dst.data(), dst.size()); in TEST_F() local
/system/chre/util/
Dcontainer_support.cc30 void *chreHeapAlloc(uint32_t bytes) { in chreHeapAlloc()
/system/netd/server/
DBandwidthController.cpp554 int BandwidthController::getInterfaceSharedQuota(int64_t *bytes) { in getInterfaceSharedQuota()
558 int BandwidthController::getInterfaceQuota(const std::string& iface, int64_t* bytes) { in getInterfaceQuota()
609 int BandwidthController::updateQuota(const std::string& quotaName, int64_t bytes) { in updateQuota()
630 int64_t bytes) { in runIptablesAlertCmd()
649 int BandwidthController::setGlobalAlert(int64_t bytes) { in setGlobalAlert()
685 int BandwidthController::setSharedAlert(int64_t bytes) { in setSharedAlert()
701 int BandwidthController::setInterfaceAlert(const std::string& iface, int64_t bytes) { in setInterfaceAlert()
737 int BandwidthController::setCostlyAlert(const std::string& costName, int64_t bytes, in setCostlyAlert()
/system/chre/apps/chqts/src/shared/
Dnano_endian_test.cc28 uint8_t bytes[] = { in swapByteTest() local
95 const uint8_t *bytes = reinterpret_cast<uint8_t*>(&value); in TEST() local
Dnano_endian.cc21 void swapBytes(uint8_t *bytes, size_t size) { in swapBytes()
Dnano_string.cc36 uint8_t *bytes = static_cast<uint8_t*>(mem); in memset() local
42 void memcpy(void *d, const void *s, size_t bytes) { in memcpy()
Ddumb_allocator.h76 void *alloc(size_t bytes) { in alloc()
/system/chre/platform/linux/
Dmemory_manager.cc23 void *MemoryManager::doAlloc(Nanoapp *app, uint32_t bytes) { in doAlloc()
/system/chre/platform/slpi/
Dmemory_manager.cc24 void *MemoryManager::doAlloc(Nanoapp *app, uint32_t bytes) { in doAlloc()
/system/bt/vendor_libs/test_vendor_lib/packets/hci/
Devent_payload_builder.cc29 bool EventPayloadBuilder::AddPayloadOctets(size_t octets, const vector<uint8_t>& bytes) { in AddPayloadOctets()
39 bool EventPayloadBuilder::AddPayloadOctets(const vector<uint8_t>& bytes) { in AddPayloadOctets()
/system/core/fs_mgr/libfs_avb/
Dutil.cpp49 bool HexToBytes(uint8_t* bytes, size_t bytes_len, const std::string& hex) { in HexToBytes()
72 std::string BytesToHex(const uint8_t* bytes, size_t bytes_len) { in BytesToHex()
/system/extras/memory_replay/
DLineBuffer.cpp44 ssize_t bytes = TEMP_FAILURE_RETRY(read(fd_, buffer_ + bytes_, buffer_len_ - bytes_ - 1)); in GetLine() local
/system/update_engine/payload_consumer/
Dextent_writer.cc32 bool DirectExtentWriter::Write(const void* bytes, size_t count) { in Write()
Dfake_extent_writer.h42 bool Write(const void* bytes, size_t count) override { in Write()
Dfile_writer.h50 virtual bool Write(const void* bytes, size_t count, ErrorCode* error) { in Write()
/system/bt/gd/packet/
Draw_builder.cc31 bool RawBuilder::AddOctets(size_t octets, const vector<uint8_t>& bytes) { in AddOctets()
41 bool RawBuilder::AddOctets(const vector<uint8_t>& bytes) { in AddOctets()
Dbit_inserter_unittest.cc37 std::vector<uint8_t> bytes; in TEST() local
/system/bt/vendor_libs/test_vendor_lib/packets/
Draw_builder.cc29 bool RawBuilder::AddOctets(size_t octets, const vector<uint8_t>& bytes) { in AddOctets()
39 bool RawBuilder::AddOctets(const vector<uint8_t>& bytes) { in AddOctets()
/system/gsid/aidl/android/gsi/
DIGsiService.aidl68 boolean commitGsiChunkFromStream(in ParcelFileDescriptor stream, long bytes); in commitGsiChunkFromStream()
82 boolean commitGsiChunkFromMemory(in byte[] bytes); in commitGsiChunkFromMemory()
/system/core/libbacktrace/
DBacktracePtrace.cpp64 size_t BacktracePtrace::Read(uint64_t addr, uint8_t* buffer, size_t bytes) { in Read()
/system/nfc/utils/test/
Dconfig_test.cc80 auto bytes = config.getBytes("BYTES_VALUE"); in TEST() local
128 auto bytes = config.getBytes("BYTES_VALUE"); in TEST_F() local
/system/bt/btif/src/
Dbtif_uid.cc75 void uid_set_add_tx(uid_set_t* set, int32_t app_uid, uint64_t bytes) { in uid_set_add_tx()
83 void uid_set_add_rx(uid_set_t* set, int32_t app_uid, uint64_t bytes) { in uid_set_add_rx()

12345