Searched refs:packages (Results 1 - 25 of 87) sorted by relevance

1234

/frameworks/base/packages/SettingsLib/
H A Dcommon.mk13 # include frameworks/base/packages/SettingsLib/common.mk
17 LOCAL_AAPT_FLAGS += --auto-add-overlay --extra-packages com.android.settingslib
/frameworks/base/core/tests/coretests/apks/
H A DAndroid.mk6 # build sub packages
/frameworks/opt/setupwizard/navigationbar/
H A Dcommon.mk16 LOCAL_AAPT_FLAGS += --auto-add-overlay --extra-packages com.android.setupwizard.navigationbar
/frameworks/base/services/core/java/com/android/server/pm/
H A DSharedUserSetting.java33 final ArraySet<PackageSetting> packages = new ArraySet<PackageSetting>(); field in class:SharedUserSetting
51 if (packages.remove(packageSetting)) {
55 for (PackageSetting ps : packages) {
62 for (PackageSetting ps : packages) {
71 if (packages.add(packageSetting)) {
H A DLauncherAppsService.java137 Log.d(TAG, "Stopped watching for packages");
428 public void onPackagesAvailable(String[] packages) { argument
436 listener.onPackagesAvailable(user, packages, isReplacing());
443 super.onPackagesAvailable(packages);
447 public void onPackagesUnavailable(String[] packages) { argument
455 listener.onPackagesUnavailable(user, packages, isReplacing());
462 super.onPackagesUnavailable(packages);
/frameworks/base/packages/SystemUI/
H A DAndroid.mk19 frameworks/base/packages/Keyguard/res \
21 LOCAL_AAPT_FLAGS := --auto-add-overlay --extra-packages com.android.keyguard
28 include frameworks/base/packages/SettingsLib/common.mk
/frameworks/opt/setupwizard/library/
H A Dcommon.mk18 LOCAL_AAPT_FLAGS += --auto-add-overlay --extra-packages com.android.setupwizardlib
/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...]
/frameworks/native/libs/binder/
H A DIPermissionController.cpp52 virtual void getPackagesForUid(const uid_t uid, Vector<String16>& packages) argument
67 packages.push(reply.readString16());
105 Vector<String16> packages; local
106 getPackagesForUid(uid, packages);
108 size_t size = packages.size();
111 reply->writeString16(packages[i]);
/frameworks/base/core/java/android/app/backup/
H A DIRestoreSession.aidl55 * 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 DBackupTransport.java281 * @param packages List of applications to restore (if data is available).
287 public int startRestore(long token, PackageInfo[] packages) { argument
298 * in the current restore session: all packages described in startRestore() have been
308 * packages. The transport should not actually transfer any restore data for
312 * @return A RestoreDescription object containing the name of one of the packages
315 * no more packages can be restored in this session; or {@code null} to indicate
597 public int startRestore(long token, PackageInfo[] packages) throws RemoteException { argument
598 return BackupTransport.this.startRestore(token, packages);
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");
/frameworks/av/services/audioflinger/
H A DServiceUtilities.cpp65 // case we will get the packages for the calling UID and pick the first one
67 // as for legacy apps we will toggle the app op for all packages in the UID.
79 Vector<String16> packages; local
81 permCtrl->getPackagesForUid(uid, packages);
83 if (packages.isEmpty()) {
84 ALOGE("No packages for calling UID");
87 checkedOpPackageName = packages[0];
/frameworks/base/cmds/bu/src/com/android/commands/bu/
H A DBackup.java65 ArrayList<String> packages = new ArrayList<String>();
109 packages.add(arg);
113 if (doEverything && packages.size() > 0) {
117 if (!doEverything && !saveShared && packages.size() == 0) {
118 Log.e(TAG, "no backup packages supplied and neither -shared nor -all given");
125 String[] packArray = new String[packages.size()];
127 doEverything, allIncludesSystem, doCompress, packages.toArray(packArray));
/frameworks/native/include/gui/
H A DSensorManager.h67 // In this case we will get the packages for the calling UID and pick the
70 // all packages in the UID. The caveat is that the operation may be attributed
76 Vector<String16> packages; local
77 interface_cast<IPermissionController>(binder)->getPackagesForUid(uid, packages);
78 if (!packages.isEmpty()) {
79 opPackageName = packages[0];
81 ALOGE("No packages for calling UID");
92 // name, to avoid looking up the packages for a UID and get the same result.
/frameworks/base/packages/SystemUI/tests/
H A DAndroid.mk20 LOCAL_AAPT_FLAGS := --auto-add-overlay --extra-packages com.android.systemui:com.android.keyguard
26 frameworks/base/packages/SystemUI/res \
27 frameworks/base/packages/Keyguard/res
39 include frameworks/base/packages/SettingsLib/common.mk
/frameworks/base/core/java/android/content/
H A DSyncAdaptersCache.java117 ArrayList<String> packages = new ArrayList<>();
121 packages.add(serviceInfo.componentName.getPackageName());
124 syncAdapterPackages = new String[packages.size()];
125 packages.toArray(syncAdapterPackages);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DLocationControllerImpl.java146 List<AppOpsManager.PackageOps> packages
149 if (packages != null) {
150 final int numPackages = packages.size();
152 AppOpsManager.PackageOps packageOp = packages.get(packageInd);
/frameworks/native/include/binder/
H A DIPermissionController.h35 virtual void getPackagesForUid(const uid_t uid, Vector<String16> &packages) = 0;
/frameworks/support/v17/tests/
H A DAndroid.mk31 --extra-packages android.support.v17.leanback \
32 --extra-packages android.support.v7.recyclerview
/frameworks/base/core/java/com/android/internal/backup/
H A DIBackupTransport.aidl195 * @param packages List of applications to restore (if data is available).
201 int startRestore(long token, in PackageInfo[] packages);
210 * in the current restore session: all packages described in startRestore() have been
216 * @return A RestoreDescription object containing the name of one of the packages
219 * no more packages can be restored in this session; or {@code null} to indicate
/frameworks/opt/photoviewer/sample/
H A DAndroid.mk36 LOCAL_AAPT_FLAGS += --extra-packages com.android.ex.photo
60 LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.appcompat:com.android.ex.photo
/frameworks/base/packages/PrintSpooler/
H A DAndroid.mk22 LOCAL_AAPT_FLAGS := --auto-add-overlay --extra-packages android.support.v7.recyclerview
/frameworks/base/packages/SettingsLib/tests/
H A DAndroid.mk28 include frameworks/base/packages/SettingsLib/common.mk
/frameworks/base/services/core/java/com/android/server/policy/
H A DShortcutManager.java133 String[] packages = packageManager.canonicalToCurrentPackageNames(
135 componentName = new ComponentName(packages[0], className);

Completed in 828 milliseconds

1234