/frameworks/base/services/java/com/android/server/pm/ |
H A D | SharedUserSetting.java | 32 final HashSet<PackageSetting> packages = new HashSet<PackageSetting>(); field in class:SharedUserSetting 49 if (packages.remove(packageSetting)) { 53 for (PackageSetting ps : packages) { 62 if (packages.add(packageSetting)) {
|
H A D | KeySetManager.java | 65 public KeySetManager(Map<String, PackageSetting> packages) { argument 69 mPackages = packages;
|
/frameworks/base/core/tests/coretests/apks/ |
H A D | Android.mk | 6 # build sub packages
|
/frameworks/base/cmds/bu/src/com/android/commands/bu/ |
H A D | Backup.java | 66 ArrayList<String> packages = new ArrayList<String>(); 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));
|
/frameworks/base/core/java/android/app/backup/ |
H A D | IRestoreSession.aidl | 55 * Restore select packages from the given set onto the device, replacing the 67 * @param packages The set of packages for which to attempt a restore. Regardless of 71 int restoreSome(long token, IRestoreObserver observer, in String[] packages);
|
H A D | RestoreSession.java | 90 * Restore select packages from the given set onto the device, replacing the 102 * @param packages The set of packages for which to attempt a restore. Regardless of 108 public int restoreSome(long token, RestoreObserver observer, String[] packages) { argument 116 err = mBinder.restoreSome(token, mObserver, packages); 118 Log.d(TAG, "Can't contact server to restore packages");
|
/frameworks/base/core/java/com/android/internal/backup/ |
H A D | IBackupTransport.aidl | 162 * @param packages List of applications to restore (if data is available). 168 int startRestore(long token, in PackageInfo[] packages); 172 * @return The name of one of the packages supplied to {@link #startRestore},
|
H A D | LocalTransport.java | 207 public int startRestore(long token, PackageInfo[] packages) { argument 209 mRestorePackages = packages; 224 if (DEBUG) Log.v(TAG, " no more packages to restore");
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | LocationController.java | 164 List<AppOpsManager.PackageOps> packages 167 if (packages != null) { 168 final int numPackages = packages.size(); 170 AppOpsManager.PackageOps packageOp = packages.get(packageInd);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | ImmersiveModeConfirmation.java | 91 String packages = null; 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); 111 packages, 113 if (DEBUG) Slog.d(TAG, "Saved packages=" + packages); [all...] |
/frameworks/base/services/java/com/android/server/content/ |
H A D | SyncOperation.java | 192 final String[] packages = pm.getPackagesForUid(reason); 193 if (packages != null && packages.length == 1) { 194 return packages[0];
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/ |
H A D | Android.mk | 39 # Include packages in subdirectories
|
/frameworks/ex/chips/tests/ |
H A D | Android.mk | 26 LOCAL_AAPT_FLAGS += --extra-packages com.android.ex.chips
|
/frameworks/uiautomator/tests/CtsUiAutomatorTest/ |
H A D | Android.mk | 28 # Build the test APK using its own makefile, and any other CTS-related packages
|
/frameworks/base/core/java/android/accounts/ |
H A D | GrantCredentialsPermissionActivity.java | 72 final String[] packages = pm.getPackagesForUid(mUid); 74 if (mAccount == null || mAuthTokenType == null || packages == null) { 121 for (String pkg : packages) {
|
/frameworks/base/core/java/com/android/internal/content/ |
H A D | PackageMonitor.java | 33 * Helper class for monitoring the state of packages: adding, removing, 174 public boolean onHandleForceStop(Intent intent, String[] packages, int uid, boolean doit) { argument 184 public void onPackagesAvailable(String[] packages) { argument 187 public void onPackagesUnavailable(String[] packages) { argument
|
/frameworks/opt/photoviewer/sample/ |
H A D | Android.mk | 39 LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.appcompat:com.android.ex.photo
|
/frameworks/base/services/java/com/android/server/firewall/ |
H A D | IntentFirewall.java | 201 Slog.e(TAG, "Remote exception while retrieving packages", ex); 215 * limit, in which case one of the packages will be truncated and added. In this case, an 222 private static String joinPackages(String[] packages) { argument 225 for (int i=0; i<packages.length; i++) { 226 String pkg = packages[i]; 241 if (sb.length() == 0 && packages.length > 0) { 242 String pkg = packages[0];
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | UsageStatsService.java | 621 /** Filter out stats for any packages which aren't present anymore. */ 679 * Start watching packages to remove stats when a package is uninstalled. 905 boolean deleteAfterPrint, HashSet<String> packages) { 927 packages); 942 String date, boolean isCompactOutput, HashSet<String> packages) { 972 if (packages != null && !packages.contains(pkgName)) { 1140 final String rawPackages = scanArgsData(args, "--packages"); 1149 HashSet<String> packages = null; 1152 // A * is a wildcard to show all packages 904 collectDumpInfoFLOCK(PrintWriter pw, boolean isCompactOutput, boolean deleteAfterPrint, HashSet<String> packages) argument 941 collectDumpInfoFromParcelFLOCK(Parcel in, PrintWriter pw, String date, boolean isCompactOutput, HashSet<String> packages) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | PackageManagerBackupAgent.java | 85 PackageManagerBackupAgent(PackageManager packageMgr, List<PackageInfo> packages) { argument 87 mAllPackages = packages; 111 // This is technically the set of packages on the originating handset 112 // that had backup agents at all, not limited to the set of packages
|
H A D | AppOpsService.java | 300 HashMap<String, Ops> packages = mUidOps.valueAt(i); 301 for (Ops pkgOps : packages.values()) { 430 HashMap<String, Ops> packages = mUidOps.valueAt(i); 431 Iterator<Map.Entry<String, Ops>> it = packages.entrySet().iterator(); 455 if (packages.size() == 0) {
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerTests.java | 774 /* ------------------------- Test replacing packages -------------- */ 3375 * from rejecting new packages that specify features that didn't exist when 3379 * Right now we allow all packages to be installed regardless of their 3405 List<PackageInfo> packages = getPm().getInstalledPackages(0); 3406 assertNotNull("installed packages cannot be null", packages); 3407 assertTrue("installed packages cannot be empty", packages.size() > 0); 3411 List<PackageInfo> packages = getPm().getInstalledPackages( 3413 assertNotNull("installed packages canno [all...] |
/frameworks/base/services/java/com/android/server/print/ |
H A D | PrintManagerService.java | 619 String[] packages = mContext.getPackageManager().getPackagesForUid( 621 final int packageCount = packages.length; 623 if (packageName.equals(packages[i])) {
|
/frameworks/support/v7/mediarouter/ |
H A D | Android.mk | 29 --extra-packages android.support.v7.appcompat
|
/frameworks/base/core/java/android/content/pm/ |
H A D | RegisteredServicesCache.java | 60 * {@link PackageManager} on a per-user basis. It's updated as packages are 275 String[] packages = mContext.getPackageManager().getPackagesForUid(callerUid); 276 for (String name : packages) { 291 * Populate {@link UserServices#services} by scanning installed packages for
|