Home
last modified time | relevance | path

Searched refs:commands (Results 1 – 25 of 92) sorted by relevance

1234

/packages/services/Car/obd2-lib/src/com/android/car/obd2/
DObd2Command.java19 import com.android.car.obd2.commands.AmbientAirTemperature;
20 import com.android.car.obd2.commands.CalculatedEngineLoad;
21 import com.android.car.obd2.commands.EngineCoolantTemperature;
22 import com.android.car.obd2.commands.EngineOilTemperature;
23 import com.android.car.obd2.commands.EngineRuntime;
24 import com.android.car.obd2.commands.FuelGaugePressure;
25 import com.android.car.obd2.commands.FuelSystemStatus;
26 import com.android.car.obd2.commands.FuelTankLevel;
27 import com.android.car.obd2.commands.FuelTrimCommand.Bank1LongTermFuelTrimCommand;
28 import com.android.car.obd2.commands.FuelTrimCommand.Bank1ShortTermFuelTrimCommand;
[all …]
/packages/modules/Bluetooth/system/gd/rust/stack/src/hci/
Dcontroller.rs57 let commands = SupportedCommands { in provide_controller() localVariable
69 if commands.is_supported(OpCode::LeReadBufferSizeV2) { in provide_controller()
104 let le_max_data_length = if commands.is_supported(OpCode::LeReadMaximumDataLength) { in provide_controller()
118 if commands.is_supported(OpCode::LeReadSuggestedDefaultDataLength) { in provide_controller()
125 if commands.is_supported(OpCode::LeReadMaximumAdvertisingDataLength) { in provide_controller()
132 if commands.is_supported(OpCode::LeReadNumberOfSupportedAdvertisingSets) { in provide_controller()
139 if commands.is_supported(OpCode::LeReadPeriodicAdvertiserListSize) { in provide_controller()
146 if commands.is_supported(OpCode::LeSetHostFeature) { in provide_controller()
159 commands, in provide_controller()
202 pub commands: SupportedCommands, field
Dfacade.rs29 commands: RawCommandSender, in provide_facade()
38 commands, in provide_facade()
57 pub commands: RawCommandSender, field
94 let mut commands = self.commands.clone(); in send_command() localVariable
98 let response = commands.send(packet).await.unwrap(); in send_command()
Dmod.rs52 commands: CommandSender, field
71 let mut commands = CommandSender { raw: raw_commands.clone() }; in provide_hci() localVariable
74 commands.send(ResetBuilder {}).await.get_status() == ErrorCode::Success, in provide_hci()
78 Hci { raw_commands, commands, events: EventRegistry { evt_handlers, le_evt_handlers } } in provide_hci()
Dcontroller_facade.rs62 clone.hci.commands.send(builder.build()).await; in write_local_name()
71 clone.hci.commands.send(ReadLocalNameBuilder {}).await.get_local_name(), in get_local_name()
90 supported_msg.set_supported(clone.exports.commands.is_supported(opcode)); in is_supported_command()
/packages/modules/Media/apex/framework/java/android/media/
DSession2CommandGroup.java62 Session2CommandGroup(@Nullable Collection<Session2Command> commands) { in Session2CommandGroup() argument
63 if (commands != null) { in Session2CommandGroup()
64 mCommands.addAll(commands); in Session2CommandGroup()
73 Parcelable[] commands = in.readParcelableArray(Session2Command.class.getClassLoader()); in Session2CommandGroup() local
74 if (commands != null) { in Session2CommandGroup()
75 for (Parcelable command : commands) { in Session2CommandGroup()
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorMainPortal.java72 public void execute(String[] commands) { in execute() argument
77 .submit(() -> execute(simulatorPortalEntryGroup, commands, 0)); in execute()
81 SimulatorPortalEntryGroup simulatorPortalEntryGroup, String[] commands, int index) { in execute() argument
82 if (simulatorPortalEntryGroup.methods().containsKey(commands[index])) { in execute()
83 simulatorPortalEntryGroup.methods().get(commands[index]).run(); in execute()
84 } else if (simulatorPortalEntryGroup.subPortals().containsKey(commands[index])) { in execute()
85 execute(simulatorPortalEntryGroup.subPortals().get(commands[index]), commands, index + 1); in execute() local
/packages/modules/adb/client/
Dconsole.cpp116 std::string commands = adb_construct_auth_command(); in adb_send_emulator_command() local
119 commands.append(argv[i]); in adb_send_emulator_command()
120 commands.push_back(i == argc - 1 ? '\n' : ' '); in adb_send_emulator_command()
123 commands.append("quit\n"); in adb_send_emulator_command()
125 if (!WriteFdExactly(fd, commands)) { in adb_send_emulator_command()
/packages/modules/Bluetooth/system/tools/hci/
Dmain.c38 static const command_t commands[] = { variable
205 for (size_t i = 0; i < ARRAY_SIZE(commands); ++i) in find_command()
206 if (!strcmp(commands[i].name, name)) return &commands[i]; in find_command()
213 for (size_t i = 0; i < ARRAY_SIZE(commands); ++i) in usage()
214 printf(" %s\n", commands[i].name); in usage()
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
DManualAutoFocusFactory.java27 import com.android.camera.one.v2.commands.CameraCommand;
28 import com.android.camera.one.v2.commands.CameraCommandExecutor;
29 import com.android.camera.one.v2.commands.ResettingRunnableCameraCommand;
30 import com.android.camera.one.v2.commands.UpdateRequestCommand;
/packages/apps/Dialer/java/com/android/dialer/commandline/impl/
DHelp.java60 ImmutableMap<String, Command> commands = in run() local
63 .append(runOrThrow(commands.get("version"))) in run()
70 for (Entry<String, Command> entry : commands.entrySet()) { in run()
/packages/apps/Camera2/src/com/android/camera/one/v2/common/
DBasicCameraFactory.java34 import com.android.camera.one.v2.commands.CameraCommand;
35 import com.android.camera.one.v2.commands.CameraCommandExecutor;
36 import com.android.camera.one.v2.commands.ResettingRunnableCameraCommand;
37 import com.android.camera.one.v2.commands.PreviewCommandFactory;
/packages/apps/Launcher3/src/com/android/launcher3/model/
DDbDowngradeHelper.java60 String[] commands = mStatements.get(i); in onDowngrade() local
61 if (commands == null) { in onDowngrade()
64 Collections.addAll(allCommands, commands); in onDowngrade()
/packages/apps/Camera2/src/com/android/camera/one/v2/commands/
DPreviewCommandFactory.java17 package com.android.camera.one.v2.commands;
19 import com.android.camera.one.v2.commands.CameraCommand;
DUpdateRequestCommand.java17 package com.android.camera.one.v2.commands;
23 import com.android.camera.one.v2.commands.CameraCommand;
DRunnableCameraCommand.java17 package com.android.camera.one.v2.commands;
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/
DUtils.java61 public static void runCommand(File outputFile, Logger logger, String... commands) in runCommand() argument
63 ProcessBuilder pb = new ProcessBuilder(commands); in runCommand()
77 final String commandName = commands[0]; in runCommand()
84 "Abnormal " + commandName + " termination for: " + String.join(",", commands)); in runCommand()
/packages/apps/Dialer/java/com/android/dialer/commandline/
DCommandSupplier.java31 public abstract ImmutableMap<String, Command> commands(); in commands() method in CommandSupplier
35 return commands(); in get()
/packages/modules/Bluetooth/floss/build/
DREADME.md58 source to `/root/src` before running these commands in the container:
64 If you want to run the build more quickly (or pass other commands), run
66 (doing the correct mounts) and will print the commands it would have run via
Dcontainer-build-image.py77 commands = [
99 for i, cmd in enumerate(commands):
/packages/modules/adb/daemon/
Dshell_service_test.cpp135 const char* commands[] = {"TEST_STR=abc123", in TEST_F() local
140 for (std::string command : commands) { in TEST_F()
152 for (const char* command : commands) { in TEST_F()
/packages/services/Car/tools/telemetry/lua-interpreter/
DREADME.md24 Run the following commands on the command line to start the server:
33 The following commands assume you are at the root directory.
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
DPictureTakerImpl.java26 import com.android.camera.one.v2.commands.CameraCommand;
27 import com.android.camera.one.v2.commands.CameraCommandExecutor;
/packages/modules/adb/
DOVERVIEW.TXT10 - implement various control commands (e.g. "adb shell", "adb pull", etc.)
12 DDMS). These commands are called 'services' in ADB.
48 The 'adb' command-line program is used to run adb commands from a shell
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java2641 Command[] commands; in commandSequences() local
2644 commands = mNormalInsertDelete; in commandSequences()
2645 for (Command command : commands) { in commandSequences()
2652 commands = mAlldayInsertDelete; in commandSequences()
2653 for (Command command : commands) { in commandSequences()
2660 commands = mRecurringInsertDelete; in commandSequences()
2661 for (Command command : commands) { in commandSequences()
2668 commands = mExceptionWithTruncatedRecurrence; in commandSequences()
2669 for (Command command : commands) { in commandSequences()
2676 commands = mExceptionWithMovedRecurrence; in commandSequences()
[all …]

1234