Searched refs:to_bytes (Results 1 – 14 of 14) sorted by relevance
/aosp12/system/bt/gd/rust/hal/src/ |
H A D | snoop.rs | 150 logger.log(Type::Evt, Direction::Up, evt.to_bytes()).await; in provide_snooped_hal() 157 logger.log(Type::Cmd, Direction::Down, cmd.to_bytes()).await; in provide_snooped_hal() 164 logger.log(Type::Acl, Direction::Down, acl.to_bytes()).await; in provide_snooped_hal() 171 logger.log(Type::Acl, Direction::Up, acl.to_bytes()).await; in provide_snooped_hal() 178 logger.log(Type::Iso, Direction::Down, iso.to_bytes()).await; in provide_snooped_hal() 185 logger.log(Type::Iso, Direction::Up, iso.to_bytes()).await; in provide_snooped_hal()
|
H A D | hidl_hal.rs | 109 Some(cmd) = cmd_rx.recv() => ffi::send_command(&cmd.to_bytes()), in dispatch_outgoing() 110 Some(acl) = acl_rx.recv() => ffi::send_acl(&acl.to_bytes()), in dispatch_outgoing() 111 Some(iso) = iso_rx.recv() => ffi::send_iso(&iso.to_bytes()), in dispatch_outgoing()
|
H A D | rootcanal_hal.rs | 143 …md) = cmd_rx.recv() => write_with_type(&mut writer, HciPacketType::Command, cmd.to_bytes()).await?, in dispatch_outgoing() 144 …me(acl) = acl_rx.recv() => write_with_type(&mut writer, HciPacketType::Acl, acl.to_bytes()).await?, in dispatch_outgoing() 145 …me(iso) = iso_rx.recv() => write_with_type(&mut writer, HciPacketType::Iso, iso.to_bytes()).await?, in dispatch_outgoing()
|
/aosp12/system/bt/gd/rust/facade/helpers/ |
H A D | lib.rs | 65 runnable.run(&payload.to_bytes()); in stream_runnable()
|
/aosp12/frameworks/av/media/mtp/ |
H A D | MtpStringBuffer.cpp | 35 std::string conversion = gConvert.to_bytes(input_str); in utf16ToUtf8()
|
/aosp12/frameworks/base/startop/view_compiler/ |
H A D | dex_layout_compiler.h | 39 std::wstring_convert<std::codecvt_utf8_utf16<char16_t>, char16_t>{}.to_bytes(name), {}}); in VisitStartTag()
|
/aosp12/system/bt/gd/rust/shim/src/ |
H A D | hci.rs | 46 callback.Run(&resp.to_bytes()); in hci_send_command()
|
/aosp12/frameworks/native/libs/binder/ndk/include_cpp/android/ |
H A D | binder_to_string.h | 165 return std::wstring_convert<std::codecvt_utf8_utf16<char16_t>, char16_t>().to_bytes(t);
|
/aosp12/art/runtime/gc/collector/ |
H A D | semi_space.cc | 208 const int64_t to_bytes = bytes_moved_; in MarkingPhase() local 214 RecordFree(ObjectBytePair(from_objects - to_objects, from_bytes - to_bytes)); in MarkingPhase()
|
H A D | concurrent_copying.cc | 2748 uint64_t to_bytes = bytes_moved_.load(std::memory_order_relaxed) + bytes_moved_gc_thread_; in ReclaimPhase() local 2749 cumulative_bytes_moved_ += to_bytes; in ReclaimPhase() 2760 copied_live_bytes_ratio_sum_ += static_cast<float>(to_bytes) / from_bytes; in ReclaimPhase() 2777 int64_t freed_bytes = (int64_t)cleared_bytes - (int64_t)to_bytes; in ReclaimPhase() 2784 << " to_bytes=" << to_bytes << " to_objects=" << to_objects in ReclaimPhase()
|
/aosp12/system/iorap/src/binder/ |
H A D | iiorap_impl.cc | 89 std::string res = convert.to_bytes(u16); in String16ToStdString()
|
/aosp12/frameworks/base/libs/androidfw/tests/ |
H A D | ResTable_test.cpp | 278 std::string s = convert.to_bytes(std::u16string(str, len)); in testU16StringToInt()
|
/aosp12/packages/modules/Virtualization/zipfuse/src/ |
H A D | main.rs | 335 let name_size = buf[end].0.to_bytes().len(); in readdir()
|
/aosp12/hardware/libhardware/modules/sensors/dynamic_sensor/ |
H A D | HidRawSensor.cpp | 606 *d = converter.to_bytes(wstr); in decodeString()
|