/frameworks/base/core/tests/coretests/src/android/content/pm/ |
PackageManagerTests.java | 265 PackageParser.Package pkg = packageParser.parsePackage(sourceFile, archiveFilePath, metrics, 0); local 267 return pkg; 353 private void assertInstall(PackageParser.Package pkg, int flags, int expInstallLocation) { 355 String pkgName = pkg.packageName; 402 PackageParser.Package pkg; field in class:PackageManagerTests.InstallParams 404 this.pkg = getParsedPackage(outFileName, rawResId); 405 this.packageURI = Uri.fromFile(new File(pkg.mScanPath)); 407 InstallParams(PackageParser.Package pkg) { 408 this.packageURI = Uri.fromFile(new File(pkg.mScanPath)); 409 this.pkg = pkg 430 String pkg = null; local 516 PackageParser.Package pkg = parsePackage(packageURI); local 529 PackageParser.Package pkg = ip.pkg; local 2322 PackageParser.Package pkg = parsePackage(packageURI); local 2366 PackageParser.Package pkg = parsePackage(packageURI); local 2558 PackageParser.Package pkg = parsePackage(packageURI); local 2678 PackageParser.Package pkg = getParsedPackage(apk2Name, apk2); local [all...] |
/cts/tools/host/src/com/android/cts/ |
HostConfig.java | 269 for (TestPackage pkg : mTestPackageMap.values()) { 270 if (appPackageName.equals(pkg.getAppPackageName())) { 271 return pkg.getAppBinaryName(); 505 for (TestPackage pkg : mTestPackageMap.values()) { 506 String binaryName = pkg.getAppBinaryName(); 510 packageNames.add(pkg.getAppPackageName()); 524 for (TestPackage pkg : mTestPackageMap.values()) { 525 String pkgBinaryName = pkg.getAppBinaryName(); 529 pkgBinaryNames.add(pkg.getAppBinaryName()); 563 TestPackage pkg = loadPackage(xmlPath) local 565 mTestPackageMap.put(pkg.getAppPackageName(), pkg); local 654 TestPackage pkg = loadPackage(xmlFilePath); local 656 mTestPackageMap.put(pkg.getAppPackageName(), pkg); local 675 TestPackage pkg = null; local 732 TestPackage pkg = loadPackage(xmlFilePath); local 859 TestPackage pkg = getTestPackage(packageName); local [all...] |
TestSessionBuilder.java | 167 TestPackage pkg = loadPackage(xmlFile, excludedList); local 168 if (pkg instanceof SignatureCheckPackage) { 171 packages.add(0, pkg); 173 packages.add(pkg); 227 TestPackage pkg = null; local 232 pkg = new ReferenceAppTestPackage(runner, appBinaryName, targetNameSpace, 237 pkg = new SignatureCheckPackage(runner, appBinaryName, targetNameSpace, 241 pkg = new HostSideOnlyPackage(appBinaryName, version, frameworkVersion, 244 pkg = new TestPackage(runner, appBinaryName, targetNameSpace, targetBinaryName, 256 TestSuite suite = loadSuite(pkg, sNode, excludedCaseList) [all...] |
TestSessionLogBuilder.java | 100 TestPackage pkg = TestSessionBuilder.getInstance().loadPackage(pkgNode, null); local 101 if (pkg != null) { 102 pkgsFromResult.add(pkg);
|
/cts/tools/host/test/com/android/cts/ |
TestPlanBuilderTests.java | 248 TestPackage pkg = hf.getTestPackage(appPackageName); local 249 assertNotNull(pkg); 252 Collection<Test> tests = pkg.getTests(); 262 excludedList = pkg.getExcludedList(CtsTestResult.STR_NOT_EXECUTED); 267 excludedList = pkg.getExcludedList(CtsTestResult.STR_TIMEOUT); 271 excludedList = pkg.getExcludedList(null); 277 excludedList = pkg.getExcludedList(CtsTestResult.STR_NOT_EXECUTED); 285 excludedList = pkg.getExcludedList(CtsTestResult.STR_NOT_EXECUTED); 294 excludedList = pkg.getExcludedList(CtsTestResult.STR_NOT_EXECUTED);
|
TestSessionLogBuilderTests.java | 148 TestPackage pkg = packages.iterator().next(); local 150 Collection<Test> tests = pkg.getTests();
|
/development/apps/Development/src/com/android/development/ |
ProcessInfo.java | 44 for(String pkg : pkgList) { 46 pkgView.setText(pkg);
|
PermissionDetails.java | 145 for (PackageInfo pkg : list) { 146 Log.i(TAG, "Adding pkg : " + pkg.packageName); 160 for (PackageInfo pkg : list) { 161 if (pkg.requestedPermissions == null) { 164 for (String perm : pkg.requestedPermissions) { 166 Log.i(TAG, "Pkg:" + pkg.packageName+" uses permission"); 167 set.add(pkg); 173 for (PackageInfo pkg : set) [all...] |
/frameworks/base/services/java/com/android/server/ |
PackageManagerBackupAgent.java | 162 for (PackageInfo pkg : mAllPackages) { 163 String packName = pkg.packageName; 226 if (DEBUG) Slog.v(TAG, "- removing metadata for deleted pkg " + app); 379 String pkg = in.readUTF(); local 380 if (pkg.equals(GLOBAL_METADATA_KEY)) { 391 pkg = in.readUTF(); 393 mExisting.add(pkg); 394 mStateVersions.put(pkg, new Metadata(versionCode, null)); 416 for (PackageInfo pkg : pkgs) { 417 out.writeUTF(pkg.packageName) [all...] |
/external/jdiff/src/jdiff/ |
HTMLStatistics.java | 202 PackageDiff pkg = (PackageDiff)(iter.next()); local 203 int bucket = (int)(pkg.pdiff); 210 h_.writeText(" <TD><A HREF=\"pkg_" + pkg.name_ + h_.reportFileExt + "\">" + pkg.name_ + "</A></TD>"); 261 PackageDiff pkg = (PackageDiff)(iter.next()); local 262 if (pkg.classesChanged != null) { 264 List cc = new ArrayList(pkg.classesChanged); 268 classDiff.name_ = pkg.name_ + "." + classDiff.name_; 377 PackageDiff pkg = (PackageDiff)(iter.next()); local 378 numClassesRemoved += pkg.classesRemoved.size() [all...] |
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
Bmgr.java | 155 String pkg = nextArg(); local 156 if ("-f".equals(pkg)) { 158 pkg = nextArg(); 161 if (pkg == null || pkg.startsWith("-")) { 168 mBmgr.dataChanged(pkg); 192 String pkg = nextArg(); local 193 if (pkg == null) { 199 mBmgr.clearBackupData(pkg); 200 System.out.println("Wiped backup data for " + pkg); [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
Archive.java | 201 Archive(Package pkg, Os os, Arch arch, String url, long size, String checksum) {
202 mPackage = pkg;
216 Archive(Package pkg, Properties props, Os os, Arch arch, String localOsPath) {
217 mPackage = pkg;
379 Package pkg = getParentPackage();
local 382 String name = pkg.getShortDescription();
384 if (pkg instanceof ExtraPackage && !((ExtraPackage) pkg).isPathValid()) {
387 ((ExtraPackage) pkg).getPath());
436 Package pkg = getParentPackage(); local 697 Package pkg = getParentPackage(); local [all...] |
ExtraPackage.java | 229 public boolean sameItemAs(Package pkg) {
231 return pkg instanceof ExtraPackage && ((ExtraPackage)pkg).mPath.equals(mPath);
|
PlatformPackage.java | 205 public boolean sameItemAs(Package pkg) {
206 if (pkg instanceof PlatformPackage) {
207 PlatformPackage newPkg = (PlatformPackage)pkg;
|
/external/dnsmasq/ |
Makefile | 25 PKG_CONFIG = pkg-config 33 DNSMASQ_CFLAGS=`echo $(COPTS) | ../bld/pkg-wrapper HAVE_DBUS $(PKG_CONFIG) --cflags dbus-1` 34 DNSMASQ_LIBS= `echo $(COPTS) | ../bld/pkg-wrapper HAVE_DBUS $(PKG_CONFIG) --libs dbus-1`
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/ |
UpdaterLogic.java | 332 private ArchiveInfo[] findDependency(Package pkg,
346 if (pkg instanceof IPlatformDependency) {
348 (IPlatformDependency) pkg,
360 if (pkg instanceof IMinToolsDependency) {
363 (IMinToolsDependency) pkg,
375 if (pkg instanceof IMinApiLevelDependency) {
378 (IMinApiLevelDependency) pkg,
406 IMinToolsDependency pkg,
413 int rev = pkg.getMinToolsRevision();
504 IPlatformDependency pkg,
[all...] |
/build/tools/droiddoc/src/ |
PackageInfo.java | 32 public PackageInfo(PackageDoc pkg, String name, SourcePositionInfo position) 34 super(pkg.getRawCommentText(), position); 37 if (pkg == null) { 38 throw new RuntimeException("pkg is null"); 40 mPackage = pkg;
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
DefaultContainerService.java | 126 PackageParser.PackageLite pkg = packageParser.parsePackageLite( 128 ret.packageName = pkg.packageName; 129 ret.installLocation = pkg.installLocation; 133 if (pkg == null) { 138 ret.packageName = pkg.packageName; 139 ret.recommendedInstallLocation = recommendAppInstallLocation(pkg.installLocation, archiveFilePath, flags); 158 String pkg = null; local 160 while ((pkg=pm.nextPackageToClean(pkg)) != null) { 161 eraseFiles(Environment.getExternalStorageAppDataDirectory(pkg)); [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
ITelephonyRegistry.aidl | 26 void listen(String pkg, IPhoneStateListener callback, int events, boolean notifyNow);
|
/frameworks/base/core/java/android/content/pm/ |
PackageParser.java | 411 Package pkg = null; local 416 pkg = parsePackage(res, parser, flags, errorText); 423 if (pkg == null) { 443 pkg.mPath = destCodePath; 444 pkg.mScanPath = mArchiveSourcePath; 445 //pkg.applicationInfo.sourceDir = destCodePath; 446 //pkg.applicationInfo.publicSourceDir = destRes; 447 pkg.mSignatures = null; 449 return pkg; 452 public boolean collectCertificates(Package pkg, int flags) 756 final Package pkg = new Package(pkgName); local [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
PackageUtil.java | 63 PackageParser.Package pkg = packageParser.parsePackage(sourceFile, archiveFilePath, metrics, 0); local 64 if (pkg == null) { 67 return pkg.applicationInfo; 79 PackageParser.Package pkg = packageParser.parsePackage(sourceFile, local 83 return pkg;
|
/dalvik/libcore/luni-kernel/src/main/java/java/lang/ |
Class.java | 1175 String pkg = getName(); local 1211 String pkg = getName(); local [all...] |
/development/tools/apkcheck/src/com/android/apkcheck/ |
ClassInfo.java | 352 PackageInfo pkg = apiList.getPackage(packageName); local 353 if (pkg == null) 355 return pkg.getClass(className);
|
/frameworks/base/core/java/android/accounts/ |
GrantCredentialsPermissionActivity.java | 79 for (String pkg : packages) { 82 packageLabel = pm.getApplicationLabel(pm.getApplicationInfo(pkg, 0)).toString(); 84 packageLabel = pkg;
|
/dalvik/libcore/luni/src/main/java/java/lang/ |
SecurityManager.java | 416 final String pkg) { 420 int plen = pkg.length(); 425 && pkg.startsWith(token) 426 && (token.charAt(tlen - 1) == '.' || pkg.charAt(tlen) == '.')) { 428 } else if (plen == tlen && token.startsWith(pkg)) { 430 } else if (plen + 1 == tlen && token.startsWith(pkg)
|