Home
last modified time | relevance | path

Searched refs:callerPackageName (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/permission/
DPermissionControllerService.java98 @PermissionControllerManager.Reason int reason, @NonNull String callerPackageName, in onRevokeRuntimePermissions() argument
259 @NonNull String callerPackageName, @NonNull String packageName, in onSetRuntimePermissionGrantStateByDeviceAdmin()
281 String callerPackageName, AndroidFuture callback) { in onBind()
283 checkNotNull(callerPackageName); in onBind()
302 PackageInfo pkgInfo = getPackageManager().getPackageInfo(callerPackageName, 0); in onBind()
309 doDryRun, reason, callerPackageName, revoked -> { in onBind()
442 public void setRuntimePermissionGrantStateByDeviceAdmin(String callerPackageName, in onBind() argument
445 checkStringNotEmpty(callerPackageName); in onBind()
466 onSetRuntimePermissionGrantStateByDeviceAdmin(callerPackageName, in onBind()
DIPermissionController.aidl32 String callerPackageName, in AndroidFuture callback); in revokeRuntimePermissions() argument
42 void setRuntimePermissionGrantStateByDeviceAdmin(String callerPackageName, String packageName, in setRuntimePermissionGrantStateByDeviceAdmin() argument
DPermissionControllerManager.java332 public void setRuntimePermissionGrantStateByDeviceAdmin(@NonNull String callerPackageName, in setRuntimePermissionGrantStateByDeviceAdmin() argument
336 checkStringNotEmpty(callerPackageName); in setRuntimePermissionGrantStateByDeviceAdmin()
348 callerPackageName, packageName, permission, grantState, in setRuntimePermissionGrantStateByDeviceAdmin()
/frameworks/base/core/java/android/content/pm/
DIPackageInstaller.aidl51 void uninstall(in VersionedPackage versionedPackage, String callerPackageName, int flags, in uninstall() argument
54 void uninstallExistingPackage(in VersionedPackage versionedPackage, String callerPackageName, in uninstallExistingPackage() argument
DIPackageManager.aidl221 void setApplicationCategoryHint(String packageName, int categoryHint, String callerPackageName); in setApplicationCategoryHint() argument
/frameworks/base/core/java/android/content/rollback/
DIRollbackManager.aidl30 String callerPackageName, in IntentSender statusReceiver); in commitRollback() argument
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackManagerServiceImpl.java344 String callerPackageName, IntentSender statusReceiver) { in commitRollback() argument
349 appOps.checkPackage(callingUid, callerPackageName); in commitRollback()
353 callerPackageName, statusReceiver)); in commitRollback()
393 String callerPackageName, IntentSender statusReceiver) { in commitRollbackInternal() argument
394 Slog.i(TAG, "commitRollback id=" + rollbackId + " caller=" + callerPackageName); in commitRollbackInternal()
403 rollback.commit(mContext, causePackages, callerPackageName, statusReceiver); in commitRollbackInternal()
DRollback.java470 String callerPackageName, IntentSender statusReceiver) { in commit() argument
491 pkgContext = context.createPackageContextAsUser(callerPackageName, 0, in commit()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java922 public void uninstall(VersionedPackage versionedPackage, String callerPackageName, int flags, in uninstall() argument
927 mAppOps.checkPackage(callingUid, callerPackageName); in uninstall()
935 dpmi != null && dpmi.canSilentlyInstallPackage(callerPackageName, callingUid); in uninstall()
955 .setAdmin(callerPackageName) in uninstall()
958 ApplicationInfo appInfo = mPm.getApplicationInfo(callerPackageName, 0, userId); in uninstall()
974 String callerPackageName, IntentSender statusReceiver, int userId) { in uninstallExistingPackage() argument
979 mAppOps.checkPackage(callingUid, callerPackageName); in uninstallExistingPackage()
/frameworks/base/services/core/java/com/android/server/integrity/
DAppIntegrityManagerServiceImpl.java663 String callerPackageName = getCallingRulePusherPackageName(callingUid); in getCallerPackageNameOrThrow() local
664 if (callerPackageName == null) { in getCallerPackageNameOrThrow()
669 return callerPackageName; in getCallerPackageNameOrThrow()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java581 String callerPackageName, ISessionCallback cb, String tag, Bundle sessionInfo) { in createSessionInternal() argument
586 callerUid, callerPackageName); in createSessionInternal()
591 Log.w(TAG, "Request from invalid user: " + userId + ", pkg=" + callerPackageName); in createSessionInternal()
605 callerPackageName, cb, tag, sessionInfo, this, in createSessionInternal()
617 Log.d(TAG, "Created session for " + callerPackageName + " with tag " + tag); in createSessionInternal()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1746 int callerUid, String callerPackageName) { in restrictRequestUidsForCallerAndSetRequestorInfo() argument
1750 nc.setRequestorUidAndPackageName(callerUid, callerPackageName); in restrictRequestUidsForCallerAndSetRequestorInfo()
5432 int callerPid, int callerUid, String callerPackageName) { in ensureSufficientPermissionsForRequest() argument
5442 mAppOpsManager.checkPackage(callerUid, callerPackageName); in ensureSufficientPermissionsForRequest()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java1252 private void enforceCallerIsDream(String callerPackageName) { in enforceCallerIsDream() argument
1255 if (!ActivityRecord.canLaunchDreamActivity(callerPackageName)) { in enforceCallerIsDream()