Searched refs:getCallingUid (Results 1 - 25 of 87) sorted by relevance

1234

/frameworks/base/core/java/android/os/
H A DSchedulingPolicyService.java49 if (Binder.getCallingUid() != Process.MEDIA_UID || prio < PRIORITY_MIN ||
H A DUserHandle.java122 return getUserId(Binder.getCallingUid());
H A DBinder.java73 public static final native int getCallingUid(); method in class:Binder
78 * of the caller. It is distinct from {@link #getCallingUid()} in that a
84 return new UserHandle(UserHandle.getUserId(getCallingUid()));
100 * @see #getCallingUid()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DRingtonePlayer.java98 + Binder.getCallingUid() + ")");
143 if (Binder.getCallingUid() != Process.SYSTEM_UID) {
153 if (Binder.getCallingUid() != Process.SYSTEM_UID) {
/frameworks/base/services/java/com/android/server/
H A DUpdateLockService.java110 + " uid=" + Binder.getCallingUid()
120 + ", uid=" + Binder.getCallingUid());
H A DWifiService.java451 scanWorkSource = new WorkSource(Binder.getCallingUid());
628 + ", uid=" + Binder.getCallingUid());
1228 + ", uid=" + Binder.getCallingUid());
1368 enforceWakeSourcePermission(Binder.getCallingUid(), Binder.getCallingPid());
1371 ws = new WorkSource(Binder.getCallingUid());
1434 int uid = Binder.getCallingUid();
1531 super(Binder.getCallingUid(), tag, binder, null);
1579 int uid = Binder.getCallingUid();
1592 int uid = Binder.getCallingUid();
H A DClipboardService.java145 checkDataOwnerLocked(clip, Binder.getCallingUid());
165 addActiveOwnerLocked(Binder.getCallingUid(), pkg);
H A DNotificationManagerService.java872 enqueueNotificationInternal(pkg, Binder.getCallingUid(), Binder.getCallingPid(),
1303 Binder.getCallingUid(), userId, true, false, "cancelNotificationWithTag", pkg);
1306 Binder.getCallingUid() == Process.SYSTEM_UID
1314 Binder.getCallingUid(), userId, true, false, "cancelAllNotifications", pkg);
1322 int uid = Binder.getCallingUid();
1330 int uid = Binder.getCallingUid();
1438 + ", uid=" + Binder.getCallingUid());
H A DDeviceStorageMonitorService.java444 int callingUid = getCallingUid();
490 + ", uid=" + Binder.getCallingUid());
H A DLocationManagerService.java726 return getAllowedResolutionLevel(Binder.getCallingPid(), Binder.getCallingUid());
1147 int uid = Binder.getCallingUid();
1189 final int uid = Binder.getCallingUid();
1241 final int uid = Binder.getCallingUid();
1353 int uid = Binder.getCallingUid();
1438 if (Binder.getCallingUid() != Process.myUid()) {
1505 int uid = Binder.getCallingUid();
2008 + ", uid=" + Binder.getCallingUid());
H A DVibratorService.java172 int uid = Binder.getCallingUid();
207 int uid = Binder.getCallingUid();
/frameworks/base/core/java/android/accounts/
H A DAccountManagerService.java431 + ", caller's uid " + Binder.getCallingUid()
471 + ", caller's uid " + Binder.getCallingUid()
489 + "caller's uid " + Binder.getCallingUid()
514 + ", caller's uid " + Binder.getCallingUid()
592 + ", caller's uid " + Binder.getCallingUid()
664 + ", caller's uid " + Binder.getCallingUid()
754 + ", caller's uid " + Binder.getCallingUid()
846 + ", caller's uid " + Binder.getCallingUid()
865 + ", caller's uid " + Binder.getCallingUid()
883 + ", caller's uid " + Binder.getCallingUid()
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp64 static int getCallingUid() { function in namespace:android
65 return IPCThreadState::self()->getCallingUid();
310 const int uid = getCallingUid();
469 getCallingUid());
/frameworks/base/services/java/com/android/server/am/
H A DProviderMap.java66 Slog.i(TAG, "getProviderByName: " + name + " , callingUid = " + Binder.getCallingUid());
84 Slog.i(TAG, "getProviderByClass: " + name + ", callingUid = " + Binder.getCallingUid());
98 Slog.i(TAG, "putProviderByName: " + name + " , callingUid = " + Binder.getCallingUid()
111 Slog.i(TAG, "putProviderByClass: " + name + " , callingUid = " + Binder.getCallingUid()
/frameworks/native/include/binder/
H A DIPCThreadState.h43 int getCallingUid();
/frameworks/native/libs/binder/
H A DPermissionCache.cpp85 uid_t uid = ipcState->getCallingUid();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSimSmsInterfaceManager.java237 Binder.getCallingUid());
264 Binder.getCallingUid());
/frameworks/base/core/java/com/android/internal/widget/
H A DLockSettingsService.java100 final int callingUid = Binder.getCallingUid();
108 final int callingUid = Binder.getCallingUid();
116 final int callingUid = Binder.getCallingUid();
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeechService.java736 Binder.getCallingUid(), Binder.getCallingPid(), params, text);
748 SpeechItem item = new SynthesisToFileSpeechItem(caller, Binder.getCallingUid(),
760 Binder.getCallingUid(), Binder.getCallingPid(), params, audioUri);
771 Binder.getCallingUid(), Binder.getCallingPid(), params, duration);
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxService.java124 String uidname = pm.getNameForUid(getCallingUid());
/frameworks/native/services/surfaceflinger/
H A DClient.cpp96 const int uid = ipc->getCallingUid();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneSubInfo.java197 + ", uid=" + Binder.getCallingUid());
/frameworks/base/services/common_time/
H A Dcommon_time_server_api.cpp299 IPCThreadState::self()->getCallingUid());
375 IPCThreadState::self()->getCallingUid());
/frameworks/base/voip/java/com/android/server/sip/
H A DSipService.java147 localProfile.setCallingUid(Binder.getCallingUid());
161 localProfile.setCallingUid(Binder.getCallingUid());
184 return (profile.getCallingUid() == Binder.getCallingUid());
192 return (Binder.getCallingUid() == Process.PHONE_UID);
255 localProfile.setCallingUid(Binder.getCallingUid());
/frameworks/base/core/java/android/content/
H A DContentProvider.java279 final int uid = Binder.getCallingUid();
340 final int uid = Binder.getCallingUid();

Completed in 4733 milliseconds

1234