Home
last modified time | relevance | path

Searched refs:Command (Results 1 – 25 of 99) sorted by relevance

1234

/packages/modules/Bluetooth/system/pdl/security/
Dsmp_packets.pdl22 packet Command {
55 packet PairingRequest : Command (code = PAIRING_REQUEST) {
59 packet PairingResponse : Command (code = PAIRING_RESPONSE) {
63 packet PairingConfirm : Command (code = PAIRING_CONFIRM) {
67 packet PairingRandom : Command (code = PAIRING_RANDOM) {
88 packet PairingFailed : Command (code = PAIRING_FAILED) {
92 packet EncryptionInformation : Command (code = ENCRYPTION_INFORMATION) {
96 packet CentralIdentification : Command (code = CENTRAL_IDENTIFICATION) {
101 packet IdentityInformation : Command (code = IDENTITY_INFORMATION) {
110 packet IdentityAddressInformation : Command (code = IDENTITY_ADDRESS_INFORMATION) {
[all …]
/packages/modules/Bluetooth/tools/rootcanal/packets/
Dhci_packets.pdl48 // HCI Command Packets
691 packet Command {
897 packet Inquiry : Command (op_code = INQUIRY) {
914 packet InquiryCancel : Command (op_code = INQUIRY_CANCEL) {
929 packet PeriodicInquiryMode : Command (op_code = PERIODIC_INQUIRY_MODE) {
949 packet ExitPeriodicInquiryMode : Command (op_code = EXIT_PERIODIC_INQUIRY_MODE) {
980 packet CreateConnection : Command (op_code = CREATE_CONNECTION) {
1003 packet Disconnect : Command (op_code = DISCONNECT) {
1012 packet AddScoConnection : Command (op_code = ADD_SCO_CONNECTION) {
1021 packet CreateConnectionCancel : Command (op_code = CREATE_CONNECTION_CANCEL) {
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DNotificationPlayer.java47 private static final class Command { class in NotificationPlayer
63 private final LinkedList<Command> mCmdQueue = new LinkedList<Command>();
74 public Command mCmd;
75 public CreationAndCompletionThread(final Command cmd) { in CreationAndCompletionThread()
117 private void startSound(final Command cmd) { in startSound()
153 private void stopSound(final Command cmd) { in stopSound()
181 Command cmd = null; in run()
279 final Command cmd = new Command(); in play()
307 final Command cmd = new Command(); in stop()
317 private void enqueueLocked(final Command cmd) { in enqueueLocked()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DDicttool.java32 public static abstract class Command { class in Dicttool
70 static HashMap<String, Class<? extends Command>> sCommands = new HashMap<>();
76 public static void addCommand(final String commandName, final Class<? extends Command> cls) { in addCommand()
80 private static Command getCommandInstance(final String commandName) { in getCommandInstance()
103 private static Command getCommand(final String[] arguments) { in getCommand()
108 final Command command = getCommandInstance(commandName); in getCommand()
120 final Command command = getCommand(arguments); in execute()
/packages/apps/Settings/src/com/android/settings/network/
DSwitchSlotSidecar.java41 Command.SWITCH_TO_REMOVABLE_SIM,
43 private @interface Command { annotation in SwitchSlotSidecar
49 @Command int command;
74 param.command = Command.SWITCH_TO_REMOVABLE_SIM; in runSwitchToRemovableSlot()
92 param.command = Command.SWITCH_TO_EUICC_SIM; in runSwitchToEuiccSlot()
116 case Command.SWITCH_TO_REMOVABLE_SIM: in doInBackground()
121 case Command.SWITCH_TO_EUICC_SIM: in doInBackground()
/packages/apps/Dialer/java/com/android/dialer/commandline/
DCommandSupplier.java25 public abstract class CommandSupplier implements Supplier<ImmutableMap<String, Command>> {
31 public abstract ImmutableMap<String, Command> commands(); in commands()
34 public ImmutableMap<String, Command> get() { in get()
42 abstract ImmutableMap.Builder<String, Command> commandsBuilder(); in commandsBuilder()
44 public Builder addCommand(String key, Command command) { in addCommand()
/packages/modules/DnsResolver/doh/dispatcher/
Ddriver.rs25 use super::{Command, QueryError, Response};
30 command_rx: mpsc::Receiver<Command>,
45 command_rx: mpsc::Receiver<Command>, in new() argument
68 Command::Probe { info, timeout } => debug_err(self.probe(info, timeout).await), in drive_once()
69 Command::Query { net_id, base64_query, expired_time, resp } => { in drive_once()
72 Command::Clear { net_id } => { in drive_once()
76 Command::Exit => { in drive_once()
Dmod.rs53 pub enum Command { enum
73 cmd_sender: mpsc::Sender<Command>,
82 let (cmd_sender, cmd_receiver) = mpsc::channel::<Command>(MAX_BUFFERED_CMD_COUNT); in new()
98 pub fn send_cmd(&self, cmd: Command) -> Result<()> { in send_cmd()
104 if self.cmd_sender.blocking_send(Command::Exit).is_err() { in exit_handler()
/packages/apps/Dialer/java/com/android/dialer/commandline/impl/
DHelp.java22 import com.android.dialer.commandline.Command;
34 public class Help implements Command {
60 ImmutableMap<String, Command> commands = in run()
70 for (Entry<String, Command> entry : commands.entrySet()) { in run()
81 private static String runOrThrow(Command command) throws IllegalCommandLineArgumentException { in runOrThrow()
/packages/modules/Virtualization/tests/libs/libdts/src/
Dlib.rs22 use std::process::{Command, Stdio};
34 let res = Command::new("./dtc_static") in from_fs()
46 let res = Command::new("./dtc_static") in from_dtb()
57 let mut dtc = Command::new("./dtc_static") in from_fdt()
/packages/modules/Bluetooth/system/gd/hci/
Dle_address_manager.cc306 void LeAddressManager::push_command(Command command) { in push_command()
366 Command command = {CommandType::ROTATE_RANDOM_ADDRESS, RotateRandomAddressCommand{}}; in prepare_to_rotate()
407 Command command = {CommandType::UPDATE_IRK, update_irk_command}; in prepare_to_update_irk()
530 Command command = {CommandType::ADD_DEVICE_TO_ACCEPT_LIST, HCICommand{std::move(packet_builder)}}; in AddDeviceToFilterAcceptList()
545Command disable = {CommandType::SET_ADDRESS_RESOLUTION_ENABLE, HCICommand{std::move(disable_builde… in AddDeviceToResolvingList()
550Command command = {CommandType::ADD_DEVICE_TO_RESOLVING_LIST, HCICommand{std::move(packet_builder)… in AddDeviceToResolvingList()
556 Command command = {CommandType::LE_SET_PRIVACY_MODE, HCICommand{std::move(packet_builder)}}; in AddDeviceToResolvingList()
562Command enable = {CommandType::SET_ADDRESS_RESOLUTION_ENABLE, HCICommand{std::move(enable_builder)… in AddDeviceToResolvingList()
575Command command = {CommandType::REMOVE_DEVICE_FROM_ACCEPT_LIST, HCICommand{std::move(packet_builde… in RemoveDeviceFromFilterAcceptList()
587Command disable = {CommandType::SET_ADDRESS_RESOLUTION_ENABLE, HCICommand{std::move(disable_builde… in RemoveDeviceFromResolvingList()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/
DShellCommandTestCase.java20 import static com.android.adservices.service.stats.ShellCommandStats.Command;
56 public void expectSuccess(Result actual, String expectedOut, @Command int expectedCommand) { in expectSuccess()
64 public void expectSuccess(Result actual, @Command int expectedCommand) { in expectSuccess()
74 @Command int expectedCommand, in expectFailure()
84 T cmd, String syntax, @Command int expectedCommand, String... args) { in runAndExpectInvalidArgument()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/
DShellCommandResult.java19 import static com.android.adservices.service.stats.ShellCommandStats.Command;
37 @Command
43 public static ShellCommandResult create(@CommandResult int resultCode, @Command int command) { in create()
/packages/modules/DnsResolver/doh/network/
Dmod.rs33 use driver::{Command, Driver};
72 command_tx: mpsc::Sender<Command>,
89 self.command_tx.send(Command::Probe(timeout)).await?; in probe()
109 Status::Live => self.command_tx.try_send(Command::Query(query))?, in query()
Ddriver.rs37 command_rx: mpsc::Receiver<Command>,
45 pub enum Command { enum
94 ) -> Result<(Self, mpsc::Sender<Command>, watch::Receiver<Status>)> { in new() argument
109 Command::Probe(duration) => { in drive()
114 Command::Query(query) => { in drive()
/packages/modules/Bluetooth/floss/hcidoc/packets/
Dbuild.rs19 use std::process::{Command, Stdio};
32 let output = Command::new("pdlc") in generate_packets()
50 let output = Command::new("pdlc") in generate_packets()
/packages/apps/Settings/src/com/android/settings/sim/smartForwarding/
DEnableSmartForwardingTask.java73 private final ArrayList<Command> mSteps = new ArrayList<>();
149 Command currentStep = mSteps.get(index); in startProcess()
179 List<Command> restoreCommands = mSteps.subList(0, index); in restoreAllSteps()
181 for (Command currentStep : restoreCommands) { in restoreAllSteps()
231 interface Command { interface in EnableSmartForwardingTask
235 abstract static class QueryCommand<T> implements Command {
254 abstract static class UpdateCommand<T> implements Command {
/packages/modules/Virtualization/compos/src/
Dcompos_key.rs19 use std::process::{Command, Stdio};
32 let child = Command::new(COMPOS_KEY_HELPER_PATH) in get_data_from_helper()
46 let mut child = Command::new(COMPOS_KEY_HELPER_PATH) in sign()
/packages/modules/Bluetooth/system/pdl/hci/
Dhci_packets.pdl109 // HCI Command Packets
788 packet Command {
796 packet DiscoveryCommand : Command { _payload_, }
797 packet AclCommand : Command { _payload_, }
799 packet SecurityCommand : Command { _payload_, }
801 packet LeAdvertisingCommand : Command { _payload_, }
802 packet LeScanningCommand : Command { _payload_, }
804 packet LeSecurityCommand : Command { _payload_, }
805 packet LeIsoCommand : Command { _payload_, }
806 packet DistanceMeasurementCommand : Command { _payload_, }
[all …]
/packages/modules/Bluetooth/system/rust/src/gatt/
Dopcode_types.rs9 Command, enumerator
53 AttOpcode::WRITE_COMMAND => OperationType::Command, in classify_opcode()
54 AttOpcode::SIGNED_WRITE_COMMAND => OperationType::Command, in classify_opcode()
/packages/modules/Virtualization/authfs/tests/common/src/
Dopen_then_run.rs28 use std::process::Command;
79 fn args_command() -> clap::Command { in args_command()
80 clap::Command::new("open_then_run") in args_command()
146 let mut command = Command::new(&args.cmdline_args[0]); in try_main()
/packages/modules/Bluetooth/tools/rootcanal/rust/src/lmp/
Dmanager.rs36 hci: Cell<Option<hci::Command>>,
55 fn ingest_hci(&self, command: hci::Command) { in ingest_hci() argument
59 fn poll_hci_command<C: TryFrom<hci::Command>>(&self) -> Poll<C> { in poll_hci_command()
132 command: &hci::Command, in send_command_complete_event() argument
244 pub fn ingest_hci(&self, command: hci::Command) -> Result<(), LinkManagerError> { in ingest_hci()
303 fn poll_hci_command<C: TryFrom<hci::Command>>(&self) -> Poll<C> { in poll_hci_command()
/packages/services/Car/cpp/evs/apps/default/inc/
DEvsStateControl.h63 struct Command { struct
76 void postCommand(const Command& cmd, bool clear = false); argument
108 std::queue<Command> mCommandQueue;
/packages/modules/Virtualization/encryptedstore/src/
Dmain.rs31 use std::process::Command;
67 fn clap_command() -> clap::Command { in clap_command()
68 clap::Command::new("encryptedstore").args(&[ in clap_command()
166 let mut cmd = Command::new(MK2FS_BIN); in format_ext4()
/packages/modules/Bluetooth/floss/hcidoc/src/
Dmain.rs1 use clap::{Arg, ArgAction, Command};
13 let matches = Command::new("hcidoc") in main()
103 LinuxSnoopOpcodes::Command | LinuxSnoopOpcodes::Event => { in main()

1234