Home
last modified time | relevance | path

Searched refs:panic (Results 1 – 25 of 42) sorted by relevance

12

/packages/modules/Bluetooth/system/gd/rust/stack/src/hci/
Dmod.rs137 | EventCode::VendorSpecific => panic!("{:?} is a protected event", code), in register()
190 … Some(QueuedCommand{cmd, ..}) => panic!("Waiting for {}, got {}", cmd.get_op_code(), this_opcode), in dispatch()
191 None => panic!("Unexpected status event with opcode {}", this_opcode), in dispatch()
203 … Some(QueuedCommand{cmd, ..}) => panic!("Waiting for {}, got {}", cmd.get_op_code(), this_opcode), in dispatch()
204 None => panic!("Unexpected complete event with opcode {}", this_opcode), in dispatch()
215 None => panic!("Unhandled le subevent {:?}", code), in dispatch()
230 None => panic!("Unhandled event {:?}", code), in dispatch()
242 …_ = hci_timeout.expired() => panic!("Timed out waiting for {}", pending.unwrap().cmd.get_op_code()… in dispatch()
/packages/modules/Bluetooth/system/gd/rust/gddi/macros/
Dlib.rs27 panic!("can't be applied to struct methods"); in provides()
79 panic!("providers specified more than once"); in parse()
85 panic!("submodules specified more than once"); in parse()
101 keyword => panic!("expected 'parts', got '{}'", keyword), in parse()
127 panic!("unexpected keyword: {}", keyword); in parse()
185 _ => panic!("can only be applied to structs with named fields"), in part_out()
/packages/modules/Bluetooth/system/gd/rust/shim/src/
Dhci.rs49 Err(e) => panic!("could not parse command: {:?} {:02x?}", e, data), in hci_send_command()
61 Err(e) => panic!("could not parse acl: {:?} {:02x?}", e, data), in hci_send_acl()
73 Err(e) => panic!("could not parse sco: {:?} {:02x?}", e, data), in hci_send_sco()
85 Err(e) => panic!("could not parse iso: {:?} {:02x?}", e, data), in hci_send_iso()
/packages/modules/Bluetooth/tools/pdl/src/
Dtest_utils.rs48 .unwrap_or_else(|_| panic!("failed to start {:?}", &rustfmt_path)); in rustfmt()
151 panic!("Could not read snapshot from {}: {}", snapshot.display(), err) in assert_snapshot_eq()
167 panic!("Please unset UPDATE_SNAPSHOTS if you are not using Cargo"); in assert_snapshot_eq()
178 panic!("Could not write snapshot to {}: {}", snapshot.display(), err) in assert_snapshot_eq()
/packages/modules/Virtualization/compos/composd/src/
Dinstance_manager.rs143 panic!("Tried to mark stopped when not starting"); in mark_stopped()
151 panic!("Tried to mark started when not starting") in mark_started()
154 panic!("Attempted to mark started when already started"); in mark_started()
Dcomposd_main.rs32 use std::panic;
43 panic::set_hook(Box::new(|panic_info| { in try_main()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/btif_macros/src/
Dlib.rs52 panic!("struct name must be specified"); in btif_callbacks_dispatcher()
58 panic!("function name must be specified"); in btif_callbacks_dispatcher()
64 panic!("callbacks struct ident must be specified"); in btif_callbacks_dispatcher()
/packages/modules/Virtualization/microdroid/
Dfstab.microdroid1 system /system ext4 noatime,ro,errors=panic wait,slotselect,avb=vbmeta,first_stage_mount,logical
2 vendor /vendor ext4 noatime,ro,errors=panic wait,slotselect,avb=vbmeta,first_stage_mount,logical
/packages/modules/Virtualization/pvmfw/src/
Dmain.rs24 use core::panic::PanicInfo;
39 fn panic(info: &PanicInfo) -> ! { in panic() function
/packages/modules/Virtualization/compos/src/
Dcompsvc_main.rs39 use std::panic;
56 panic::set_hook(Box::new(|panic_info| { in try_main()
/packages/modules/Virtualization/compos/verify/
Dverify.rs35 use std::panic;
49 panic::set_hook(Box::new(|panic_info| { in main()
/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/dbus_macros/src/
Dlib.rs61 panic!("function name must be specified"); in generate_dbus_exporter()
67 panic!("D-Bus interface name must be specified"); in generate_dbus_exporter()
233 _ => panic!("Struct path not available"), in generate_dbus_interface_client()
529 panic!("struct name must be specified"); in dbus_proxy_obj()
535 panic!("D-Bus interface name must be specified"); in dbus_proxy_obj()
671 panic!("not implemented"); in dbus_proxy_obj()
/packages/modules/DnsResolver/doh/
Dboot_time.rs66 panic!( in now()
140 panic!("timerfd_settime failed: {:?}", io::Error::last_os_error()); in set()
/packages/modules/Virtualization/microdroid/dice/
Dservice.rs27 use std::panic;
201 panic::set_hook(Box::new(|panic_info| { in main()
/packages/modules/Bluetooth/system/gd/rust/common/src/
Dasserts.rs8 panic!(
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Da2dp.rs290 panic!("Tried to set dispatcher for A2dp callbacks while it already exists"); in initialize()
357 panic!("Tried to set dispatcher for A2dp Sink Callbacks while it already exists"); in initialize()
Davrcp.rs71 panic!("Tried to set dispatcher for Avrcp callbacks while it already exists"); in initialize()
Dhfp.rs151 panic!("Tried to set dispatcher for HFP callbacks while it already exists"); in initialize()
Dhid_host.rs181 panic!("Tried to set dispatcher for HHCallbacks but it already existed"); in initialize()
/packages/modules/Bluetooth/tools/rootcanal/lmp/
Dbuild.rs48 panic!( in generate_packets()
/packages/modules/Bluetooth/system/gd/rust/packets/
Dbuild.rs57 panic!( in generate_packets()
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/bin/btmanagerd/
Dmain.rs65 panic!("Lost connection to D-Bus: {}", err); in main()
/packages/modules/Virtualization/compos/composd_cmd/
Dcomposd_cmd.rs57 _ => panic!("Unrecognized subcommand"), in main()
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Dmain.rs87 panic!("Lost connection to D-Bus: {}", err); in main()
/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/src/
Dlib.rs235 panic!("To be implemented by dbus_projection macros");

12