Home
last modified time | relevance | path

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

12345678910>>...12

/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()
94 final String[] packages = mPackages; in execute() local
95 final int N = packages.length; in execute()
97 final HashSet<String> packageSet = new HashSet<>(Arrays.asList(packages)); in execute()
107 if (DEBUG) Log.d(TAG, "mAllAppsList.addPackage " + packages[i]); in execute()
108 iconCache.updateIconsForPkg(packages[i], mUser); in execute()
110 appsList.removePackage(packages[i], mUser); in execute()
113 packages[i], appsList.addPackage(context, packages[i], mUser)); in execute()
122 if (DEBUG) Log.d(TAG, "mAllAppsList.updatePackage " + packages[i]); in execute()
[all …]
DFirstScreenBroadcast.java89 .forEach((installer, packages) -> in sendBroadcasts()
90 sendBroadcastToInstaller(context, installer, packages, firstScreenItems)); in sendBroadcasts()
99 Set<String> packages, List<ItemInfo> firstScreenItems) { in sendBroadcastToInstaller() argument
112 && packages.contains(folderItemInfoPackage)) { in sendBroadcastToInstaller()
119 if (packageName == null || !packages.contains(packageName)) { in sendBroadcastToInstaller()
161 private static void printList(String packageInstaller, String label, Set<String> packages) { in printList() argument
162 for (String pkg : packages) { in printList()
/packages/services/Car/car_product/build/
Dcar_base.mk21 PRODUCT_PACKAGE_OVERLAYS += packages/services/Car/car_product/overlay
25 PRODUCT_PACKAGE_OVERLAYS += packages/services/Car/car_product/overlay-visual
29packages/services/Car/car_product/build/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysc…
72 include packages/services/Car/cpp/evs/manager/evsmanager.mk
81 include packages/services/Car/cpp/evs/apps/sepolicy/evsapp.mk
82 include packages/services/Car/cpp/evs/sampleDriver/sepolicy/evsdriver.mk
90 PRODUCT_PACKAGE_OVERLAYS += packages/services/Car/tests/SampleRearViewCamera/overlay
99packages/services/Car/car_product/build/preinstalled-packages-product-car-base.xml:system/etc/sysc…
109 packages/services/Car/car_product/init/init.bootstat.rc:system/etc/init/init.bootstat.car.rc \
110 packages/services/Car/car_product/init/init.car.rc:system/etc/init/init.car.rc
[all …]
/packages/services/Car/cpp/computepipe/tests/fuzz/
DAndroid.bp65 "packages/services/Car/cpp/computepipe",
66 "packages/services/Car/cpp/computepipe/runner/stream_manager",
67 "packages/services/Car/cpp/computepipe/runner/input_manager",
68 "packages/services/Car/cpp/computepipe/runner/input_manager/include",
69 "packages/services/Car/cpp/computepipe/runner/engine",
70 "packages/services/Car/cpp/computepipe/runner/debug_display_manager/include",
71 "packages/services/Car/cpp/computepipe/runner/client_interface/include/",
72 "packages/services/Car/cpp/computepipe/runner/graph/include/",
151 "packages/services/Car/cpp/computepipe",
152 "packages/services/Car/cpp/computepipe/runner/graph",
[all …]
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryEntry.java186 @NonNull BatteryConsumer batteryConsumer, boolean isHidden, int uid, String[] packages, in BatteryEntry() argument
188 this(context, handler, um, batteryConsumer, isHidden, uid, packages, packageName, true); in BatteryEntry()
192 @NonNull BatteryConsumer batteryConsumer, boolean isHidden, int uid, String[] packages, in BatteryEntry() argument
209 if (packages != null && packages.length == 1) { in BatteryEntry()
210 mDefaultPackageName = packages[0]; in BatteryEntry()
227 getQuickNameIconForUid(uid, packages, loadDataInBackground); in BatteryEntry()
309 final int uid, final String[] packages, final boolean loadDataInBackground) { in getQuickNameIconForUid() argument
326 if (packages == null || packages.length == 0) { in getQuickNameIconForUid()
359 final String[] packages; in loadNameAndIcon() local
361 packages = new String[] {PACKAGE_SYSTEM}; in loadNameAndIcon()
[all …]
DBatteryUtils.java180 public boolean shouldHideUidBatteryConsumer(UidBatteryConsumer consumer, String[] packages) { in shouldHideUidBatteryConsumer() argument
181 return mPowerUsageFeatureProvider.isTypeSystem(consumer.getUid(), packages) in shouldHideUidBatteryConsumer()
182 || shouldHideUidBatteryConsumerUnconditionally(consumer, packages); in shouldHideUidBatteryConsumer()
190 String[] packages) { in shouldHideUidBatteryConsumerUnconditionally() argument
191 return consumer.getUid() < 0 || isHiddenSystemModule(packages); in shouldHideUidBatteryConsumerUnconditionally()
215 public boolean isHiddenSystemModule(String[] packages) { in isHiddenSystemModule() argument
216 if (packages != null) { in isHiddenSystemModule()
217 for (int i = 0, length = packages.length; i < length; i++) { in isHiddenSystemModule()
218 if (AppUtils.isHiddenSystemModule(mContext, packages[i])) { in isHiddenSystemModule()
/packages/modules/Connectivity/framework/
DAndroid.bp54 "//packages/modules/Connectivity:__subpackages__",
89 "//packages/modules/Connectivity/Tethering/apex",
91 "//packages/modules/Connectivity/apex",
92 "//packages/modules/Connectivity/service",
93 "//frameworks/base/packages/Connectivity/service",
99 "//frameworks/base/packages/Connectivity/tests:__subpackages__",
103 "//packages/modules/CaptivePortalLogin/tests",
104 "//packages/modules/Connectivity/Tethering/tests:__subpackages__",
105 "//packages/modules/Connectivity/tests:__subpackages__",
106 "//packages/modules/NetworkStack/tests:__subpackages__",
[all …]
/packages/modules/common/tools/
DAndroid.bp64 "//packages/modules/Connectivity:__subpackages__",
65 "//packages/modules/IPsec/apex:__subpackages__",
66 "//packages/modules/Permission:__subpackages__",
67 "//packages/modules/Scheduling:__subpackages__",
68 "//packages/modules/SdkExtensions:__subpackages__",
69 "//packages/modules/StatsD:__subpackages__",
70 "//packages/providers/MediaProvider:__subpackages__",
/packages/modules/NetworkStack/
DAndroid.bp181 "//packages/modules/Connectivity/Tethering",
182 "//packages/modules/Connectivity/tests/cts/net",
201 "//packages/modules/Connectivity/Tethering",
202 "//packages/modules/Connectivity/tests/cts/net",
242 "//packages/modules/Connectivity/Tethering/tests/integration",
243 "//packages/modules/Connectivity/tests/cts/net",
244 "//packages/modules/NetworkStack/tests/unit",
245 "//packages/modules/NetworkStack/tests/integration",
262 "//frameworks/base/packages/Connectivity/tests/integration",
264 "//packages/modules/Connectivity/Tethering/tests/integration",
[all …]
/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.
35 "//frameworks/base/packages/Connectivity/service",
36 "//packages/modules/Connectivity/service",
44 "//packages/modules/NetworkStack",
63 "//frameworks/base/packages/Tethering",
64 "//packages/modules/Connectivity/Tethering"
/packages/services/Car/cpp/computepipe/runner/stream_manager/
DAndroid.bp28 "//packages/services/Car/cpp/computepipe/runner:__subpackages__",
29 "//packages/services/Car/cpp/computepipe/tests:__subpackages__",
44 "packages/services/Car/cpp/computepipe",
54 "//packages/services/Car/cpp/computepipe/runner:__subpackages__",
55 "//packages/services/Car/cpp/computepipe/tests:__subpackages__",
72 "packages/services/Car/cpp/computepipe",
/packages/modules/ExtServices/java/src/android/ext/services/watchdog/
DExplicitHealthCheckServiceImpl.java84 List<PackageConfig> packages = new ArrayList<>(); in onGetSupportedPackages() local
95 packages.add(pkg); in onGetSupportedPackages()
97 return packages; in onGetSupportedPackages()
102 List<String> packages = new ArrayList<>(); in onGetRequestedPackages() local
111 packages.add(checker.getSupportedPackageName()); in onGetRequestedPackages()
114 return packages; in onGetRequestedPackages()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/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/ManagedProvisioning/src/com/android/managedprovisioning/task/
DUpdateInteractAcrossProfilesAppOpTask.java153 final String[] packages = mPackageManager.getPackagesForUid(uid); in reapplyCrossProfileAppsPermissionForUid() local
154 final int consolidatedUidMode = getConsolidatedModeForPackagesInUid(uid, packages, op); in reapplyCrossProfileAppsPermissionForUid()
155 setAppOpForPackagesInUid(uid, packages, consolidatedUidMode); in reapplyCrossProfileAppsPermissionForUid()
158 private int getConsolidatedModeForPackagesInUid(int uid, String[] packages, String op) { in getConsolidatedModeForPackagesInUid() argument
160 for (String packageName : packages) { in getConsolidatedModeForPackagesInUid()
185 int uid, String[] packages, @AppOpsManager.Mode int mode) { in setAppOpForPackagesInUid() argument
186 for (String packageName : packages) { in setAppOpForPackagesInUid()
/packages/modules/NetworkStack/common/networkstackclient/
DAndroid.bp75 "packages/modules/Connectivity/framework/aidl-export",
140 "//frameworks/base/packages/Tethering",
141 "//packages/modules/Connectivity/Tethering",
170 "//frameworks/base/packages/Connectivity/service",
171 "//packages/modules/Connectivity/Tethering",
172 "//packages/modules/Connectivity/service",
175 "//packages/apps/Bluetooth",
176 "//packages/modules/NetworkStack",
/packages/modules/Connectivity/Tethering/tests/integration/
DAndroid.bp53 "//packages/modules/Connectivity/tests/cts/tethering",
54 "//packages/modules/Connectivity/tests:__subpackages__",
55 "//packages/modules/Connectivity/Tethering/tests:__subpackages__",
65 "//packages/modules/Connectivity/tests/cts/tethering",
66 "//packages/modules/Connectivity/Tethering/tests/mts",
94 "//packages/modules/Connectivity/tests:__subpackages__"
/packages/modules/Connectivity/
DTEST_MAPPING53 "path": "packages/modules/NetworkStack"
61 "path": "packages/modules/NetworkStack"
64 "path": "packages/modules/CaptivePortalLogin"
67 "path": "packages/modules/Connectivity"
70 "path": "packages/modules/Connectivity/Tethering"
/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/Launcher3/src/com/android/launcher3/widget/
DDatabaseWidgetPreviewLoader.java242 HashSet<String> packages = validPackages.get(userId); in removeObsoletePreviews() local
243 if (packages == null) { in removeObsoletePreviews()
244 packages = new HashSet<>(); in removeObsoletePreviews()
245 validPackages.put(userId, packages); in removeObsoletePreviews()
247 packages.add(key.componentName.getPackageName()); in removeObsoletePreviews()
271 HashSet<String> packages = validPackages.get(userId); in removeObsoletePreviews() local
272 if (packages != null && packages.contains(pkg)) { in removeObsoletePreviews()
281 packages = packagesToDelete.get(userId); in removeObsoletePreviews()
282 if (packages == null) { in removeObsoletePreviews()
283 packages = new HashSet<>(); in removeObsoletePreviews()
[all …]
/packages/modules/Wifi/framework/
DAndroid.bp62 "//packages/modules/Wifi/framework/tests",
63 "//packages/modules/Wifi/service/tests/wifitests:__subpackages__",
66 "//frameworks/base/packages/SettingsLib/tests/integ",
89 "packages/modules/Connectivity/framework/aidl-export",
111 "//packages/modules/Wifi/service",
112 "//packages/modules/Wifi/service/tests/wifitests",
137 "//packages/modules/Wifi/service:__subpackages__",
/packages/modules/NeuralNetworks/runtime/test/
DAndroid.bp396 "packages/modules/NeuralNetworks/common/include",
397 "packages/modules/NeuralNetworks/runtime/",
398 "packages/modules/NeuralNetworks/runtime/include/",
399 "packages/modules/NeuralNetworks/tools/test_generator/test_harness/include",
478 "packages/modules/NeuralNetworks/common/include",
479 "packages/modules/NeuralNetworks/runtime/",
480 "packages/modules/NeuralNetworks/runtime/include/",
549 "packages/modules/NeuralNetworks/runtime/include/",
550 "packages/modules/NeuralNetworks/tools/test_generator/test_harness/include",
/packages/services/Car/cpp/computepipe/proto/
DOptions.proto5 import "packages/services/Car/cpp/computepipe/proto/InputConfig.proto";
6 import "packages/services/Car/cpp/computepipe/proto/OffloadConfig.proto";
7 import "packages/services/Car/cpp/computepipe/proto/OutputConfig.proto";
8 import "packages/services/Car/cpp/computepipe/proto/TerminationConfig.proto";
/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/apps/Car/tests/tools/rro/
DREADME6 PROJECT_TOP=$ANDROID_BUILD_TOP/packages/apps/Car/Media
7 python $ANDROID_BUILD_TOP/packages/apps/Car/tests/tools/rro/generate-overlayable.py \
14 PROJECT_TOP=$ANDROID_BUILD_TOP/packages/apps/Car/Media
15 python $ANDROID_BUILD_TOP/packages/apps/Car/tests/tools/rro/verify-overlayable.py \
/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()

12345678910>>...12