/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...] |
BackupManagerService.java | 214 return "BackupRequest{pkg=" + packageName + "}"; 910 String pkg = in.readUTF(); local 1458 PackageInfo pkg = packages.get(a); local 2335 PackageInfo pkg = packagesToBackup.get(i); local 2361 PackageInfo pkg = packagesToBackup.get(i); local 2372 PackageInfo pkg = null; local 2647 PackageInfo pkg = null; local 3085 final String pkg = info.packageName; local 3496 PackageInfo pkg = mPackageManager.getPackageInfo(info.packageName, local 4159 final PackageInfo pkg = mAgentPackages.get(i); local 5340 PackageInfo pkg = new PackageInfo(); local [all...] |
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/ |
SdkUpdaterLogic.java | 470 private ArchiveInfo[] findDependency(Package pkg,
484 if (pkg instanceof IPlatformDependency) {
486 (IPlatformDependency) pkg,
498 if (pkg instanceof IMinToolsDependency) {
501 (IMinToolsDependency) pkg,
513 if (pkg instanceof IMinPlatformToolsDependency) {
516 (IMinPlatformToolsDependency) pkg,
528 if (pkg instanceof IMinApiLevelDependency) {
531 (IMinApiLevelDependency) pkg,
543 if (pkg instanceof IExactApiLevelDependency) { [all...] |
/cts/tools/host/src/com/android/cts/ |
TestSessionBuilder.java | 168 TestPackage pkg = loadPackage(xmlFile, excludedList); local 169 if (pkg instanceof SignatureCheckPackage) { 172 packages.add(0, pkg); 174 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, version, 256 TestSuite suite = loadSuite(pkg, sNode, excludedCaseList) [all...] |
TestSessionLogBuilder.java | 101 TestPackage pkg = TestSessionBuilder.getInstance().loadPackage(pkgNode, null); local 102 if (pkg != null) { 103 pkgsFromResult.add(pkg);
|
/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/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
ClientTest.java | 62 EditText pkg = (EditText) findViewById(R.id.pkg); 72 pkg.getText().toString(), 78 Log.w(LOG_TAG, "remote add pkg failed..."); 82 pkg.getText().toString(), 98 EditText pkg = (EditText) findViewById(R.id.pkg); 107 pkg.getText().toString(),
|
/development/apps/Development/src/com/android/development/ |
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...] |
/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`
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
DefaultContainerService.java | 144 PackageParser.PackageLite pkg = PackageParser.parsePackageLite(archiveFilePath, 0); 145 if (pkg == null) { 157 ret.packageName = pkg.packageName; 158 ret.installLocation = pkg.installLocation; 159 ret.verifiers = pkg.verifiers; 161 ret.recommendedInstallLocation = recommendAppInstallLocation(pkg.installLocation, 218 String pkg = null; local 220 while ((pkg=pm.nextPackageToClean(pkg)) != null) { 221 eraseFiles(Environment.getExternalStorageAppDataDirectory(pkg)); [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
ArchiveInstaller.java | 93 Package pkg = newArchive.getParentPackage();
local 96 String name = pkg.getShortDescription();
98 if (pkg instanceof ExtraPackage && !((ExtraPackage) pkg).isPathValid()) {
101 ((ExtraPackage) pkg).getPath());
153 Package pkg = archive.getParentPackage();
local 154 SdkSource src = pkg.getParentSource();
427 Package pkg = newArchive.getParentPackage();
local 428 String pkgName = pkg.getShortDescription();
459 String pkgKind = pkg.getClass().getSimpleName(); 816 Package pkg = archive.getParentPackage(); local [all...] |
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
Bmgr.java | 154 String pkg = nextArg(); local 155 if (pkg == null) { 161 mBmgr.dataChanged(pkg); 190 String pkg = nextArg(); local 191 if (pkg == null) { 197 mBmgr.clearBackupData(pkg); 198 System.out.println("Wiped backup data for " + pkg); 349 private void doRestorePackage(String pkg) { 351 mRestore = mBmgr.beginRestoreSession(pkg, null); 358 int err = mRestore.restorePackage(pkg, observer) [all...] |
/cts/tools/host/test/com/android/cts/ |
TestSessionLogBuilderTests.java | 148 TestPackage pkg = packages.iterator().next(); local 150 Collection<Test> tests = pkg.getTests();
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
ITelephonyRegistry.aidl | 28 void listen(String pkg, IPhoneStateListener callback, int events, boolean notifyNow);
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/sdkman2/ |
PackagesDiffLogic.java | 188 public abstract Object getCategoryKey(Package pkg); 453 for (Package pkg : packages) { 456 if (pkgToFind.canBeUpdatedBy(pkg) == UpdateInfo.NOT_UPDATE && 457 pkg.getRevision() == pkgToFind.getRevision()) { 458 packages.remove(pkg); 481 Package pkg = it.next(); local 485 if (pkgToFind.canBeUpdatedBy(pkg) == UpdateInfo.NOT_UPDATE && 486 pkg.getRevision() <= pkgToFind.getRevision()) { 631 public Object getCategoryKey(Package pkg) { 634 if (pkg instanceof IPackageVersion) [all...] |
/frameworks/base/core/java/android/content/pm/ |
PackageParser.java | 440 Package pkg = null; local 444 pkg = parsePackage(res, parser, flags, errorText); 451 if (pkg == null) { 475 pkg.mPath = destCodePath; 476 pkg.mScanPath = mArchiveSourcePath; 477 //pkg.applicationInfo.sourceDir = destCodePath; 478 //pkg.applicationInfo.publicSourceDir = destRes; 479 pkg.mSignatures = null; 481 return pkg; 484 public boolean collectCertificates(Package pkg, int flags) 837 final Package pkg = new Package(pkgName); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
Ticker.java | 185 if (n.pkg.equals(seg.notification.pkg) 195 new StatusBarIcon(n.pkg, n.notification.icon, n.notification.iconLevel, 0, 202 if (n.id == seg.notification.id && n.pkg.equals(seg.notification.pkg)) { 230 if (n.id == seg.notification.id && n.pkg.equals(seg.notification.pkg)) {
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TestResults.java | 69 TestPackageResult pkg = new TestPackageResult(); local 70 pkg.parse(parser); 71 if (pkg.getAppPackageName() != null) { 72 mPackageMap.put(pkg.getAppPackageName(), pkg); local
|
PlanCreator.java | 112 for (TestPackageResult pkg : mResult.getPackages()) { 113 Collection<TestIdentifier> filteredTests = pkg.getTestsWithStatus(mResultFilter); 115 String pkgUri = pkg.getAppPackageName();
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
PackageUtil.java | 58 PackageParser.Package pkg = packageParser.parsePackage(sourceFile, archiveFilePath, metrics, 0); local 59 if (pkg == null) { 62 return pkg.applicationInfo; 74 PackageParser.Package pkg = packageParser.parsePackage(sourceFile, local 78 return pkg;
|
/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);
|
/external/doclava/src/com/google/doclava/ |
TodoFile.java | 157 PackageInfo pkg = cl.containingPackage(); local 158 String pkgName = pkg != null ? pkg.name() : "";
|
FederationTagger.java | 113 private void federatePackage(FederatedSite source, PackageInfo pkg) { 114 pkg.addFederatedReference(source);
|
/libcore/luni/src/main/java/java/lang/ |
Class.java | 1064 String pkg = getName(); local 1100 String pkg = getName(); local [all...] |
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/ |
ClassSourcer.java | 50 String pkg = name.substring(0, name.lastIndexOf('/')).replace('/', '.'); local 53 mOutput.write("package %s;\n", pkg);
|