Home
last modified time | relevance | path

Searched refs:a (Results 1 – 25 of 257) 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/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/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/treble/hacksaw/
DREADME.md3 **HACK** in a **S**peedy **A**ccess **W**orkspace
7 …u have a large multi-gigabyte codebase spread out through multiple git projects it can take a long…
8 lets you split off a clean workspace in seconds. It does so by only copying git projects that you
9 …are read-only bind mounts. This lets you build without cloning the full codebase to a new location!
13 …ance numbers for creating a hacksaw workspace using as a codebase the AOSP master branch as of 202…
15 * Create a new Hacksaw workspace
19 * Remove a Hacksaw workspace with no edits or build artifacts.
22 * Create a new Hacksaw workspace and edit build/make project.
26 * Create a new Hacksaw workspace and edit frameworks/base project.
30 As you can see, the time it takes to set up a new hacksaw workspace is proportional to
[all …]
/tools/asuite/atest-py2/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 …]
Datest_structure.md14 ## <a name="overall-structure">Overall Structure</a>
17 [test runners](#test-runners). At a high level, atest does the following:
29 it). That is a critical piece that atest depends on. Module-info.json contains a
36 transform the user input into a ```TestInfo``` object that contains all of the
53 ## <a name="major-files-and-dirs">Major Files and Dirs</a>
55 Here is a list of major files and dirs that are important to point out:
66 contains logic to determine what test runner to use for a particular
73 ## <a name="test-finders">Test Finders</a>
78 dependencies for the supplied test, translating it into a form that a test
84 ## <a name="test-runners">Test Runners</a>
[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 …]
Datest_structure.md14 ## <a name="overall-structure">Overall Structure</a>
17 [test runners](#test-runners). At a high level, atest does the following:
29 it). That is a critical piece that atest depends on. Module-info.json contains a
36 transform the user input into a ```TestInfo``` object that contains all of the
53 ## <a name="major-files-and-dirs">Major Files and Dirs</a>
55 Here is a list of major files and dirs that are important to point out:
66 contains logic to determine what test runner to use for a particular
73 ## <a name="test-finders">Test Finders</a>
78 dependencies for the supplied test, translating it into a form that a test
84 ## <a name="test-runners">Test Runners</a>
[all …]
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt74 IP version 6 (IPv6) is a new version of the Internet Protocol,
82 support more levels of addressing hierarchy, a much greater
85 adding a "scope" field to multicast addresses. And a new type
87 a packet to any one of a group of nodes.
134 node - a device that implements IPv6.
136 router - a node that forwards IPv6 packets not explicitly
139 host - any node that is not a router. [See Note below].
141 upper layer - a protocol layer immediately above IPv6. Examples are
148 link - a communication facility or medium over which nodes can
157 interface - a node's attachment to a link.
[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/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 …]
Dhelp_sign.txt5 pair and a corresponding certificate. Typically, an APK is signed by just one
67 can execute arbitrary code in the context of a debuggable
69 app. It is a good security practice to not sign
82 entry in the lineage must have a signer provided, so that
89 An APK previously signed with a SigningCertificateLineage
109 These options specify the configuration of a particular signer. To delimit
142 file, as a single line
144 as a single line
145 A password is required to open a KeyStore.
150 the file one line at a time. Passwords are read in the
[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/external_updater/
DREADME.md3 external updater is a tool to automatically updates libraries in external/ .
7 Check updates for a library, or verify METADATA is valid:
19 Update a library:
25 LIBNAME can be the path to a library under external/. E.g. kotlinc, or
30 To use this tool, a METADATA file must present at the root of the
35 The most important part in the file is a list of urls.
41 If type of a URL is set to GIT, the URL must be a git upstream
43 be either a version tag, or SHA. The tool will find the latest
48 IMPORTANT: It is suggested to set up a `upstream-master` branch to
51 filing a bug to componentid:99104.
[all …]
/tools/treble/split/
DREADME.md6 projects necessary to build a given target. If a project isn't used for building
9 should be faster and smaller than a sync of a full manifest because it is
12 The `treble_manifest_split` tool is used to automatically create a split
13 manifest from a full manifest using dependency information from the source tree
16 and source tree. This is solved by manually fine-tuning a tool configuration XML
21 ### 1. Run a full build using a full manifest
23 The `treble_manifest_split` tool needs the ninja build graph and deps log from a
24 completed build in order to have a full view of the dependency graph. While the
25 build graph is created at the beginning of a ninja build, the deps log is not
41 # Build treble_manifest_split as a python binary.
[all …]
/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…
/tools/test/connectivity/acts_tests/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/metalava/
DREADME.md7 Metalava is a metadata generator intended for the Android source tree, used for
8 a number of purposes:
20 * Diffing versions of the API and determining whether a newer version is
32 This builds a binary distribution in `../../out/host/common/install/metalava/bin/metalava`.
58 Metalava has a new command line syntax, but it also understands the doclava1
105 * Support for a "compact" nullness format -- one based on Kotlin's
109 signature format now uses a suffix of `?` for nullable, `!` for not yet
139 looks for various common typos and fixes those; here's a sample error
164 nullness, such as attempting to change a nullness contract incompatibly
165 (e.g. you can change a parameter from non null to nullable for final classes,
[all …]
DFORMAT.md9 through Android P. Note that this isn't actually a single format; it evolved
10 over time, so older signature files vary a bit (many of these changes were
18 values, as well as cleans up a number of things (such as dropping
21 3. This is format v2, but with all nullness annotations replaced by a
31 to a new format?
35 annotations) be a formal part of the SDK.
40 changes. (For example, you can change the return value of a final method from
55 New signature files (v2+) generally include a file header comment which states
99 As a special optimization, since we eventually want **all** APIs to have
265 Kotlin's Java support means that it wil take a Kotlin property and compile it
[all …]
/tools/repohooks/
DREADME.md31 projects that are checked out via a single manifest.
32 * Project-local settings (e.g. a single .git repo). These control settings for
44 For manifests that don't have a project checked out at the top level,
52 This file is checked in the top of a specific git repository. Stacking them
90 * `REPO_LREV`: The name of the remote revision, translated to a local tracking
130 With a commit that changes `path1/file1` and `path2/file2`, then this will run
146 This section allows for completely arbitrary hooks to run on a per-repo basis.
163 some fish = linter --ate-a-cat ${PREUPLOAD_FILES}
170 This section allows for turning on common/builtin hooks. There are a bunch of
180 * `commit_msg_bug_field`: Require a valid `Bug:` line.
[all …]
/tools/acloud/
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 Here's a quick cheat-sheet for the 4 use cases:
62 * Remote instance using a locally built image (use `m` to build the image)
71 * Local instance using a locally built image (use `m` to build the image)
94 * `--autoconnect`: This defaults to true and upon creation of a remote instance,
95 creates a ssh tunnel to enable adb and vnc connection to the instance. For the
101 * `--hw-property`: This is a string where you can specify the different
103 disk in a key:value format like so:
[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.

1234567891011