Home
last modified time | relevance | path

Searched refs:to_bytes (Results 1 – 14 of 14) sorted by relevance

/aosp12/system/bt/gd/rust/hal/src/
H A Dsnoop.rs150 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 Dhidl_hal.rs109 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 Drootcanal_hal.rs143 …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 Dlib.rs65 runnable.run(&payload.to_bytes()); in stream_runnable()
/aosp12/frameworks/av/media/mtp/
H A DMtpStringBuffer.cpp35 std::string conversion = gConvert.to_bytes(input_str); in utf16ToUtf8()
/aosp12/frameworks/base/startop/view_compiler/
H A Ddex_layout_compiler.h39 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 Dhci.rs46 callback.Run(&resp.to_bytes()); in hci_send_command()
/aosp12/frameworks/native/libs/binder/ndk/include_cpp/android/
H A Dbinder_to_string.h165 return std::wstring_convert<std::codecvt_utf8_utf16<char16_t>, char16_t>().to_bytes(t);
/aosp12/art/runtime/gc/collector/
H A Dsemi_space.cc208 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 Dconcurrent_copying.cc2748 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 Diiorap_impl.cc89 std::string res = convert.to_bytes(u16); in String16ToStdString()
/aosp12/frameworks/base/libs/androidfw/tests/
H A DResTable_test.cpp278 std::string s = convert.to_bytes(std::u16string(str, len)); in testU16StringToInt()
/aosp12/packages/modules/Virtualization/zipfuse/src/
H A Dmain.rs335 let name_size = buf[end].0.to_bytes().len(); in readdir()
/aosp12/hardware/libhardware/modules/sensors/dynamic_sensor/
H A DHidRawSensor.cpp606 *d = converter.to_bytes(wstr); in decodeString()