Home
last modified time | relevance | path

Searched defs:apk (Results 1 – 25 of 27) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/suite/
DSuiteApkInstallerTest.java82 File apk = FileUtil.createTempFile("testapk", ".apk", mTmpDepDir); in testGetLocalPathForFilename_withVariable() local
119 File apk = mPreparer.getLocalPathForFilename(mTestInfo, tmpApk.getName()); in testGetLocalPathForFileName() local
157 File apk = mPreparer.getLocalPathForFilename(mTestInfo, tmpApk.getName()); in testGetLocalPathForFileName_testsDir() local
171 File apk = mPreparer.getLocalPathForFilename(mTestInfo, "foo.apk"); in testGetLocalPathForFileName_inBuildKey() local
197 File apk = mPreparer.getLocalPathForFilename(mTestInfo, "suite-apk-installer.apk"); in testGetLocalPathForFileName_remoteZip() local
210 File apk = mPreparer.getLocalPathForFilename(mTestInfo, tmpApk.getName()); in testGetLocalPathForFileName_inDependenciesDir() local
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DBuildTestsZipUtilsTest.java69 File apk = new File(apkDir, "TestApk.apk"); in testGetApkFile_fromTestDir() local
100 File apk = new File(apkDir, "TestApk.apk"); in testGetApkFile_fromTestDir_testCase() local
131 File apk = new File(apkDir, "TestApk.apk"); in testGetApkFile_fromTestDir_differentModule_testCase() local
/tools/test/graphicsbenchmark/performance_tests/helper/test/com/android/game/qualification/
DGameCoreConfigurationXmlParserTest.java67 ApkInfo apk = config.getApkInfo().get(0); in testSingleApkInfo() local
99 ApkInfo apk = apks.get(0); in testOptionalFields() local
158 ApkInfo apk = apks.get(0); in testApkWithArguments() local
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zfile/
DApkAlignmentTest.java40 File apk = new File(mTemporaryFolder.getRoot(), "a.apk"); in soFilesUncompressedAndAligned() local
97 File apk = new File(mTemporaryFolder.getRoot(), "b.apk"); in soFilesMergedFromZipsCanBeUncompressedAndAligned() local
137 File apk = new File(mTemporaryFolder.getRoot(), "a.apk"); in soFilesUncompressedAndNotAligned() local
194 File apk = new File(mTemporaryFolder.getRoot(), "b.apk"); in soFilesMergedFromZipsCanBeUncompressedAndNotAligned() local
/tools/apksig/src/test/java/com/android/apksig/
DApkVerifierTest.java927 String apk = "v1-only-with-signed-attrs.apk"; in testV1SignedAttrs() local
955 String apk = "v1-only-with-signed-attrs-missing-content-type.apk"; in testV1SignedAttrsMissingContentType() local
971 String apk = "v1-only-with-signed-attrs-wrong-content-type.apk"; in testV1SignedAttrsWrongContentType() local
988 String apk = "v1-only-with-signed-attrs-missing-digest.apk"; in testV1SignedAttrsMissingDigest() local
1008 String apk = "v1-only-with-signed-attrs-multiple-good-digests.apk"; in testV1SignedAttrsMultipleGoodDigests() local
1028 String apk = "v1-only-with-signed-attrs-wrong-digest.apk"; in testV1SignedAttrsWrongDigest() local
1044 String apk = "v1-only-with-signed-attrs-wrong-signature.apk"; in testV1SignedAttrsWrongSignature() local
DApkSignerTest.java1203 private RSAPublicKey getRSAPublicKeyFromSigningBlock(DataSource apk, int signatureVersionId) in getRSAPublicKeyFromSigningBlock()
1250 DataSource apk, int signatureVersionId, int signatureVersionBlockId) in getSignatureInfoFromApk()
1324 private static ApkVerifier.Result verifyForMinSdkVersion(DataSource apk, int minSdkVersion) in verifyForMinSdkVersion()
1329 private static ApkVerifier.Result verify(DataSource apk, Integer minSdkVersionOverride) in verify()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4SchemeSigner.java196 private static byte[] getApkDigest(DataSource apk) throws IOException { in getApkDigest()
223 private static byte[] getBestV3Digest(DataSource apk, ApkUtils.ZipSections zipSections) in getBestV3Digest()
253 private static byte[] getBestV2Digest(DataSource apk, ApkUtils.ZipSections zipSections) in getBestV2Digest()
DV4SchemeVerifier.java68 public static ApkSigningBlockUtils.Result verify(DataSource apk, File v4SignatureFile) in verify()
/tools/apksig/src/main/java/com/android/apksig/apk/
DApkUtils.java57 public static ZipSections findZipSections(DataSource apk) in findZipSections()
185 public static ApkSigningBlock findApkSigningBlock(DataSource apk, ZipSections zipSections) in findApkSigningBlock()
285 public static ByteBuffer getAndroidManifest(DataSource apk) in getAndroidManifest()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DInstallBuildEnvApkSetup.java58 File apk = FileUtil.getFileForPath(testAppDir, apkPrimaryFileName, apkName); in setUp() local
/tools/apksig/src/test/java/com/android/apksig/apk/
DApkUtilsTest.java108 private static ByteBuffer getAndroidManifest(byte[] apk) in getAndroidManifest()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DV1SourceStampVerifier.java65 DataSource apk, in verify()
DV2SourceStampVerifier.java67 DataSource apk, in verify()
/tools/test/graphicsbenchmark/performance_tests/deviceside/src/com/android/game/qualification/device/
DGameQualificationTest.java80 private void startApp(ApkInfo apk) throws IntentFilter.MalformedMimeTypeException, IOException { in startApp()
/tools/apksig/src/main/java/com/android/apksig/
DApkVerifier.java130 DataSource apk; in verify() local
160 private Result verify(DataSource apk) in verify()
613 DataSource apk, in getApkContentDigestFromV1SigningScheme()
657 DataSource apk, ApkUtils.ZipSections zipSections) in getAndroidManifestFromApk()
2516 public Builder(File apk) { in Builder()
2527 public Builder(DataSource apk) { in Builder()
DSigningCertificateLineage.java174 DataSource apk = DataSources.asDataSource(f, 0, f.length()); in readFromApkFile() local
186 public static SigningCertificateLineage readFromApkDataSource(DataSource apk) in readFromApkDataSource()
DApkSigner.java822 DataSource apk, ApkUtils.ZipSections apkSections) in getZipCentralDirectory()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java107 DataSource apk, in verify()
215 DataSource apk, in verify()
464 DataSource apk, long cdStartOffset, int minSdkVersion, int maxSdkVersion) in verifySigBlockAgainstSigFile()
1239 DataSource apk, in parseZipCentralDirectory()
1294 DataSource apk, in verifyJarEntriesAgainstManifestAndSigners()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DBaseGameQualificationMetricCollector.java52 public void setApkInfo(ApkInfo apk) { in setApkInfo()
/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DLocalFileRecord.java124 DataSource apk, in getRecord()
142 DataSource apk, in getRecord()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/
DPerformanceTest.java110 ApkInfo apk, in PerformanceTest()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeVerifier.java99 DataSource apk, in verify()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java92 DataSource apk, in verify()
/tools/apksig/src/apksigner/java/com/android/apksigner/
DApkSignerTool.java873 DataSource apk = DataSources.asDataSource(f); in getLineageFromInputFile() local
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java977 DataSource apk, ApkUtils.ZipSections zipSections, int blockId, Result result) in findSignature()

12