/frameworks/base/services/core/java/com/android/server/uri/ |
D | UriPermission.java | 50 final String sourcePkg; field in UriPermission 90 UriPermission(String sourcePkg, String targetPkg, int targetUid, GrantUri uri) { in UriPermission() argument 92 this.sourcePkg = sourcePkg; in UriPermission() 322 pw.print(" sourcePkg=" + sourcePkg); in dump() 367 final String sourcePkg; field in UriPermission.Snapshot 375 this.sourcePkg = perm.sourcePkg; in Snapshot()
|
D | UriGrantsManagerService.java | 292 if (packageName.equals(perm.sourcePkg) in getUriPermissions() 474 if (packageName == null || (!targetOnly && perm.sourcePkg.equals(packageName)) in removeUriPermissionsForPackageLocked() 681 final String sourcePkg = in.getAttributeValue(null, ATTR_SOURCE_PKG); in readGrantedUriPermissionsLocked() local 693 if (pi != null && sourcePkg.equals(pi.packageName)) { in readGrantedUriPermissionsLocked() 700 sourcePkg, targetPkg, targetUid, grantUri); in readGrantedUriPermissionsLocked() 709 Slog.w(TAG, "Persisted grant for " + uri + " had source " + sourcePkg in readGrantedUriPermissionsLocked() 727 private UriPermission findOrCreateUriPermissionLocked(String sourcePkg, in findOrCreateUriPermissionLocked() argument 737 perm = new UriPermission(sourcePkg, targetPkg, targetUid, grantUri); in findOrCreateUriPermissionLocked() 1325 out.attribute(null, ATTR_SOURCE_PKG, perm.sourcePkg); in writeGrantedUriPermissionsLocked()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | BackgroundJobsController.java | 87 final String sourcePkg = jobStatus.getSourcePackageName(); in dumpControllerStateLocked() 98 pw.print(sourcePkg); in dumpControllerStateLocked() 101 pw.print(mAppStateTracker.isRunAnyInBackgroundAppOpsAllowed(uid, sourcePkg) in dumpControllerStateLocked() 129 final String sourcePkg = jobStatus.getSourcePackageName(); in dumpControllerStateLocked() 130 proto.write(TrackedJob.SOURCE_PACKAGE_NAME, sourcePkg); in dumpControllerStateLocked() 138 mAppStateTracker.isRunAnyInBackgroundAppOpsAllowed(sourceUid, sourcePkg)); in dumpControllerStateLocked()
|
D | JobStatus.java | 567 public static JobStatus createFromJobInfo(JobInfo job, int callingUid, String sourcePkg, in createFromJobInfo() argument 585 String jobPackage = (sourcePkg != null) ? sourcePkg : job.getService().getPackageName(); in createFromJobInfo() 589 return new JobStatus(job, callingUid, sourcePkg, sourceUserId, in createFromJobInfo()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManagerNative.java | 86 static public void noteWakeupAlarm(PendingIntent ps, int sourceUid, String sourcePkg, in noteWakeupAlarm() argument 88 ActivityManager.noteWakeupAlarm(ps, null, sourceUid, sourcePkg, tag); in noteWakeupAlarm()
|
D | IActivityManager.aidl | 254 in String sourcePkg, in String tag); in noteWakeupAlarm() argument
|
D | ActivityManager.java | 4508 String sourcePkg, String tag) { 4511 sourceUid, sourcePkg, tag);
|
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/ |
D | TargetPackageUtils.java | 208 String sourcePkg = bundle.getString(Constants.EXTRA_SOURCE_PACKAGE); in onPackageStartResult() local 209 sStubPackages.put(sourcePkg, receiver); in onPackageStartResult()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | PreferencesHelper.java | 1686 public @Nullable String getNotificationDelegate(String sourcePkg, int sourceUid) { in getNotificationDelegate() argument 1688 PackagePreferences prefs = getPackagePreferencesLocked(sourcePkg, sourceUid); in getNotificationDelegate() 1703 public void setNotificationDelegate(String sourcePkg, int sourceUid, in setNotificationDelegate() argument 1706 PackagePreferences prefs = getOrCreatePackagePreferencesLocked(sourcePkg, sourceUid); in setNotificationDelegate() 1718 public void revokeNotificationDelegate(String sourcePkg, int sourceUid) { in revokeNotificationDelegate() argument 1721 PackagePreferences prefs = getPackagePreferencesLocked(sourcePkg, sourceUid); in revokeNotificationDelegate() 1735 public void toggleNotificationDelegate(String sourcePkg, int sourceUid, boolean userAllowed) { in toggleNotificationDelegate() argument 1738 PackagePreferences prefs = getPackagePreferencesLocked(sourcePkg, sourceUid); in toggleNotificationDelegate() 1753 public boolean isDelegateAllowed(String sourcePkg, int sourceUid, in isDelegateAllowed() argument 1756 PackagePreferences prefs = getPackagePreferencesLocked(sourcePkg, sourceUid); in isDelegateAllowed()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerService.java | 4238 final AndroidPackage sourcePkg = in updatePermissionSourcePackage() local 4244 if (sourcePkg != null && sourcePs != null) { in updatePermissionSourcePackage() 4342 final AndroidPackage sourcePkg = in updatePermissionTreeSourcePackage() local 4348 if (sourcePkg != null && sourcePs != null) { in updatePermissionTreeSourcePackage()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 9046 String sourcePkg, String tag) { in noteWakeupAlarm() argument 9070 mBatteryStatsService.noteWakupAlarm(sourcePkg, sourceUid, workSource, tag); in noteWakeupAlarm() 9075 workSourcePackage = sourcePkg; in noteWakeupAlarm() 9085 sourcePkg, standbyBucket); in noteWakeupAlarm() 9087 Slog.w(TAG, "noteWakeupAlarm[ sourcePkg=" + sourcePkg + ", sourceUid=" + sourceUid in noteWakeupAlarm() 9093 standbyBucket = mUsageStatsService.getAppStandbyBucket(sourcePkg, in noteWakeupAlarm() 9097 null, tag, sourcePkg, standbyBucket); in noteWakeupAlarm() 9099 Slog.w(TAG, "noteWakeupAlarm[ sourcePkg=" + sourcePkg + ", sourceUid=" + sourceUid in noteWakeupAlarm()
|