/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
D | WebViewUpdateServiceTest.java | 69 private void setupWithPackages(WebViewProviderInfo[] packages) { in setupWithPackages() 74 private void setupWithPackagesAndRelroCount(WebViewProviderInfo[] packages, int numRelros) { in setupWithPackagesAndRelroCount() 79 private void setupWithPackagesNonDebuggable(WebViewProviderInfo[] packages) { in setupWithPackagesNonDebuggable() 84 private void setupWithPackagesAndMultiProcess(WebViewProviderInfo[] packages, in setupWithPackagesAndMultiProcess() 90 private void setupWithAllParameters(WebViewProviderInfo[] packages, int numRelros, in setupWithAllParameters() 255 WebViewProviderInfo[] packages = new WebViewProviderInfo[] { in testDefaultPackageUsedOverNonDefault() local 282 WebViewProviderInfo[] packages = new WebViewProviderInfo[] { in testWithSignatures() local 310 WebViewProviderInfo[] packages = new WebViewProviderInfo[] { in testFailWaitingForRelro() local 328 WebViewProviderInfo[] packages = new WebViewProviderInfo[0]; in testFailListingEmptyWebviewPackages() local 369 WebViewProviderInfo[] packages = new WebViewProviderInfo[] {wpi}; in testFailListingInvalidWebviewPackage() local [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BackgroundInstallControlServiceTest.java | 180 var packages = mBackgroundInstallControlService.getBackgroundInstalledPackages(); in testInitBackgroundInstalledPackages_one() local 226 var packages = mBackgroundInstallControlService.getBackgroundInstalledPackages(); in testInitBackgroundInstalledPackages_two() local 237 var packages = mBackgroundInstallControlService.getBackgroundInstalledPackages(); in testWriteBackgroundInstalledPackagesToDisk_empty() local 290 var packages = mBackgroundInstallControlService.getBackgroundInstalledPackages(); in testWriteBackgroundInstalledPackagesToDisk_one() local 346 var packages = mBackgroundInstallControlService.getBackgroundInstalledPackages(); in testWriteBackgroundInstalledPackagesToDisk_two() local 568 var packages = mBackgroundInstallControlService.getBackgroundInstalledPackages(); in testHandleUsageEvent_packageAddedNoUsageEvent() local 663 var packages = mBackgroundInstallControlService.getBackgroundInstalledPackages(); in testHandleUsageEvent_packageAddedOutsideTimeFrame1() local 713 var packages = mBackgroundInstallControlService.getBackgroundInstalledPackages(); in testHandleUsageEvent_packageAddedOutsideTimeFrame2() local 764 var packages = mBackgroundInstallControlService.getBackgroundInstalledPackages(); in testHandleUsageEvent_packageAddedThroughAdb() local 813 var packages = mBackgroundInstallControlService.getBackgroundInstalledPackages(); in testHandleUsageEvent_packageAddedThroughAdb2() local [all …]
|
/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 56 ArrayMap<String, ArrayList<String>> packages = getOrAllocate(userId); in put() local 86 ArrayMap<String, ArrayList<String>> packages = mUidMap.get(userId); in remove() local 104 final ArrayMap<String, ArrayList<String>> packages = mUidMap.valueAt(userIdIndex); in copiedMap() local
|
D | StorageEventHelper.java | 112 final List<? extends PackageStateInternal> packages = in onVolumeForgotten() local 149 final List<? extends PackageStateInternal> packages; in loadPrivatePackagesInner() local 251 final List<? extends PackageStateInternal> packages = in unloadPrivatePackagesInner() local 298 ArrayList<AndroidPackage> packages) { in sendResourcesChangedBroadcast()
|
/frameworks/base/core/java/android/app/admin/ |
D | LockTaskPolicy.java | 76 public LockTaskPolicy(@Nullable Set<String> packages) { in LockTaskPolicy() 94 public LockTaskPolicy(@Nullable Set<String> packages, int flags) { in LockTaskPolicy() 124 public void setPackages(@NonNull Set<String> packages) { in setPackages()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
D | AppCopyingHelperTest.java | 173 private void addSystemAppsForIntent(Intent intent, String... packages) throws Exception { in addSystemAppsForIntent() 184 private void addInapplicableSystemApps(String... packages) throws Exception { in addInapplicableSystemApps() 191 private void addDownloadedApps(String... packages) throws Exception { in addDownloadedApps() 198 private void addAppsToTestUser(String... packages) throws Exception { in addAppsToTestUser()
|
D | AppRestrictionsHelperTest.java | 179 private void addSystemAppsForIntent(Intent intent, String... packages) throws Exception { in addSystemAppsForIntent() 190 private void addSystemAppsWithRequiredAccounts(String... packages) throws Exception { in addSystemAppsWithRequiredAccounts() 203 private void addDownloadedApps(String... packages) throws Exception { in addDownloadedApps()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/infra/ |
D | WhitelistHelperTest.java | 70 final ArraySet<String> packages = new ArraySet<>(); in testSetWhitelist_nullPackage() local 113 final ArraySet<String> packages = new ArraySet<>(); in testIsWhitelisted_packageWhitelisted() local
|
/frameworks/base/core/java/android/app/backup/ |
D | RestoreSession.java | 154 @NonNull Set<String> packages, @Nullable BackupManagerMonitor monitor) { in restorePackages() 191 @NonNull Set<String> packages) { in restorePackages() 220 String[] packages) { in restoreSome() 246 public int restoreSome(long token, RestoreObserver observer, String[] packages) { in restoreSome()
|
D | IRestoreSession.aidl | 74 int restorePackages(long token, IRestoreObserver observer, in String[] packages, in restorePackages()
|
/frameworks/base/libs/androidfw/tests/ |
D | LoadedArsc_test.cpp | 83 const auto& packages = loaded_arsc->GetPackages(); in TEST() local 104 const auto& packages = loaded_arsc->GetPackages(); in TEST() local 132 const auto& packages = loaded_arsc->GetPackages(); in TEST() local 257 const std::vector<std::unique_ptr<const LoadedPackage>>& packages = loaded_arsc->GetPackages(); in TEST() local 306 const std::vector<std::unique_ptr<const LoadedPackage>>& packages = loaded_arsc->GetPackages(); in TEST() local
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/ |
D | ProcessedPackagesJournalTest.java | 142 HashSet<String> packages = new HashSet<>(); in readJournalPackages() local 156 private void writePermanentJournalPackages(Set<String> packages) throws Exception { in writePermanentJournalPackages()
|
/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
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageMonitor.java | 207 public boolean onHandleForceStop(Intent intent, String[] packages, int uid, boolean doit) { in onHandleForceStop() 217 public void onPackagesAvailable(String[] packages) { in onPackagesAvailable() 220 public void onPackagesUnavailable(String[] packages) { in onPackagesUnavailable() 223 public void onPackagesSuspended(String[] packages) { in onPackagesSuspended() 226 public void onPackagesUnsuspended(String[] packages) { in onPackagesUnsuspended()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PackageWatchdog.java | 323 List<MonitoredPackage> packages = new ArrayList<>(); in startObservingHealth() local 351 new ObserverInternal(observer.getName(), packages)); in startObservingHealth() local 391 public void onPackageFailure(List<VersionedPackage> packages, in onPackageFailure() 459 private void handleFailureImmediately(List<VersionedPackage> packages, in handleFailureImmediately() 711 Set<String> packages = getPackagesPendingHealthChecksLocked(); in syncRequests() local 813 Set<String> packages = new ArraySet<>(); in getPackagesPendingHealthChecksLocked() local 875 ArrayMap<String, MonitoredPackage> packages = mAllObservers.valueAt(oIndex) in getNextStateSyncMillisLocked() local 1167 ObserverInternal(String name, List<MonitoredPackage> packages) { in ObserverInternal() 1194 public void updatePackagesLocked(List<MonitoredPackage> packages) { in updatePackagesLocked() 1304 List<MonitoredPackage> packages = new ArrayList<>(); in read() local
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/ |
D | BackupManagerServiceRoboTest.java | 813 String[] packages = {TEST_PACKAGE}; in testFilterAppsEligibleForBackup_onRegisteredUser_callsMethodForUser() local 827 String[] packages = {TEST_PACKAGE}; in testFilterAppsEligibleForBackup_onUnknownUser_doesNotPropagateCall() local 897 String[] packages = {TEST_PACKAGE}; in testRequestBackup_withoutPermission_throwsSecurityExceptionForNonCallingUser() local 918 String[] packages = {TEST_PACKAGE}; in testRequestBackup_withPermission_propagatesForNonCallingUser() local 933 String[] packages = {TEST_PACKAGE}; in testRequestBackup_onRegisteredUser_callsMethodForUser() local 948 String[] packages = {TEST_PACKAGE}; in testRequestBackup_onUnknownUser_doesNotPropagateCall() local 1061 String[] packages = {TEST_PACKAGE}; in testFullTransportBackup_onRegisteredUser_callsMethodForUser() local 1074 String[] packages = {TEST_PACKAGE}; in testFullTransportBackup_onUnknownUser_doesNotPropagateCall() local
|
/frameworks/base/core/java/android/service/contentcapture/ |
D | IContentCaptureServiceCallback.aidl | 32 void setContentCaptureWhitelist(in List<String> packages, in List<ComponentName> activities); in setContentCaptureWhitelist()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | LockTaskPolicySerializer.java | 64 Set<String> packages = Set.of(packagesStr.split(ATTR_PACKAGES_SEPARATOR)); in readFromXml() local
|
/frameworks/native/libs/binder/ |
D | IPermissionController.cpp | 63 virtual void getPackagesForUid(const uid_t uid, Vector<String16>& packages) in getPackagesForUid() 140 Vector<String16> packages; in onTransact() local
|
/frameworks/base/core/java/com/android/internal/os/ |
D | AppIdToPackageMap.java | 41 List<PackageInfo> packages; in getSnapshot() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsActiveWatcherTest.java | 151 List<AppOpsManager.PackageOps> packages in isCameraOn() local
|
/frameworks/base/services/core/java/com/android/server/location/injector/ |
D | SystemPackageResetHelper.java | 91 String[] packages = intent.getStringArrayExtra(Intent.EXTRA_PACKAGES); in onReceive() local
|
/frameworks/base/services/core/java/com/android/server/media/metrics/ |
D | MediaMetricsManagerService.java | 374 String[] packages = pm.getPackagesForUid(uid); in loggingLevel() local 463 String[] packages, List<String> cached, String listName) { in loggingLevelInternal() 470 private boolean inList(String[] packages, List<String> arr) { in inList()
|
/frameworks/base/core/java/android/service/watchdog/ |
D | ExplicitHealthCheckService.java | 317 List<PackageConfig> packages = in getSupportedPackages() local 329 List<String> packages = in getRequestedPackages() local
|
/frameworks/base/cmds/idmap2/libidmap2/proto/ |
D | fabricated_v1.proto | 27 repeated ResourcePackage packages = 1; field
|