Home
last modified time | relevance | path

Searched refs:version (Results 1 – 25 of 133) sorted by relevance

123456

/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApiElement.java40 ApiElement(String name, int version, boolean deprecated) { in ApiElement() argument
42 assert version > 0; in ApiElement() local
44 mSince = version; in ApiElement()
45 mLastPresentIn = version; in ApiElement()
47 mDeprecatedIn = version; in ApiElement()
55 ApiElement(String name, int version) { in ApiElement() argument
56 this(name, version, false); in ApiElement()
91 void update(int version, boolean deprecated) { in update() argument
92 assert version > 0; in update() local
93 if (mSince > version) { in update()
[all …]
DApiClass.java49 public ApiClass(String name, int version, boolean deprecated) { in ApiClass() argument
50 super(name, version, deprecated); in ApiClass()
53 public void addField(String name, int version, boolean deprecated) { in addField() argument
54 addToMap(mFields, name, version, deprecated); in addField()
57 public void addMethod(String name, int version, boolean deprecated) { in addMethod() argument
62 addToMap(mMethods, name, version, deprecated); in addMethod()
110 …private void addToMap(Map<String, ApiElement> elements, String name, int version, boolean deprecat… in addToMap() argument
113 element = new ApiElement(name, version, deprecated); in addToMap()
116 element.update(version, deprecated); in addToMap()
120 private ApiElement addToArray(Collection<ApiElement> elements, String name, int version) { in addToArray() argument
[all …]
DApi.java56 public ApiClass addClass(String name, int version, boolean deprecated) { in addClass() argument
59 classElement = new ApiClass(name, version, deprecated); in addClass()
62 classElement.update(version, deprecated); in addClass()
/tools/repohooks/tools/
Dcheckpatch.pl-update23 Usage: $0 [linux version]
58 local version="$1"
62 url="${CGIT_URL}/scripts/checkpatch.pl?h=v${version}"
67 url="${CGIT_URL}/scripts/spelling.txt?h=v${version}"
72 local version=''
78 *) version=${1#v};;
83 if [[ -z "${version}" ]]; then
85 version=$(get_latest_version)
86 echo "${version}"
89 download "${version}"
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAttestationPackageInfo.java29 private final int version; field in AttestationPackageInfo
31 public AttestationPackageInfo(String packageName, int version) { in AttestationPackageInfo() argument
33 this.version = version; in AttestationPackageInfo()
52 version = Asn1Utils.getIntegerFromAsn1(sequence.getObjectAt(VERSION_INDEX)); in AttestationPackageInfo()
60 return version; in getVersion()
73 res = Integer.compare(version, other.version); in compareTo()
/tools/external_updater/
Dupdater_utils.py44 updater = updater_cls(proj_path, url, metadata.third_party.version)
75 def _parse_version(version: str) -> ParsedVersion:
76 match = VERSION_RE.match(version)
80 prefix, version, suffix = match.group('prefix', 'version', 'suffix')
81 versions = [int(v) for v in VERSION_SPLITTER_RE.split(version)]
89 version: str) -> Tuple[bool, bool, List[int]]:
91 new_ver = _parse_version(version)
DREADME.md42 (the one you can use with `git clone`). And the version field must
43 be either a version tag, or SHA. The tool will find the latest
44 version tag or sha based on it.
55 If the version is a SHA, the tool will always try to upgrade to the
61 If the version is not a SHA, the tool will try to parse the version
62 to get a numbered version. Currently the supported version format is:
92 If the tag of latest release is not equal to version in METADATA file, a
93 new version is found. The tool will download the tarball and overwrite the
Dcrates_updater.py61 def _get_version_numbers(self, version: str) -> (int, int, int):
62 match = VERSION_MATCHER.match(version)
80 version = v["num"]
81 if (not v["yanked"] and not ALPHA_BETA_RE.match(version) and
83 self._new_ver, last_id, version, int(v["id"]))):
85 self._new_ver = version
136 metadata.name, metadata.name, metadata.third_party.version)
/tools/asuite/asuite_plugin/
Dbuild.gradle3 id 'org.jetbrains.intellij' version '0.4.10'
7 version '1.0'
27 testCompile group: 'junit', name: 'junit', version: '4.12'
28 testCompile group: 'org.mockito', name: 'mockito-core', version: '3.+'
32 version '2019.2.4'
36 changeNotes """Initial version"""
/tools/test/graphicsbenchmark/functional_tests/hostside/src/com/android/game/qualification/test/
DVkJsonTests.java153 VkConformanceVersionKHR version = properties.conformanceVersion; in checkKHRDriverProperties() local
154 assertWithMessage("driverPropertiesKHR.conformanceVersion").that(version).isNotNull(); in checkKHRDriverProperties()
157 assertWithMessage("major version: " + msg).that(version.major).isAtLeast(MAJOR); in checkKHRDriverProperties()
158 if (version.major == MAJOR) { in checkKHRDriverProperties()
159 assertWithMessage("minor version: " + msg).that(version.minor).isAtLeast(MINOR); in checkKHRDriverProperties()
160 if (version.minor == MINOR) { in checkKHRDriverProperties()
161 assertWithMessage("subminor version: " + msg).that(version.subminor) in checkKHRDriverProperties()
/tools/metalava/buildSrc/src/main/kotlin/com/android/tools/metalava/
DLibraryBuildInfo.kt40 abstract val version: Property<String> constant in com.android.tools.metalava.CreateLibraryBuildInfoTask
56 info.version = version.get() in createFile()
81 it.version.set(project.provider<String> { project.version as String }) in configureBuildInfoTask()
138 var version: String? = null variable in com.android.tools.metalava.LibraryBuildInfoFile
151 var version: String? = null variable in com.android.tools.metalava.LibraryBuildInfoFile.Dependency
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4Signature.java111 public final int version; // Always 2 for now. field in V4Signature
115 V4Signature(int version, byte[] hashingInfo, byte[] signingInfo) { in V4Signature() argument
116 this.version = version; in V4Signature()
122 final int version = readIntLE(stream); in readFrom() local
123 if (version != CURRENT_VERSION) { in readFrom()
128 return new V4Signature(version, hashingInfo, signingInfo); in readFrom()
132 writeIntLE(stream, this.version); in writeTo()
/tools/carrier_settings/java/
DCarrierProtoUtils.java48 public static long addVersionOffset(long version, long offset) { in addVersionOffset() argument
50 Preconditions.checkArgument(version < RELEASE_VERSION_BASE, in addVersionOffset()
52 RELEASE_VERSION_BASE, version); in addVersionOffset()
57 return version + offset; in addVersionOffset()
180 long version = 0L;
187 version += merged.getVersion();
189 resultBuilder.setVersion(version);
DGenCarrierList.java75 long version = 0; in generate() local
100 version += carrierList.getVersion(); in generate()
104 version = CarrierProtoUtils.addVersionOffset(version, versionOffset); in generate()
110 CarrierList clist = CarrierList.newBuilder().setVersion(version).addAllEntry(list).build(); in generate()
DGenDeviceSettings.java105 long version = 0L; in generate() local
131 version = othersSetting.getVersion(); in generate()
155 version = carrierSetting.getVersion(); in generate()
171 outFileMainName += "-" + version; in generate()
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_sign.txt25 SDK version (see --min-sdk-version and --max-sdk-version).
30 enabled based on min and max SDK version (see
31 --min-sdk-version and --max-sdk-version).
36 enabled based on min and max SDK version (see
37 --min-sdk-version and --max-sdk-version). Multiple
46 enabled based on min and max SDK version (see
47 --min-sdk-version and --max-sdk-version).
56 --min-sdk-version Lowest API Level on which this APK's signatures will be
61 --max-sdk-version Highest API Level on which this APK's signatures will be
94 whether to use the deterministic version as specified in
Dhelp_verify.txt6 --min-sdk-version and/or --max-sdk-version to verify the APK against a custom
16 --min-sdk-version Lowest API Level on which this APK's signatures will be
20 --max-sdk-version Highest API Level on which this APK's signatures will be
39 $ apksigner verify --min-sdk-version 15 app.apk
Dhelp.txt2 apksigner --version
24 version Show this tool's version number and exit
/tools/asuite/aidegen/lib/
Dide_util.py506 for version in tmp_versions:
507 real_version = os.path.realpath(version)
509 all_versions.remove(version)
639 version = float(ide_version)
643 if version < _SPECIFIC_INTELLIJ_VERSION:
669 version = float(ide_version)
672 if version < _SPECIFIC_INTELLIJ_VERSION:
739 version = float(ide_version)
743 if version >= _SPECIFIC_INTELLIJ_VERSION:
867 for version in versions:
[all …]
Dide_util_unittest.py434 version = ide_intellij._get_preferred_version()
435 self.assertEqual(version, None)
443 version = ide_intellij._get_preferred_version()
444 self.assertEqual(version, expected_result)
452 version = ide_intellij._get_preferred_version()
454 self.assertEqual(version, expected_result)
460 version = ide_intellij._get_preferred_version()
461 self.assertEqual(version, expected_result)
466 version = ide_intellij._get_preferred_version()
467 self.assertEqual(version, '/a/b')
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/test_actions/
Dagsa_acts.py128 def install_agsa(self, version, force=False): argument
144 if (not (version.replace('alpha', '').replace('release', '')
147 self.logger.info('Installing AGSA version %s...' % version)
148 if self.and_actions.install_agsa(version):
152 self.logger.error('Failed to install version %s' % version)
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/
Dinput_report_lib.py40 def getDescriptor(self, vendor_id=None, product_id=None, version=None): argument
45 'version': version
65 def getReports(self, vendor_id=None, product_id=None, version=None): argument
70 'version': version
/tools/external/fat32lib/
DNOTICE10 [This is the first released version of the Lesser GPL. It also counts
11 as the successor of the GNU Library Public License, version 2, hence
12 the version number 2.1.]
27 …d on, the recipients should know that what they have is not the original version, so that the orig…
29 …tent holder. Therefore, we insist that any patent license obtained for a version of the library mu…
41 …ry has the freedom and the wherewithal to run that program using a modified version of the Library.
75version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU Gene…
100 …ith a modified version of the library, if the user installs one, as long as the modified version i…
128 …time to time. Such new versions will be similar in spirit to the present version, but may differ i…
130version is given a distinguishing version number. If the Library specifies a version number of thi…
/tools/tradefederation/prebuilts/filegroups/tradefed/
Dtradefed_win.bat24 :: check java version
26 %JAVA% -version 2>&1 | findstr /R "version\ \"1*\.*[89].*\"$" || (
27 echo "Wrong java version. 1.8 or 9 is required."
/tools/ndkports/src/main/kotlin/com/android/ndkports/
DPrefabPackageBuilder.kt65 it.version = port.mavenVersion in <lambda>()
90 dep.version = depPort.mavenVersion in <lambda>()
118 version = port.prefabVersion.toString() in <lambda>()
154 ndk = ndk.version.major, in <lambda>()

123456