/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationEnforcer.java | 49 public void assertInternal(int callingUid) { in assertInternal() 65 public void assertApprovedQuerent(int callingUid, @NonNull DomainVerificationProxy proxy) { in assertApprovedQuerent() 91 public void assertApprovedVerifier(int callingUid, @NonNull DomainVerificationProxy proxy) in assertApprovedVerifier() 135 public boolean assertApprovedUserStateQuerent(int callingUid, @UserIdInt int callingUserId, in assertApprovedUserStateQuerent() 156 public boolean assertApprovedUserSelector(int callingUid, @UserIdInt int callingUserId, in assertApprovedUserSelector() 183 public boolean callerIsLegacyUserSelector(int callingUid, @UserIdInt int callingUserId, in callerIsLegacyUserSelector() 208 public boolean callerIsLegacyUserQuerent(int callingUid, @UserIdInt int callingUserId, in callerIsLegacyUserQuerent() 233 public void assertOwnerQuerent(int callingUid, @UserIdInt int callingUserId, in assertOwnerQuerent() 261 boolean filterAppAccess(@NonNull String packageName, int callingUid, @UserIdInt int userId); in filterAppAccess()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ProviderAccessStats.java | 49 private void incrementStats(int callingUid, SparseLongArray stats) { in incrementStats() 62 private void incrementStats(int callingUid, boolean inBatch, in incrementStats() 67 public final void incrementInsertStats(int callingUid, boolean inBatch) { in incrementInsertStats() 71 public final void incrementUpdateStats(int callingUid, boolean inBatch) { in incrementUpdateStats() 75 public final void incrementDeleteStats(int callingUid, boolean inBatch) { in incrementDeleteStats() 79 public final void incrementQueryStats(int callingUid) { in incrementQueryStats() 83 public final void incrementBatchStats(int callingUid) { in incrementBatchStats() 87 public void finishOperation(int callingUid) { in finishOperation()
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | AttributionAndPermissionUtils.h | 125 static AttributionSourceState buildAttributionSource(int callingPid, int callingUid) { in buildAttributionSource() 132 static AttributionSourceState buildAttributionSource(int callingPid, int callingUid, in buildAttributionSource() 139 static AttributionSourceState buildAttributionSource(int callingPid, int callingUid, in buildAttributionSource() 169 bool hasPermissionsForCamera(int callingPid, int callingUid, int32_t deviceId) const { in hasPermissionsForCamera() 173 bool hasPermissionsForCamera(int callingPid, int callingUid, in hasPermissionsForCamera() 180 int callingUid, int32_t deviceId) const { in hasPermissionsForCamera() 186 bool hasPermissionsForCamera(const std::string& cameraId, int callingPid, int callingUid, in hasPermissionsForCamera() 201 int callingUid) const { in hasPermissionsForCameraHeadlessSystemUser() 207 bool hasPermissionsForCameraPrivacyAllowlist(int callingPid, int callingUid) const { in hasPermissionsForCameraPrivacyAllowlist() 213 bool hasPermissionsForOpenCloseListener(int callingPid, int callingUid) const { in hasPermissionsForOpenCloseListener()
|
/frameworks/base/services/core/java/com/android/server/tv/interactive/ |
D | TvInteractiveAppManagerService.java | 808 private int resolveCallingUserId(int callingPid, int callingUid, int requestedUserId, in resolveCallingUserId() 842 IBinder sessionToken, int callingUid, int userId) { in getAdSessionStateLocked() 848 private AdSessionState getAdSessionStateLocked(IBinder sessionToken, int callingUid, in getAdSessionStateLocked() 864 IBinder sessionToken, int callingUid, int userId) { in getAdSessionLocked() 879 private SessionState getSessionStateLocked(IBinder sessionToken, int callingUid, int userId) { in getSessionStateLocked() 885 private SessionState getSessionStateLocked(IBinder sessionToken, int callingUid, in getSessionStateLocked() 901 IBinder sessionToken, int callingUid, int userId) { in getSessionLocked() 977 final int callingUid = Binder.getCallingUid(); in createSession() local 1044 final int callingUid = Binder.getCallingUid(); in releaseSession() local 1059 final int callingUid = Binder.getCallingUid(); in setSurface() local [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ComputerEngine.java | 649 int userId, int callingUid, int callingPid, in queryIntentServicesInternal() 731 int callingUid, String instantAppPkgName) { in queryIntentServicesInternalBody() 1490 final int callingUid = Binder.getCallingUid(); in generatePackageInfo() local 1674 int callingUid) { in getPackageStateInternal() 1682 int callingUid, @UserIdInt int userId) { in getPackageStateFiltered() 1694 final int callingUid = Binder.getCallingUid(); in getInstalledPackages() local 1708 int callingUid) { in getInstalledPackagesBody() 1820 final int callingUid = Binder.getCallingUid(); in getServiceInfo() local 1829 @PackageManager.ResolveInfoFlagsBits long flags, int userId, int callingUid) { in getServiceInfoBody() 1862 public String getInstantAppPackageName(int callingUid) { in getInstantAppPackageName() [all …]
|
D | SuspendPackageHelper.java | 100 @NonNull UserPackage suspendingPackage, @UserIdInt int targetUserId, int callingUid, in setPackagesSuspended() 227 @NonNull String[] packageNames, @UserIdInt int targetUserId, int callingUid) { in getUnsuspendablePackagesForUser() 263 int callingUid) { in getSuspendedPackageAppExtras() 368 @NonNull String packageName, int userId, int callingUid) { in getSuspendedPackageLauncherExtras() 396 int callingUid) { in isPackageSuspended() 413 int userId, int callingUid) { in getSuspendingPackage() 460 int callingUid) { in getSuspendedDialogInfo() 489 boolean isSuspendAllowedForUser(@NonNull Computer snapshot, int userId, int callingUid) { in isSuspendAllowedForUser() 507 int targetUserId, int callingUid) { in canSuspendPackageForUser() 632 int callingUid) { in isCallerDeviceOrProfileOwner()
|
D | Computer.java | 123 int userId, int callingUid, int callingPid, in queryIntentServicesInternal() 201 PackageStateInternal getPackageStateInternal(String packageName, int callingUid); in getPackageStateInternal() 202 PackageStateInternal getPackageStateFiltered(@NonNull String packageName, int callingUid, in getPackageStateFiltered() 209 String getInstantAppPackageName(int callingUid); in getInstantAppPackageName() 214 boolean canViewInstantApps(int callingUid, int userId); in canViewInstantApps() 240 boolean isInstantAppInternal(String packageName, @UserIdInt int userId, int callingUid); in isInstantAppInternal() 242 boolean shouldFilterApplication(@Nullable PackageStateInternal ps, int callingUid, in shouldFilterApplication() 245 boolean shouldFilterApplication(@Nullable PackageStateInternal ps, int callingUid, in shouldFilterApplication() 248 boolean shouldFilterApplication(@Nullable PackageStateInternal ps, int callingUid, in shouldFilterApplication() 250 boolean shouldFilterApplication(@NonNull SharedUserSetting sus, int callingUid, in shouldFilterApplication() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationDelegate.java | 29 void onClearAll(int callingUid, int callingPid, int userId); in onClearAll() 30 void onNotificationClick(int callingUid, int callingPid, String key, in onNotificationClick() 32 void onNotificationActionClick(int callingUid, int callingPid, String key, int actionIndex, in onNotificationActionClick() 34 void onNotificationClear(int callingUid, int callingPid, in onNotificationClear() 39 void onNotificationError(int callingUid, int callingPid, in onNotificationError() 70 int callingUid); in grantInlineReplyUriPermission() 75 void clearInlineReplyUriPermissions(String key, int callingUid); in clearInlineReplyUriPermissions()
|
D | RankingConfig.java | 42 boolean fromTargetApp, int callingUid, boolean isSystemOrSystemUi); in createNotificationChannelGroup() 44 boolean fromTargetApp, boolean hasDndAccess, int callingUid, in createNotificationChannel() 47 boolean fromUser, int callingUid, boolean fromSystemOrSystemUi); in updateNotificationChannel() 54 int callingUid, boolean fromSystemOrSystemUi); in deleteNotificationChannel()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | BackgroundActivityStartControllerExemptionTests.java | 210 int callingUid = REGULAR_UID_1; in testNoExemption() local 246 int callingUid = REGULAR_UID_1; in testCaller_appHasVisibleWindow() local 278 int callingUid = REGULAR_UID_1; in testRealCaller_appHasVisibleWindow() local 317 int callingUid = REGULAR_UID_1; in testCaller_appAllowedByBLPC() local 350 int callingUid = REGULAR_UID_1; in testRealCaller_appAllowedByBLPC() local 392 int callingUid = REGULAR_UID_1; in testRealCaller_appAllowedByBLPCforOtherProcess() local 438 int callingUid = REGULAR_UID_1; in testRealCaller_isCompanionApp() local 471 int callingUid = REGULAR_UID_1; in testCaller_balPermission() local 504 int callingUid = REGULAR_UID_1; in testRealCaller_balPermission() local 539 int callingUid = REGULAR_UID_1; in testCaller_sawPermission() local [all …]
|
D | BackgroundActivityStartControllerTests.java | 235 int callingUid = REGULAR_UID_1; in testRegularActivityStart_noExemption_isBlocked() local 270 int callingUid = REGULAR_UID_1; in testRegularActivityStart_notAllowed_isBlocked() local 305 int callingUid = REGULAR_UID_1; in testRegularActivityStart_allowedByCaller_isAllowed() local 340 int callingUid = REGULAR_UID_1; in testRegularActivityStart_allowedByRealCaller_isAllowed() local 374 int callingUid = REGULAR_UID_1; in testRegularActivityStart_allowedByCallerAndRealCaller_returnsCallerVerdict() local 412 int callingUid = REGULAR_UID_1; in testPendingIntent_allowedByCallerAndRealCallerButOptOut_isBlocked() local 451 int callingUid = REGULAR_UID_1; in testPendingIntent_allowedByCallerAndOptIn_isAllowed() local 488 int callingUid = REGULAR_UID_1; in testPendingIntent_allowedByRealCallerAndOptIn_isAllowed() local 524 int callingUid = REGULAR_UID_1; in testBalState_regularStart_isAutoOptIn() local 589 int callingUid = REGULAR_UID_1; in testBalState_pendingIntentForResult_isOptedInForSenderOnly() local [all …]
|
/frameworks/base/services/core/java/com/android/server/uri/ |
D | UriGrantsManagerInternal.java | 38 void revokeUriPermission(String targetPackage, int callingUid, in revokeUriPermission() 53 int callingUid, String targetPkg, Uri uri, int modeFlags, int userId); in checkGrantUriPermission() 63 NeededUriGrants checkGrantUriPermissionFromIntent(Intent intent, int callingUid, in checkGrantUriPermissionFromIntent() 71 NeededUriGrants checkGrantUriPermissionFromIntent(Intent intent, int callingUid, in checkGrantUriPermissionFromIntent() 144 int callingUid, ProviderInfo cpi, int userId, boolean checkUser); in checkAuthorityGrants()
|
D | UriGrantsManagerService.java | 298 final int callingUid = Binder.getCallingUid(); in getUriPermissions() local 547 private boolean checkAuthorityGrantsLocked(int callingUid, ProviderInfo cpi, int userId, in checkAuthorityGrantsLocked() 614 private NeededUriGrants checkGrantUriPermissionFromIntentUnlocked(int callingUid, in checkGrantUriPermissionFromIntentUnlocked() 742 int contentUserHint, int mode, int callingUid, in enforceRequireContentUriPermissionFromCallerOnIntentExtraStream() 907 private void grantUriPermissionUnlocked(int callingUid, String targetPkg, GrantUri grantUri, in grantUriPermissionUnlocked() 924 private void revokeUriPermission(String targetPackage, int callingUid, GrantUri grantUri, in revokeUriPermission() 946 private void revokeUriPermissionLocked(String targetPackage, int callingUid, GrantUri grantUri, in revokeUriPermissionLocked() 1175 int callingUid) { in getProviderInfo() 1189 private int checkGrantUriPermissionUnlocked(int callingUid, String targetPkg, GrantUri grantUri, in checkGrantUriPermissionUnlocked() 1430 private int checkGrantUriPermissionUnlocked(int callingUid, String targetPkg, Uri uri, in checkGrantUriPermissionUnlocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerServiceImpl.java | 520 final int callingUid = Binder.getCallingUid(); in getAllPermissionGroups() local 542 final int callingUid = Binder.getCallingUid(); in getPermissionGroupInfo() local 570 final int callingUid = Binder.getCallingUid(); in getPermissionInfo() local 613 final int callingUid = Binder.getCallingUid(); in queryPermissionsByGroup() local 645 final int callingUid = Binder.getCallingUid(); in addPermission() local 679 final int callingUid = Binder.getCallingUid(); in removePermission() local 703 final int callingUid = Binder.getCallingUid(); in getPermissionFlags() local 708 String packageName, String permName, int callingUid, int userId) { in getPermissionFlagsInternal() 746 final int callingUid = Binder.getCallingUid(); in updatePermissionFlags() local 774 int flagValues, int callingUid, int userId, boolean overridePolicy, in updatePermissionFlagsInternal() [all …]
|
D | LegacyPermissionManagerService.java | 196 int callingUid = mInjector.getCallingUid(); in verifyCallerCanCheckAccess() local 265 final int callingUid = Binder.getCallingUid(); in grantDefaultPermissionsToActiveLuiApp() local 274 final int callingUid = Binder.getCallingUid(); in revokeDefaultPermissionsFromLuiApps() local 283 final int callingUid = Binder.getCallingUid(); in grantDefaultPermissionsToEnabledImsServices() local 293 final int callingUid = Binder.getCallingUid(); in grantDefaultPermissionsToEnabledTelephonyDataServices() local 303 final int callingUid = Binder.getCallingUid(); in revokeDefaultPermissionsFromDisabledTelephonyDataServices() local 313 final int callingUid = Binder.getCallingUid(); in grantDefaultPermissionsToEnabledCarrierApps() local 327 final int callingUid = Binder.getCallingUid(); in resetRuntimePermissions() local
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | AmbientDisplaySuppressionController.java | 70 public void suppress(@NonNull String token, int callingUid, boolean suppress) { in suppress() 100 List<String> getSuppressionTokens(int callingUid) { in getSuppressionTokens() 118 public boolean isSuppressed(@NonNull String token, int callingUid) { in isSuppressed()
|
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/ |
D | BlobStoreManagerService.java | 349 int callingUid, String callingPackage) { in createSessionInternal() 372 int callingUid, String callingPackage) { in openSessionInternal() 387 int callingUid, String callingPackage) { in abandonSessionInternal() 401 private ParcelFileDescriptor openBlobInternal(BlobHandle blobHandle, int callingUid, in openBlobInternal() 454 int callingUid, String callingPackage) { in acquireLeaseInternal() 515 long getTotalUsageBytesLocked(int callingUid, String callingPackage) { in getTotalUsageBytesLocked() 525 private void releaseLeaseInternal(BlobHandle blobHandle, int callingUid, in releaseLeaseInternal() 559 private void releaseAllLeasesInternal(int callingUid, String callingPackage) { in releaseAllLeasesInternal() 574 private long getRemainingLeaseQuotaBytesInternal(int callingUid, String callingPackage) { in getRemainingLeaseQuotaBytesInternal() 638 private List<BlobHandle> getLeasedBlobsInternal(int callingUid, in getLeasedBlobsInternal() [all …]
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 723 private SessionState getSessionStateLocked(IBinder sessionToken, int callingUid, int userId) { in getSessionStateLocked() 730 int callingUid, UserState userState) { in getSessionStateLocked() 744 private ITvInputSession getSessionLocked(IBinder sessionToken, int callingUid, int userId) { in getSessionLocked() 758 private int resolveCallingUserId(int callingPid, int callingUid, int requestedUserId, in resolveCallingUserId() 873 private SessionState releaseSessionLocked(IBinder sessionToken, int callingUid, int userId) { in releaseSessionLocked() 957 private void setMainLocked(IBinder sessionToken, boolean isMain, int callingUid, int userId) { in setMainLocked() 1272 final int callingUid = Binder.getCallingUid(); in getAvailableExtensionInterfaceNames() local 1318 final int callingUid = Binder.getCallingUid(); in getExtensionInterface() local 1424 int callingUid = Binder.getCallingUid(); in registerCallback() local 1573 final int callingUid = Binder.getCallingUid(); in createSession() local [all …]
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 433 final int callingUid = Binder.getCallingUid(); in notifyChange() local 612 final int callingUid = Binder.getCallingUid(); in requestSync() local 669 final int callingUid = Binder.getCallingUid(); in syncAsUser() local 702 request.getAccount(), userId, callingUid, request.getProvider(), extras, in syncAsUser() local 704 syncExemption, callingUid, callingPid, callingPackage); in syncAsUser() local 772 final int callingUid = Binder.getCallingUid(); in cancelRequest() local 821 final int callingUid = Binder.getCallingUid(); in getSyncAdapterTypesAsUser() local 837 final int callingUid = Binder.getCallingUid(); in getSyncAdapterPackagesForAuthorityAsUser() local 854 final int callingUid = Binder.getCallingUid(); in getSyncAdapterPackageAsUser() local 880 final int callingUid = Binder.getCallingUid(); in getSyncAutomaticallyAsUser() local [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SafeActivityOptions.java | 90 static SafeActivityOptions fromBundle(Bundle bOptions, int callingPid, int callingUid) { in fromBundle() 115 private SafeActivityOptions(@Nullable ActivityOptions options, int callingPid, int callingUid) { in SafeActivityOptions() 209 int callingPid, int callingUid) { in setCallingPidUidForRemoteAnimationAdapter() 272 ActivityOptions options, int callingPid, int callingUid) { in checkPermissions() 441 private boolean isAssistant(ActivityTaskManagerService atmService, int callingUid) { in isAssistant() 461 private boolean isSystemOrSystemUI(int callingPid, int callingUid) { in isSystemOrSystemUI()
|
D | KeyguardDisableHandler.java | 72 void disableKeyguard(IBinder token, String tag, int callingUid, int userId) { in disableKeyguard() 77 void reenableKeyguard(IBinder token, int callingUid, int userId) { in reenableKeyguard() 82 private UserTokenWatcher watcherForCallingUid(IBinder token, int callingUid) { in watcherForCallingUid()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/permission/ |
D | LegacyPermissionManagerServiceTest.java | 381 private void setupCheckDeviceIdentifierAccessTest(int callingPid, int callingUid) { in setupCheckDeviceIdentifierAccessTest() 394 public void setupCheckDeviceIdentifierAccessTest(int callingPid, int callingUid, in setupCheckDeviceIdentifierAccessTest() 409 private void setupCheckPhoneNumberAccessTest(int callingPid, int callingUid) throws Exception { in setupCheckPhoneNumberAccessTest() 422 private void setupCheckPhoneNumberAccessTest(int callingPid, int callingUid, int packageUid) in setupCheckPhoneNumberAccessTest() 432 private void setupAccessTest(int callingPid, int callingUid, int packageUid) { in setupAccessTest()
|
/frameworks/native/cmds/dumpstate/binder/android/os/ |
D | IDumpstate.aidl | 96 void startBugreport(int callingUid, @utf8InCpp String callingPackage, in startBugreport() 112 void cancelBugreport(int callingUid, @utf8InCpp String callingPackage); in cancelBugreport() 130 void retrieveBugreport(int callingUid, @utf8InCpp String callingPackage, int userId, in retrieveBugreport()
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/proxy/ |
D | DomainVerificationProxyV1.java | 99 int verificationCode, @Nullable List<String> failedDomains, int callingUid) { in queueLegacyVerifyResult() 207 int callingUid = response.callingUid; in runMessage() local 239 public boolean isCallerVerifier(int callingUid) { in isCallerVerifier() 316 public final int callingUid; field in DomainVerificationProxyV1.Response 322 private Response(int callingUid, int verificationId, int verificationCode, in Response()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 710 private boolean sameApp(int callingUid, @UserIdInt int userId, String packageName) { in sameApp() 719 private boolean shouldObfuscateInstantAppsForCaller(int callingUid, int userId) { in shouldObfuscateInstantAppsForCaller() 724 int callingPid, int callingUid) { in shouldHideShortcutInvocationEvents() 733 private boolean shouldHideLocusIdEvents(int callingPid, int callingUid) { in shouldHideLocusIdEvents() 747 private boolean shouldObfuscateNotificationEvents(int callingPid, int callingUid) { in shouldObfuscateNotificationEvents() 2211 final int callingUid = Binder.getCallingUid(); in hasQueryPermission() local 2237 final int callingUid = Binder.getCallingUid(); in hasObserverPermission() local 2252 final int callingUid = Binder.getCallingUid(); in hasPermissions() local 2275 final int callingUid = Binder.getCallingUid(); in checkCallerIsSameApp() local 2292 final int callingUid = Binder.getCallingUid(); in queryEventsHelper() local [all …]
|