Home
last modified time | relevance | path

Searched refs:cli (Results 1 – 25 of 134) sorted by relevance

123456

/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DMainCommand.kt19 import com.android.tools.metalava.cli.common.CommonBaselineOptions in <lambda>()
20 import com.android.tools.metalava.cli.common.CommonOptions in <lambda>()
21 import com.android.tools.metalava.cli.common.ExecutionEnvironment in <lambda>()
22 import com.android.tools.metalava.cli.common.IssueReportingOptions in <lambda>()
23 import com.android.tools.metalava.cli.common.LegacyHelpFormatter in <lambda>()
24 import com.android.tools.metalava.cli.common.MetalavaCliException in <lambda>()
25 import com.android.tools.metalava.cli.common.MetalavaLocalization in <lambda>()
26 import com.android.tools.metalava.cli.common.SourceOptions in <lambda>()
27 import com.android.tools.metalava.cli.common.executionEnvironment in <lambda>()
28 import com.android.tools.metalava.cli.common.progressTracker in <lambda>()
[all …]
DAndroidJarsToSignaturesCommand.kt19 import com.android.tools.metalava.cli.common.MetalavaCliException in <lambda>()
20 import com.android.tools.metalava.cli.common.MetalavaSubCommand in <lambda>()
21 import com.android.tools.metalava.cli.common.executionEnvironment in <lambda>()
22 import com.android.tools.metalava.cli.common.existingDir in <lambda>()
23 import com.android.tools.metalava.cli.common.progressTracker in <lambda>()
24 import com.android.tools.metalava.cli.common.stderr in <lambda>()
25 import com.android.tools.metalava.cli.common.stdout in <lambda>()
26 import com.android.tools.metalava.cli.signature.SignatureFormatOptions in <lambda>()
DJarToJDiffCommand.kt19 import com.android.tools.metalava.cli.common.MetalavaSubCommand in <lambda>()
20 import com.android.tools.metalava.cli.common.executionEnvironment in <lambda>()
21 import com.android.tools.metalava.cli.common.existingFile in <lambda>()
22 import com.android.tools.metalava.cli.common.newFile in <lambda>()
23 import com.android.tools.metalava.cli.common.progressTracker in <lambda>()
24 import com.android.tools.metalava.cli.common.stderr in <lambda>()
DOptions.kt22 import com.android.tools.metalava.cli.common.CommonOptions in <lambda>()
23 import com.android.tools.metalava.cli.common.ExecutionEnvironment in <lambda>()
24 import com.android.tools.metalava.cli.common.IssueReportingOptions in <lambda>()
25 import com.android.tools.metalava.cli.common.MetalavaCliException in <lambda>()
26 import com.android.tools.metalava.cli.common.SourceOptions in <lambda>()
27 import com.android.tools.metalava.cli.common.Terminal in <lambda>()
28 import com.android.tools.metalava.cli.common.TerminalColor in <lambda>()
29 import com.android.tools.metalava.cli.common.Verbosity in <lambda>()
30 import com.android.tools.metalava.cli.common.enumOption in <lambda>()
31 import com.android.tools.metalava.cli.common.fileForPathInner in <lambda>()
[all …]
DDriver.kt23 import com.android.tools.metalava.cli.common.ActionContext in <lambda>()
24 import com.android.tools.metalava.cli.common.EarlyOptions in <lambda>()
25 import com.android.tools.metalava.cli.common.ExecutionEnvironment in <lambda>()
26 import com.android.tools.metalava.cli.common.MetalavaCliException in <lambda>()
27 import com.android.tools.metalava.cli.common.MetalavaCommand in <lambda>()
28 import com.android.tools.metalava.cli.common.SignatureFileLoader in <lambda>()
29 import com.android.tools.metalava.cli.common.VersionCommand in <lambda>()
30 import com.android.tools.metalava.cli.common.commonOptions in <lambda>()
31 import com.android.tools.metalava.cli.compatibility.ARG_CHECK_COMPATIBILITY_BASE_API in <lambda>()
32 import com.android.tools.metalava.cli.compatibility.CompatibilityCheckOptions.CheckRequest in <lambda>()
[all …]
/tools/asuite/adevice/src/
Dcli.rs136 use crate::cli::Wait;
143 let cli = Cli::parse_from(["fake_prog", "update", "--nowait"]); in nowait_works() localVariable
144 assert!(cli.global_options.nowait); in nowait_works()
149 let cli = Cli::parse_from(["fake_prog", "update", "--no_wait"]); in no_wait_alias_works() localVariable
150 assert!(cli.global_options.nowait); in no_wait_alias_works()
155 let cli = Cli::parse_from(["fake_prog", "update"]); in unset_nowait_is_none() localVariable
156 assert!(!cli.global_options.nowait); in unset_nowait_is_none()
161 let cli = Cli::parse_from(["fake_prog", "update"]); in it_should_wait() localVariable
162 assert_eq!(Wait::Yes, cli.should_wait()); in it_should_wait()
163 let should_wait: bool = cli.should_wait().into(); in it_should_wait()
[all …]
Dadevice.rs1 use crate::cli;
119 cli: &cli::Cli, in adevice()
135 let restart_choice = cli.global_options.restart_choice.clone(); in adevice()
137 let product_out = match &cli.global_options.product_out { in adevice()
146 let mut config = Config::load(&cli.global_options.config_path)?; in adevice()
152 match &cli.command { in adevice()
153 cli::Commands::Track(names) => return config.track(&names.modules), in adevice()
154 cli::Commands::TrackBase(base) => return config.trackbase(&base.base), in adevice()
155 cli::Commands::Untrack(names) => return config.untrack(&names.modules), in adevice()
166 &validate_partitions(&product_out, &ninja_installed_files, &cli.global_options.partitions)?; in adevice()
[all …]
Dmain.rs3 mod cli; module
28 let cli = cli::Cli::parse(); in main() localVariable
30 let device = RealDevice::new(cli.global_options.serial.clone()); in main()
35 &cli, in main()
/tools/asuite/adevice/tests/
Dwhole_program_tests.rs4 use adevice::{cli, commands};
35 let cli = cli::Cli::parse_from(["", "--product_out", "unused", "status"]); in adevice_status() localVariable
40 &cli, in adevice_status()
71 let cli = cli::Cli::parse_from([ in lost_and_found_should_not_be_cleaned() localVariable
88 &cli, in lost_and_found_should_not_be_cleaned()
115 let cli = cli::Cli::parse_from(["", "--product_out", "unused", "update", "--restart", "none"]); in update_should_clean_stale_files() localVariable
124 &cli, in update_should_clean_stale_files()
167 let cli = cli::Cli::parse_from(["", "--product_out", "unused", "update", "--restart", "none"]); in update_big_fs_change() localVariable
176 &cli, in update_big_fs_change()
/tools/treble/build/treble_build/local/
Dninja.go246 func (cli *ninjaCli) Command(ctx context.Context, target string) (*app.BuildCommand, error) {
247 raw, err := cli.n.Command(ctx, target)
255 func (cli *ninjaCli) Input(ctx context.Context, target string) (*app.BuildInput, error) {
256 raw, err := cli.n.Input(ctx, target)
264 func (cli *ninjaCli) Query(ctx context.Context, target string) (*app.BuildQuery, error) {
265 raw, err := cli.n.Query(ctx, target)
273 func (cli *ninjaCli) Path(ctx context.Context, target string, dependency string) (*app.BuildPath, e…
274 raw, err := cli.n.Path(ctx, target, dependency)
282 func (cli *ninjaCli) Paths(ctx context.Context, target string, dependency string) ([]*app.BuildPath…
283 raw, err := cli.n.Paths(ctx, target, dependency)
[all …]
Dgit.go48 func (cli gitCli) Project(ctx context.Context, path, gitDir, remote, revision string) (*app.GitProj…
58 if raw, err := cli.git.ProjectInfo(ctx, gitDir, workDir); err == nil {
78 if raw, err := cli.git.RemoteUrl(ctx, gitDir, workDir, remote); err == nil {
89 func (cli gitCli) PopulateFiles(ctx context.Context, proj *app.GitProject, upstream string) error {
90 if raw, err := cli.git.Tree(ctx, proj.GitDir, proj.WorkDir, proj.Revision); err == nil {
99 …if diff, err := cli.git.DiffBranches(ctx, proj.GitDir, proj.WorkDir, upstream, proj.Revision); err…
115 func (cli gitCli) CommitInfo(ctx context.Context, proj *app.GitProject, sha string) (*app.GitCommit…
119 raw, err := cli.git.CommitInfo(ctx, proj.GitDir, proj.WorkDir, sha)
246 cli := &gitCli{git: &gitCmd{cmd: "git", timeout: 100000 * time.Millisecond}}
247 return cli
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/compatibility/
DCompatibilityCheckOptions.kt17 package com.android.tools.metalava.cli.compatibility in <lambda>()
21 import com.android.tools.metalava.cli.common.BaselineOptionsMixin in <lambda>()
22 import com.android.tools.metalava.cli.common.CommonBaselineOptions in <lambda>()
23 import com.android.tools.metalava.cli.common.ExecutionEnvironment in <lambda>()
24 import com.android.tools.metalava.cli.common.JarBasedApi in <lambda>()
25 import com.android.tools.metalava.cli.common.PreviouslyReleasedApi in <lambda>()
26 import com.android.tools.metalava.cli.common.allowStructuredOptionName in <lambda>()
27 import com.android.tools.metalava.cli.common.existingFile in <lambda>()
28 import com.android.tools.metalava.cli.common.map in <lambda>()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DMainCommandTest.kt20 import com.android.tools.metalava.cli.common.BaseCommandTest in <lambda>()
21 import com.android.tools.metalava.cli.common.COMMON_BASELINE_OPTIONS_HELP in <lambda>()
22 import com.android.tools.metalava.cli.common.CommonOptions in <lambda>()
23 import com.android.tools.metalava.cli.common.ISSUE_REPORTING_OPTIONS_HELP in <lambda>()
24 import com.android.tools.metalava.cli.common.SOURCE_OPTIONS_HELP in <lambda>()
25 import com.android.tools.metalava.cli.compatibility.COMPATIBILITY_CHECK_OPTIONS_HELP in <lambda>()
26 import com.android.tools.metalava.cli.lint.API_LINT_OPTIONS_HELP in <lambda>()
27 import com.android.tools.metalava.cli.signature.SIGNATURE_FORMAT_OPTIONS_HELP in <lambda>()
DDriverTest.kt33 import com.android.tools.metalava.cli.common.ARG_COMMON_SOURCE_PATH in <lambda>()
34 import com.android.tools.metalava.cli.common.ARG_HIDE in <lambda>()
35 import com.android.tools.metalava.cli.common.ARG_NO_COLOR in <lambda>()
36 import com.android.tools.metalava.cli.common.ARG_QUIET in <lambda>()
37 import com.android.tools.metalava.cli.common.ARG_REPEAT_ERRORS_MAX in <lambda>()
38 import com.android.tools.metalava.cli.common.ARG_SOURCE_PATH in <lambda>()
39 import com.android.tools.metalava.cli.common.ARG_VERBOSE in <lambda>()
40 import com.android.tools.metalava.cli.common.ExecutionEnvironment in <lambda>()
41 import com.android.tools.metalava.cli.common.TestEnvironment in <lambda>()
42 import com.android.tools.metalava.cli.compatibility.ARG_BASELINE_CHECK_COMPATIBILITY_RELEASED in <lambda>()
[all …]
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/lint/
DApiLintOptions.kt17 package com.android.tools.metalava.cli.lint
19 import com.android.tools.metalava.cli.common.BaselineOptionsMixin
20 import com.android.tools.metalava.cli.common.CommonBaselineOptions
21 import com.android.tools.metalava.cli.common.ExecutionEnvironment
22 import com.android.tools.metalava.cli.common.PreviouslyReleasedApi
23 import com.android.tools.metalava.cli.common.allowStructuredOptionName
24 import com.android.tools.metalava.cli.common.existingFile
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/signature/
DSignatureToDexCommand.kt17 package com.android.tools.metalava.cli.signature in <lambda>()
22 import com.android.tools.metalava.cli.common.MetalavaSubCommand in <lambda>()
23 import com.android.tools.metalava.cli.common.SignatureFileLoader in <lambda>()
24 import com.android.tools.metalava.cli.common.existingFile in <lambda>()
25 import com.android.tools.metalava.cli.common.newFile in <lambda>()
26 import com.android.tools.metalava.cli.common.progressTracker in <lambda>()
DMergeSignaturesCommand.kt17 package com.android.tools.metalava.cli.signature
21 import com.android.tools.metalava.cli.common.MetalavaCliException
22 import com.android.tools.metalava.cli.common.MetalavaSubCommand
23 import com.android.tools.metalava.cli.common.existingFile
24 import com.android.tools.metalava.cli.common.newFile
25 import com.android.tools.metalava.cli.common.progressTracker
DSignatureToJDiffCommand.kt17 package com.android.tools.metalava.cli.signature in <lambda>()
25 import com.android.tools.metalava.cli.common.MetalavaSubCommand in <lambda>()
26 import com.android.tools.metalava.cli.common.SignatureFileLoader in <lambda>()
27 import com.android.tools.metalava.cli.common.existingFile in <lambda>()
28 import com.android.tools.metalava.cli.common.newFile in <lambda>()
29 import com.android.tools.metalava.cli.common.progressTracker in <lambda>()
DUpdateSignatureHeaderCommand.kt17 package com.android.tools.metalava.cli.signature in <lambda>()
20 import com.android.tools.metalava.cli.common.MetalavaSubCommand in <lambda>()
21 import com.android.tools.metalava.cli.common.existingFile in <lambda>()
22 import com.android.tools.metalava.cli.common.stderr in <lambda>()
/tools/netsim/rust/
DCMakeLists.txt20 netsim-cli
50 corrosion_set_env_vars(netsim-cli CXXFLAGS=${CXXFLAGS})
57 corrosion_add_target_rustflags(netsim-cli ${RUSTFLAGS})
84 add_library(netsim-cli-rust-lib INTERFACE)
86 target_link_libraries(netsim-cli-rust-lib INTERFACE netsim-proto netsim-cli)
88 android_license(TARGET netsim-cli-rust-lib LIBNAME None SPDX None LICENSE None
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/help/
DHelpCommand.kt17 package com.android.tools.metalava.cli.help
20 import com.android.tools.metalava.cli.common.MetalavaHelpFormatter
21 import com.android.tools.metalava.cli.common.stdout
22 import com.android.tools.metalava.cli.common.terminal
23 import com.android.tools.metalava.cli.signature.ARG_FORMAT
DIssuesCommand.kt17 package com.android.tools.metalava.cli.help
19 import com.android.tools.metalava.cli.common.MetalavaHelpFormatter
20 import com.android.tools.metalava.cli.common.Terminal
21 import com.android.tools.metalava.cli.common.TerminalColor
22 import com.android.tools.metalava.cli.common.stdout
23 import com.android.tools.metalava.cli.common.terminal
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/internal/
DMakeAnnotationsPackagePrivateCommand.kt17 package com.android.tools.metalava.cli.internal in <lambda>()
19 import com.android.tools.metalava.cli.common.MetalavaCliException in <lambda>()
20 import com.android.tools.metalava.cli.common.existingDir in <lambda>()
21 import com.android.tools.metalava.cli.common.newDir in <lambda>()
/tools/platform-compat/java/com/android/class2nonsdklist/
DClass2NonSdkList.java31 import org.apache.commons.cli.CommandLine;
32 import org.apache.commons.cli.CommandLineParser;
33 import org.apache.commons.cli.GnuParser;
34 import org.apache.commons.cli.HelpFormatter;
35 import org.apache.commons.cli.OptionBuilder;
36 import org.apache.commons.cli.Options;
37 import org.apache.commons.cli.ParseException;
/tools/netsim/proto/
DCMakeLists.txt42 # For netsim-cli (netsim-cli-proto-lib)
49 TARGET netsim-cli-proto-lib LICENSE Apache-2.0 SRC ${NETSIM_FRONTEND_GRPC_SRC}
53 netsim-cli-proto-lib PRIVATE ${PROTOBUF_INCLUDE_DIR} ..
73 android_license(TARGET "netsim-cli-proto-lib" LIBNAME None SPDX None

123456