Home
last modified time | relevance | path

Searched refs:packages (Results 1 – 25 of 122) sorted by relevance

12345

/packages/apps/Launcher3/src/com/android/launcher3/model/
DPackageUpdatedTask.java83 public PackageUpdatedTask(int op, UserHandle user, String... packages) { in PackageUpdatedTask() argument
86 mPackages = packages; in PackageUpdatedTask()
98 final String[] packages = mPackages; in execute() local
99 final int N = packages.length; in execute()
101 final HashSet<String> packageSet = new HashSet<>(Arrays.asList(packages)); in execute()
108 if (DEBUG) Log.d(TAG, "mAllAppsList.addPackage " + packages[i]); in execute()
109 iconCache.updateIconsForPkg(packages[i], mUser); in execute()
111 appsList.removePackage(packages[i], mUser); in execute()
113 appsList.addPackage(context, packages[i], mUser); in execute()
117 SessionCommitReceiver.queueAppIconAddition(context, packages[i], mUser); in execute()
[all …]
DFirstScreenBroadcast.java102 List<String> packages, List<ItemInfo> firstScreenItems) { in sendBroadcastToInstaller() argument
115 && packages.contains(folderItemInfoPackage)) { in sendBroadcastToInstaller()
122 if (packageName == null || !packages.contains(packageName)) { in sendBroadcastToInstaller()
164 private static void printList(String packageInstaller, String label, Set<String> packages) { in printList() argument
165 for (String pkg : packages) { in printList()
/packages/modules/ExtServices/src/android/ext/services/watchdog/
DExplicitHealthCheckServiceImpl.java79 List<PackageConfig> packages = new ArrayList<>(); in onGetSupportedPackages() local
90 packages.add(pkg); in onGetSupportedPackages()
92 return packages; in onGetSupportedPackages()
97 List<String> packages = new ArrayList<>(); in onGetRequestedPackages() local
106 packages.add(checker.getSupportedPackageName()); in onGetRequestedPackages()
109 return packages; in onGetRequestedPackages()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DLocationAccessCheck.java209 ArraySet<UserPackage> packages = new ArraySet<>(); in loadAlreadyNotifiedPackagesLocked() local
230 packages.add(new UserPackage(mContext, pkg, user)); in loadAlreadyNotifiedPackagesLocked()
236 return packages; in loadAlreadyNotifiedPackagesLocked()
250 private void safeAlreadyNotifiedPackagesLocked(@NonNull ArraySet<UserPackage> packages) { in safeAlreadyNotifiedPackagesLocked() argument
261 int numPkgs = packages.size(); in safeAlreadyNotifiedPackagesLocked()
263 UserPackage userPkg = packages.valueAt(i); in safeAlreadyNotifiedPackagesLocked()
378 List<UserPackage> packages = getLocationUsersWithNoNotificationYetLocked(ops); in addLocationNotificationIfNeeded() local
385 if (packages.isEmpty()) { in addLocationNotificationIfNeeded()
392 int numPkgs = packages.size(); in addLocationNotificationIfNeeded()
394 UserPackage pkg = packages.get(i); in addLocationNotificationIfNeeded()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DWidgetPreviewLoader.java188 HashSet<String> packages = validPackages.get(userId); in removeObsoletePreviews() local
189 if (packages == null) { in removeObsoletePreviews()
190 packages = new HashSet<>(); in removeObsoletePreviews()
191 validPackages.put(userId, packages); in removeObsoletePreviews()
193 packages.add(key.componentName.getPackageName()); in removeObsoletePreviews()
217 HashSet<String> packages = validPackages.get(userId); in removeObsoletePreviews() local
218 if (packages != null && packages.contains(pkg)) { in removeObsoletePreviews()
227 packages = packagesToDelete.get(userId); in removeObsoletePreviews()
228 if (packages == null) { in removeObsoletePreviews()
229 packages = new HashSet<>(); in removeObsoletePreviews()
[all …]
DLauncherModel.java138 HashSet<String> packages = new HashSet<>(); in updateSessionDisplayInfo() local
139 packages.add(packageName); in updateSessionDisplayInfo()
141 CacheDataUpdatedTask.OP_SESSION_UPDATE, user, packages)); in updateSessionDisplayInfo()
205 public void onPackagesRemoved(UserHandle user, String... packages) { in onPackagesRemoved() argument
207 FileLog.d(TAG, "package removed received " + String.join("," + packages)); in onPackagesRemoved()
208 enqueueModelUpdateTask(new PackageUpdatedTask(op, user, packages)); in onPackagesRemoved()
/packages/services/Car/car_product/build/
Dcar.mk19 BOARD_PLAT_PUBLIC_SEPOLICY_DIR += packages/services/Car/car_product/sepolicy/public
20 BOARD_PLAT_PRIVATE_SEPOLICY_DIR += packages/services/Car/car_product/sepolicy/private
45 BOARD_SEPOLICY_DIRS += packages/services/Car/car_product/sepolicy/test
62 $(call inherit-product, packages/services/Car/car_product/build/car_base.mk)
110packages/services/Car/car_product/bootanimations/bootanimation-832.zip:system/media/bootanimation.…
113 packages/services/Car/car_product/init/init.car.rc:system/etc/init/init.car.rc
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/pictureinpicture/
DPictureInPictureSettingsTest.java121 PackageInfo... packages) { in containsPackages() argument
122 for (PackageInfo aPackage : packages) { in containsPackages()
137 private boolean isOrdered(List<Pair<ApplicationInfo, Integer>> apps, PackageInfo... packages) { in isOrdered() argument
138 if (apps.size() != packages.length) { in isOrdered()
142 for (int i = 0; i < packages.length; i++) { in isOrdered()
143 if (packages[i].applicationInfo != apps.get(i).first) { in isOrdered()
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/
DLensPickerActivity.java71 String[] packages = intent.getStringArrayExtra(LensPickerConstants.EXTRA_FACET_PACKAGES); in onResume() local
74 List<ResolveInfo> resolveInfos = getComponents(packages, categories); in onResume()
123 private ArrayList<ResolveInfo> getComponents(String[] packages, String[] categories) { in getComponents() argument
125 if (packages != null) { in getComponents()
126 for (int i = 0; i < packages.length; i++) { in getComponents()
127 packageList.addAll(resolvePackage(packages[i])); in getComponents()
/packages/services/Telephony/src/com/android/phone/vvm/
DRemoteVvmTaskManager.java142 List<String> packages = new ArrayList<>(); in getRemotePackage() local
143 packages.add(telecomManager.getDefaultDialerPackage()); in getRemotePackage()
148 packages.add( in getRemotePackage()
155 packages.add(packageName); in getRemotePackage()
158 packages.add(context.getResources().getString(R.string.system_visual_voicemail_client)); in getRemotePackage()
159 packages.add(telecomManager.getSystemDialerPackage()); in getRemotePackage()
161 for (String packageName : packages) { in getRemotePackage()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsMockPackageManager.java96 public void setInstalledPackages(List<PackageInfo> packages) { in setInstalledPackages() argument
97 this.mPackages = packages; in setInstalledPackages()
132 final List<PackageInfo> packages = getInstalledPackages(flags); in queryContentProviders() local
133 if (packages == null) { in queryContentProviders()
136 for (PackageInfo pkg : packages) { in queryContentProviders()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBatteryEntry.java288 final String[] packages = extractPackagesFromSipper(sipper); in loadNameAndIcon() local
289 if (packages != null) { in loadNameAndIcon()
290 String[] packageLabels = new String[packages.length]; in loadNameAndIcon()
291 System.arraycopy(packages, 0, packageLabels, 0, packages.length); in loadNameAndIcon()
310 defaultPackageName = packages[i]; in loadNameAndIcon()
324 for (String pkgName : packages) { in loadNameAndIcon()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryEntry.java288 final String[] packages = extractPackagesFromSipper(sipper); in loadNameAndIcon() local
289 if (packages != null) { in loadNameAndIcon()
290 String[] packageLabels = new String[packages.length]; in loadNameAndIcon()
291 System.arraycopy(packages, 0, packageLabels, 0, packages.length); in loadNameAndIcon()
310 defaultPackageName = packages[i]; in loadNameAndIcon()
324 for (String pkgName : packages) { in loadNameAndIcon()
/packages/modules/NetworkStack/common/moduleutils/
DAndroid.bp18 // TODO: remove all frameworks/base dependencies on packages/modules/NetworkStack and
19 // frameworks/base/packages/Tethering by moving these files to frameworks/libs/net.
45 "//packages/modules/NetworkStack",
62 visibility: ["//frameworks/base/packages/Tethering"],
/packages/apps/Calendar/
DAndroid.mk43 LOCAL_AAPT_FLAGS += --extra-packages com.android.ex.chips
44 LOCAL_AAPT_FLAGS += --extra-packages com.android.colorpicker
45 LOCAL_AAPT_FLAGS += --extra-packages com.android.timezonepicker
/packages/apps/Settings/src/com/android/settings/accounts/
DCrossProfileCalendarPreferenceController.java81 final Set<String> packages = dpm.getCrossProfileCalendarPackages(); in isCrossProfileCalendarDisallowedByAdmin() local
82 return packages != null && packages.isEmpty(); in isCrossProfileCalendarDisallowedByAdmin()
/packages/services/Car/car-lib/
DAndroid.bp44 "packages/services/Car/car-lib/native/include",
139 args: "--hide UnavailableSymbol --no-docs --stub-packages android.car* ",
162 args: "--hide UnavailableSymbol --no-docs --stub-packages android.car* " +
186 args: "--hide UnavailableSymbol --no-docs --stub-packages android.car* " +
209 args: "--hide UnavailableSymbol --no-docs --stub-packages android.car* ",
/packages/providers/ContactsProvider/tests/assets/upgradeTest/
Dcontacts2_1108.sql21 CREATE TABLE packages (_id INTEGER PRIMARY KEY AUTOINCREMENT,package TEXT NOT NULL); table
139 …name_raw_contact_id=name_raw_contact._id) LEFT OUTER JOIN packages ON (data.package_id=packages._i…
142 …ON (data.raw_contact_id=raw_contacts._id) LEFT OUTER JOIN packages ON (data.package_id=packages._i…
143 …ON (data.raw_contact_id=raw_contacts._id) LEFT OUTER JOIN packages ON (data.package_id=packages._i…
148 …unts ON (groups.account_id=accounts._id) LEFT OUTER JOIN packages ON (groups.package_id=packages._…
161 …ON (raw_contacts.account_id=accounts._id)LEFT OUTER JOIN packages ON (data.package_id = packages._…
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDeleteNonRequiredAppsTask.java118 private void removeNonInstalledPackages(Set<String> packages, int userId) { in removeNonInstalledPackages() argument
120 for (String packageName : packages) { in removeNonInstalledPackages()
132 packages.removeAll(toBeRemoved); in removeNonInstalledPackages()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationSettingsBase.java263 final String[] packages = mPm.getPackagesForUid(uid); in findPackageInfo() local
264 if (packages != null && pkg != null) { in findPackageInfo()
265 final int N = packages.length; in findPackageInfo()
267 final String p = packages[i]; in findPackageInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DApplicationListPreferenceControllerTest.java106 final Set<String> packages = new HashSet<>(); in checkNumberAndTitlesOfApps() local
109 packages.add(p.getTitle().toString()); in checkNumberAndTitlesOfApps()
111 assertThat(packages).isEqualTo(expectedPackages); in checkNumberAndTitlesOfApps()
/packages/providers/CalendarProvider/tests/
DEMMA_README48 -sp ${ANDROID_BUILD_TOP}/packages/providers/CalendarProvider/src \
76 EMMA_INSTRUMENT=$emma mmm -j4 packages/providers/CalendarProvider \
90 # give the device a couple of seconds to install the packages
/packages/apps/Car/Dialer/
DPREUPLOAD.cfg4 resources_hook = ${REPO_ROOT}/packages/apps/Car/Dialer/tests/checkresources.py ${REPO_ROOT}/package…
/packages/modules/NetworkStack/common/networkstackclient/
DAndroid.bp119 "//frameworks/base/packages/Tethering",
140 "//frameworks/base/packages/Tethering",
143 "//packages/modules/NetworkStack",
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationSettingsBase.java256 final String[] packages = mPm.getPackagesForUid(uid); in findPackageInfo() local
257 if (packages != null && pkg != null) { in findPackageInfo()
258 final int N = packages.length; in findPackageInfo()
260 final String p = packages[i]; in findPackageInfo()

12345