/frameworks/base/core/java/com/android/internal/content/ |
NativeLibraryHelper.java | 39 * @param apkFile APK file to scan for native libraries 42 public static long sumNativeBinariesLI(File apkFile) { 45 return nativeSumNativeBinaries(apkFile.getPath(), cpuAbi, cpuAbi2); 54 * @param apkFile APK file to scan for native libraries 59 public static int copyNativeBinariesIfNeededLI(File apkFile, File sharedLibraryDir) { 62 return nativeCopyNativeBinaries(apkFile.getPath(), sharedLibraryDir.getPath(), cpuAbi,
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/device/ |
DeviceInfoCollector.java | 50 File apkFile = new File(testApkDir, String.format("%s.apk", APK_NAME)); 51 if (!apkFile.exists()) { 52 Log.e(LOG_TAG, String.format("Could not find %s", apkFile.getAbsolutePath())); 58 instrTest.setInstallFile(apkFile);
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
DefaultContainerService.java | 175 final File apkFile = new File(packagePath); 176 if (!apkFile.exists()) { 199 final File apkFile = new File(packageUri.getPath()); 201 return isUnderInternalThreshold(apkFile, isForwardLocked, threshold); 210 final File apkFile = new File(packageUri.getPath()); 212 return isUnderExternalThreshold(apkFile, isForwardLocked); 711 final File apkFile = new File(archiveFilePath); 716 fitsOnInternal = isUnderInternalThreshold(apkFile, isForwardLocked, threshold); 725 fitsOnSd = isUnderExternalThreshold(apkFile, isForwardLocked); 765 * @param apkFile file to chec [all...] |
/frameworks/base/tools/aapt/ |
printapk.cpp | 16 "usage: apk APKFILE\n" 18 "APKFILE an android packge file produced by aapt.\n"
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/build/ |
CtsBuildHelper.java | 108 File apkFile = new File(getTestCasesDir(), appFileName); 109 if (!apkFile.exists()) { 111 apkFile.getAbsolutePath())); 113 return apkFile;
|
/tools/motodev/src/plugins/preflighting.core/src/com/motorolamobility/preflighting/core/internal/utils/ |
ApkUtils.java | 75 * @param apkFile
88 public static File extractProjectFromAPK(File apkFile, String sdkPath)
91 String apkName = apkFile.getName();
133 ApktoolUtils.extractFilesFromApk(apkFile, tmpProjectFile);
137 AaptUtils.extractFilesFromAPK(apkFile, sdkPath, tmpProjectFile);
|
AaptUtils.java | 209 public static void extractFilesFromAPK(File apkFile, String sdkPath, File tmpProjectFile) 220 apkInputStream = new ZipInputStream(new FileInputStream(apkFile.getAbsolutePath())); 250 retrieveLocalizationStringsMapFromAPK(sdkPath, apkFile.getAbsolutePath(), 280 createXMLFile(sdkPath, apkFile.getAbsolutePath(), apkEntryName, 604 * Execute the AAPT command: aapt d --values resources [ApkFile].apk > [all...] |
/tools/motodev/src/plugins/preflighting.ui/src/com/motorolamobility/preflighting/ui/handlers/ |
AnalyzeApkHandler.java | 383 IFile apkfile = (IFile) resource;
local 384 analyzedResource = apkfile;
385 if (apkfile.getFileExtension().equals("apk") && apkfile.exists() //$NON-NLS-1$
386 && apkfile.getLocation().toFile().canRead())
391 path = apkfile.getLocation().toOSString();
402 File apkfile = (File) resource;
local 404 if (apkfile.getName().endsWith(".apk") && apkfile.exists() //$NON-NLS-1$
405 && apkfile.canRead()) [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/build/ |
ApkBuilder.java | 381 * @param apkFile the file to create 389 public ApkBuilder(File apkFile, File resFile, File dexFile, String debugStoreOsPath, 394 init(apkFile, resFile, dexFile, info.key, info.certificate, verboseStream); 396 init(apkFile, resFile, dexFile, null /*key*/, null/*certificate*/, verboseStream); 411 * @param apkFile the file to create 420 public ApkBuilder(File apkFile, File resFile, File dexFile, PrivateKey key, 422 init(apkFile, resFile, dexFile, key, certificate, verboseStream); 433 private void init(File apkFile, File resFile, File dexFile, PrivateKey key, 437 checkOutputFile(mApkFile = apkFile); [all...] |
/tools/build/builder/src/main/java/com/android/builder/packaging/ |
Packager.java | 231 File apkFile = new File(apkLocation); 232 checkOutputFile(apkFile); 246 new FileOutputStream(apkFile, false /* append */), 250 mLogger.verbose("Packaging %s", apkFile.getName());
|
/packages/apps/Settings/src/com/android/settings/applications/ |
ApplicationsState.java | 90 final File apkFile; 119 apkFile = new File(info.sourceDir); 129 if (!this.apkFile.exists()) { 142 if (this.apkFile.exists()) { 153 if (this.apkFile.exists()) { [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
CtsTest.java | 606 File apkFile = mCtsBuild.getTestApp(apkName); 607 String errorCode = getDevice().installPackage(apkFile, true);
|
/tools/motodev/src/plugins/preflighting.core/apktool/ |
apktool.jar | |
/frameworks/base/services/java/com/android/server/ |
BackupManagerService.java | [all...] |