Home
last modified time | relevance | path

Searched refs:getAndroidManifest (Results 1 – 3 of 3) sorted by relevance

/tools/apksig/src/test/java/com/android/apksig/apk/
DApkUtilsTest.java64 ByteBuffer manifest = getAndroidManifest("original.apk"); in testGetMinSdkVersionFromBinaryAndroidManifest()
70 ByteBuffer manifest = getAndroidManifest("original.apk"); in testGetDebuggableFromBinaryAndroidManifest()
73 manifest = getAndroidManifest("debuggable-boolean.apk"); in testGetDebuggableFromBinaryAndroidManifest()
77 manifest = getAndroidManifest("debuggable-resource.apk"); in testGetDebuggableFromBinaryAndroidManifest()
86 ByteBuffer manifest = getAndroidManifest("original.apk"); in testGetPackageNameFromBinaryAndroidManifest()
94 ByteBuffer manifest = getAndroidManifest("original.apk"); in testGetAndroidManifest()
103 private static ByteBuffer getAndroidManifest(String apkResourceName) in getAndroidManifest() method in ApkUtilsTest
105 return getAndroidManifest(getResource(apkResourceName)); in getAndroidManifest()
108 private static ByteBuffer getAndroidManifest(byte[] apk) in getAndroidManifest() method in ApkUtilsTest
110 return ApkUtils.getAndroidManifest(DataSources.asDataSource(ByteBuffer.wrap(apk))); in getAndroidManifest()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/utils/
DApkZFileTestUtils.java116 zf.add("AndroidManifest.xml", new ByteArrayInputStream(getAndroidManifest())); in addAndroidManifest()
123 public static byte[] getAndroidManifest() throws IOException { in getAndroidManifest() method in ApkZFileTestUtils
/tools/apksig/src/main/java/com/android/apksig/apk/
DApkUtils.java280 public static ByteBuffer getAndroidManifest(DataSource apk) in getAndroidManifest() method in ApkUtils