Home
last modified time | relevance | path

Searched defs:callingUid (Results 1 – 25 of 233) sorted by relevance

12345678910

/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationEnforcer.java49 public void assertInternal(int callingUid) { in assertInternal()
65 public void assertApprovedQuerent(int callingUid, @NonNull DomainVerificationProxy proxy) { in assertApprovedQuerent()
88 public void assertApprovedVerifier(int callingUid, @NonNull DomainVerificationProxy proxy) in assertApprovedVerifier()
132 public boolean assertApprovedUserStateQuerent(int callingUid, @UserIdInt int callingUserId, in assertApprovedUserStateQuerent()
153 public boolean assertApprovedUserSelector(int callingUid, @UserIdInt int callingUserId, in assertApprovedUserSelector()
180 public boolean callerIsLegacyUserSelector(int callingUid, @UserIdInt int callingUserId, in callerIsLegacyUserSelector()
205 public boolean callerIsLegacyUserQuerent(int callingUid, @UserIdInt int callingUserId, in callerIsLegacyUserQuerent()
230 public void assertOwnerQuerent(int callingUid, @UserIdInt int callingUserId, in assertOwnerQuerent()
258 boolean filterAppAccess(@NonNull String packageName, int callingUid, @UserIdInt int userId); in filterAppAccess()
/frameworks/base/core/java/com/android/internal/util/
DProviderAccessStats.java49 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/power/
DAmbientDisplaySuppressionController.java59 public void suppress(@NonNull String token, int callingUid, boolean suppress) { in suppress()
83 List<String> getSuppressionTokens(int callingUid) { in getSuppressionTokens()
101 public boolean isSuppressed(@NonNull String token, int callingUid) { in isSuppressed()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationDelegate.java29 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()
68 int callingUid); in grantInlineReplyUriPermission()
73 void clearInlineReplyUriPermissions(String key, int callingUid); in clearInlineReplyUriPermissions()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java526 final int callingUid = getCallingUid(); in getAllPermissionGroups() local
549 final int callingUid = getCallingUid(); in getPermissionGroupInfo() local
578 final int callingUid = getCallingUid(); in getPermissionInfo() local
621 final int callingUid = getCallingUid(); in queryPermissionsByGroup() local
646 final int callingUid = getCallingUid(); in addPermission() local
680 final int callingUid = getCallingUid(); in removePermission() local
702 final int callingUid = getCallingUid(); in getPermissionFlags() local
707 String packageName, String permName, int callingUid, int userId) { in getPermissionFlagsInternal()
744 final int callingUid = getCallingUid(); in updatePermissionFlags() local
777 int flagValues, int callingUid, int userId, boolean overridePolicy, in updatePermissionFlagsInternal()
[all …]
DLegacyPermissionManagerService.java190 int callingUid = mInjector.getCallingUid(); in verifyCallerCanCheckAccess() local
236 final int callingUid = Binder.getCallingUid(); in grantDefaultPermissionsToActiveLuiApp() local
245 final int callingUid = Binder.getCallingUid(); in revokeDefaultPermissionsFromLuiApps() local
254 final int callingUid = Binder.getCallingUid(); in grantDefaultPermissionsToEnabledImsServices() local
264 final int callingUid = Binder.getCallingUid(); in grantDefaultPermissionsToEnabledTelephonyDataServices() local
274 final int callingUid = Binder.getCallingUid(); in revokeDefaultPermissionsFromDisabledTelephonyDataServices() local
284 final int callingUid = Binder.getCallingUid(); in grantDefaultPermissionsToEnabledCarrierApps() local
298 final int callingUid = Binder.getCallingUid(); in resetRuntimePermissions() local
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreManagerService.java347 int callingUid, String callingPackage) { in createSessionInternal()
370 int callingUid, String callingPackage) { in openSessionInternal()
385 int callingUid, String callingPackage) { in abandonSessionInternal()
399 private ParcelFileDescriptor openBlobInternal(BlobHandle blobHandle, int callingUid, in openBlobInternal()
452 int callingUid, String callingPackage) { in acquireLeaseInternal()
513 long getTotalUsageBytesLocked(int callingUid, String callingPackage) { in getTotalUsageBytesLocked()
523 private void releaseLeaseInternal(BlobHandle blobHandle, int callingUid, in releaseLeaseInternal()
557 private long getRemainingLeaseQuotaBytesInternal(int callingUid, String callingPackage) { in getRemainingLeaseQuotaBytesInternal()
607 private void deleteBlobInternal(long blobId, int callingUid) { in deleteBlobInternal()
621 private List<BlobHandle> getLeasedBlobsInternal(int callingUid, in getLeasedBlobsInternal()
[all …]
/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerInternal.java37 void revokeUriPermission(String targetPackage, int callingUid, in revokeUriPermission()
42 int callingUid, String targetPkg, Uri uri, int modeFlags, int userId); in checkGrantUriPermission()
52 NeededUriGrants checkGrantUriPermissionFromIntent(Intent intent, int callingUid, in checkGrantUriPermissionFromIntent()
124 int callingUid, ProviderInfo cpi, int userId, boolean checkUser); in checkAuthorityGrants()
/frameworks/native/cmds/dumpstate/binder/android/os/
DIDumpstate.aidl69 void startBugreport(int callingUid, @utf8InCpp String callingPackage, in startBugreport()
84 void cancelBugreport(int callingUid, @utf8InCpp String callingPackage); in cancelBugreport()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java533 private boolean shouldObfuscateInstantAppsForCaller(int callingUid, int userId) { in shouldObfuscateInstantAppsForCaller()
538 int callingPid, int callingUid) { in shouldHideShortcutInvocationEvents()
547 private boolean shouldHideLocusIdEvents(int callingPid, int callingUid) { in shouldHideLocusIdEvents()
561 private boolean shouldObfuscateNotificationEvents(int callingPid, int callingUid) { in shouldObfuscateNotificationEvents()
1577 final int callingUid = Binder.getCallingUid(); in hasPermission() local
1593 final int callingUid = Binder.getCallingUid(); in hasObserverPermission() local
1608 final int callingUid = Binder.getCallingUid(); in hasPermissions() local
1631 final int callingUid = Binder.getCallingUid(); in checkCallerIsSameApp() local
1653 final int callingUid = Binder.getCallingUid(); in queryUsageStats() local
1725 final int callingUid = Binder.getCallingUid(); in queryEvents() local
[all …]
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java676 private SessionState getSessionStateLocked(IBinder sessionToken, int callingUid, int userId) { in getSessionStateLocked()
683 int callingUid, UserState userState) { in getSessionStateLocked()
697 private ITvInputSession getSessionLocked(IBinder sessionToken, int callingUid, int userId) { in getSessionLocked()
711 private int resolveCallingUserId(int callingPid, int callingUid, int requestedUserId, in resolveCallingUserId()
838 private SessionState releaseSessionLocked(IBinder sessionToken, int callingUid, int userId) { in releaseSessionLocked()
911 private void setMainLocked(IBinder sessionToken, boolean isMain, int callingUid, int userId) { in setMainLocked()
1232 int callingUid = Binder.getCallingUid(); in registerCallback() local
1380 final int callingUid = Binder.getCallingUid(); in createSession() local
1469 final int callingUid = Binder.getCallingUid(); in releaseSession() local
1502 final int callingUid = Binder.getCallingUid(); in setMainSession() local
[all …]
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/proxy/
DDomainVerificationProxyV1.java99 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()
308 public final int callingUid; field in DomainVerificationProxyV1.Response
314 private Response(int callingUid, int verificationId, int verificationCode, in Response()
DDomainVerificationProxy.java97 boolean isCallerVerifier(int callingUid); in isCallerVerifier()
116 boolean isCallerPackage(int callingUid, @NonNull String packageName); in isCallerPackage()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsObservers.java78 IBinder binder, int callingUid, @NetworkStatsAccess.Level int accessLevel) { in register()
93 public void unregister(DataUsageRequest request, int callingUid) { in unregister()
168 private void handleUnregister(DataUsageRequest request, int callingUid) { in handleUnregister()
209 Messenger messenger, IBinder binder, int callingUid, in buildRequestInfo()
237 Messenger messenger, IBinder binder, int callingUid, in RequestInfo()
332 Messenger messenger, IBinder binder, int callingUid, in NetworkUsageRequestInfo()
374 Messenger messenger, IBinder binder, int callingUid, in UserUsageRequestInfo()
DNetworkStatsAccess.java107 Context context, int callingUid, String callingPackage) { in checkAccessLevel()
181 Context context, int callingUid, String callingPackage) { in hasAppOpsPermission()
/frameworks/base/services/core/java/com/android/server/wm/
DKeyguardDisableHandler.java72 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()
DSafeActivityOptions.java147 int callingPid, int callingUid) { in setCallingPidUidForRemoteAnimationAdapter()
210 ActivityOptions options, int callingPid, int callingUid) { in checkPermissions()
319 private boolean isAssistant(ActivityTaskManagerService atmService, int callingUid) { in isAssistant()
339 private boolean isSystemOrSystemUI(int callingPid, int callingUid) { in isSystemOrSystemUI()
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/
DAppSearchManagerService.java334 int callingUid = Binder.getCallingUid(); in setSchema() local
420 int callingUid = Binder.getCallingUid(); in getSchema() local
452 int callingUid = Binder.getCallingUid(); in getNamespaces() local
487 int callingUid = Binder.getCallingUid(); in putDocuments() local
573 int callingUid = Binder.getCallingUid(); in getDocuments() local
654 int callingUid = Binder.getCallingUid(); in query() local
720 int callingUid = Binder.getCallingUid(); in globalQuery() local
785 int callingUid = Binder.getCallingUid(); in getNextPage() local
814 int callingUid = Binder.getCallingUid(); in invalidateNextPageToken() local
848 int callingUid = Binder.getCallingUid(); in writeQueryResultsToFile() local
[all …]
/frameworks/base/services/core/java/com/android/server/speech/
DSpeechRecognitionManagerServiceImpl.java184 int callingUid, in handleClientDeath()
210 int callingUid, ComponentName serviceComponent) { in createService()
276 private void removeService(int callingUid, RemoteSpeechRecognitionService service) { in removeService()
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
DRestrictionsManagerService.java97 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/services/core/java/com/android/server/hdmi/
DHdmiCecAtomWriter.java44 HdmiCecMessage message, int direction, int callingUid, int errorCode) { in messageReported()
58 public void messageReported(HdmiCecMessage message, int direction, int callingUid) { in messageReported()
71 HdmiCecMessage message, int direction, int errorCode, int callingUid) { in createMessageReportedGenericArgs()
/frameworks/base/services/core/java/com/android/server/os/
DBugreportManagerServiceImpl.java81 int callingUid = Binder.getCallingUid(); in startBugreport() local
100 int callingUid = Binder.getCallingUid(); in cancelBugreport() local
138 String callingPackage, int callingUid, boolean checkCarrierPrivileges) { in enforcePermission()
227 private void startBugreportLocked(int callingUid, String callingPackage, in startBugreportLocked()
/frameworks/base/apex/jobscheduler/framework/java/com/android/server/
DDeviceIdleInternal.java40 void addPowerSaveTempWhitelistApp(int callingUid, String packageName, in addPowerSaveTempWhitelistApp()
47 void addPowerSaveTempWhitelistApp(int callingUid, String packageName, in addPowerSaveTempWhitelistApp()
64 @Nullable String reason, int callingUid); in addPowerSaveTempWhitelistAppDirect()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsBinderCallStatsTest.java52 int callingUid = Process.FIRST_APPLICATION_UID + 1; in testNoteBinderCallStats() local
95 int callingUid = Process.FIRST_APPLICATION_UID + 1; in testProportionalSystemServiceUsage_noStatsForSomeMethods() local
/frameworks/base/services/core/java/com/android/server/am/
DAssistDataRequester.java150 public void requestAutofillData(List<IBinder> activityTokens, int callingUid, in requestAutofillData()
168 int callingUid, String callingPackage) { in requestAssistData()
183 boolean allowFetchScreenshot, boolean ignoreTopActivityCheck, int callingUid, in requestAssistData()
215 int callingUid, String callingPackage) { in requestData()

12345678910