Home
last modified time | relevance | path

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

123

/tools/treble/build/sandbox/
Dnsjail_test.py30 commands = nsjail.run(
38 commands,
51 commands = nsjail.run(
87 commands = nsjail.run(
96 commands,
109 commands = nsjail.run(
118 commands,
130 commands = nsjail.run(
139 commands,
151 commands = nsjail.run(
[all …]
Dbuild_android_sandboxed_test.py27 commands = build_android_sandboxed.build(
39 commands,
60 commands = build_android_sandboxed.build(
73 commands,
94 commands = build_android_sandboxed.build(
106 commands,
127 commands = build_android_sandboxed.build(
139 commands,
188 commands = build_android_sandboxed.build(
201 commands,
/tools/security/fuzzing/orphans/smallvec/
Dsmallvec_fuzzer.rs36 commands: Vec<Command>, field
68 Size::One => do_fuzz::<[Data; 1]>(info.commands),
69 Size::Two => do_fuzz::<[Data; 2]>(info.commands),
70 Size::Three => do_fuzz::<[Data; 3]>(info.commands),
71 Size::Four => do_fuzz::<[Data; 4]>(info.commands),
72 Size::Five => do_fuzz::<[Data; 5]>(info.commands),
76 fn do_fuzz<T: Array<Item = Data>>(commands: Vec<Command>) { in do_fuzz()
78 for command in commands { in do_fuzz()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DRunHostCommandTargetPreparer.java252 private void runCommandList(final List<String> commands, ITestDevice device) in runCommandList() argument
254 for (final String command : commands) { in runCommandList()
323 private void replaceSerialNumber(final List<String> commands, ITestDevice device) { in replaceSerialNumber() argument
324 for (int i = 0; i < commands.size(); i++) { in replaceSerialNumber()
326 commands.get(i).replace(DEVICE_SERIAL_PLACEHOLDER, device.getSerialNumber()); in replaceSerialNumber()
327 commands.set(i, command); in replaceSerialNumber()
338 private void replaceExtraFile(final List<String> commands, IBuildInfo buildInfo) { in replaceExtraFile() argument
340 for (int i = 0; i < commands.size(); i++) { in replaceExtraFile()
341 Matcher matcher = pattern.matcher(commands.get(i)); in replaceExtraFile()
354 commands.set(i, command.toString()); in replaceExtraFile()
DSystemUpdaterDeviceFlasher.java105 String commands = in installUpdate() local
110 device.executeShellCommand(commands); in installUpdate()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DNoisyDryRunTest.java76 List<CommandLine> commands = testCommandFile(listener, mCmdfile); in run() local
77 if (commands != null) { in run()
78 testCommandLines(listener, commands); in run()
148 private void testCommandLines(ITestInvocationListener listener, List<CommandLine> commands) { in testCommandLines() argument
150 commands.size()); in testCommandLines()
153 new ParallelDeviceExecutor<Boolean>(Math.min(20, commands.size())); in testCommandLines()
155 for (int i = 0; i < commands.size(); ++i) { in testCommandLines()
159 String[] args = commands.get(j).asArray(); in testCommandLines()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandScheduler.java533 List<ClusterCommand> commands = null; in processReadyCommands() local
543 commands = fetchHostCommands(devices); in processReadyCommands()
544 if (commands.isEmpty()) { in processReadyCommands()
550 unleaseCommands(commands); in processReadyCommands()
553 execCommands(commands); in processReadyCommands()
679 List<ClusterCommand> commands = in fetchHostCommands() local
687 return commands; in fetchHostCommands()
699 void execCommands(final List<ClusterCommand> commands) { in execCommands() argument
701 for (final ClusterCommand commandTask : commands) { in execCommands()
704 unleaseCommands(commands.subList(commandIdx, commands.size())); in execCommands()
[all …]
/tools/asuite/adevice/src/
Dadevice.rs2 use crate::commands;
48 fn run_adb_command(&self, args: &commands::AdbCommand) -> Result<String>; in run_adb_command()
195 let commands = &get_update_commands( in adevice() localVariable
208 if commands.is_empty() { in adevice()
215 let deletes = &commands.deletes; in adevice()
242 if commands.is_empty() { in adevice()
246 let all_cmds: HashMap<PathBuf, commands::AdbCommand> = in adevice()
247 commands.upserts.clone().into_iter().chain(commands.deletes.clone()).collect(); in adevice()
310 ) -> Result<commands::Commands> { in get_update_commands()
364 Ok(commands::compose(&filtered_changes, &product_out)) in get_update_commands()
[all …]
Dcommands.rs81 let mut commands = Commands { upserts: HashMap::new(), deletes: HashMap::new() }; in compose() localVariable
89 commands.upserts.insert( in compose()
103 commands.deletes.insert( in compose()
114 commands in compose()
Dlib.rs6 pub mod commands; module
/tools/asuite/adevice/tests/
Dwhole_program_tests.rs4 use adevice::{cli, commands};
67 let ninja_deps = commands::split_string("system/file1 system_ext/file2"); in lost_and_found_should_not_be_cleaned()
112 let ninja_deps = commands::split_string("system/other_file"); in update_should_clean_stale_files()
164 let ninja_deps = commands::split_string("system/bin/f1 system/bin/f2 system/bin/dir1/f1"); in update_big_fs_change()
/tools/treble/build/treble_build/report/
Dreport_test.go30 commands map[string]*app.BuildCommand member
52 out := r.commands[target]
146 commands: map[string]*app.BuildCommand{},
244 …test.commands[target.name] = &app.BuildCommand{Target: target.name, Cmds: createStrings("cmd.", ta…
/tools/netsim/testing/netsim-grpc/
Dtox.ini6 # install pytest in the virtualenv where commands will be executed
14 commands = key
/tools/security/fuzzing/orphans/hashlink/
Dhashlink_linkedhashset_fuzzer.rs45 fuzz_target!(|commands: Vec<LinkedHashSetMethods>| {
47 for command in commands {
Dhashlink_linkedhashmap_fuzzer.rs45 fuzz_target!(|commands: Vec<LinkedHashMapMethods>| {
47 for command in commands {
Dhashlink_lrucache_fuzzer.rs32 commands: Vec<LruCacheMethods>, field
51 for command in info.commands {
/tools/security/fuzzing/orphans/hashbrown/
Dhashbrown_hashset_fuzzer.rs46 fuzz_target!(|commands: Vec<HashSetMethods>| {
48 for command in commands {
Dhashbrown_hashmap_fuzzer.rs46 fuzz_target!(|commands: Vec<HashMapMethods>| {
48 for command in commands {
/tools/asuite/atest/bazel/runner/src/main/protobuf/
Dinvocation_policy.proto43 // If set, this flag policy is applied only if one of the given commands or a
44 // command that inherits from one of the given commands is being run. For
45 // instance, if "build" is one of the commands here, then this policy will
47 // test. If empty, this flag policy is applied for all commands. This allows
52 repeated string commands = 2; field
/tools/test/connectivity/acts_tests/tests/google/bt/pts/instructions/
DGAP_PTS_INSTRUCTIONS356 Note: Before PTS asks you to reconnect via gatt, perform next two commands quickly
529 Note: Run these commands before executing the testcase on PTS Side
537 Note: Run these commands before executing the testcase on PTS Side
548 Note: Run the first 4 commands before executing the testcase on PTS Side
562 Note: Run the first 4 commands before executing the testcase on PTS Side
/tools/test/mobly_extensions/tools/results_uploader/
DREADME.md25 3. Run the following commands in the terminal:
38 1. Create a new terminal and run the following installation commands (first-time
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DHostOrchestratorUtil.java220 String hostName, String portNumber, String method, String api, String... commands) { in curlCommandExecution() argument
228 for (String cmdOption : commands) { in curlCommandExecution()
/tools/netsim/guide/src/cli/
DREADME.md5 This following sections provide in-depth information on the different commands available.
/tools/security/remote_provisioning/attestation_testing/
DREADME1 Run the following commands to run this attestation test on device. From the root of the tree:
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceSetup.java1182 private void runCommands(ITestDevice device, List<String> commands) in runCommands() argument
1189 for (String command : commands) { in runCommands()
1375 public static void setCommandForBinaryState(BinaryState state, List<String> commands, in setCommandForBinaryState() argument
1380 commands.add(onCommand); in setCommandForBinaryState()
1385 commands.add(offCommand); in setCommandForBinaryState()

123