Searched refs:a (Results 1 – 25 of 259) sorted by relevance
1234567891011
164 [](const EncodedField* a, const EncodedField* b) { in SortEncodedFields() argument165 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() argument174 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() argument201 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() argument206 return a->descriptor->index < b->descriptor->index; in Normalize()[all …]
3 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 (the12 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. The16 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 …]
3 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``` and16 accepts. In this way, you can think of the test runner as a translator between18 can have a consistent CLI for args instead of requiring the users to remember23 ## <a name="creating-a-test-runner">Creating a Test Runner</a>35 To create a new test runner, create a new class that inherits36 ```TestRunnerBase```. Take a look at ```test_runners/example_test_runner.py```37 to see what a simple test runner will look like.[all …]
1 # Create and run a suite3 A suite allows one to run a group of tests for a given build. Adding or removing4 individual test from a suite can be as simple as a test config file change. One5 use case is that we can easily maintain a collection of stable tests for6 presubmit check. If a test becomes unstable, we can make a single test config10 in the test config file. So one doesn't need to maintain a collection of test in11 complicated GCL files, for a test to run in multiple suites.13 ## Create a suite15 1. Create a suite configuration file17 Suite configuration file is similar to a TradeFed test configuration file. It[all …]
14 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
5 Acloud is a command line tool that assists users to create an Android Virtual50 instance (running on a virtual machine in the cloud) and local instance52 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 the103 * `--hw-property`: This is a string where you can specify the different[all …]
17 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 comma33 # Maximum number of public methods for a class (see R0904).
3 Trebuchet is a Kotlin library for parsing and analyzing Android trace files generated by the `atrac…15 …a trace file, detects any startup events that occurred during the traced time period, and prints i…19 …a 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…
4 just a few small guidelines you need to follow.8 Contributions to this project must be accompanied by a Contributor License12 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 one15 (even if it was for a different project), you probably don't need to do it
5 # You may obtain a copy of the License at17 # Specify a configuration file.57 # Allow optimization of some AST trees. This will activate a peephole AST60 # operator. Joining a lot of strings can lead to a maximum recursion error in175 # (visual studio) and html. You can also give a reporter class, eg179 # Put messages in a separate file for each module / package specified on the181 # written in a file name "pylint_global.[txt|html]".184 # Tells whether to display a full report or only the messages190 # Python expression which should return a note less than 10 (10 is the highest197 # Template used to display messages. This is a python new-style format string[all …]
21 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.
23 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…29 …a 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…37 …a 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 …]
2 The Android Comms Test Suite, is a lightweight Python-based automation tool set4 devices. It provides a simple execution interface; a set of pluggable libraries5 for accessing commercially avilable devices, Android devices, and a collection7 tool for a wireless stack developer or integrator whether exercising a new code10 Included in the tests/google directory are a bundle of tests, many of which can37 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 …]
4 This can be used to revoke capabilities of a previous signing certificate once the install base10 --in Input SigningCertificateLineage. This file contains a binary representation of11 a SigningCertificateLineage object which contains the proof-of-rotation for13 An APK previously signed with a SigningCertificateLineage can also be16 --out File into which to put the binary representation of a30 --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's42 by a newer signing certificate. By default, the new signer will have all44 to act as a default level of trust when moving to a newer signing certificate.63 file, as a single line[all …]
3 This takes the provided keys and creates a SigningCertificateLineage entry linking the old to the4 new, for use in a key rotation scenario using APK Signature Scheme v3.9 --in Input SigningCertificateLineage. This file contains a binary representation of10 a SigningCertificateLineage object, which contains the proof-of-rotation for13 An APK previously signed with a SigningCertificateLineage can also be16 --out File into which to put the binary representation of a24 These options specify the configuration of a particular signer. To rotate keys, two signers must be25 specified, an old and a new.28 be used to sign a new entry in the SigningCertificateLineage allowing the43 by a newer signing certificate. By default, the new signer will have all[all …]
5 …a 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
10 This script automatically starts an app on a device connected through adb with11 appropriate tracing enabled. It then saves a trace and reports a summary of the13 your path and that a phone be connected.
4 # use this file except in compliance with the License. You may obtain a copy of118 Note: Do not use a static random address124 Note: Do not use a static random address130 Note: Do not use a static random address136 Note: Do not use a static random address141 Note: Do not use a static random address147 Note: Do not use a static random address153 Note: Do not use a static random address158 Note: Do not use a static random address164 Note: Do not use a static random address[all …]
36 // A valid .proto file can be translated directly to a FileDescriptorProto50 // The protocol compiler can output a FileDescriptorSet containing the .proto56 // 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 scoping174 // If set, gives the index of a oneof in the containing type's oneof_decl175 // list. This field is a member of that oneof. Extensions of a oneof should183 // Describes a oneof.197 // Describes a value within an enum.[all …]
12 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 stress19 in a particular mode and expect the tester to capture an over-the-air26 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 test32 group sub-directories contains a file with the same name as that of the41 devices without listing specific serial numbers. Note that some tests use a
41 lambda a, b : a + b)47 lambda a, b : a + b)
68 #define SLICER_SG_MACRO_CONCAT2(a, b) a ## b argument69 #define SLICER_SG_MACRO_CONCAT(a, b) SLICER_SG_MACRO_CONCAT2(a, b) argument
6 * You may obtain a copy of the License at23 // The representation of a versioned build file31 // The representation of a map of key to a list of versioned files. Similar to34 // The Key indexing a list of BuildFile that are tracked by the BuildInfo.48 // The build attributes, as a key value55 // Deprecated: Whether or not the build info represents a test resource.