Searched defs:packages (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/core/java/android/app/admin/
H A DDevicePolicyManagerInternal.java29 * Listener for changes in the white-listed packages to show cross-profile
35 * Called when the white-listed packages to show cross-profile widgets
38 * @param profileId The profile for which the white-listed packages changed.
39 * @param packages The white-listed packages.
41 public void onCrossProfileWidgetProvidersChanged(int profileId, List<String> packages); argument
45 * Gets the packages whose widget providers are white-listed to be
49 * @return The list of packages if such or empty list if there are
50 * no white-listed packages or the profile id is not a managed
56 * Adds a listener for changes in the white-listed packages t
[all...]
H A DDevicePolicyManager.java2847 * By default the user can use any accessiblity service. When zero or more packages have
2924 * By default the user can use any input method. When zero or more packages have
3156 * Called by device or profile owner to hide or unhide packages. When a package is hidden it
3226 Log.w(TAG, "Failed to install packages matching filter: " + intent);
3289 * Sets which packages may enter lock task mode.
3291 * <p>Any packages that shares uid with an allowed package will also be allowed
3295 * @param packages The list of packages allowed to enter lock task mode
3302 public void setLockTaskPackages(ComponentName admin, String[] packages) argument
3306 mService.setLockTaskPackages(admin, packages);
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DSharedUserSetting.java32 final ArraySet<PackageSetting> packages = new ArraySet<PackageSetting>(); field in class:SharedUserSetting
49 if (packages.remove(packageSetting)) {
53 for (PackageSetting ps : packages) {
62 if (packages.add(packageSetting)) {
H A DKeySetManagerService.java66 public KeySetManagerService(Map<String, PackageSetting> packages) { argument
70 mPackages = packages;
334 // add this KeySet id to all packages which are signed by it
633 // The KeySet information read previously from packages.xml is invalid.
H A DLauncherAppsService.java137 Log.d(TAG, "Stopped watching for packages");
427 public void onPackagesAvailable(String[] packages) { argument
435 listener.onPackagesAvailable(user, packages, isReplacing());
442 super.onPackagesAvailable(packages);
446 public void onPackagesUnavailable(String[] packages) { argument
454 listener.onPackagesUnavailable(user, packages, isReplacing());
461 super.onPackagesUnavailable(packages);
/frameworks/base/core/java/android/app/backup/
H A DRestoreSession.java92 * Restore select packages from the given set onto the device, replacing the
104 * @param packages The set of packages for which to attempt a restore. Regardless of
110 public int restoreSome(long token, RestoreObserver observer, String[] packages) { argument
118 err = mBinder.restoreSome(token, mObserver, packages);
120 Log.d(TAG, "Can't contact server to restore packages");
H A DBackupTransport.java272 * @param packages List of applications to restore (if data is available).
278 public int startRestore(long token, PackageInfo[] packages) { argument
289 * in the current restore session: all packages described in startRestore() have been
299 * packages. The transport should not actually transfer any restore data for
303 * @return A RestoreDescription object containing the name of one of the packages
306 * no more packages can be restored in this session; or {@code null} to indicate
561 public int startRestore(long token, PackageInfo[] packages) throws RemoteException { argument
562 return BackupTransport.this.startRestore(token, packages);
/frameworks/base/core/java/com/android/internal/backup/
H A DLocalTransport.java423 public int startRestore(long token, PackageInfo[] packages) { argument
424 if (DEBUG) Log.v(TAG, "start restore " + token + " : " + packages.length
425 + " matching packages");
426 mRestorePackages = packages;
444 // skip packages where we have a data dir but no actual contents
468 if (DEBUG) Log.v(TAG, " no more packages to restore");
/frameworks/base/core/java/com/android/internal/content/
H A DPackageMonitor.java33 * 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/base/services/backup/java/com/android/server/backup/
H A DPackageManagerBackupAgent.java111 PackageManagerBackupAgent(PackageManager packageMgr, List<PackageInfo> packages) { argument
112 init(packageMgr, packages);
121 private void init(PackageManager packageMgr, List<PackageInfo> packages) { argument
123 mAllPackages = packages;
169 // This is technically the set of packages on the originating handset
170 // that had backup agents at all, not limited to the set of packages
H A DBackupManagerService.java268 // map UIDs to the set of participating packages under that UID
441 // Restore some set of packages. Leave this one up to the caller to specify
496 public String[] packages; field in class:BackupManagerService.FullBackupParams
509 packages = pkgList;
760 params.packages, params.latch);
1325 // [int] # of packages in the queue = N
1694 // ----- Track installation/removal of packages -----
1906 // Add the backup agents in the given packages to our set of known backup participants.
1946 // Remove the given packages' entries from our known active set.
1987 List<PackageInfo> packages
3468 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
9046 restoreSome(long token, IRestoreObserver observer, String[] packages) argument
[all...]
/frameworks/base/services/core/java/com/android/server/firewall/
H A DIntentFirewall.java204 Slog.e(TAG, "Remote exception while retrieving packages", ex);
218 * limit, in which case one of the packages will be truncated and added. In this case, an
225 private static String joinPackages(String[] packages) { argument
228 for (int i=0; i<packages.length; i++) {
229 String pkg = packages[i];
244 if (sb.length() == 0 && packages.length > 0) {
245 String pkg = packages[0];
/frameworks/base/core/java/android/app/
H A DApplicationThreadNative.java453 String[] packages = data.readStringArray();
454 dispatchPackageBroadcast(cmd, packages);
1142 public void dispatchPackageBroadcast(int cmd, String[] packages) throws RemoteException { argument
1146 data.writeStringArray(packages);
H A DIApplicationThread.java126 void dispatchPackageBroadcast(int cmd, String[] packages) throws RemoteException; argument
H A DActivityThread.java220 // XXX For now we keep around information about all packages we have
773 * sharing its runtime with other packages:
777 * packages with the same sharedUserId.
781 * indicating the desire to run in another packages VM.
920 public void dispatchPackageBroadcast(int cmd, String[] packages) { argument
921 sendMessage(H.DISPATCH_PACKAGE_BROADCAST, packages, cmd);
4196 final void handleDispatchPackageBroadcast(int cmd, String[] packages) { argument
4198 if (packages != null) {
4199 for (int i=packages.length-1; i>=0; i--) {
4200 //Slog.i(TAG, "Cleaning old package: " + packages[
[all...]
/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperManagerService.java398 public boolean onHandleForceStop(Intent intent, String[] packages, int uid, boolean doit) { argument
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
H A DAppWidgetServiceImpl.java2919 public void onCrossProfileWidgetProvidersChanged(int userId, List<String> packages) { argument
2928 final int packageCount = packages.size();
2930 String packageName = packages.get(i);
3492 HashSet<String> packages = new HashSet<>();
3503 packages.add(widget.host.id.packageName);
3506 packages.add(provider.id.componentName.getPackageName());
3510 return new ArrayList<>(packages);
/frameworks/base/services/core/java/com/android/server/
H A DInputMethodManagerService.java488 public boolean onHandleForceStop(Intent intent, String[] packages, int uid, boolean doit) { argument
499 for (String pkg : packages) {
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java917 // If we're checking all packages or if the specific one we're checking matches,
4381 * @return true if all packages in enabledPackages are either in the list
4389 // If we have an enabled packages list for a managed profile the packages
5231 * Sets which packages may enter lock task mode.
5236 public void setLockTaskPackages(ComponentName who, String[] packages) throws SecurityException { argument
5246 if (packages != null) {
5247 for (int j = 0; j < packages.length; j++) {
5248 String pkg = packages[j];
5288 // If the given package equals one of the packages store
5501 notifyCrossProfileProvidersChanged(int userId, List<String> packages) argument
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp2931 const size_t N = packages.size();
2933 Package* pkg = packages[i];
2966 const size_t N = packages.size();
2968 ssize_t index = packages[i]->typeStrings.indexOfString(type, len);
2970 return index + packages[i]->typeIdOffset;
2980 // This is mainly used to keep track of the loaded packages
2983 Vector<Package*> packages; member in struct:android::ResTable::PackageGroup
3360 for (size_t j=0; j<srcPg->packages.size(); j++) {
3361 pg->packages.add(srcPg->packages[
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java5697 // for packages -- app widgets are not currently cleaned up for
5698 // such packages, so they can be left with bad pending intents.
7581 * packages.
10704 // and started launching other packages.
11512 // replaced by a third-party app, clear the package preferred activities from packages
14073 boolean packages = false;
14095 packages = true;
14118 ArrayList<ProcessRecord> procs = collectProcesses(pw, opti, packages, args);
14173 if (!brief && !oomOnly && (procs.size() == 1 || isCheckinRequest || packages)) {
14291 if (!isCheckinRequest && procs.size() > 1 && !packages) {
15737 sendPackageBroadcastLocked(int cmd, String[] packages, int userId) argument
[all...]

Completed in 982 milliseconds