Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/color/
DColorDisplayShellCommand.java73 final String callerPackageName = getPackageName(); in setLayerSaturation() local
74 if (callerPackageName == null) { in setLayerSaturation()
83 mService.setAppSaturationLevelInternal(callerPackageName, targetPackageName, level); in setLayerSaturation()
/frameworks/base/core/java/android/permission/
DPermissionControllerService.java110 @PermissionControllerManager.Reason int reason, @NonNull String callerPackageName, in onRevokeRuntimePermissions() argument
274 @NonNull String callerPackageName, @NonNull String packageName, in onSetRuntimePermissionGrantStateByDeviceAdmin()
287 @NonNull String callerPackageName, @NonNull AdminPermissionControlParams params, in onSetRuntimePermissionGrantStateByDeviceAdmin()
349 String callerPackageName, AndroidFuture callback) { in onBind()
351 checkNotNull(callerPackageName); in onBind()
370 PackageInfo pkgInfo = getPackageManager().getPackageInfo(callerPackageName, 0); in onBind()
377 doDryRun, reason, callerPackageName, revoked -> { in onBind()
511 String callerPackageName, AdminPermissionControlParams params, in onBind() argument
513 checkStringNotEmpty(callerPackageName); in onBind()
528 onSetRuntimePermissionGrantStateByDeviceAdmin(callerPackageName, in onBind()
DIPermissionController.aidl33 String callerPackageName, in AndroidFuture callback); in revokeRuntimePermissions() argument
43 void setRuntimePermissionGrantStateByDeviceAdminFromParams(String callerPackageName, in setRuntimePermissionGrantStateByDeviceAdminFromParams() argument
DPermissionControllerManager.java336 public void setRuntimePermissionGrantStateByDeviceAdmin(@NonNull String callerPackageName, in setRuntimePermissionGrantStateByDeviceAdmin() argument
340 checkStringNotEmpty(callerPackageName); in setRuntimePermissionGrantStateByDeviceAdmin()
348 callerPackageName, params, in setRuntimePermissionGrantStateByDeviceAdmin()
357 + callerPackageName, err); in setRuntimePermissionGrantStateByDeviceAdmin()
/frameworks/base/core/java/android/content/pm/
DIPackageInstaller.aidl52 void uninstall(in VersionedPackage versionedPackage, String callerPackageName, int flags, in uninstall() argument
55 void uninstallExistingPackage(in VersionedPackage versionedPackage, String callerPackageName, in uninstallExistingPackage() argument
DIPackageManager.aidl228 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/apex/appsearch/service/java/com/android/server/appsearch/visibilitystore/
DVisibilityStoreImpl.java256 public boolean doesCallerHaveSystemAccess(@NonNull String callerPackageName) { in doesCallerHaveSystemAccess() argument
257 Objects.requireNonNull(callerPackageName); in doesCallerHaveSystemAccess()
259 .checkPermission(READ_GLOBAL_APP_SEARCH_DATA, callerPackageName) in doesCallerHaveSystemAccess()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackManagerServiceImpl.java404 String callerPackageName, IntentSender statusReceiver) {
410 appOps.checkPackage(callingUid, callerPackageName);
414 callerPackageName, statusReceiver));
452 String callerPackageName, IntentSender statusReceiver) {
454 Slog.i(TAG, "commitRollback id=" + rollbackId + " caller=" + callerPackageName);
463 rollback.commit(mContext, causePackages, callerPackageName, statusReceiver);
DRollback.java499 String callerPackageName, IntentSender statusReceiver) { in commit() argument
520 pkgContext = context.createPackageContextAsUser(callerPackageName, 0, in commit()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java1002 public void uninstall(VersionedPackage versionedPackage, String callerPackageName, int flags, in uninstall() argument
1007 mAppOps.checkPackage(callingUid, callerPackageName); in uninstall()
1015 dpmi != null && dpmi.canSilentlyInstallPackage(callerPackageName, callingUid); in uninstall()
1035 .setAdmin(callerPackageName) in uninstall()
1038 ApplicationInfo appInfo = mPm.getApplicationInfo(callerPackageName, 0, userId); in uninstall()
1054 String callerPackageName, IntentSender statusReceiver, int userId) { in uninstallExistingPackage() argument
1059 mAppOps.checkPackage(callingUid, callerPackageName); in uninstallExistingPackage()
DPackageManagerService.java17244 String callerPackageName) { in setApplicationCategoryHint() argument
17249 callerPackageName); in setApplicationCategoryHint() local
17256 if (!Objects.equals(callerPackageName, ps.installSource.installerPackageName)) { in setApplicationCategoryHint()
17257 throw new IllegalArgumentException("Calling package " + callerPackageName in setApplicationCategoryHint()
/frameworks/base/services/core/java/com/android/server/integrity/
DAppIntegrityManagerServiceImpl.java667 String callerPackageName = getCallingRulePusherPackageName(callingUid); in getCallerPackageNameOrThrow() local
668 if (callerPackageName == null) { in getCallerPackageNameOrThrow()
673 return callerPackageName; in getCallerPackageNameOrThrow()
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/
DAppSearchImpl.java905 @NonNull String callerPackageName, in globalQuery() argument
915 new SearchStats.Builder(SearchStats.VISIBILITY_SCOPE_GLOBAL, callerPackageName); in globalQuery()
962 if (packageName.equals(callerPackageName)) { in globalQuery()
991 addNextPageToken(callerPackageName, searchResultPage.getNextPageToken()); in globalQuery()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java668 String callerPackageName, ISessionCallback cb, String tag, Bundle sessionInfo) { in createSessionInternal() argument
673 callerUid, callerPackageName); in createSessionInternal()
678 Log.w(TAG, "Request from invalid user: " + userId + ", pkg=" + callerPackageName); in createSessionInternal()
692 callerPackageName, cb, tag, sessionInfo, this, in createSessionInternal()
704 Log.d(TAG, "Created session for " + callerPackageName + " with tag " + tag); in createSessionInternal()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java1353 private void enforceCallerIsDream(String callerPackageName) { in enforceCallerIsDream() argument
1356 if (!ActivityRecord.canLaunchDreamActivity(callerPackageName)) { in enforceCallerIsDream()