/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsService.java | 374 List<PackageInfo> packages = 384 final int packageCount = packages.size(); 386 final String packageName = packages.get(p).packageName; 609 String[] packages = ContentResolver.getSyncAdapterPackagesForAuthorityAsUser( 611 for (String packageName: packages) {
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerTests.java | 780 /* ------------------------- Test replacing packages -------------- */ 3727 * from rejecting new packages that specify features that didn't exist when 3731 * Right now we allow all packages to be installed regardless of their 3757 List<PackageInfo> packages = getPm().getInstalledPackages(0); 3758 assertNotNull("installed packages cannot be null", packages); 3759 assertTrue("installed packages cannot be empty", packages.size() > 0); 3763 List<PackageInfo> packages = getPm().getInstalledPackages( 3765 assertNotNull("installed packages canno [all...] |
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvInputManagerService.java | 160 private void buildTvInputList(String[] packages) { 162 buildTvInputListLocked(getChangingUserId(), packages); 176 public void onPackagesAvailable(String[] packages) { 178 Slog.d(TAG, "onPackagesAvailable(packages=" + Arrays.toString(packages) + ")"); 180 // This callback is invoked when the media on which some packages exist become 183 buildTvInputList(packages); 188 public void onPackagesUnavailable(String[] packages) { 189 // This callback is invoked when the media on which some packages exist become 192 Slog.d(TAG, "onPackagesUnavailable(packages [all...] |
/frameworks/support/design/ |
H A D | Android.mk | 29 --extra-packages android.support.v7.appcompat
|
/frameworks/base/core/java/android/app/ |
H A D | IApplicationThread.java | 126 void dispatchPackageBroadcast(int cmd, String[] packages) throws RemoteException; argument
|
H A D | ActivityThread.java | 217 // XXX For now we keep around information about all packages we have 785 * sharing its runtime with other packages: 789 * packages with the same sharedUserId. 793 * indicating the desire to run in another packages VM. 937 public void dispatchPackageBroadcast(int cmd, String[] packages) { argument 938 sendMessage(H.DISPATCH_PACKAGE_BROADCAST, packages, cmd); 4335 final void handleDispatchPackageBroadcast(int cmd, String[] packages) { argument 4337 if (packages != null) { 4339 for (int i=packages.length-1; i>=0; i--) { 4340 //Slog.i(TAG, "Cleaning old package: " + packages[ [all...] |
H A D | ApplicationThreadNative.java | 465 String[] packages = data.readStringArray(); 466 dispatchPackageBroadcast(cmd, packages); 1186 public void dispatchPackageBroadcast(int cmd, String[] packages) throws RemoteException { argument 1190 data.writeStringArray(packages);
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 3105 const size_t N = packages.size(); 3107 Package* pkg = packages[i]; 3148 const size_t N = packages.size(); 3150 ssize_t index = packages[i]->typeStrings.indexOfString(type, len); 3152 return index + packages[i]->typeIdOffset; 3162 // This is mainly used to keep track of the loaded packages 3165 Vector<Package*> packages; member in struct:android::ResTable::PackageGroup 3607 for (size_t j=0; j<srcPg->packages.size(); j++) { 3608 pg->packages.add(srcPg->packages[ [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | TaskRecord.java | 793 String[] packages = mService.mLockTaskPackages.get(userId); 794 if (packages == null) { 797 for (int i = packages.length - 1; i >= 0; --i) { 798 if (pkg.equals(packages[i])) {
|
H A D | ActivityStackSupervisor.java | 1472 // these two packages come from the same uid; the caller could just as 3522 final SparseArray<String[]> packages = mService.mLockTaskPackages; 3523 if (packages.size() > 0) { 3524 pw.println(" mLockTaskPackages (userId:packages)="); 3525 for (int i = 0; i < packages.size(); ++i) { 3526 pw.print(prefix); pw.print(prefix); pw.print(packages.keyAt(i)); 3527 pw.print(":"); pw.println(Arrays.toString(packages.valueAt(i)));
|
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaSessionService.java | 313 String[] packages = getContext().getPackageManager().getPackagesForUid(uid); 314 final int packageCount = packages.length; 316 if (packageName.equals(packages[i])) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | InboundSmsHandler.java | 809 List<String> packages = new ArrayList<String>(); 822 packages.add(packageName); 826 return packages;
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerService.java | 1001 // If we're checking all packages or if the specific one we're checking matches, 1699 private void updateLockTaskPackagesLocked(List<String> packages, int userId) { argument 1703 am.updateLockTaskPackages(userId, packages.toArray(new String[packages.size()])); 5006 * @return true if all packages in enabledPackages are either in the list 5014 // If we have an enabled packages list for a managed profile the packages 5898 * Sets which packages may enter lock task mode. 5901 * @param packages The list of packages allowe 5904 setLockTaskPackages(ComponentName who, String[] packages) argument 5915 setLockTaskPackagesLocked(int userHandle, List<String> packages) argument 6291 notifyCrossProfileProvidersChanged(int userId, List<String> packages) argument [all...] |
/frameworks/base/services/core/java/com/android/server/accounts/ |
H A D | AccountManagerService.java | 3739 String[] packages = userPackageManager.getPackagesForUid(callingUid); 3740 for (String name : packages) { 3858 String[] packages = null; 3861 packages = mPackageManager.getPackagesForUid(callingUid); 3865 if (packages != null) { 3866 for (String name : packages) { 3879 Log.w(TAG, "No known packages with uid " + callingUid); 4056 String[] packages = mPackageManager.getPackagesForUid(callingUid); 4057 // If any of the packages is a white listed package, return the full set, 4062 for (String packageName : packages) { [all...] |
/frameworks/base/core/java/android/app/admin/ |
H A D | IDevicePolicyManager.aidl | 176 void setLockTaskPackages(in ComponentName who, in String[] packages);
|
H A D | DevicePolicyManager.java | 3487 * By default the user can use any accessiblity service. When zero or more packages have 3564 * By default the user can use any input method. When zero or more packages have 3802 * Called by profile or device owners to hide or unhide packages. When a package is hidden it 3872 Log.w(TAG, "Failed to install packages matching filter: " + intent); 3935 * Sets which packages may enter lock task mode. 3937 * <p>Any packages that shares uid with an allowed package will also be allowed 3940 * From {@link android.os.Build.VERSION_CODES#M} removing packages from the lock task 3941 * package list results in locked tasks belonging to those packages to be finished. 3944 * @param packages The list of packages allowe 3952 setLockTaskPackages(@onNull ComponentName admin, String[] packages) argument [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | RegisteredServicesCache.java | 66 * {@link PackageManager} on a per-user basis. It's updated as packages are 347 String[] packages = mContext.getPackageManager().getPackagesForUid(callerUid); 348 for (String name : packages) { 370 * Populate {@link UserServices#services} by scanning installed packages for
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | KeySetManagerService.java | 80 * Only used when reading state from packages.xml 111 public KeySetManagerService(ArrayMap<String, PackageSetting> packages) { argument 115 mPackages = packages; 697 // The KeySet information read previously from packages.xml is invalid.
|
H A D | PackageManagerService.java | 485 * Tracks new system packages [received in an OTA] that we expect to 492 * Tracks existing system packages prior to receiving an OTA. Keys are package name. 562 /** List of packages waiting for verification. */ 566 /** Set of packages associated with each app op permission. */ 832 ArrayMap<String, ArrayList<String>> packages = getOrAllocate(userId); 833 return packages.get(packageName); 837 ArrayMap<String, ArrayList<String>> packages = getOrAllocate(userId); 838 packages.put(packageName, components); 842 ArrayMap<String, ArrayList<String>> packages = mUidMap.get(userId); 843 if (packages ! [all...] |
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | VoiceInteractionManagerService.java | 964 public boolean onHandleForceStop(Intent intent, String[] packages, int uid, boolean doit) { 971 for (String pkg : packages) {
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | BackupManagerService.java | 259 // map UIDs to the set of participating packages under that UID 451 * Restore some set of packages. Leave this one up to the caller to specify 507 public String[] packages; field in class:BackupManagerService.FullBackupParams 520 packages = pkgList; 774 params.packages, params.latch); 1383 // [int] # of packages in the queue = N 1752 // ----- Track installation/removal of packages ----- 2010 // Add the backup agents in the given packages to our set of known backup participants. 2050 // Remove the given packages' entries from our known active set. 2091 List<PackageInfo> packages 3654 PerformAdbBackupTask(ParcelFileDescriptor fd, IFullBackupRestoreObserver observer, boolean includeApks, boolean includeObbs, boolean includeShared, boolean doWidgets, String curPassword, String encryptPassword, boolean doAllApps, boolean doSystem, boolean doCompress, String[] packages, AtomicBoolean latch) argument 9392 restoreSome(long token, IRestoreObserver observer, String[] packages) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | AppOpsService.java | 406 ArrayMap<String, Ops> packages = uidState.pkgOps; 407 final int packageCount = packages.size(); 409 Ops pkgOps = packages.valueAt(j); 722 Map<String, Ops> packages = uidState.pkgOps; 723 Iterator<Map.Entry<String, Ops>> it = packages.entrySet().iterator();
|
H A D | LocationManagerService.java | 447 These packages can contain services implementing location providers: 1123 * Throw SecurityException if WorkSource use is not allowed (i.e. can't blame other packages 1556 String[] packages = mPackageManager.getPackagesForUid(uid); 1557 if (packages == null) { 1560 for (String pkg : packages) {
|
/frameworks/base/ |
H A D | Android.mk | 408 packages/services/PacProcessor/com/android/net/IProxyService.aidl \ 409 packages/services/Proxy/com/android/net/IProxyCallback.aidl \ 410 packages/services/Proxy/com/android/net/IProxyPortListener.aidl \ 637 # Search through the base framework dirs for these packages.
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
H A D | Pm.java | 294 * pm list [package | packages] 307 if ("package".equals(type) || "packages".equals(type)) { 328 * Lists all the installed packages. 372 final List<PackageInfo> packages = getInstalledPackages(mPm, getFlags, userId); 374 int count = packages.size(); 376 PackageInfo info = packages.get(p); 2070 System.err.println("usage: pm list packages [-f] [-d] [-e] [-s] [-3] [-i] [-u] [--user USER_ID] [FILTER]"); 2110 System.err.println("pm list packages: prints all packages, optionally only"); 2113 System.err.println(" -d: filter to only show disbled packages [all...] |