/cts/tests/tests/dynamic_linker/com/android/dynamiclinker/ |
D | DynamicLinkerTest.java | 37 String apkPath = InstrumentationRegistry.getContext().getPackageResourcePath(); in testLoadLibInApkByFileName() local 39 System.load(apkPath + "!/lib/arm64-v8a/libdynamiclinker_native_lib_b.so"); in testLoadLibInApkByFileName() 41 System.load(apkPath + "!/lib/armeabi-v7a/libdynamiclinker_native_lib_b.so"); in testLoadLibInApkByFileName() 43 System.load(apkPath + "!/lib/x86_64/libdynamiclinker_native_lib_b.so"); in testLoadLibInApkByFileName() 45 System.load(apkPath + "!/lib/x86/libdynamiclinker_native_lib_b.so"); in testLoadLibInApkByFileName()
|
/cts/hostsidetests/packagemanager/stats/device/src/com/android/cts/packagemanager/stats/device/ |
D | IncrementalAppErrorStatsTestsHelper.java | 47 final String apkPath = (String) testArgs.get(HELPER_ARG); in getPageIndexToBlock() local 48 assertNotNull(apkPath); in getPageIndexToBlock() 49 assertTrue(new File(apkPath).exists()); in getPageIndexToBlock() 50 ZipFile zip = new ZipFile(apkPath); in getPageIndexToBlock()
|
/cts/hostsidetests/packagemanager/codepath/app/src/com/android/tests/codepath/app/ |
D | CodePathDeviceTest.java | 38 String apkPath = pi.applicationInfo.sourceDir; in testCodePathMatchesExpected() local 39 Assert.assertTrue(apkPath.startsWith(expectedCodePath)); in testCodePathMatchesExpected()
|
/cts/hostsidetests/packagemanager/parsing/processing/ |
D | ApkGenerator.py | 89 apkPath = f"{outDir}/{hashCode}.apk" variable 97 "-o", apkPath 104 apkPath
|
/cts/hostsidetests/classloaders/useslibrary/app/src/com/android/cts/useslibrary/ |
D | UsesLibraryTest.java | 80 String apkPath = apkDexFile.getName(); in testDuplicateLibrary() local 84 String testPath = apkPath + File.pathSeparator + apkPath; in testDuplicateLibrary()
|
/cts/hostsidetests/packagemanager/installedloadingprogess/deviceside/src/com/android/tests/loadingprogress/device/ |
D | LoadingProgressTest.java | 107 final String apkPath = apkDir + "/" + apkName; in testReadAllBytes() local 108 assertTrue(new File(apkPath).exists()); in testReadAllBytes() 109 byte[] apkContentBytes = Files.readAllBytes(Paths.get(apkPath)); in testReadAllBytes()
|
/cts/tests/tests/role/src/android/app/role/cts/ |
D | RoleControllerManagerTest.kt | 131 private fun installPackage(apkPath: String) { in installPackage() 134 runShellCommand("pm install -r --user ${Process.myUserHandle().identifier} $apkPath") in installPackage()
|
D | RoleManagerTest.java | 412 private void installPackage(@NonNull String apkPath) { in installPackage() argument 414 + apkPath); in installPackage()
|
/cts/tests/tests/jni/src/android/jni/cts/ |
D | LinkerNamespacesHelper.java | 331 String apkPath = getSourcePath("android.jni.cts"); in runClassLoaderNamespaces() local 334 apkPath, nativePath, ClassLoader.getSystemClassLoader()); in runClassLoaderNamespaces() 337 apkPath, nativePath, ClassLoader.getSystemClassLoader()); in runClassLoaderNamespaces()
|
/cts/tests/tests/jvmti/attaching/src/android.jvmti.attaching.cts/ |
D | AttachingTest.java | 146 String apkPath = clfile.substring(0, clfile.lastIndexOf('!')); in getAgentInputStream() 147 ZipFile zip = new ZipFile(apkPath); in getAgentInputStream()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | CtsApiCoverage.java | 286 String apkPath = testApk.getPath(); in addApiCoverage() 293 Process process = new ProcessBuilder(dexdeps, "--format=xml", apkPath).start(); in addApiCoverage() 298 System.err.println("warning: dexdeps failed for: " + apkPath); in addApiCoverage()
|
D | TestCaseReport.java | 208 String apkPath = Paths.get(tsPath, apkName).toString(); in parseApkTestCase() local 210 dexFile = DexFileFactory.loadDexFile(apkPath, Opcodes.forApi(api)); in parseApkTestCase() 212 System.err.println("Unable to load dex file: " + apkPath); in parseApkTestCase()
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | TestSuiteParser.java | 208 String apkPath = Paths.get(mFolderPath, pkgBuilder.getPackageFile()).toString(); in parseApkTestCase() local 213 dexFile = DexFileFactory.loadDexFile(apkPath, Opcodes.getDefault()); in parseApkTestCase() 289 System.err.println("Unable to load dex file: " + apkPath); in parseApkTestCase()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerTest.java | 666 final String apkPath = mContext.getPackageCodePath(); in testGetPackageArchiveInfo() local 671 final PackageInfo pkgInfo = mPackageManager.getPackageArchiveInfo(apkPath, flags); in testGetPackageArchiveInfo() 1481 private boolean installPackage(String apkPath) { in installPackage() argument 1482 return SystemUtil.runShellCommand("pm install -t " + apkPath).equals("Success\n"); in installPackage()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | AtomTests.java | 1153 final String apkPath = apkDir + "/" + apkName; in testLoadingApks() local 1154 if (new File(apkPath).isFile()) { in testLoadingApks() 1156 Files.readAllBytes(Paths.get(apkPath)); in testLoadingApks()
|
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/ |
D | AppEnumerationTests.java | 1518 private void ensurePackageIsInstalled(String packageName, String apkPath) { 1519 runShellCommand("pm install -R " + apkPath);
|