/tools/asuite/atest-py2/docs/ |
D | developer_workflow.md | 3 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/ |
D | developer_workflow.md | 3 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/dexter/slicer/ |
D | instrumentation.cc | 151 auto regs = ir_method->code->registers; in Apply() 152 auto args_count = ir_method->code->ins_count; in Apply() 168 SLICER_CHECK(ir_method->code->ins_count > 0); in GenerateShiftParamsCode() 180 const dex::u4 regs = ir_method->code->registers; in GenerateShiftParamsCode() 181 const dex::u4 ins_count = ir_method->code->ins_count; in GenerateShiftParamsCode() 223 auto non_param_regs = ir_method->code->registers - ir_method->code->ins_count; in InjectArrayParamsHook() 230 code_ir->ir_method->code->registers += regs_count - non_param_regs; in InjectArrayParamsHook() 273 dex::u4 current_reg = ir_method->code->registers - ir_method->code->ins_count; in InjectArrayParamsHook() 427 bool needsScratchReg = ir_method->code->registers < reg_count + 1; in Apply() 647 16 - static_cast<int>(code_ir->ir_method->code->registers)); in RegsRenumbering() [all …]
|
D | writer.cc | 346 CopySection(dex_->code, image, image_size); in CreateImage() 417 AddMapItem(dex_->code, map_items); in CreateMapSection() 493 dex_->code.SetOffset(section_offset); in CreateCodeItemSection() 495 for (const auto& ir_node : dex_ir_->code) { in CreateCodeItemSection() 501 dex::u4 size = dex_->code.Seal(4); in CreateCodeItemSection() 825 auto offset = dex_->code.Push(instructions); in WriteInstructions() 826 dex::u2* ptr = dex_->code.ptr<dex::u2>(offset); in WriteInstructions() 941 auto& data = dex_->code; in WriteTryBlocks() 967 auto& data = dex_->code; in WriteCode() 1005 dex::u4 code_offset = FilePointer(ir_encoded_method->code); in WriteEncodedMethod()
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/ |
D | plugin.proto | 9 // * 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/security/fuzzing/orphans/libffi/ |
D | fuzz_ffi.cc | 160 void* code; in runMainFunctions() local 164 ffi_closure_alloc(sizeof(ffi_closure), &code)); in runMainFunctions() 178 code); in runMainFunctions() 199 void* code; in runRawFunctions() local 203 ffi_closure_alloc(sizeof(ffi_raw_closure), &code)); in runRawFunctions() 216 code); in runRawFunctions() 244 void* code; in runJavaFunctions() local 248 ffi_closure_alloc(sizeof(ffi_java_raw_closure), &code)); in runJavaFunctions() 261 code); in runJavaFunctions()
|
/tools/dexter/dexter/ |
D | experimental.cc | 35 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/metalava/ |
D | README.md | 12 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 …]
|
D | FORMAT.md | 269 you have this Kotlin code: 307 from Java, but Kotlin client code can now reference the parameter. 309 Therefore, the following Java code (not signature code) will also produce 332 For Kotlin code, the default parameter values are extracted automatically, and 397 and Kotlin, wihch more closely mirrors what is done in the source code. 443 case of Kotlin code, a special JetBrains nullness annotation), or the one that
|
D | DOWNLOADING.md | 35 …o pull only what you need for building and running Metalava. Download the code (this may take some… 46 …md](README.md) for details about building and running Metalava after you have checked out the code.
|
/tools/external/fat32lib/ |
D | NOTICE | 19 …ftware (and charge for this service if you wish); that you receive source code or can get it if yo… 23 … must make sure that they, too, receive or can get the source code. If you link other code with th… 33 …he Lesser General Public License permits more lax criteria for linking other code with the library. 43 …d on the library" and a "work that uses the library". The former contains code derived from the li… 53 …ce code" for a work means the preferred form of the work for making modifications to it. For a lib… 57 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive… 79 This option is useful when you wish to copy part of the code of the Library into a program that is … 81 …code or executable form under the terms of Sections 1 and 2 above provided that you accompany it w… 83 …code is made by offering access to copy from a designated place, then offering equivalent access t… 89 …s part of the Library, the object code for the work may be a derivative work of the Library even t… [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/google/protobuf/ |
D | descriptor.proto | 9 // * Redistributions of source code must retain the above copyright 77 // This field contains optional information about the original source code. 235 // just annotations which may cause code to be generated slightly differently 236 // or may contain hints for code that manipulates protocol messages. 280 // If set true, then the Java code generator will generate a separate .java 288 // If set true, then the Java code generator will generate equals() and 300 // If set true, then the Java2 code generator will generate code that 309 // Generated classes can be optimized for speed or code size. 311 SPEED = 1; // Generate complete code for parsing, serialization, 314 LITE_RUNTIME = 3; // Generate code using MessageLite and the lite runtime. [all …]
|
/tools/repohooks/ |
D | README.md | 4 perform various checks automatically such as running linters on your code. 175 code. Refer to go/test-mapping for more details. 191 * `cpplint`: Run through the cpplint tool (for C++ code). 192 * `gofmt`: Run Go code through `gofmt`. 193 * `google_java_format`: Run Java code through 195 * `jsonlint`: Verify JSON code is sane. 197 * `pylint2`: Run Python code through `pylint` using Python 2. 198 * `pylint3`: Run Python code through `pylint` using Python 3. 199 * `rustfmt`: Run Rust code through `rustfmt`. 200 * `xmllint`: Run XML code through `xmllint`. [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/ |
D | rpc_client.py | 52 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/metalava/src/main/java/com/android/tools/metalava/ |
D | DocAnalyzer.kt | 753 val code = api ?: 1 in <lambda>() constant 754 addApiLevelDocumentation(code, pkg) in <lambda>() 766 val code: String = if (currentCodeName != null && level > options.currentApiLevel) { in <lambda>() constant 774 … val description = if (code == currentCodeName) currentCodeName else describeApiLevel(level) in <lambda>() 782 item.appendDocumentation(code, "@apiSince") in <lambda>() 799 val code: String = if (currentCodeName != null && level > options.currentApiLevel) { in <lambda>() constant 809 … "<p class=\"caution\"><strong>This class was deprecated in API level $code.</strong></p>" in <lambda>() 814 item.appendDocumentation(code, "@deprecatedSince") in <lambda>()
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/performance/ |
D | ChannelSweepTest.py | 571 code = hostapd_constants.COUNTRY_CODE[country_name]['country_code'] 572 self.set_dut_country_code(code) 718 code = country_code 720 code = hostapd_constants.COUNTRY_CODE[country_name]['country_code'] 722 self.set_dut_country_code(code) 737 'country_code': code, 757 code = settings['country_code'] 771 code, channel, '2.4' if channel < 36 else '5', channel_bandwidth, 780 (code, channel, channel_bandwidth, 786 % (code, channel, channel_bandwidth, 'Should associate'
|
/tools/acloud/internal/lib/ |
D | base_cloud_client.py | 119 if exception.code in retry_http_codes: 122 exception.code, retry_http_codes, str(exception)) 146 if exception.code == errors.HTTP_NOT_FOUND_CODE: 148 exception.code, str(exception))
|
/tools/carrier_settings/bin/ |
D | README.md | 1 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/acloud/ |
D | errors.py | 42 def __init__(self, code, message): argument 43 self.code = code
|
/tools/apifinder/src/main/com/android/apifinder/ |
D | JavaApiUsedByMainlineModule.java | 31 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/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | CompressionMethod.java | 56 static CompressionMethod fromCode(long code) { in fromCode() argument 58 if (method.methodCode == code) { in fromCode()
|
/tools/security/gdb/gdb_json_printer/gdb_json_printer/ |
D | printers.py | 158 type_code = self.value.type.strip_typedefs().code 278 value_type = 'pointer' if self.value.type.code == gdb.TYPE_CODE_PTR else 'reference' 392 type_code = value.type.strip_typedefs().code
|
/tools/carrier_settings/ |
D | README | 13 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/test/connectivity/acts_tests/tests/google/wifi/rtt/functional/ |
D | RangeApMiscTest.py | 84 for code in stat['status_codes']: 86 code == rconsts.
|
/tools/metalava/stub-annotations/ |
D | README.md | 10 to automatically mark code as recently annotated 12 in the source code; the recent-ness is computed at
|