Searched refs:getAndroidManifest (Results 1 – 3 of 3) sorted by relevance
64 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 ApkUtilsTest105 return getAndroidManifest(getResource(apkResourceName)); in getAndroidManifest()108 private static ByteBuffer getAndroidManifest(byte[] apk) in getAndroidManifest() method in ApkUtilsTest110 return ApkUtils.getAndroidManifest(DataSources.asDataSource(ByteBuffer.wrap(apk))); in getAndroidManifest()
116 zf.add("AndroidManifest.xml", new ByteArrayInputStream(getAndroidManifest())); in addAndroidManifest()123 public static byte[] getAndroidManifest() throws IOException { in getAndroidManifest() method in ApkZFileTestUtils
280 public static ByteBuffer getAndroidManifest(DataSource apk) in getAndroidManifest() method in ApkUtils