Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/permission/
DPermissionControllerService.java93 @PermissionControllerManager.Reason int reason, @NonNull String callerPackageName, in onRevokeRuntimePermissions() argument
202 @NonNull String callerPackageName, @NonNull String packageName, in onSetRuntimePermissionGrantStateByDeviceAdmin()
212 String callerPackageName, RemoteCallback callback) { in onBind()
214 checkNotNull(callerPackageName); in onBind()
232 PackageInfo pkgInfo = getPackageManager().getPackageInfo(callerPackageName, 0); in onBind()
239 doDryRun, reason, callerPackageName, revoked -> { in onBind()
386 public void setRuntimePermissionGrantStateByDeviceAdmin(String callerPackageName, in onBind() argument
389 checkStringNotEmpty(callerPackageName); in onBind()
408 onSetRuntimePermissionGrantStateByDeviceAdmin(callerPackageName, in onBind()
DIPermissionController.aidl31 String callerPackageName, in RemoteCallback callback); in revokeRuntimePermissions() argument
41 void setRuntimePermissionGrantStateByDeviceAdmin(String callerPackageName, String packageName, in setRuntimePermissionGrantStateByDeviceAdmin() argument
DPermissionControllerManager.java298 public void setRuntimePermissionGrantStateByDeviceAdmin(@NonNull String callerPackageName, in setRuntimePermissionGrantStateByDeviceAdmin() argument
302 checkStringNotEmpty(callerPackageName); in setRuntimePermissionGrantStateByDeviceAdmin()
312 mRemoteService, callerPackageName, packageName, permission, grantState, executor, in setRuntimePermissionGrantStateByDeviceAdmin()
860 @NonNull String callerPackageName, @NonNull String packageName, in PendingSetRuntimePermissionGrantStateByDeviceAdmin() argument
865 mCallerPackageName = callerPackageName; in PendingSetRuntimePermissionGrantStateByDeviceAdmin()
/frameworks/base/core/java/android/content/rollback/
DIRollbackManager.aidl30 String callerPackageName, in IntentSender statusReceiver); in commitRollback() argument
/frameworks/base/core/java/android/content/pm/
DIPackageInstaller.aidl51 void uninstall(in VersionedPackage versionedPackage, String callerPackageName, int flags, in uninstall() argument
DIPackageManager.aidl270 void setApplicationCategoryHint(String packageName, int categoryHint, String callerPackageName); in setApplicationCategoryHint() argument
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackManagerServiceImpl.java308 String callerPackageName, IntentSender statusReceiver) { in commitRollback() argument
313 appOps.checkPackage(callingUid, callerPackageName); in commitRollback()
317 callerPackageName, statusReceiver)); in commitRollback()
354 String callerPackageName, IntentSender statusReceiver) { in commitRollbackInternal() argument
368 context = mContext.createPackageContext(callerPackageName, 0); in commitRollbackInternal()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java819 public void uninstall(VersionedPackage versionedPackage, String callerPackageName, int flags, in uninstall() argument
824 mAppOps.checkPackage(callingUid, callerPackageName); in uninstall()
832 dpmi != null && dpmi.canSilentlyInstallPackage(callerPackageName, callingUid); in uninstall()
852 .setAdmin(callerPackageName) in uninstall()
855 ApplicationInfo appInfo = mPm.getApplicationInfo(callerPackageName, 0, userId); in uninstall()
DPackageManagerService.java14101 String callerPackageName) {
14106 callerPackageName);
14115 if (!Objects.equals(callerPackageName, ps.installerPackageName)) {
14116 throw new IllegalArgumentException("Calling package " + callerPackageName
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java555 String callerPackageName, ISessionCallback cb, String tag, Bundle sessionInfo) in createSessionInternal() argument
558 return createSessionLocked(callerPid, callerUid, userId, callerPackageName, cb, in createSessionInternal()
571 String callerPackageName, ISessionCallback cb, String tag, Bundle sessionInfo) { in createSessionLocked() argument
574 Log.w(TAG, "Request from invalid user: " + userId + ", pkg=" + callerPackageName); in createSessionLocked()
579 callerPackageName, cb, tag, sessionInfo, this, mHandler.getLooper()); in createSessionLocked()
590 Log.d(TAG, "Created session for " + callerPackageName + " with tag " + tag); in createSessionLocked()
2141 String callerPackageName = in dispatchMediaKeyEventLocked() local
2143 mediaButtonIntent.putExtra(Intent.EXTRA_PACKAGE_NAME, callerPackageName); in dispatchMediaKeyEventLocked()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1746 int callerUid, String callerPackageName) { in restrictRequestUidsForCallerAndSetRequestorInfo() argument
1750 nc.setRequestorUidAndPackageName(callerUid, callerPackageName); in restrictRequestUidsForCallerAndSetRequestorInfo()
5413 int callerPid, int callerUid, String callerPackageName) { in ensureSufficientPermissionsForRequest() argument
5423 mAppOpsManager.checkPackage(callerUid, callerPackageName); in ensureSufficientPermissionsForRequest()