Home | History | Annotate | Download | only in targetprep

Lines Matching refs:appFile

176      * @param appFile {@link File} of the apk to install.
181 void installApk(File appFile, ITestDevice device)
183 CLog.d("Installing apk from %s ...", appFile.getAbsolutePath());
184 String result = device.installPackage(appFile, true, mInstallArgs.toArray(new String[] {}));
188 addApkToInstalledList(appFile, device);
195 appFile, device.getSerialNumber(), result),
200 appFile, device.getSerialNumber(), result);
207 * @param appFile {@link File} of apk.
211 void addApkToInstalledList(File appFile, ITestDevice device) throws TargetSetupError {
212 String packageName = getAppPackageName(appFile);
223 * @param appFile {@link File} of apk.
224 * @return Package name of appFile, null if errors.
226 String getAppPackageName(File appFile) {
227 AaptParser parser = AaptParser.parse(appFile);