Home
last modified time | relevance | path

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

123

/tools/repohooks/tools/
Dcheckpatch.pl-update23 Usage: $0 [linux version]
57 local version="$1"
61 url="${CGIT_URL}/scripts/checkpatch.pl?h=v${version}"
66 url="${CGIT_URL}/scripts/spelling.txt?h=v${version}"
71 local version=''
77 *) version=${1#v};;
82 if [[ -z "${version}" ]]; then
84 version=$(get_latest_version)
85 echo "${version}"
88 download "${version}"
/tools/tradefederation/contrib/src/com/android/tradefed/build/
DTestzipDeviceBuildInfo.java37 public void setTestzipDir(File testsZipFile, String version) { in setTestzipDir() argument
38 mTestzipBuildInfo.setTestzipDir(testsZipFile, version); in setTestzipDir()
109 public void setDeviceImageFile(File deviceImageFile, String version) { in setDeviceImageFile() argument
110 mDeviceBuild.setDeviceImageFile(deviceImageFile, version); in setDeviceImageFile()
133 public void setUserDataImageFile(File userDataFile, String version) { in setUserDataImageFile() argument
134 mDeviceBuild.setUserDataImageFile(userDataFile, version); in setUserDataImageFile()
157 public void setTestsDir(File testsDir, String version) { in setTestsDir() argument
158 mTestzipBuildInfo.setTestzipDir(testsDir, version); in setTestsDir()
181 public void setBasebandImage(File basebandFile, String version) { in setBasebandImage() argument
182 mDeviceBuild.setBasebandImage(basebandFile, version); in setBasebandImage()
[all …]
DTestzipBuildInfo.java67 public void setTestzipDir(File testsDir, String version) { in setTestzipDir() argument
68 setFile(TESTDIR_IMAGE_NAME, testsDir, version); in setTestzipDir()
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApiElement.java40 public 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 public ApiElement(String name, int version) { in ApiElement() argument
56 this(name, version, false); in ApiElement()
87 public void update(int version, boolean deprecated) { in update() argument
88 assert version > 0; in update() local
89 if (mSince > version) { in update()
[all …]
DApiClass.java40 public ApiClass(String name, int version, boolean deprecated) { in ApiClass() argument
41 super(name, version, deprecated); in ApiClass()
44 public void addField(String name, int version, boolean deprecated) { in addField() argument
45 addToMap(mFields, name, version, deprecated); in addField()
48 public void addMethod(String name, int version, boolean deprecated) { in addMethod() argument
49 addToMap(mMethods, name, version, deprecated); in addMethod()
65 …private void addToMap(Map<String, ApiElement> elements, String name, int version, boolean deprecat… in addToMap() argument
68 element = new ApiElement(name, version, deprecated); in addToMap()
71 element.update(version, deprecated); in addToMap()
75 private void addToArray(Collection<ApiElement> elements, String name, int version) { in addToArray() argument
[all …]
DApi.java53 public ApiClass addClass(String name, int version, boolean deprecated) { in addClass() argument
56 classElement = new ApiClass(name, version, deprecated); in addClass()
59 classElement.update(version, deprecated); in addClass()
/tools/tradefederation/core/src/com/android/tradefed/build/
DKernelDeviceBuildInfo.java82 public void setDeviceImageFile(File deviceImageFile, String version) { in setDeviceImageFile() argument
83 mDeviceBuild.setDeviceImageFile(deviceImageFile, version); in setDeviceImageFile()
106 public void setUserDataImageFile(File userDataFile, String version) { in setUserDataImageFile() argument
107 mDeviceBuild.setUserDataImageFile(userDataFile, version); in setUserDataImageFile()
130 public void setTestsDir(File testsDir, String version) { in setTestsDir() argument
131 mDeviceBuild.setTestsDir(testsDir, version); in setTestsDir()
154 public void setBasebandImage(File basebandFile, String version) { in setBasebandImage() argument
155 mDeviceBuild.setBasebandImage(basebandFile, version); in setBasebandImage()
178 public void setBootloaderImageFile(File bootloaderImgFile, String version) { in setBootloaderImageFile() argument
179 mDeviceBuild.setBootloaderImageFile(bootloaderImgFile, version); in setBootloaderImageFile()
[all …]
DOtatoolsBuildInfo.java41 public void setSecurityDir(File dir, String version) { in setSecurityDir() argument
42 setFile(SECURITY_DIR_NAME, dir, version); in setSecurityDir()
55 public void setBinDir(File dir, String version) { in setBinDir() argument
56 setFile(BIN_DIR_NAME, dir, version); in setBinDir()
69 public void setFrameworkDir(File dir, String version) { in setFrameworkDir() argument
70 setFile(FRAMEWORK_DIR_NAME, dir, version); in setFrameworkDir()
83 public void setReleasetoolsDir(File dir, String version) { in setReleasetoolsDir() argument
84 setFile(RELEASETOOLS_DIR_NAME, dir, version); in setReleasetoolsDir()
DDeviceFolderBuildInfo.java82 public void setDeviceImageFile(File deviceImageFile, String version) { in setDeviceImageFile() argument
83 mDeviceBuild.setDeviceImageFile(deviceImageFile, version); in setDeviceImageFile()
106 public void setUserDataImageFile(File userDataFile, String version) { in setUserDataImageFile() argument
107 mDeviceBuild.setUserDataImageFile(userDataFile, version); in setUserDataImageFile()
130 public void setTestsDir(File testsDir, String version) { in setTestsDir() argument
131 mDeviceBuild.setTestsDir(testsDir, version); in setTestsDir()
154 public void setBasebandImage(File basebandFile, String version) { in setBasebandImage() argument
155 mDeviceBuild.setBasebandImage(basebandFile, version); in setBasebandImage()
178 public void setBootloaderImageFile(File bootloaderImgFile, String version) { in setBootloaderImageFile() argument
179 mDeviceBuild.setBootloaderImageFile(bootloaderImgFile, version); in setBootloaderImageFile()
[all …]
DDeviceBuildInfo.java100 public void setDeviceImageFile(File deviceImageFile, String version) { in setDeviceImageFile() argument
101 setFile(BuildInfoFileKey.DEVICE_IMAGE, deviceImageFile, version); in setDeviceImageFile()
124 public void setUserDataImageFile(File userDataFile, String version) { in setUserDataImageFile() argument
125 setFile(BuildInfoFileKey.USERDATA_IMAGE, userDataFile, version); in setUserDataImageFile()
148 public void setTestsDir(File testsDir, String version) { in setTestsDir() argument
149 setFile(BuildInfoFileKey.TESTDIR_IMAGE, testsDir, version); in setTestsDir()
172 public void setBasebandImage(File basebandFile, String version) { in setBasebandImage() argument
173 setFile(BuildInfoFileKey.BASEBAND_IMAGE, basebandFile, version); in setBasebandImage()
196 public void setBootloaderImageFile(File bootloaderImgFile, String version) { in setBootloaderImageFile() argument
197 setFile(BuildInfoFileKey.BOOTLOADER_IMAGE, bootloaderImgFile, version); in setBootloaderImageFile()
[all …]
DAppDeviceBuildInfo.java97 public void setDeviceImageFile(File deviceImageFile, String version) { in setDeviceImageFile() argument
98 mDeviceBuild.setDeviceImageFile(deviceImageFile, version); in setDeviceImageFile()
121 public void setUserDataImageFile(File userDataFile, String version) { in setUserDataImageFile() argument
122 mDeviceBuild.setUserDataImageFile(userDataFile, version); in setUserDataImageFile()
145 public void setTestsDir(File testsDir, String version) { in setTestsDir() argument
146 mDeviceBuild.setTestsDir(testsDir, version); in setTestsDir()
169 public void setBasebandImage(File basebandFile, String version) { in setBasebandImage() argument
170 mDeviceBuild.setBasebandImage(basebandFile, version); in setBasebandImage()
193 public void setBootloaderImageFile(File bootloaderImgFile, String version) { in setBootloaderImageFile() argument
194 mDeviceBuild.setBootloaderImageFile(bootloaderImgFile, version); in setBootloaderImageFile()
[all …]
DOtaDeviceBuildInfo.java204 public void setFile(String name, File file, String version) { in setFile() argument
205 mBaselineBuild.setFile(name, file, version); in setFile()
244 public void setDeviceImageFile(File deviceImageFile, String version) { in setDeviceImageFile() argument
245 mBaselineBuild.setDeviceImageFile(deviceImageFile, version); in setDeviceImageFile()
268 public void setUserDataImageFile(File userDataFile, String version) { in setUserDataImageFile() argument
269 mBaselineBuild.setUserDataImageFile(userDataFile, version); in setUserDataImageFile()
292 public void setTestsDir(File testsZipFile, String version) { in setTestsDir() argument
293 mBaselineBuild.setTestsDir(testsZipFile, version); in setTestsDir()
316 public void setBasebandImage(File basebandFile, String version) { in setBasebandImage() argument
317 mBaselineBuild.setBasebandImage(basebandFile, version); in setBasebandImage()
[all …]
DOtaToolsDeviceBuildInfo.java49 public void setOtaPackageFile(File file, String version) { in setOtaPackageFile() argument
51 .getVersionedFileMap().put("ota", new VersionedFile(file, version)); in setOtaPackageFile()
53 .getVersionedFileMap().put("ota", new VersionedFile(file, version)); in setOtaPackageFile()
DVersionedFile.java27 public VersionedFile(File file, String version) { in VersionedFile() argument
29 mVersion = version; in VersionedFile()
DKernelBuildInfo.java74 public void setKernelFile(File kernelFile, String version) { in setKernelFile() argument
75 setFile(KERNEL_FILE, kernelFile, version); in setKernelFile()
DIBuildInfo.java213 public void setFile(String name, File file, String version); in setFile() argument
222 public default void setFile(BuildInfoFileKey key, File file, String version) { in setFile() argument
DAppBuildInfo.java65 public void addAppPackageFile(File appPackageFile, String version) { in addAppPackageFile() argument
66 mAppPackageFiles.add(new VersionedFile(appPackageFile, version)); in addAppPackageFile()
/tools/tradefederation/core/src/com/android/tradefed/device/
DAndroidDebugBridgeWrapper.java92 StringBuilder version = new StringBuilder(); in getAdbVersion() local
95 version.append(m.group(1)); in getAdbVersion()
96 version.append("."); in getAdbVersion()
97 version.append(m.group(2)); in getAdbVersion()
98 version.append("."); in getAdbVersion()
99 version.append(m.group(3)); in getAdbVersion()
105 version.append("-"); in getAdbVersion()
106 version.append(revision.group(2)); in getAdbVersion()
110 version.append(" subVersion: "); in getAdbVersion()
111 version.append(subVersion.group(2)); in getAdbVersion()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DAndroidDebugBridgeWrapperTest.java60 String version = mBridge.getAdbVersion("fakeadb"); in testAdbVersionParsing() local
61 assertEquals("1.0.36-0e7324e9095a-android", version); in testAdbVersionParsing()
79 String version = mBridge.getAdbVersion("fakeadb"); in testAdbVersionParsing_altFormat() local
80 assertEquals("1.0.36 subVersion: 0.0.0-4407735 install path: /usr/local/adb", version); in testAdbVersionParsing_altFormat()
111 String version = mBridge.getAdbVersion("fakeadb"); in testAdbVersionParsing_partial() local
112 assertEquals("1.0.36", version); in testAdbVersionParsing_partial()
/tools/metalava/
Dbuild.gradle26 def versionPropertyFile = file('src/main/resources/version.properties')
30 version = versionProps['metalavaVersion']
73 baseName = "metalava-$version-full-SNAPSHOT"
75 version = null
94 version = "${version}.${ext.distDir.name}"
101 version = "${version}-SNAPSHOT"
/tools/apksig/src/apksigner/java/com/android/apksigner/
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
20 version Show this tool's version number and exit
/tools/test/connectivity/tools/lab/
DREADME.md65 * version:
66 fastboot_version: which version of fastboot (string)
67 adb_version: which version of adb (string)
68 python_version: which version of python (string)
69 kernel_version: which version of kernel (string)
/tools/tradefederation/core/
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/tradefederation/core/src/com/android/tradefed/targetprep/
DIFlashingResourcesRetriever.java35 public File retrieveFile(String imageName, String version) throws TargetSetupError; in retrieveFile() argument

123