Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 105) sorted by relevance

12345

/tools/tradefederation/core/atest/docs/
Ddeveloper_workflow.md3 This document explains the practical steps for contributing code to atest.
6 1. [Identify the code you should work on](#identify-the-code-you-should-work-on)
7 2. [Working on the Python Code](#working-on-the-python-code)
8 3. [Working on the TradeFed Code](#working-on-the-tradefed-code)
9 4. [Working on the VTS10-TradeFed Code](#working-on-the-vts10-tradefed-code)
10 5. [Working on the Robolectric Code](#working-on-the-robolectric-code)
13 ## <a name="what-code">Identify the code you should work on</a>
16 this division, your first step should be to identify the code
18 and run. Note that the wrapper code is written in python, so we'll be
23 This code defines atest's command line interface.
[all …]
/tools/asuite/atest/docs/
Ddeveloper_workflow.md3 This document explains the practical steps for contributing code to atest.
6 1. [Identify the code you should work on](#identify-the-code-you-should-work-on)
7 2. [Working on the Python Code](#working-on-the-python-code)
8 3. [Working on the TradeFed Code](#working-on-the-tradefed-code)
9 4. [Working on the VTS10-TradeFed Code](#working-on-the-vts10-tradefed-code)
10 5. [Working on the Robolectric Code](#working-on-the-robolectric-code)
13 ## <a name="what-code">Identify the code you should work on</a>
16 this division, your first step should be to identify the code
18 and run. Note that the wrapper code is written in python, so we'll be
23 This code defines atest's command line interface.
[all …]
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/error/
DInfraErrorIdentifier.java43 private final long code; field in InfraErrorIdentifier
46 InfraErrorIdentifier(int code, FailureStatus status) { in InfraErrorIdentifier() argument
47 this.code = code; in InfraErrorIdentifier()
52 public long code() { in code() method in InfraErrorIdentifier
53 return code; in code()
DDeviceErrorIdentifier.java41 private final long code; field in DeviceErrorIdentifier
44 DeviceErrorIdentifier(int code, FailureStatus status) { in DeviceErrorIdentifier() argument
45 this.code = code; in DeviceErrorIdentifier()
50 public long code() { in code() method in DeviceErrorIdentifier
51 return code; in code()
DErrorIdentifier.java32 public long code(); in code() method
/tools/carrier_settings/bin/
DREADME.md1 To run this tool in Android 10 code base, the python tools need to be prebuilt
2 on Android 11 code base and dropped to this directory. This is to workaround
7 1. From Android 11 code base, build the python tools:
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DCompressionMethod.java56 static CompressionMethod fromCode(long code) { in fromCode() argument
58 if (method.methodCode == code) { in fromCode()
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/
Dplugin.proto9 // * Redistributions of source code must retain the above copyright
57 // code generator should generate code only for these files. Each file's
80 // Error message. If non-empty, code generation failed. The plugin process
81 // should exit with status code zero even if it reports an error in this way.
84 // code generator from generating correct code. Errors which indicate a
87 // exiting with a non-zero status code.
107 // point. This feature allows a code generator to extend the output
108 // produced by another code generator. The original generator may provide
118 // The double-@ is intended to make it unlikely that the generated code
121 // For example, the C++ code generator places the following line in the
[all …]
/tools/acloud/
Derrors.py42 def __init__(self, code, message): argument
43 self.code = code
/tools/dexter/slicer/
Dinstrumentation.cc146 auto regs = ir_method->code->registers; in Apply()
147 auto args_count = ir_method->code->ins_count; in Apply()
222 dex::u4 current_reg = ir_method->code->registers - ir_method->code->ins_count; in InjectArrayParamsHook()
508 16 - static_cast<int>(code_ir->ir_method->code->registers)); in RegsRenumbering()
535 SLICER_CHECK(ir_method->code->ins_count > 0); in ShiftParams()
550 Allocate(code_ir, ir_method->code->registers, left_to_allocate_); in ShiftParams()
553 const dex::u4 regs = ir_method->code->registers; in ShiftParams()
554 const dex::u4 ins_count = ir_method->code->ins_count; in ShiftParams()
591 code_ir->ir_method->code->registers += count; in Allocate()
606 const auto code = code_ir->ir_method->code; in Apply() local
[all …]
/tools/carrier_settings/
DREADME13 The commands above build the tool from source code and run them.
15 This tool is best supported on Android 11 code base. See additional steps
/tools/dexter/dexter/
Dexperimental.cc35 if (ir_method->code != nullptr) { in FullRewrite()
51 if (ir_method->code == nullptr) { in StressWrapInvoke()
141 if (ir_method->code == nullptr) { in StressEntryHook()
168 auto regs = ir_method->code->registers; in StressEntryHook()
169 auto args_count = ir_method->code->ins_count; in StressEntryHook()
200 if (ir_method->code == nullptr) { in StressExitHook()
326 if (ir_method->code != nullptr) { in StressScratchRegs()
360 if (ir_method->code == nullptr) { in CodeCoverage()
480 if (ir_method->code != nullptr) { in RegsHistogram()
481 const int regs = ir_method->code->registers; in RegsHistogram()
[all …]
/tools/acloud/internal/lib/
Dbase_cloud_client.py120 if exception.code in retry_http_codes:
123 exception.code, retry_http_codes, str(exception))
147 if exception.code == errors.HTTP_NOT_FOUND_CODE:
149 exception.code, str(exception))
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Drpc_client.py52 def __init__(self, message, code=-1, data=None, rpc_name=''): argument
55 self.code = code
64 return 'Error in RPC %s %s:%s:%s' % (self.rpc_name, self.code,
67 return 'Error in RPC %s %s:%s' % (self.rpc_name, self.code,
/tools/ndkports/
Dgradle.properties1 kotlin.code.style=official
/tools/apifinder/src/main/com/android/apifinder/
DJavaApiUsedByMainlineModule.java31 import com.sun.tools.javac.code.Symbol;
32 import com.sun.tools.javac.code.Symbol.MethodSymbol;
33 import com.sun.tools.javac.code.Symbol.VarSymbol;
/tools/test/connectivity/acts/tests/google/wifi/rtt/functional/
DRangeApMiscTest.py84 for code in stat['status_codes']:
86 code == rconsts.
/tools/repohooks/
DREADME.md4 perform various checks automatically such as running linters on your code.
188 * `cpplint`: Run through the cpplint tool (for C++ code).
189 * `gofmt`: Run Go code through `gofmt`.
190 * `google_java_format`: Run Java code through
192 * `jsonlint`: Verify JSON code is sane.
194 * `pylint2`: Run Python code through `pylint` using Python 2.
195 * `pylint3`: Run Python code through `pylint` using Python 3.
196 * `rustfmt`: Run Rust code through `rustfmt`.
197 * `xmllint`: Run XML code through `xmllint`.
199 code. Refer to go/test-mapping for more details.
[all …]
/tools/external_updater/
DOWNERS1 # Default code reviewers picked from top 3 or more developers.
/tools/test/graphicsbenchmark/
DOWNERS1 # Default code reviewers picked from top 3 or more developers.
/tools/trebuchet/
DOWNERS1 # Default code reviewers picked from top 3 or more developers.
/tools/metalava/
DREADME.md12 more importantly to hide code intended to be implementation only, driven by
25 To download the code and any dependencies required for building, see [DOWNLOADING.md](DOWNLOADING.m…
43 metalava extracts metadata from source code to generate artifacts such as the
146 not just nullness annotations found in the source code and annotations merged
149 compiler treat errors in the user code as warnings instead of errors.)
153 of the source code). This means that the documentation tool itself does not
154 need to be able to figure out which parts of the source code is included in
169 * Consistent stubs: In doclava1, the code which iterated over the API and
177 extraction code in doclava1 missed, but accidentally included in the SDK
186 Some of these take advantage of looking at the source code which wasn't
[all …]
/tools/tradefederation/core/
DOWNERS1 # Root Owners of the Tradefed repo for code reviews
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DSubprocessResultsReporterTest.java207 InfraErrorIdentifier.UNDETERMINED.code(), in testPrintEvent_printToSocket_StructuredFailures()
208 capturedFailure.getErrorIdentifier().code()); in testPrintEvent_printToSocket_StructuredFailures()
219 InfraErrorIdentifier.UNDETERMINED.code(), in testPrintEvent_printToSocket_StructuredFailures()
220 capturedInvocation.getErrorIdentifier().code()); in testPrintEvent_printToSocket_StructuredFailures()
/tools/dexter/testdata/expected/
Dlarge.am_stats25 code : 74

12345