/frameworks/base/cmds/bu/src/com/android/commands/bu/ |
Backup.java | 66 ArrayList<String> packages = new ArrayList<String>(); local 100 packages.add(arg); 104 if (doEverything && packages.size() > 0) { 108 if (!doEverything && !saveShared && packages.size() == 0) { 109 Log.e(TAG, "no backup packages supplied and neither -shared nor -all given"); 116 String[] packArray = new String[packages.size()]; 118 allIncludesSystem, packages.toArray(packArray));
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/Finder/ |
Files.py | 118 packages = package variable
|
/cts/tests/tests/security/src/android/security/cts/ |
ListeningPortsTest.java | 206 String[] packages = pm.getPackagesForUid(uid); local 207 if (packages == null) { 210 return Arrays.asList(packages).toString();
|
/cts/tools/signature-tools/test/signature/converter/doclet/ |
DocletTestConverter.java | 58 Set<String> packages = new HashSet<String>();
local 63 packages.add(p);
66 RootDoc root = getRootDoc(visibility, packages);
70 IApi api = converter.convertDocletRoot("Doclet Test", root, visibility, packages);
109 private static RootDoc getRootDoc(Visibility visibility, java.util.Set<String> packages) throws IOException {
143 for(String p : packages)
|
/external/chromium_org/chrome/browser/component_updater/ |
update_response.cc | 134 result->manifest.packages.push_back(p); 170 // Get the <packages> node. 171 std::vector<xmlNode*> packages = GetChildren(manifest, "packages"); local 172 if (packages.empty()) { 173 *error = "Missing packages tag on manifest."; 178 std::vector<xmlNode*> package = GetChildren(packages[0], "package");
|
/external/doclava/src/com/google/doclava/ |
DoclavaDiff.java | 82 * packages.0.name = java.lang 83 * packages.0.sites.0.hasPackage = 1 84 * packages.0.sites.0.link = http://proja.domain.com/reference/java/lang 85 * packages.0.sites.1.hasPackage = 0 86 * packages.0.classes.0.qualifiedName = java.lang.Object 87 * packages.0.classes.0.sites.0.hasClass = 1 88 * packages.0.classes.0.sites.0.link = http://proja.domain.com/reference/java/lang/Object 89 * packages.0.classes.0.sites.1.hasClass = 0 90 * packages.0.classes.0.methods.0.signature = wait() 91 * packages.0.classes.0.methods.0.sites.0.hasMethod = 196 Map<String, PackageInfo> packages = site.apiInfo().getPackages(); local 202 List<String> packages = new ArrayList<String>(allPackages); local [all...] |
Stubs.java | 131 HashMap<PackageInfo, List<ClassInfo>> packages = new HashMap<PackageInfo, List<ClassInfo>>(); local 141 if (packages.containsKey(cl.containingPackage())) { 142 packages.get(cl.containingPackage()).add(cl); 146 packages.put(cl.containingPackage(), classes); 155 writeApi(apiWriter, packages, notStrippable); 161 writeKeepList(keepListWriter, packages, notStrippable); 782 // extract the set of packages, sort them by name, and write them out in that order 795 final PackageInfo[] packages = pkgs.toArray(new PackageInfo[pkgs.size()]); local 796 Arrays.sort(packages, PackageInfo.comparator); 799 for (PackageInfo pkg: packages) { 997 final PackageInfo[] packages = pkgs.toArray(new PackageInfo[pkgs.size()]); local [all...] |
/frameworks/base/core/java/android/accounts/ |
GrantCredentialsPermissionActivity.java | 72 final String[] packages = pm.getPackagesForUid(mUid); local 74 if (mAccount == null || mAuthTokenType == null || packages == null) { 121 for (String pkg : packages) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
LocationController.java | 164 List<AppOpsManager.PackageOps> packages local 167 if (packages != null) { 168 final int numPackages = packages.size(); 170 AppOpsManager.PackageOps packageOp = packages.get(packageInd);
|
/frameworks/base/services/java/com/android/server/content/ |
SyncOperation.java | 198 final String[] packages = pm.getPackagesForUid(reason); local 199 if (packages != null && packages.length == 1) { 200 return packages[0];
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/ |
UiManifestPkgAttrNode.java | 179 // Display the list of AndroidManifest packages in a selection dialog 315 TreeSet<String> packages = new TreeSet<String>(); local 325 packages.add(manifestData.getPackage()); 328 return packages.toArray(new String[packages.size()]);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
ProcStatsEntry.java | 230 String[] packages = pm.getPackagesForUid(mUid); local 231 if (packages != null) { 232 for (String curPkg : packages) { 255 // no current packages for this uid, typically because of uninstall
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatterySipper.java | 116 * Gets a list of packages associated with the current user 141 String[] packages = pm.getPackagesForUid(uid); local 143 if (packages == null) { 154 //name = packages[0];
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
ViewHierarchyScene.java | 115 String[] packages = nameAndHashcode[0].split("\\."); local 116 return packages[packages.length - 1];
|
/cts/tools/signature-tools/src/signature/converter/doclet/ |
DocletToSigConverter.java | 99 Set<IPackage> packages = new HashSet<IPackage>();
local 103 packages.add(convertPackage(pack));
107 sources.setPackages(packages);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
ImmersiveModeConfirmation.java | 91 String packages = null; local 93 packages = Settings.Secure.getStringForUser(mContext.getContentResolver(), 96 if (packages != null) { 97 mConfirmedPackages.addAll(Arrays.asList(packages.split(","))); 101 Slog.w(TAG, "Error loading confirmations, packages=" + packages, t); 108 final String packages = TextUtils.join(",", mConfirmedPackages); local 111 packages, local 113 if (DEBUG) Slog.d(TAG, "Saved packages=" + packages); [all...] |
/frameworks/base/services/java/com/android/server/print/ |
PrintManagerService.java | 619 String[] packages = mContext.getPackageManager().getPackagesForUid( local 621 final int packageCount = packages.length; 623 if (packageName.equals(packages[i])) {
|
/frameworks/base/core/java/android/content/pm/ |
RegisteredServicesCache.java | 60 * {@link PackageManager} on a per-user basis. It's updated as packages are 275 String[] packages = mContext.getPackageManager().getPackagesForUid(callerUid); local 276 for (String name : packages) { 291 * Populate {@link UserServices#services} by scanning installed packages for
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
DatabaseHelper.java | 1814 String[] packages = packageManager.canonicalToCurrentPackageNames( local [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ContextWrapperTest.java | 428 List<PackageInfo> packages = mContextWrapper.getPackageManager().getInstalledPackages( local 430 assertTrue(packages.size() >= 1); 431 return packages.get(0).packageName; [all...] |
/prebuilts/devtools/tools/lib/ |
sdklib.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdklib/22.2.0/ |
sdklib-22.2.0.jar | |
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
Pm.java | 233 * pm list [package | packages] 246 if ("package".equals(type) || "packages".equals(type)) { 266 * Lists all the installed packages. 310 final List<PackageInfo> packages = getInstalledPackages(mPm, getFlags, userId); local 312 int count = packages.size(); 314 PackageInfo info = packages.get(p); [all...] |
/frameworks/base/core/java/android/app/ |
ApplicationThreadNative.java | 457 String[] packages = data.readStringArray(); local 458 dispatchPackageBroadcast(cmd, packages); [all...] |
/frameworks/base/services/java/com/android/server/ |
AppOpsService.java | 300 HashMap<String, Ops> packages = mUidOps.valueAt(i); local 301 for (Ops pkgOps : packages.values()) { 430 HashMap<String, Ops> packages = mUidOps.valueAt(i); local 431 Iterator<Map.Entry<String, Ops>> it = packages.entrySet().iterator(); 455 if (packages.size() == 0) { [all...] |