/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/suite/ |
D | SuiteApkInstallerTest.java | 82 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/ |
D | BuildTestsZipUtilsTest.java | 69 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/ |
D | GameCoreConfigurationXmlParserTest.java | 67 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/ |
D | ApkAlignmentTest.java | 40 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/ |
D | ApkVerifierTest.java | 927 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
|
D | ApkSignerTest.java | 1203 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/ |
D | V4SchemeSigner.java | 196 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()
|
D | V4SchemeVerifier.java | 68 public static ApkSigningBlockUtils.Result verify(DataSource apk, File v4SignatureFile) in verify()
|
/tools/apksig/src/main/java/com/android/apksig/apk/ |
D | ApkUtils.java | 57 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/ |
D | InstallBuildEnvApkSetup.java | 58 File apk = FileUtil.getFileForPath(testAppDir, apkPrimaryFileName, apkName); in setUp() local
|
/tools/apksig/src/test/java/com/android/apksig/apk/ |
D | ApkUtilsTest.java | 108 private static ByteBuffer getAndroidManifest(byte[] apk) in getAndroidManifest()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/ |
D | V1SourceStampVerifier.java | 65 DataSource apk, in verify()
|
D | V2SourceStampVerifier.java | 67 DataSource apk, in verify()
|
/tools/test/graphicsbenchmark/performance_tests/deviceside/src/com/android/game/qualification/device/ |
D | GameQualificationTest.java | 80 private void startApp(ApkInfo apk) throws IntentFilter.MalformedMimeTypeException, IOException { in startApp()
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | ApkVerifier.java | 130 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()
|
D | SigningCertificateLineage.java | 174 DataSource apk = DataSources.asDataSource(f, 0, f.length()); in readFromApkFile() local 186 public static SigningCertificateLineage readFromApkDataSource(DataSource apk) in readFromApkDataSource()
|
D | ApkSigner.java | 822 DataSource apk, ApkUtils.ZipSections apkSections) in getZipCentralDirectory()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/ |
D | V1SchemeVerifier.java | 107 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/ |
D | BaseGameQualificationMetricCollector.java | 52 public void setApkInfo(ApkInfo apk) { in setApkInfo()
|
/tools/apksig/src/main/java/com/android/apksig/internal/zip/ |
D | LocalFileRecord.java | 124 DataSource apk, in getRecord() 142 DataSource apk, in getRecord()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/ |
D | PerformanceTest.java | 110 ApkInfo apk, in PerformanceTest()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/ |
D | V3SchemeVerifier.java | 99 DataSource apk, in verify()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/ |
D | V2SchemeVerifier.java | 92 DataSource apk, in verify()
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | ApkSignerTool.java | 873 DataSource apk = DataSources.asDataSource(f); in getLineageFromInputFile() local
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | ApkSigningBlockUtils.java | 977 DataSource apk, ApkUtils.ZipSections zipSections, int blockId, Result result) in findSignature()
|