Home
last modified time | relevance | path

Searched refs:sourcePkg (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/java/com/android/server/uri/
DUriPermission.java49 final String sourcePkg; field in UriPermission
89 UriPermission(String sourcePkg, String targetPkg, int targetUid, GrantUri uri) { in UriPermission() argument
91 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()
DUriGrantsManagerService.java256 if (packageName.equals(perm.sourcePkg) in getUriPermissions()
437 if (packageName == null || (!targetOnly && perm.sourcePkg.equals(packageName)) in removeUriPermissionsForPackage()
654 final String sourcePkg = in.getAttributeValue(null, ATTR_SOURCE_PKG); in readGrantedUriPermissions() local
666 if (pi != null && sourcePkg.equals(pi.packageName)) { in readGrantedUriPermissions()
675 sourcePkg, targetPkg, targetUid, in readGrantedUriPermissions()
680 Slog.w(TAG, "Persisted grant for " + uri + " had source " + sourcePkg in readGrantedUriPermissions()
697 private UriPermission findOrCreateUriPermission(String sourcePkg, in findOrCreateUriPermission() argument
707 perm = new UriPermission(sourcePkg, targetPkg, targetUid, grantUri); in findOrCreateUriPermission()
1259 out.attribute(null, ATTR_SOURCE_PKG, perm.sourcePkg); in writeGrantedUriPermissions()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DBackgroundJobsController.java85 final String sourcePkg = jobStatus.getSourcePackageName(); in dumpControllerStateLocked()
96 pw.print(sourcePkg); in dumpControllerStateLocked()
99 pw.print(mAppStateTracker.isRunAnyInBackgroundAppOpsAllowed(uid, sourcePkg) in dumpControllerStateLocked()
128 final String sourcePkg = jobStatus.getSourcePackageName(); in dumpControllerStateLocked()
129 proto.write(TrackedJob.SOURCE_PACKAGE_NAME, sourcePkg); in dumpControllerStateLocked()
140 sourceUid, sourcePkg)); in dumpControllerStateLocked()
DJobStatus.java509 public static JobStatus createFromJobInfo(JobInfo job, int callingUid, String sourcePkg, in createFromJobInfo() argument
527 String jobPackage = (sourcePkg != null) ? sourcePkg : job.getService().getPackageName(); in createFromJobInfo()
535 return new JobStatus(job, callingUid, resolveTargetSdkVersion(job), sourcePkg, sourceUserId, in createFromJobInfo()
/frameworks/base/core/java/android/app/
DActivityManagerNative.java81 static public void noteWakeupAlarm(PendingIntent ps, int sourceUid, String sourcePkg, in noteWakeupAlarm() argument
83 ActivityManager.noteWakeupAlarm(ps, null, sourceUid, sourcePkg, tag); in noteWakeupAlarm()
DIActivityManager.aidl225 in String sourcePkg, in String tag); in noteWakeupAlarm() argument
DActivityManager.java4004 String sourcePkg, String tag) {
4007 sourceUid, sourcePkg, tag);
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java1314 public @Nullable String getNotificationDelegate(String sourcePkg, int sourceUid) { in getNotificationDelegate() argument
1316 PackagePreferences prefs = getPackagePreferencesLocked(sourcePkg, sourceUid); in getNotificationDelegate()
1331 public void setNotificationDelegate(String sourcePkg, int sourceUid, in setNotificationDelegate() argument
1334 PackagePreferences prefs = getOrCreatePackagePreferencesLocked(sourcePkg, sourceUid); in setNotificationDelegate()
1346 public void revokeNotificationDelegate(String sourcePkg, int sourceUid) { in revokeNotificationDelegate() argument
1349 PackagePreferences prefs = getPackagePreferencesLocked(sourcePkg, sourceUid); in revokeNotificationDelegate()
1363 public void toggleNotificationDelegate(String sourcePkg, int sourceUid, boolean userAllowed) { in toggleNotificationDelegate() argument
1366 PackagePreferences prefs = getPackagePreferencesLocked(sourcePkg, sourceUid); in toggleNotificationDelegate()
1381 public boolean isDelegateAllowed(String sourcePkg, int sourceUid, in isDelegateAllowed() argument
1384 PackagePreferences prefs = getPackagePreferencesLocked(sourcePkg, sourceUid); in isDelegateAllowed()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java2667 final PackageParser.Package sourcePkg = in updatePermissions() local
2670 if (sourcePkg != null && sourcePkg.mExtras != null) { in updatePermissions()
2671 final PackageSetting sourcePs = (PackageSetting) sourcePkg.mExtras; in updatePermissions()
2711 final PackageParser.Package sourcePkg = in updatePermissionTrees() local
2714 if (sourcePkg != null && sourcePkg.mExtras != null) { in updatePermissionTrees()
2715 final PackageSetting sourcePs = (PackageSetting) sourcePkg.mExtras; in updatePermissionTrees()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java8529 String sourcePkg, String tag) { in noteWakeupAlarm() argument
8553 mBatteryStatsService.noteWakupAlarm(sourcePkg, sourceUid, workSource, tag); in noteWakeupAlarm()
8558 workSourcePackage = sourcePkg; in noteWakeupAlarm()
8567 StatsLog.write(StatsLog.WAKEUP_ALARM_OCCURRED, workSource, tag, sourcePkg, in noteWakeupAlarm()
8570 Slog.w(TAG, "noteWakeupAlarm[ sourcePkg=" + sourcePkg + ", sourceUid=" + sourceUid in noteWakeupAlarm()
8576 standbyBucket = mUsageStatsService.getAppStandbyBucket(sourcePkg, in noteWakeupAlarm()
8580 sourcePkg, standbyBucket); in noteWakeupAlarm()
8582 Slog.w(TAG, "noteWakeupAlarm[ sourcePkg=" + sourcePkg + ", sourceUid=" + sourceUid in noteWakeupAlarm()