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.java86 static public void noteWakeupAlarm(PendingIntent ps, int sourceUid, String sourcePkg, in noteWakeupAlarm() argument
88 ActivityManager.noteWakeupAlarm(ps, null, sourceUid, sourcePkg, tag); in noteWakeupAlarm()
DIActivityManager.aidl237 in String sourcePkg, in String tag); in noteWakeupAlarm() argument
DActivityManager.java4033 String sourcePkg, String tag) {
4036 sourceUid, sourcePkg, tag);
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java1330 public @Nullable String getNotificationDelegate(String sourcePkg, int sourceUid) { in getNotificationDelegate() argument
1332 PackagePreferences prefs = getPackagePreferencesLocked(sourcePkg, sourceUid); in getNotificationDelegate()
1347 public void setNotificationDelegate(String sourcePkg, int sourceUid, in setNotificationDelegate() argument
1350 PackagePreferences prefs = getOrCreatePackagePreferencesLocked(sourcePkg, sourceUid); in setNotificationDelegate()
1362 public void revokeNotificationDelegate(String sourcePkg, int sourceUid) { in revokeNotificationDelegate() argument
1365 PackagePreferences prefs = getPackagePreferencesLocked(sourcePkg, sourceUid); in revokeNotificationDelegate()
1379 public void toggleNotificationDelegate(String sourcePkg, int sourceUid, boolean userAllowed) { in toggleNotificationDelegate() argument
1382 PackagePreferences prefs = getPackagePreferencesLocked(sourcePkg, sourceUid); in toggleNotificationDelegate()
1397 public boolean isDelegateAllowed(String sourcePkg, int sourceUid, in isDelegateAllowed() argument
1400 PackagePreferences prefs = getPackagePreferencesLocked(sourcePkg, sourceUid); in isDelegateAllowed()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java2734 final PackageParser.Package sourcePkg = in updatePermissions() local
2737 if (sourcePkg != null && sourcePkg.mExtras != null) { in updatePermissions()
2738 final PackageSetting sourcePs = (PackageSetting) sourcePkg.mExtras; in updatePermissions()
2778 final PackageParser.Package sourcePkg = in updatePermissionTrees() local
2781 if (sourcePkg != null && sourcePkg.mExtras != null) { in updatePermissionTrees()
2782 final PackageSetting sourcePs = (PackageSetting) sourcePkg.mExtras; in updatePermissionTrees()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java8568 String sourcePkg, String tag) { in noteWakeupAlarm() argument
8592 mBatteryStatsService.noteWakupAlarm(sourcePkg, sourceUid, workSource, tag); in noteWakeupAlarm()
8597 workSourcePackage = sourcePkg; in noteWakeupAlarm()
8606 StatsLog.write(StatsLog.WAKEUP_ALARM_OCCURRED, workSource, tag, sourcePkg, in noteWakeupAlarm()
8609 Slog.w(TAG, "noteWakeupAlarm[ sourcePkg=" + sourcePkg + ", sourceUid=" + sourceUid in noteWakeupAlarm()
8615 standbyBucket = mUsageStatsService.getAppStandbyBucket(sourcePkg, in noteWakeupAlarm()
8619 sourcePkg, standbyBucket); in noteWakeupAlarm()
8621 Slog.w(TAG, "noteWakeupAlarm[ sourcePkg=" + sourcePkg + ", sourceUid=" + sourceUid in noteWakeupAlarm()