Home
last modified time | relevance | path

Searched refs:version (Results 1 – 25 of 142) 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 …]
/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)
76 def _parse_version(version: str) -> ParsedVersion:
77 match = VERSION_RE.match(version)
81 prefix, version, suffix = match.group('prefix', 'version', 'suffix')
82 versions = [int(v) for v in VERSION_SPLITTER_RE.split(version)]
90 version: str) -> Tuple[bool, bool, List[int]]:
92 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.py65 def _get_version_numbers(self, version: str) -> (int, int, int):
66 match = VERSION_MATCHER.match(version)
84 version = v["num"]
85 if (not v["yanked"] and not ALPHA_BETA_RE.match(version) and
87 self._new_ver, last_id, version, int(v["id"]))):
89 self._new_ver = version
153 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.kt41 abstract val version: Property<String> in <lambda>() constant in com.android.tools.metalava.CreateLibraryBuildInfoTask
59 info.version = version.get() in <lambda>()
86 it.version.set(project.provider { project.version as String }) in configureBuildInfoTask()
144 var version: String? = null variable in com.android.tools.metalava.LibraryBuildInfoFile
158 var version: String? = null variable in com.android.tools.metalava.LibraryBuildInfoFile.Dependency
/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
64 --rotation-min-sdk-version Lowest API Level for which an APK's rotated signing
[all …]
Dhelp_verify.txt6 --min-sdk-version and/or --max-sdk-version to verify the APK against a custom
19 --min-sdk-version Lowest API Level on which this APK's signatures will be
23 --max-sdk-version Highest API Level on which this APK's signatures will be
42 $ apksigner verify --min-sdk-version 15 app.apk
Dhelp.txt2 apksigner --version
24 version Show this tool's version number and exit
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4Signature.java195 public final int version; field in V4Signature
201 V4Signature(int version, byte[] hashingInfo, byte[] signingInfos) { in V4Signature() argument
202 this.version = version; in V4Signature()
208 final int version = readIntLE(stream); in readFrom() local
209 if (version != CURRENT_VERSION) { in readFrom()
214 return new V4Signature(version, hashingInfo, signingInfo); in readFrom()
218 writeIntLE(stream, this.version); in writeTo()
/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/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/metalava/gradle/
Dlibs.versions.toml5 kotlinStdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8", version.ref = "kotlin" }
6 kotlinReflect = { module = "org.jetbrains.kotlin:kotlin-reflect", version.ref = "kotlin" }
7 kotlinTest = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
10 kotlinJvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
/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/test/connectivity/acts_tests/tests/google/fuchsia/flash/
DFlashTest.py44 version = dut.version()
46 'DUT_VERSION': version,
48 self.log.info("DUT version found: {}".format(version))
/tools/platform-compat/java/android/compat/testing/
DSharedLibraryInfo.java34 public final String version; field in SharedLibraryInfo
37 private SharedLibraryInfo(String name, String type, String version, in SharedLibraryInfo() argument
41 this.version = version; in SharedLibraryInfo()
/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."

123456