Home
last modified time | relevance | path

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

12345678910>>...14

/tools/dexter/slicer/
Ddex_ir.cc163 [](const EncodedField* a, const EncodedField* b) { in SortEncodedFields() argument
164 SLICER_CHECK(a->decl->index != b->decl->index || a == b); in SortEncodedFields()
165 return a->decl->index < b->decl->index; in SortEncodedFields()
172 [](const EncodedMethod* a, const EncodedMethod* b) { in SortEncodedMethods() argument
173 SLICER_CHECK(a->decl->index != b->decl->index || a == b); in SortEncodedMethods()
174 return a->decl->index < b->decl->index; in SortEncodedMethods()
197 IndexItems(strings, [](const own<String>& a, const own<String>& b) { in Normalize() argument
200 return dex::Utf8Cmp(a->c_str(), b->c_str()) < 0; in Normalize()
203 IndexItems(types, [](const own<Type>& a, const own<Type>& b) { in Normalize() argument
205 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
114 # (visual studio) and html. You can also give a reporter class, eg
118 # Put messages in a separate file for each module / package specified on the
120 # written in a file name "pylint_global.[txt|html]".
123 # Tells whether to display a full report or only the messages
129 # Python expression which should return a note less than 10 (10 is the highest
136 # Template used to display messages. This is a python new-style format string
[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/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/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/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/external_updater/
DREADME.md3 external updater is a tool to automatically update libraries in external/.
7 Check updates for a library or verify METADATA is valid:
13 Update a library, commit, and upload the change to Gerrit:
19 Update a library without committing and uploading to Gerrit:
25 Update a library on top of the local changes in the current branch, commit, and upload the change t…
31 Update a library without building:
37 LIBNAME can be the path to a library under external/, e.g. kotlinc, or
42 To use this tool, a METADATA file must present at the root of the
47 The most important part in the file is a list of urls.
53 If type of a URL is set to GIT, the URL must be a git upstream
[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/apksig/src/apksigner/java/com/android/apksigner/
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_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
34 --signer Indicates the start of a new signing certificate to be modified.
38 To modify the capabilities of a previous signer in the lineage the signer's
46 by a newer signing certificate. By default, the new signer will have all
48 to act as a default level of trust when moving to a newer signing certificate.
67 file, as a single line
[all …]
/tools/netsim/ui/dist/js/
Dcube-sprite.js1 …t/decorators.js";import{simulationState as d}from"./device-observer.js";let a=class extends o{cons… class
27 `}};a.styles=e`
106a.prototype,"yaw",void 0),t([r({type:Number})],a.prototype,"pitch",void 0),t([r({type:Number})],a.…
/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/dexter/slicer/export/slicer/
Dcommon.h46 #define SLICER_CHECK_EQ(a, b) SLICER_CHECK_OP(a, b, ==, "EQ") argument
47 #define SLICER_CHECK_NE(a, b) SLICER_CHECK_OP(a, b, !=, "NE") argument
48 #define SLICER_CHECK_LT(a, b) SLICER_CHECK_OP(a, b, <, "LT") argument
49 #define SLICER_CHECK_LE(a, b) SLICER_CHECK_OP(a, b, <=, "LE") argument
50 #define SLICER_CHECK_GT(a, b) SLICER_CHECK_OP(a, b, >, "GT") argument
51 #define SLICER_CHECK_GE(a, b) SLICER_CHECK_OP(a, b, >=, "GE") argument
/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/asuite/atest/bazel/
Datest_bazel_mode.md2 Atest is a command line tool that allows users to run Android tests locally
7 Atest Bazel Mode creates a synthetic Bazel workspace and executes tests using
11 that requires a device is still work in progress.
20 ## <a name="basic-usage">Basic Usage</a>
25 <p>Note: "--host" is needed to run the test completely on the host without a device.
35 ## <a name="advanced-usage">Advanced Usage</a>
42 ## <a name="how-it-works">How It Works</a>
43 Bazel needs a Bazel workspace to execute tests.
44 In Atest Bazel Mode, we construct a synthetic workspace using module-info.json.
70 a change to module-info.json.
[all …]
/tools/aadevtools/validation/
DREADME.md2 This is a collection of validation tools for better development & integration
7 added to risk the device development. These scripts illustrate a basic check for
8 a new app bundle release against a known good virtual or physical device build.
11 1. Prepare a new app release in a directory, a device under test reachable
18 …name when copying XML files to the device at the build time, you can supply a CSV file to guide th…
24 2. batch_install_app.sh: find & install all APKs in a given directory to
25 a device via adb. Launch their launchable activities if any & capture
32 3. batch_check_permission.sh: find & diff permissions XML files in a given
33 directory against those on a device via adb. To use:
/tools/asuite/atest/bazel/runner/src/main/protobuf/
Dinvocation_policy.proto5 // You may obtain a copy of the License at
21 // The --invocation_policy flag takes a base64-encoded binary-serialized or text
26 // requirements, only the final policy on a specific flag will be enforced
31 // A policy for controlling the value of a flag.
36 // name of the flag. If the user specifies the abbreviated name of a flag,
43 // If set, this flag policy is applied only if one of the given commands or a
67 // multiple values for a flag that is not actually a repeatable flag.
83 // Other flags may be differently tricky: A flag could have a converter that
84 // converts some string to a list of values, but that flag may not itself have
99 // true: for a flag that specifies allowMultiple=true, "--flag=foo,bar"
[all …]
Dbuild_event_stream.proto5 // You may obtain a copy of the License at
28 // Identifier for a build event. It is deliberately structured to also provide
31 // Events are chained via the event id as follows: each event has an id and a
33 // event has an id that is mentioned as child id in an earlier event and a build
37 // Generic identifier for a build event. This is the default type of
53 // Identifier of an event indicating the beginning of a build; this will
64 // For example, a single invocation may wish to report both the literal and
84 // Identifier of an event indicating that a target pattern has been expanded
86 // Messages of this shape are also used to describe parts of a pattern that
98 // Identifier of an event indicating that a target has been expanded by
[all …]
Dcommand_line.proto5 // You may obtain a copy of the License at
23 // Representation of a Bazel command line.
26 // In particular, a single invocation may wish to report both the literal and
28 // between both versions. This is a string for flexibility.
33 // has the executable "bazel", a startup flag, a command "test", a command
34 // flag, and a test target. There could be many more flags and targets, or
55 // Wrapper to allow a list of strings in the "oneof" section_type.
60 // Wrapper to allow a list of options in the "oneof" section_type.
68 // option or how the parser interpreted it. If this option is part of a command
79 // Some examples: this might be `--foo=bar` form, or `--foo bar` with a space;
[all …]
/tools/aadevtools/
DREADME.md12 that a few million developers use.
20 * clone_proj.sh to clone a git project for the unbundled development workflows
26 change_report.py creates a diff statistic CSV file from 2 versions of a codebase.
28 need is to get 2 versions of a codebase downloaded on your disk first.
30 * You can compare specific folders of concern for a quick result, or when
31 there is a code patch change.
34 * It can take a long time & generates a large CSV file for the whole Android
36 * Android 11 QPR1 vs QPR2 takes more than 8 min. & generates a 5MB CSV file.
37 * Android 10 QPR3 vs Android 11 QPR2 takes more than 11 min. & generates a
59 sysui_oem_diff.sh generates a summary of code changes between 2 revisions.
[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/netsim/src/proto/
Dfrontend.proto5 // You may obtain a copy of the License at
30 * Clients of the frontend service include a Command Line Interface (cli), Mobly
31 * scripts, and a web UI.
41 // Get a list of devices
44 // Patch a device
54 // Set a simplified Link Loss Model
63 // Patch a Capture source to turn capture on/off.
78 // Set a fixed error probabilities for a link, where a value of 0% is
79 // a perfect medium. This is a simple model that does not take into
85 // As a percent between 0 and 1
[all …]
/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 …]

12345678910>>...14