/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 | 299 if (packageName.equals(perm.sourcePkg) in getUriPermissions() 481 if (packageName == null || (!targetOnly && perm.sourcePkg.equals(packageName)) in removeUriPermissionsForPackageLocked() 687 final String sourcePkg = in.getAttributeValue(null, ATTR_SOURCE_PKG); in readGrantedUriPermissionsLocked() local 699 if (pi != null && sourcePkg.equals(pi.packageName)) { in readGrantedUriPermissionsLocked() 706 sourcePkg, targetPkg, targetUid, grantUri); in readGrantedUriPermissionsLocked() 715 Slog.w(TAG, "Persisted grant for " + uri + " had source " + sourcePkg in readGrantedUriPermissionsLocked() 733 private UriPermission findOrCreateUriPermissionLocked(String sourcePkg, in findOrCreateUriPermissionLocked() argument 743 perm = new UriPermission(sourcePkg, targetPkg, targetUid, grantUri); in findOrCreateUriPermissionLocked() 1336 out.attribute(null, ATTR_SOURCE_PKG, perm.sourcePkg); in writeGrantedUriPermissionsLocked()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | BackgroundJobsController.java | 100 final String sourcePkg = jobStatus.getSourcePackageName(); in dumpControllerStateLocked() 111 pw.print(sourcePkg); in dumpControllerStateLocked() 114 pw.print(mAppStateTracker.isRunAnyInBackgroundAppOpsAllowed(uid, sourcePkg) in dumpControllerStateLocked() 142 final String sourcePkg = jobStatus.getSourcePackageName(); in dumpControllerStateLocked() 143 proto.write(TrackedJob.SOURCE_PACKAGE_NAME, sourcePkg); in dumpControllerStateLocked() 151 mAppStateTracker.isRunAnyInBackgroundAppOpsAllowed(sourceUid, sourcePkg)); in dumpControllerStateLocked()
|
D | JobStatus.java | 626 public static JobStatus createFromJobInfo(JobInfo job, int callingUid, String sourcePkg, in createFromJobInfo() argument 644 String jobPackage = (sourcePkg != null) ? sourcePkg : job.getService().getPackageName(); in createFromJobInfo() 648 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 | ActivityManagerInternal.java | 331 String sourcePkg, String tag); in noteWakeupAlarm() argument
|
D | IActivityManager.aidl | 257 in String sourcePkg, in String tag); in noteWakeupAlarm() argument
|
D | ActivityManager.java | 4303 String sourcePkg, String tag) { in noteWakeupAlarm() argument 4306 sourceUid, sourcePkg, tag); in noteWakeupAlarm()
|
/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 | 1782 public @Nullable String getNotificationDelegate(String sourcePkg, int sourceUid) { in getNotificationDelegate() argument 1784 PackagePreferences prefs = getPackagePreferencesLocked(sourcePkg, sourceUid); in getNotificationDelegate() 1799 public void setNotificationDelegate(String sourcePkg, int sourceUid, in setNotificationDelegate() argument 1802 PackagePreferences prefs = getOrCreatePackagePreferencesLocked(sourcePkg, sourceUid); in setNotificationDelegate() 1814 public void revokeNotificationDelegate(String sourcePkg, int sourceUid) { in revokeNotificationDelegate() argument 1817 PackagePreferences prefs = getPackagePreferencesLocked(sourcePkg, sourceUid); in revokeNotificationDelegate() 1831 public void toggleNotificationDelegate(String sourcePkg, int sourceUid, boolean userAllowed) { in toggleNotificationDelegate() argument 1834 PackagePreferences prefs = getPackagePreferencesLocked(sourcePkg, sourceUid); in toggleNotificationDelegate() 1849 public boolean isDelegateAllowed(String sourcePkg, int sourceUid, in isDelegateAllowed() argument 1852 PackagePreferences prefs = getPackagePreferencesLocked(sourcePkg, sourceUid); in isDelegateAllowed()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityManagerTest.java | 473 private void sendCommand(int command, String sourcePkg, String targetPkg, Bundle extras) { in sendCommand() argument 475 intent.setClassName(sourcePkg, TEST_CLASS); in sendCommand()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerService.java | 4289 final AndroidPackage sourcePkg = 4295 if (sourcePkg != null && sourcePs != null) { 4392 final AndroidPackage sourcePkg = 4398 if (sourcePkg != null && sourcePs != null) {
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 6999 String sourcePkg, String tag) { in noteWakeupAlarm() argument 7023 mBatteryStatsService.noteWakupAlarm(sourcePkg, sourceUid, workSource, tag); in noteWakeupAlarm() 7028 workSourcePackage = sourcePkg; in noteWakeupAlarm() 7038 sourcePkg, standbyBucket); in noteWakeupAlarm() 7040 Slog.w(TAG, "noteWakeupAlarm[ sourcePkg=" + sourcePkg + ", sourceUid=" + sourceUid in noteWakeupAlarm() 7046 standbyBucket = mUsageStatsService.getAppStandbyBucket(sourcePkg, in noteWakeupAlarm() 7050 null, tag, sourcePkg, standbyBucket); in noteWakeupAlarm() 7052 Slog.w(TAG, "noteWakeupAlarm[ sourcePkg=" + sourcePkg + ", sourceUid=" + sourceUid in noteWakeupAlarm() 15701 String sourcePkg, String tag) { in noteWakeupAlarm() argument 15703 workSource, sourceUid, sourcePkg, tag); in noteWakeupAlarm()
|