Home
last modified time | relevance | path

Searched refs:a (Results 1 – 25 of 259) sorted by relevance

1234567891011

/tools/dexter/slicer/
Ddex_ir.cc164 [](const EncodedField* a, const EncodedField* b) { in SortEncodedFields() argument
165 SLICER_CHECK(a->decl->index != b->decl->index || a == b); in SortEncodedFields()
166 return a->decl->index < b->decl->index; in SortEncodedFields()
173 [](const EncodedMethod* a, const EncodedMethod* b) { in SortEncodedMethods() argument
174 SLICER_CHECK(a->decl->index != b->decl->index || a == b); in SortEncodedMethods()
175 return a->decl->index < b->decl->index; in SortEncodedMethods()
198 IndexItems(strings, [](const own<String>& a, const own<String>& b) { in Normalize() argument
201 return dex::Utf8Cmp(a->c_str(), b->c_str()) < 0; in Normalize()
204 IndexItems(types, [](const own<Type>& a, const own<Type>& b) { in Normalize() argument
206 return a->descriptor->index < b->descriptor->index; in Normalize()
[all …]
/tools/asuite/atest/docs/
Ddevelop_test_finders.md3 Learn about test finders and how to create a new test finder class.
7 2. [Creating a Test Finder](#creating-a-test-finder)
9 ## <a name="test-finder-details">Test Finder Details</a>
11 A test finder class holds find methods. A find method is given a string (the
12 user input) and should try to resolve that string into a ```TestInfo``` object.
14 a data field to hold misc bits like filters and extra args for the test. The
16 together in a class so they can share metadata for optimal test finding.
20 **When should I create a new test finder class?**
22 If the metadata used to find a test is unlike existing test finder classes,
23 that is the right time to create a new class. Metadata can be anything like
[all …]
Ddevelop_test_runners.md3 Learn about test runners and how to create a new test runner class.
7 2. [Creating a Test Runner](#creating-a-test-runner)
9 ## <a name="test-runner-details">Test Runner Details</a>
12 involve construction of the commandline given a ```TestInfo``` and
16 accepts. In this way, you can think of the test runner as a translator between
18 can have a consistent CLI for args instead of requiring the users to remember
23 ## <a name="creating-a-test-runner">Creating a Test Runner</a>
35 To create a new test runner, create a new class that inherits
36 ```TestRunnerBase```. Take a look at ```test_runners/example_test_runner.py```
37 to see what a simple test runner will look like.
[all …]
/tools/tradefederation/core/atest/docs/
Ddevelop_test_finders.md3 Learn about test finders and how to create a new test finder class.
7 2. [Creating a Test Finder](#creating-a-test-finder)
9 ## <a name="test-finder-details">Test Finder Details</a>
11 A test finder class holds find methods. A find method is given a string (the
12 user input) and should try to resolve that string into a ```TestInfo``` object.
14 a data field to hold misc bits like filters and extra args for the test. The
16 together in a class so they can share metadata for optimal test finding.
20 **When should I create a new test finder class?**
22 If the metadata used to find a test is unlike existing test finder classes,
23 that is the right time to create a new class. Metadata can be anything like
[all …]
Ddevelop_test_runners.md3 Learn about test runners and how to create a new test runner class.
7 2. [Creating a Test Runner](#creating-a-test-runner)
9 ## <a name="test-runner-details">Test Runner Details</a>
12 involve construction of the commandline given a ```TestInfo``` and
16 accepts. In this way, you can think of the test runner as a translator between
18 can have a consistent CLI for args instead of requiring the users to remember
23 ## <a name="creating-a-test-runner">Creating a Test Runner</a>
35 To create a new test runner, create a new class that inherits
36 ```TestRunnerBase```. Take a look at ```test_runners/example_test_runner.py```
37 to see what a simple test runner will look like.
[all …]
/tools/tradefederation/core/tests/res/config/suite/
Dsuite.md1 # Create and run a suite
3 A suite allows one to run a group of tests for a given build. Adding or removing
4 individual test from a suite can be as simple as a test config file change. One
5 use case is that we can easily maintain a collection of stable tests for
6 presubmit check. If a test becomes unstable, we can make a single test config
10 in the test config file. So one doesn't need to maintain a collection of test in
11 complicated GCL files, for a test to run in multiple suites.
13 ## Create a suite
15 1. Create a suite configuration file
17 Suite configuration file is similar to a TradeFed test configuration file. It
[all …]
/tools/acloud/
Dpylintrc14 method-rgx=[A-Z_][a-zA-Z0-9]{2,30}$|(__[a-z][a-zA-Z0-9_]+__)$|test[A-Z_][a-zA-Z0-9]{2,30}$
15 function-rgx=[A-Z_][a-zA-Z0-9]{2,30}$|(__[a-z][a-zA-Z0-9_]+__)$
17 # Good variable names which should always be accepted, separated by a comma
DREADME.md5 Acloud is a command line tool that assists users to create an Android Virtual
50 instance (running on a virtual machine in the cloud) and local instance
52 a locally built image or an image from the Android Build servers.
54 **Disclaimer: Creation of a cuttlefish local instance is not formally supported, please use at your…
56 Here's a quick cheat-sheet for the 4 use cases:
64 * Remote instance using a locally built image (use `m` to build the image)
73 * Local instance using a locally built image (use `m` to build the image)
96 * `--autoconnect`: This defaults to true and upon creation of a remote instance,
97 creates a ssh tunnel to enable adb and vnc connection to the instance. For the
103 * `--hw-property`: This is a string where you can specify the different
[all …]
/tools/tradefederation/core/
Dpylintrc17 method-name-hint=(([a-z][a-z0-9_]{2,50})|(_[a-z0-9_]*))$
20 method-rgx=(([a-z][a-z0-9_]{2,50})|(_[a-z0-9_]*))$
22 # Good variable names which should always be accepted, separated by a comma
33 # Maximum number of public methods for a class (see R0904).
/tools/trebuchet/
DREADME.md3 Trebuchet is a Kotlin library for parsing and analyzing Android trace files generated by the `atrac…
15a trace file, detects any startup events that occurred during the traced time period, and prints i…
19a set of trace files, detects startup events in each file, and computes average and standard devia…
23 …`scripts/` directory contains a shell script called `run-startup.sh`, which will start a trace, la…
DCONTRIBUTING.md4 just a few small guidelines you need to follow.
8 Contributions to this project must be accompanied by a Contributor License
12 your current agreements on file or to sign a new one.
14 You generally only need to submit a CLA once, so if you've already submitted one
15 (even if it was for a different project), you probably don't need to do it
/tools/repohooks/tools/
Dpylintrc5 # You may obtain a copy of the License at
17 # Specify a configuration file.
57 # Allow optimization of some AST trees. This will activate a peephole AST
60 # operator. Joining a lot of strings can lead to a maximum recursion error in
175 # (visual studio) and html. You can also give a reporter class, eg
179 # Put messages in a separate file for each module / package specified on the
181 # written in a file name "pylint_global.[txt|html]".
184 # Tells whether to display a full report or only the messages
190 # Python expression which should return a note less than 10 (10 is the highest
197 # Template used to display messages. This is a python new-style format string
[all …]
/tools/asuite/
Dpylintrc21 method-name-hint=(([a-z][a-z0-9_]{2,50})|(_[a-z0-9_]*))$
24 method-rgx=(([a-z][a-z0-9_]{2,50})|(_[a-z0-9_]*))$
26 # Good variable names which should always be accepted, separated by a comma.
37 # Maximum number of public methods for a class (see R0904).
49 # Maximum number of characters on a single line.
/tools/external/fat32lib/
DNOTICE23 For example, if you distribute copies of the library, whether gratis or for a fee, you must give th…
25 We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you t…
29a constant threat to the existence of any free program. We wish to make sure that a company cannot…
33 …en a program is linked with a library, whether statically or using a shared library, the combinati…
37a special need to encourage the widest possible use of a certain library, so that it becomes a de-…
39 In other cases, permission to use a particular library in non-free programs enables a greater numbe…
41 …ensure that the user of a program that is linked with the Library has the freedom and the wherewit…
43 …tion follow. Pay close attention to the difference between a "work based on the library" and a "wo…
47 0. This License Agreement applies to any software library or other program which contains a notice …
49 A "library" means a collection of software functions and/or data prepared so as to be conveniently …
[all …]
/tools/test/connectivity/acts/
DREADME.md2 The Android Comms Test Suite, is a lightweight Python-based automation tool set
4 devices. It provides a simple execution interface; a set of pluggable libraries
5 for accessing commercially avilable devices, Android devices, and a collection
7 tool for a wireless stack developer or integrator whether exercising a new code
10 Included in the tests/google directory are a bundle of tests, many of which can
37 Below is a high level view of the ACTS flow:
61 USB debugging must be enabled before a device can take commands from adb.
64 2. Tap Build number repeatedly until "You're a developer now" is displayed.
67 1. Plug the device into a computer (host)
91 ## Breaking Down a Sample Command
[all …]
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_lineage.txt4 This can be used to revoke capabilities of a previous signing certificate once the install base
10 --in Input SigningCertificateLineage. This file contains a binary representation of
11 a SigningCertificateLineage object which contains the proof-of-rotation for
13 An APK previously signed with a SigningCertificateLineage can also be
16 --out File into which to put the binary representation of a
30 --signer Indicates the start of a new signing certificate to be modified.
34 To modify the capabilities of a previous signer in the lineage the signer's
42 by a newer signing certificate. By default, the new signer will have all
44 to act as a default level of trust when moving to a newer signing certificate.
63 file, as a single line
[all …]
Dhelp_rotate.txt3 This takes the provided keys and creates a SigningCertificateLineage entry linking the old to the
4 new, for use in a key rotation scenario using APK Signature Scheme v3.
9 --in Input SigningCertificateLineage. This file contains a binary representation of
10 a SigningCertificateLineage object, which contains the proof-of-rotation for
13 An APK previously signed with a SigningCertificateLineage can also be
16 --out File into which to put the binary representation of a
24 These options specify the configuration of a particular signer. To rotate keys, two signers must be
25 specified, an old and a new.
28 be used to sign a new entry in the SigningCertificateLineage allowing the
43 by a newer signing certificate. By default, the new signer will have all
[all …]
/tools/test/connectivity/acts/tests/google/tel/config/
DREADME.md5a bug report after each failed test. In situations where this is overly time consuming or otherwis…
6 …f_file** - Path to a SIM card config file, which is needed in the event that the MSISDN/MDN is not…
8 … this key specifies a maximum number of re-runs that will be performed in the event of a test fail…
10 …- **wifi_network_ssid** - The SSID of a wifi network for test use. This network must have internet…
13 …- **call_server_number** - the POTS telephone number of a call server used in TelLiveStressCallTest
/tools/trebuchet/scripts/
DREADME.md10 This script automatically starts an app on a device connected through adb with
11 appropriate tracing enabled. It then saves a trace and reports a summary of the
13 your path and that a phone be connected.
/tools/test/connectivity/acts/tests/google/bt/pts/instructions/
DSM_PTS_INSTRUCTIONS4 # use this file except in compliance with the License. You may obtain a copy of
118 Note: Do not use a static random address
124 Note: Do not use a static random address
130 Note: Do not use a static random address
136 Note: Do not use a static random address
141 Note: Do not use a static random address
147 Note: Do not use a static random address
153 Note: Do not use a static random address
158 Note: Do not use a static random address
164 Note: Do not use a static random address
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/google/protobuf/
Ddescriptor.proto36 // A valid .proto file can be translated directly to a FileDescriptorProto
50 // The protocol compiler can output a FileDescriptorSet containing the .proto
56 // Describes a complete .proto file.
88 // Describes a message type.
109 // Describes a field within a message.
157 // starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
174 // If set, gives the index of a oneof in the containing type's oneof_decl
175 // list. This field is a member of that oneof. Extensions of a oneof should
183 // Describes a oneof.
197 // Describes a value within an enum.
[all …]
/tools/test/connectivity/acts/tests/google/wifi/aware/
DREADME.md12 they just record the measured performance. Even when tests do have a pass/
14 * stress: Tests which run through a large number of iterations to stress
19 in a particular mode and expect the tester to capture an over-the-air
26 Where a test file is any of the `.py` files in any of the test sub-directories.
27 If a test class is specified, then all tests within that test class are executed.
29 2. All tests in a test group: `act.py -c <config> -tf <test_file>`
31 Where `<test_file>` is a file containing a list of tests. Each of the test
32 group sub-directories contains a file with the same name as that of the
41 devices without listing specific serial numbers. Note that some tests use a
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbt_metrics_utils.py41 lambda a, b : a + b)
47 lambda a, b : a + b)
/tools/dexter/slicer/export/slicer/
Dscopeguard.h68 #define SLICER_SG_MACRO_CONCAT2(a, b) a ## b argument
69 #define SLICER_SG_MACRO_CONCAT(a, b) SLICER_SG_MACRO_CONCAT2(a, b) argument
/tools/tradefederation/core/proto/
Dbuild_info.proto6 * You may obtain a copy of the License at
23 // The representation of a versioned build file
31 // The representation of a map of key to a list of versioned files. Similar to
34 // The Key indexing a list of BuildFile that are tracked by the BuildInfo.
48 // The build attributes, as a key value
55 // Deprecated: Whether or not the build info represents a test resource.

1234567891011