/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/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerServiceInternal.java | 74 int callingUid, int userId, @Nullable PermissionCallback callback); in grantRuntimePermission() 76 @NonNull PackageParser.Package pkg, int callingUid, in grantRuntimePermissionsGrantedToDisabledPackage() 80 @NonNull String[] grantedPermissions, int callingUid, in grantRequestedRuntimePermissions() 87 @NonNull List<String> permissions, int callingUid, in setWhitelistedRestrictedPermissions() 126 int callingUid, @Nullable PermissionCallback callback); in addDynamicPermission() 127 public abstract void removeDynamicPermission(@NonNull String permName, int callingUid, in removeDynamicPermission() 133 @NonNull String packageName, int callingUid, int userId); in getPermissionFlags() 138 @NonNull String groupName, int flags, int callingUid); in getPermissionGroupInfo() 143 int callingUid); in getAllPermissionGroups() 148 @NonNull String packageName, @PermissionInfoFlags int flags, int callingUid); in getPermissionInfo() [all …]
|
D | PermissionManagerService.java | 296 private int checkPermission(String permName, String pkgName, int callingUid, int userId) { in checkPermission() 330 int callingUid) { in checkUidPermission() 495 int callingUid) { in getPermissionGroupInfo() 505 private List<PermissionGroupInfo> getAllPermissionGroups(int flags, int callingUid) { in getAllPermissionGroups() 521 int callingUid) { in getPermissionInfo() 538 String groupName, int flags, int callingUid) { in getPermissionInfoByGroup() 803 PermissionInfo info, int callingUid, PermissionCallback callback) { in addDynamicPermission() 837 String permName, int callingUid, PermissionCallback callback) { in removeDynamicPermission() 1948 PackageParser.Package pkg, int callingUid, PermissionCallback callback) { in grantRuntimePermissionsGrantedToDisabledPackageLocked() 1981 String[] grantedPermissions, int callingUid, PermissionCallback callback) { in grantRequestedRuntimePermissions() [all …]
|
/frameworks/base/services/core/java/com/android/server/uri/ |
D | UriGrantsManagerInternal.java | 35 void grantUriPermission(int callingUid, String targetPkg, GrantUri grantUri, in grantUriPermission() 37 void revokeUriPermission(String targetPackage, int callingUid, in revokeUriPermission() 40 int checkGrantUriPermission(int callingUid, String targetPkg, GrantUri grantUri, in checkGrantUriPermission() 43 int callingUid, String targetPkg, Uri uri, int modeFlags, int userId); in checkGrantUriPermission() 44 NeededUriGrants checkGrantUriPermissionFromIntent(int callingUid, in checkGrantUriPermissionFromIntent() 50 void grantUriPermissionFromIntent(int callingUid, in grantUriPermissionFromIntent() 52 void grantUriPermissionFromIntent(int callingUid, in grantUriPermissionFromIntent() 77 int callingUid, ProviderInfo cpi, int userId, boolean checkUser); in checkAuthorityGrants()
|
D | UriGrantsManagerService.java | 219 final int callingUid = Binder.getCallingUid(); in getUriPermissions() local 470 boolean checkAuthorityGrants(int callingUid, ProviderInfo cpi, int userId, boolean checkUser) { in checkAuthorityGrants() 535 NeededUriGrants checkGrantUriPermissionFromIntent(int callingUid, in checkGrantUriPermissionFromIntent() 615 void grantUriPermissionFromIntent(int callingUid, in grantUriPermissionFromIntent() 754 void grantUriPermission(int callingUid, String targetPkg, GrantUri grantUri, in grantUriPermission() 775 void revokeUriPermission(String targetPackage, int callingUid, GrantUri grantUri, in revokeUriPermission() 1013 int checkGrantUriPermission(int callingUid, String targetPkg, GrantUri grantUri, in checkGrantUriPermission() 1190 int checkGrantUriPermission(int callingUid, String targetPkg, Uri uri, int modeFlags, in checkGrantUriPermission() 1314 public void grantUriPermission(int callingUid, String targetPkg, GrantUri grantUri, in grantUriPermission() 1323 public void revokeUriPermission(String targetPackage, int callingUid, GrantUri grantUri, in revokeUriPermission() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationDelegate.java | 26 void onClearAll(int callingUid, int callingPid, int userId); in onClearAll() 27 void onNotificationClick(int callingUid, int callingPid, String key, in onNotificationClick() 29 void onNotificationActionClick(int callingUid, int callingPid, String key, int actionIndex, in onNotificationActionClick() 31 void onNotificationClear(int callingUid, int callingPid, in onNotificationClear() 36 void onNotificationError(int callingUid, int callingPid, in onNotificationError()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 525 private SessionState getSessionStateLocked(IBinder sessionToken, int callingUid, int userId) { in getSessionStateLocked() 539 private ITvInputSession getSessionLocked(IBinder sessionToken, int callingUid, int userId) { in getSessionLocked() 552 private int resolveCallingUserId(int callingPid, int callingUid, int requestedUserId, in resolveCallingUserId() 670 private void releaseSessionLocked(IBinder sessionToken, int callingUid, int userId) { in releaseSessionLocked() 732 private void setMainLocked(IBinder sessionToken, boolean isMain, int callingUid, int userId) { in setMainLocked() 1160 final int callingUid = Binder.getCallingUid(); in createSession() local 1223 final int callingUid = Binder.getCallingUid(); in releaseSession() local 1247 final int callingUid = Binder.getCallingUid(); in setMainSession() local 1279 final int callingUid = Binder.getCallingUid(); in setSurface() local 1310 final int callingUid = Binder.getCallingUid(); in dispatchSurfaceChanged() local [all …]
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 349 private boolean shouldObfuscateInstantAppsForCaller(int callingUid, int userId) { in shouldObfuscateInstantAppsForCaller() 921 final int callingUid = Binder.getCallingUid(); in hasPermission() local 937 final int callingUid = Binder.getCallingUid(); in hasObserverPermission() local 951 final int callingUid = Binder.getCallingUid(); in hasPermissions() local 974 final int callingUid = Binder.getCallingUid(); in checkCallerIsSameApp() local 1079 final int callingUid = Binder.getCallingUid(); in queryEventsForPackage() local 1163 final int callingUid = Binder.getCallingUid(); in setAppInactive() local 1185 final int callingUid = Binder.getCallingUid(); in getAppStandbyBucket() local 1226 final int callingUid = Binder.getCallingUid(); in setAppStandbyBucket() local 1263 final int callingUid = Binder.getCallingUid(); in getAppStandbyBuckets() local [all …]
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsObservers.java | 79 IBinder binder, int callingUid, @NetworkStatsAccess.Level int accessLevel) { in register() 94 public void unregister(DataUsageRequest request, int callingUid) { in unregister() 169 private void handleUnregister(DataUsageRequest request, int callingUid) { in handleUnregister() 210 Messenger messenger, IBinder binder, int callingUid, in buildRequestInfo() 238 Messenger messenger, IBinder binder, int callingUid, in RequestInfo() 333 Messenger messenger, IBinder binder, int callingUid, in NetworkUsageRequestInfo() 375 Messenger messenger, IBinder binder, int callingUid, in UserUsageRequestInfo()
|
D | NetworkStatsAccess.java | 106 Context context, int callingUid, String callingPackage) { in checkAccessLevel() 172 Context context, int callingUid, String callingPackage) { in hasAppOpsPermission()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
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()
|
D | AppTaskImpl.java | 44 public AppTaskImpl(ActivityTaskManagerService service, int taskId, int callingUid) { in AppTaskImpl() 99 final int callingUid = Binder.getCallingUid(); in moveToFront() local
|
/frameworks/base/services/restrictions/java/com/android/server/restrictions/ |
D | RestrictionsManagerService.java | 97 int callingUid = Binder.getCallingUid(); in requestPermission() local 163 int callingUid = Binder.getCallingUid(); in notifyPermissionResponse() local 187 private void enforceCallerMatchesPackage(int callingUid, String packageName, in enforceCallerMatchesPackage()
|
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutServiceInternal.java | 49 int userId, int callingPid, int callingUid); in getShortcuts() 62 int callingPid, int callingUid); in createShortcutIntents() 74 @NonNull String callingPackage, int callingPid, int callingUid); in hasShortcutHostPermission() 86 int callingUid); in isForegroundDefaultLauncher()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerServiceImpl.java | 219 public int startVoiceActivityLocked(int callingPid, int callingUid, IBinder token, in startVoiceActivityLocked() 241 public int startAssistantActivityLocked(int callingPid, int callingUid, IBinder token, in startAssistantActivityLocked() 346 public void setDisabledShowContextLocked(int callingUid, int flags) { in setDisabledShowContextLocked() 355 public int getDisabledShowContextLocked(int callingUid) { in getDisabledShowContextLocked() 364 public int getUserDisabledShowContextLocked(int callingUid) { in getUserDisabledShowContextLocked()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ScanRequestProxy.java | 359 int callingUid, String packageName) { in getOrCreateScanRequestTimestampsForForegroundApp() 377 int callingUid, String packageName) { in shouldScanRequestBeThrottledForForegroundApp() 409 private boolean isRequestFromBackground(int callingUid, String packageName) { in isRequestFromBackground() 424 private boolean shouldScanRequestBeThrottledForApp(int callingUid, String packageName) { in shouldScanRequestBeThrottledForApp() 455 public boolean startScan(int callingUid, String packageName) { in startScan()
|
/frameworks/base/services/core/java/com/android/server/search/ |
D | Searchables.java | 467 final int callingUid = Binder.getCallingUid(); in createFilterdSearchableInfoList() local 483 final int callingUid = Binder.getCallingUid(); in createFilterdResolveInfoList() local 499 final int callingUid = Binder.getCallingUid(); in getGlobalSearchActivity() local 513 final int callingUid = Binder.getCallingUid(); in getWebSearchActivity() local
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerServiceImpl.java | 508 final int callingUid = Binder.getCallingUid(); in assertCallerLocked() local 857 FillEventHistory getFillEventHistory(int callingUid) { in getFillEventHistory() 875 UserData getUserData(int callingUid) { in getUserData() 885 void setUserData(int callingUid, UserData userData) { in setUserData() 902 private boolean isCalledByServiceLocked(@NonNull String methodName, int callingUid) { in isCalledByServiceLocked() 1188 boolean isAugmentedAutofillServiceForUserLocked(int callingUid) { in isAugmentedAutofillServiceForUserLocked() 1200 @Nullable List<ComponentName> activities, int callingUid) { in setAugmentedAutofillWhitelistLocked() 1235 int callingUid) { in isCalledByAugmentedAutofillServiceLocked() 1449 boolean isFieldClassificationEnabled(int callingUid) { in isFieldClassificationEnabled() 1470 String[] getAvailableFieldClassificationAlgorithms(int callingUid) { in getAvailableFieldClassificationAlgorithms() [all …]
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 460 int callingUid = Binder.getCallingUid(); in addAccountExplicitlyWithVisibility() local 492 int callingUid = Binder.getCallingUid(); in getAccountsAndVisibilityForPackage() local 522 List<String> accountTypes, Integer callingUid, UserAccounts accounts) { in getAccountsAndVisibilityForPackage() 548 int callingUid = Binder.getCallingUid(); in getPackagesAndVisibilityForAccount() local 595 int callingUid = Binder.getCallingUid(); in getAccountVisibility() local 760 int callingUid = Binder.getCallingUid(); in setAccountVisibility() local 879 int callingUid = Binder.getCallingUid(); in registerAccountListener() local 913 int callingUid = Binder.getCallingUid(); in unregisterAccountListener() local 1448 int callingUid = Binder.getCallingUid(); in getPassword() local 1528 final int callingUid = Binder.getCallingUid(); in getUserData() local [all …]
|
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
D | ShadowKeyValueBackupJob.java | 30 private static int callingUid; field in ShadowKeyValueBackupJob
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 400 final int callingUid = Binder.getCallingUid(); in notifyChange() local 519 final int callingUid = Binder.getCallingUid(); in requestSync() local 571 final int callingUid = Binder.getCallingUid(); in syncAsUser() local 603 request.getAccount(), userId, callingUid, request.getProvider(), extras, in syncAsUser() local 605 syncExemption, callingUid, callingPid, callingPackage); in syncAsUser() local 672 final int callingUid = Binder.getCallingUid(); in cancelRequest() local 793 final int callingUid = Binder.getCallingUid(); in setSyncAutomaticallyAsUser() local 855 final int callingUid = Binder.getCallingUid(); in removePeriodicSync() local 940 final int callingUid = Binder.getCallingUid(); in setIsSyncableAsUser() local 995 final int callingUid = Binder.getCallingUid(); in setMasterSyncAutomaticallyAsUser() local [all …]
|
/frameworks/base/core/java/android/speech/ |
D | RecognitionService.java | 98 int callingUid) { in dispatchStartListening() 162 public StartListeningArgs(Intent intent, IRecognitionListener listener, int callingUid) { in StartListeningArgs() 246 private Callback(IRecognitionListener listener, int callingUid) { in Callback()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | LauncherAppsService.java | 102 public final int callingUid; field in LauncherAppsService.BroadcastCookie 105 BroadcastCookie(UserHandle userHandle, String packageName, int callingPid, int callingUid) { in BroadcastCookie() 338 private ResolveInfo getHiddenAppActivityInfo(String packageName, int callingUid, in getHiddenAppActivityInfo() 384 final int callingUid = injectBinderCallingUid(); in getLauncherActivities() local 513 final int callingUid = injectBinderCallingUid(); in resolveActivity() local 541 final int callingUid = injectBinderCallingUid(); in queryActivitiesForUser() local 586 final int callingUid = injectBinderCallingUid(); in isPackageEnabled() local 620 final int callingUid = injectBinderCallingUid(); in getApplicationInfo() local 782 final int callingUid = injectBinderCallingUid(); in isActivityEnabled() local 841 final int callingUid = injectBinderCallingUid(); in startActivityAsUser() local
|
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillManagerInternal.java | 54 public abstract boolean isAugmentedAutofillServiceForUser(@NonNull int callingUid, in isAugmentedAutofillServiceForUser()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BinderCallsStats.java | 170 final int callingUid = mTrackDirectCallingUid in processCallEnded() local 575 public int callingUid; field in BinderCallsStats.ExportedCallStat 598 public final int callingUid; field in BinderCallsStats.CallStat 624 CallStat(int callingUid, Class<? extends Binder> binderClass, int transactionCode, in CallStat() 635 public int callingUid; field in BinderCallsStats.CallStatKey 688 CallStat get(int callingUid, Class<? extends Binder> binderClass, int transactionCode, in get() 698 CallStat getOrCreate(int callingUid, Class<? extends Binder> binderClass, in getOrCreate()
|