/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
D | WebViewUpdateServiceTest.java | 79 private void setupWithPackages(WebViewProviderInfo[] packages) { in setupWithPackages() argument 80 setupWithAllParameters(packages, 1 /* numRelros */, true /* isDebuggable */, in setupWithPackages() 84 private void setupWithPackagesAndRelroCount(WebViewProviderInfo[] packages, int numRelros) { in setupWithPackagesAndRelroCount() argument 85 setupWithAllParameters(packages, numRelros, true /* isDebuggable */, in setupWithPackagesAndRelroCount() 89 private void setupWithPackagesNonDebuggable(WebViewProviderInfo[] packages) { in setupWithPackagesNonDebuggable() argument 90 setupWithAllParameters(packages, 1 /* numRelros */, false /* isDebuggable */, in setupWithPackagesNonDebuggable() 94 private void setupWithPackagesAndMultiProcess(WebViewProviderInfo[] packages, in setupWithPackagesAndMultiProcess() argument 96 setupWithAllParameters(packages, 1 /* numRelros */, true /* isDebuggable */, in setupWithPackagesAndMultiProcess() 100 private void setupWithAllParameters(WebViewProviderInfo[] packages, int numRelros, in setupWithAllParameters() argument 102 TestSystemImpl testing = new TestSystemImpl(packages, numRelros, isDebuggable, in setupWithAllParameters() [all …]
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | PackageSuspender.java | 71 public String[] suspend(Set<String> packages) { in suspend() argument 83 Set<String> result = suspendWithExemption(packages); in suspend() 93 private Set<String> suspendWithExemption(Set<String> packages) { in suspendWithExemption() argument 94 Set<String> packagesToSuspend = new ArraySet<>(packages); in suspendWithExemption() 104 Slogf.w(LOG_TAG, "PM failed to suspend packages (%s)", packages); in suspendWithExemption() 105 return packages; in suspendWithExemption() 119 public String[] unsuspend(Set<String> packages) { in unsuspend() argument 129 Set<String> result = new ArraySet<>(packages); in unsuspend() 145 private Set<String> unsuspendWithExemption(Set<String> packages) { in unsuspendWithExemption() argument 149 mUserId, packages.toArray(String[]::new), false); in unsuspendWithExemption() [all …]
|
D | PolicyEnforcerCallbacks.java | 170 List<String> packages = Collections.emptyList(); 173 packages = List.copyOf(policy.getPackages()); 176 DevicePolicyManagerService.updateLockTaskPackagesLocked(context, packages, userId); 224 @Nullable Set<String> packages, Context context, int userId, PolicyKey policyKey) { 231 packages == null ? null : packages.stream().toList()); 234 packages == null ? null : new ArraySet<>(packages), userId); 236 if (packages == null || packages.isEmpty()) { 242 setBgUsageAppOp(packages, pmi, user, appOpsManager); 245 for (String packageName : packages) { 265 private static void setBgUsageAppOp(Set<String> packages, PackageManagerInternal pmi, [all …]
|
/frameworks/base/core/java/android/app/admin/ |
D | LockTaskPolicy.java | 77 public LockTaskPolicy(@Nullable Set<String> packages) { in LockTaskPolicy() argument 78 if (packages != null) { in LockTaskPolicy() 79 setPackagesInternal(packages); in LockTaskPolicy() 95 public LockTaskPolicy(@Nullable Set<String> packages, int flags) { in LockTaskPolicy() argument 96 if (packages != null) { in LockTaskPolicy() 97 setPackagesInternal(packages); in LockTaskPolicy() 125 public void setPackages(@NonNull Set<String> packages) { in setPackages() argument 126 Objects.requireNonNull(packages); in setPackages() 127 setPackagesInternal(packages); in setPackages() 137 private void setPackagesInternal(Set<String> packages) { in setPackagesInternal() argument [all …]
|
/frameworks/av/services/audioflinger/afutils/ |
D | Permission.cpp | 31 Vector<String16> packages; in checkAttributionSourcePackage() local 32 PermissionController{}.getPackagesForUid(attributionSource.uid, packages); in checkAttributionSourcePackage() 37 if (!packages.isEmpty()) { in checkAttributionSourcePackage() 39 std::move(legacy2aidl_String16_string(packages[0]).value()); in checkAttributionSourcePackage() 44 if (std::find_if(packages.begin(), packages.end(), in checkAttributionSourcePackage() 46 return opPackageLegacy == package; }) == packages.end()) { in checkAttributionSourcePackage()
|
/frameworks/base/core/java/android/provider/ |
D | OWNERS | 5 per-file *CallLog* = file:platform/packages/providers/ContactsProvider:/OWNERS 6 per-file *Contacts* = file:platform/packages/providers/ContactsProvider:/OWNERS 7 per-file *Voicemail* = file:platform/packages/providers/ContactsProvider:/OWNERS 9 per-file *Calendar* = file:platform/packages/providers/CalendarProvider:/OWNERS 11 per-file *Downloads* = file:platform/packages/providers/DownloadProvider:/OWNERS 13 per-file *DeviceConfig* = file:/packages/SettingsProvider/OWNERS 14 per-file *Settings* = file:/packages/SettingsProvider/OWNERS 17 per-file *Documents* = file:platform/packages/apps/DocumentsUI:/OWNERS
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PendingPackageBroadcasts.java | 49 final ArrayMap<String, ArrayList<String>> packages = mUidMap.get(userId); in hasPackage() local 50 return packages != null && packages.containsKey(packageName); in hasPackage() 56 ArrayMap<String, ArrayList<String>> packages = getOrAllocate(userId); in put() local 57 packages.put(packageName, components); in put() 86 ArrayMap<String, ArrayList<String>> packages = mUidMap.get(userId); in remove() local 87 if (packages != null) { in remove() 88 packages.remove(packageName); in remove() 104 final ArrayMap<String, ArrayList<String>> packages = mUidMap.valueAt(userIdIndex); in copiedMap() local 106 for (int packagesIndex = 0; packagesIndex < packages.size(); packagesIndex++) { in copiedMap() 107 packagesCopy.put(packages.keyAt(packagesIndex), in copiedMap() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BackgroundInstallControlServiceTest.java | 183 var packages = mBackgroundInstallControlService.getBackgroundInstalledPackages(); in testInitBackgroundInstalledPackages_one() local 184 assertNotNull(packages); in testInitBackgroundInstalledPackages_one() 185 assertEquals(1, packages.size()); in testInitBackgroundInstalledPackages_one() 186 assertTrue(packages.contains(USER_ID_1, PACKAGE_NAME_1)); in testInitBackgroundInstalledPackages_one() 223 var packages = mBackgroundInstallControlService.getBackgroundInstalledPackages(); in testInitBackgroundInstalledPackages_two() local 224 assertNotNull(packages); in testInitBackgroundInstalledPackages_two() 225 assertEquals(2, packages.size()); in testInitBackgroundInstalledPackages_two() 226 assertTrue(packages.contains(USER_ID_1, PACKAGE_NAME_1)); in testInitBackgroundInstalledPackages_two() 227 assertTrue(packages.contains(USER_ID_2, PACKAGE_NAME_2)); in testInitBackgroundInstalledPackages_two() 234 var packages = mBackgroundInstallControlService.getBackgroundInstalledPackages(); in testWriteBackgroundInstalledPackagesToDisk_empty() local [all …]
|
/frameworks/opt/net/wifi/ |
D | MOVED.txt | 2 packages/modules/Wifi/service. 4 - frameworks/opt/net/wifi/service/apex -> packages/modules/Wifi/apex 5 - frameworks/opt/net/wifi/service/java -> packages/modules/Wifi/service/java 6 - frameworks/opt/net/wifi/service/res -> packages/modules/Wifi/service/ServiceWifiResources/res 7 - frameworks/opt/net/wifi/tests/ -> packages/modules/Wifi/service/tests
|
/frameworks/base/libs/androidfw/tests/ |
D | LoadedArsc_test.cpp | 83 const auto& packages = loaded_arsc->GetPackages(); in TEST() local 84 ASSERT_THAT(packages, SizeIs(1u)); in TEST() 85 EXPECT_TRUE(packages[0]->IsDynamic()); in TEST() 86 EXPECT_THAT(packages[0]->GetPackageName(), StrEq("com.android.lib_one")); in TEST() 87 EXPECT_THAT(packages[0]->GetPackageId(), Eq(0)); in TEST() 89 const auto& dynamic_pkg_map = packages[0]->GetDynamicPackageMap(); in TEST() 104 const auto& packages = loaded_arsc->GetPackages(); in TEST() local 105 ASSERT_THAT(packages, SizeIs(1u)); in TEST() 106 EXPECT_FALSE(packages[0]->IsDynamic()); in TEST() 107 EXPECT_THAT(packages[0]->GetPackageName(), StrEq("com.android.libclient")); in TEST() [all …]
|
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/ |
D | BatteryConsumerInfoHelper.java | 38 public CharSequence packages; field in BatteryConsumerInfoHelper.BatteryConsumerInfo 80 String[] packages = packageManager.getPackagesForUid(uid); in makeBatteryConsumerInfo() local 84 } else if (packages != null) { in makeBatteryConsumerInfo() 85 for (String name : packages) { in makeBatteryConsumerInfo() 106 if (packages != null && packages.length > 0) { in makeBatteryConsumerInfo() 111 for (String packageName : packages) { in makeBatteryConsumerInfo() 122 info.packages = sb; in makeBatteryConsumerInfo()
|
/frameworks/base/packages/SystemUI/docs/ |
D | plugin_hooks.md | 3 Expected interface: [OverlayPlugin](/frameworks/base/packages/SystemUI/plugin/src/com/android/syste… 8 Expected interface: [QS](/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins… 15 Expected interface: [QSFactory](/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/… 20 Expected interface: [NavBarButtonProvider](/frameworks/base/packages/SystemUI/plugin/src/com/androi… 25 Expected interface: [NavGesture](/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui… 30 Expected interface: [IntentButtonProvider](/frameworks/base/packages/SystemUI/plugin/src/com/androi… 35 Expected interface: [IntentButtonProvider](/packages/SystemUI/plugin/src/com/android/systemui/plugi… 40 Expected interface: [GlobalActions](/frameworks/base/packages/SystemUI/plugin/src/com/android/syste… 45 Expected interface: [VolumeDialog](/frameworks/base/packages/SystemUI/plugin/src/com/android/system… 50 Expected interface: [NotificationSwipeActionHelper](/frameworks/base/packages/SystemUI/plugin/src/c… [all …]
|
D | user-switching.md | 40 [1]: /frameworks/base/packages/SystemUI/docs/device-entry/bouncer.md 41 [2]: /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/MultiUserControlle… 42 [3]: /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherContr… 43 [4]: /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardQsUserSwi… 44 [5]: /frameworks/base/packages/SystemUI/src/com/android/systemui/user/UserSwitcherFullscreenDialog.… 45 [6]: /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/user/UserSwitchDialogController…
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioServerPermissionProvider.java | 130 Set<String> packages; in onModifyPackageState() local 132 packages = mPackageMap.computeIfAbsent(uid, unused -> new ArraySet(1)); in onModifyPackageState() 133 packages.add(packageName); in onModifyPackageState() 135 packages = mPackageMap.get(uid); in onModifyPackageState() 136 if (packages != null) { in onModifyPackageState() 137 packages.remove(packageName); in onModifyPackageState() 138 if (packages.isEmpty()) mPackageMap.remove(uid); in onModifyPackageState() 147 state.packageNames = packages != null ? List.copyOf(packages) : Collections.emptyList(); in onModifyPackageState()
|
/frameworks/base/packages/SystemUI/ |
D | README.md | 93 ### [com.android.systemui.util.NotificationChannels](/packages/SystemUI/src/com/android/systemui/ut… 97 ### [com.android.systemui.keyguard.KeyguardViewMediator](/packages/SystemUI/src/com/android/systemu… 101 ### [com.android.systemui.recents.Recents](/packages/SystemUI/src/com/android/systemui/recents/Rece… 106 ### [com.android.systemui.volume.VolumeUI](/packages/SystemUI/src/com/android/systemui/volume/Volum… 111 ### [com.android.systemui.status.phone.CentralSurfaces](/packages/SystemUI/src/com/android/systemui… 118 ### [com.android.systemui.usb.StorageNotification](/packages/SystemUI/src/com/android/systemui/usb/… 122 ### [com.android.systemui.power.PowerUI](/packages/SystemUI/src/com/android/systemui/power/PowerUI.… 126 ### [com.android.systemui.media.RingtonePlayer](/packages/SystemUI/src/com/android/systemui/media/R… 130 ### [com.android.systemui.keyboard.KeyboardUI](/packages/SystemUI/src/com/android/systemui/keyboard… 134 ### [com.android.systemui.shortcut.ShortcutKeyDispatcher](/packages/SystemUI/src/com/android/system… [all …]
|
/frameworks/base/core/java/android/app/backup/ |
D | RestoreSession.java | 154 @NonNull Set<String> packages, @Nullable BackupManagerMonitor monitor) { in restorePackages() argument 165 err = mBinder.restorePackages(token, mObserver, packages.toArray(new String[] {}), in restorePackages() 191 @NonNull Set<String> packages) { in restorePackages() argument 192 return restorePackages(token, observer, packages, null); in restorePackages() 220 String[] packages) { in restoreSome() argument 221 return restorePackages(token, observer, new HashSet<>(Arrays.asList(packages)), monitor); in restoreSome() 246 public int restoreSome(long token, RestoreObserver observer, String[] packages) { in restoreSome() argument 247 return restoreSome(token, observer, null, packages); in restoreSome()
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | VirtualDeviceLog.java | 132 String[] packages; in getPackageName() local 136 packages = mPackageManager.getPackagesForUid(ownerUid); in getPackageName() 138 if (packages != null && packages.length > 0) { in getPackageName() 139 packageName = packages[0]; in getPackageName() 140 if (packages.length > 1) { in getPackageName()
|
/frameworks/libs/modules-utils/java/ |
D | Android.bp | 33 "//packages/apps/CellBroadcastReceiver", 34 "//packages/apps/CellBroadcastReceiver/legacy", 35 "//packages/modules/CellBroadcastService", 36 "//packages/modules/NetworkStack/common/netlinkclient", 37 "//packages/modules/NetworkStack/common/networkstackclient", 38 "//packages/services/Iwlan", 126 "//packages/modules/Wifi/framework", 139 "//packages/modules/Bluetooth/system/binder", 140 "//packages/modules/Bluetooth/android/app/aidl",
|
/frameworks/libs/modules-utils/java/com/android/modules/utils/ |
D | Android.bp | 48 "//packages/modules/Connectivity/service", 49 "//packages/modules/Permission/service", 50 "//packages/modules/Scheduling/service", 51 "//packages/modules/Wifi/framework", 52 "//packages/modules/Wifi/service", 53 "//packages/services/Car/service", 54 "//packages/services/Telephony",
|
/frameworks/base/wifi/ |
D | MOVED.txt | 2 packages/modules/Wifi/framework. 4 - frameworks/base/wifi/java -> packages/modules/Wifi/framework/java 5 - frameworks/base/wifi/tests -> packages/modules/Wifi/framework/tests
|
/frameworks/base/packages/SystemUI/docs/device-entry/ |
D | doze.md | 89 [2]: /frameworks/base/packages/SystemUI/src/com/android/systemui/doze/DozeService.java 90 [3]: /frameworks/base/packages/SystemUI/src/com/android/systemui/doze/DozeMachine.java 91 [4]: /frameworks/base/packages/SystemUI/src/com/android/systemui/doze/dagger/DozeModule.java 92 [5]: /frameworks/base/packages/SystemUI/src/com/android/systemui/doze/DozeScreenBrightness.java 93 [6]: /frameworks/base/packages/SystemUI/res/values/config.xml 94 [7]: /frameworks/base/packages/SystemUI/src/com/android/systemui/doze/DozePauser.java 95 [8]: /frameworks/base/packages/SystemUI/src/com/android/systemui/doze/DozeTriggers.java 96 [9]: /frameworks/base/packages/SystemUI/src/com/android/systemui/dock/DockManagerImpl.java 97 [10]: /frameworks/base/packages/SystemUI/src/com/android/systemui/dock/DockManager.java 98 [11]: /frameworks/base/packages/SystemUI/src/com/android/systemui/doze/DozeDockHandler.java [all …]
|
/frameworks/base/core/java/android/net/ |
D | TEST_MAPPING | 8 "path": "packages/modules/NetworkStack" 11 "path": "packages/modules/CaptivePortalLogin" 14 "path": "frameworks/base/packages/Tethering"
|
/frameworks/base/core/tests/coretests/src/com/android/internal/infra/ |
D | WhitelistHelperTest.java | 70 final ArraySet<String> packages = new ArraySet<>(); in testSetWhitelist_nullPackage() local 71 packages.add(null); in testSetWhitelist_nullPackage() 72 mWhitelistHelper.setWhitelist(packages, null); in testSetWhitelist_nullPackage() 113 final ArraySet<String> packages = new ArraySet<>(); in testIsWhitelisted_packageWhitelisted() local 114 packages.add(mPackage1); in testIsWhitelisted_packageWhitelisted() 115 mWhitelistHelper.setWhitelist(packages, null); in testIsWhitelisted_packageWhitelisted()
|
/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/user/ |
D | TvUserManager.java | 75 List<String> packages = new ArrayList<>(); in filterDisallowedPackages() local 78 Collections.addAll(packages, disallowedPackages); in filterDisallowedPackages() 81 packages.addAll(mDisallowedSystemApps); in filterDisallowedPackages() 82 packages.removeAll(mRequiredSystemApps); in filterDisallowedPackages() 84 return packages.toArray(new String[0]); in filterDisallowedPackages()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PackageWatchdog.java | 279 packages -> onSupportedPackages(packages), in onPackagesReady() 338 List<MonitoredPackage> packages = new ArrayList<>(); in startObservingHealth() local 343 packages.add(pkg); in startObservingHealth() 349 if (packages.isEmpty()) { in startObservingHealth() 366 new ObserverInternal(observer.getName(), packages)); in startObservingHealth() local 370 oldObserver.updatePackagesLocked(packages); in startObservingHealth() 406 public void onPackageFailure(List<VersionedPackage> packages, in onPackageFailure() argument 408 if (packages == null) { in onPackageFailure() 430 handleFailureImmediately(packages, failureReason); in onPackageFailure() 432 for (int pIndex = 0; pIndex < packages.size(); pIndex++) { in onPackageFailure() [all …]
|