Searched refs:getCallingUid (Results 1 - 25 of 77) 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 DUserId.java86 return getUserId(Binder.getCallingUid());
H A DBinder.java73 public static final native int getCallingUid(); method in class:Binder
88 return getCallingUid();
116 * @see #getCallingUid()
/frameworks/base/services/java/com/android/server/
H A DUpdateLockService.java109 + " uid=" + Binder.getCallingUid()
119 + ", uid=" + Binder.getCallingUid());
H A DWifiService.java545 int uid = Binder.getCallingUid();
582 + ", uid=" + Binder.getCallingUid());
1174 + ", uid=" + Binder.getCallingUid());
1321 enforceWakeSourcePermission(Binder.getCallingUid(), Binder.getCallingPid());
1324 ws = new WorkSource(Binder.getCallingUid());
1391 int uid = Binder.getCallingUid();
1488 super(Binder.getCallingUid(), tag, binder, null);
1536 int uid = Binder.getCallingUid();
1549 int uid = Binder.getCallingUid();
H A DClipboardService.java144 checkDataOwnerLocked(clip, Binder.getCallingUid());
164 addActiveOwnerLocked(Binder.getCallingUid(), pkg);
H A DAppWidgetServiceImpl.java339 + ", uid=" + Binder.getCallingUid());
423 int callingUid = Binder.getCallingUid();
435 int callingUid = Binder.getCallingUid();
574 int callingUid = Binder.getCallingUid();
921 final int callingUid = Binder.getCallingUid();
1045 Host host = lookupHostLocked(Binder.getCallingUid(), hostId);
1071 int callingUid = Binder.getCallingUid();
1238 if (p != null && Binder.getCallingUid() == p.uid) {
1347 int callingUid = Binder.getCallingUid();
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DRingtonePlayer.java136 if (Binder.getCallingUid() != Process.SYSTEM_UID) {
145 if (Binder.getCallingUid() != Process.SYSTEM_UID) {
/frameworks/base/core/java/android/accounts/
H A DAccountManagerService.java405 + ", caller's uid " + Binder.getCallingUid()
445 + ", caller's uid " + Binder.getCallingUid()
463 + "caller's uid " + Binder.getCallingUid()
487 + ", caller's uid " + Binder.getCallingUid()
565 + ", caller's uid " + Binder.getCallingUid()
637 + ", caller's uid " + Binder.getCallingUid()
726 + ", caller's uid " + Binder.getCallingUid()
817 + ", caller's uid " + Binder.getCallingUid()
836 + ", caller's uid " + Binder.getCallingUid()
854 + ", caller's uid " + Binder.getCallingUid()
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DLockSettingsService.java98 final int callingUid = Binder.getCallingUid();
106 final int callingUid = Binder.getCallingUid();
114 final int callingUid = Binder.getCallingUid();
/frameworks/base/services/java/com/android/server/am/
H A DProviderMap.java63 Slog.i(TAG, "getProviderByName: " + name + " , callingUid = " + Binder.getCallingUid());
81 Slog.i(TAG, "getProviderByClass: " + name + ", callingUid = " + Binder.getCallingUid());
95 Slog.i(TAG, "putProviderByName: " + name + " , callingUid = " + Binder.getCallingUid()
108 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/base/core/java/android/service/dreams/
H A DDreamManagerService.java100 + " pid=" + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid());
124 + " pid=" + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid());
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DSimSmsInterfaceManager.java237 Binder.getCallingUid());
264 Binder.getCallingUid());
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeechService.java771 Binder.getCallingUid(), Binder.getCallingPid(), params, text);
783 SpeechItem item = new SynthesisToFileSpeechItem(caller, Binder.getCallingUid(),
795 Binder.getCallingUid(), Binder.getCallingPid(), params, audioUri);
806 Binder.getCallingUid(), Binder.getCallingPid(), params, duration);
/frameworks/base/services/java/com/android/server/connectivity/
H A DVpn.java152 if (Binder.getCallingUid() != app.uid) {
175 if (Binder.getCallingUid() != app.uid) {
296 if (Binder.getCallingUid() == Process.SYSTEM_UID) {
304 if (Binder.getCallingUid() == app.uid) {
/frameworks/base/services/java/com/android/server/usb/
H A DUsbService.java173 + ", uid=" + Binder.getCallingUid());
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DPhoneSubInfo.java197 + ", uid=" + Binder.getCallingUid());
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxService.java112 String uidname = pm.getNameForUid(getCallingUid());
/frameworks/base/services/common_time/
H A Dcommon_time_server_api.cpp299 IPCThreadState::self()->getCallingUid());
372 IPCThreadState::self()->getCallingUid());
/frameworks/base/services/sensorservice/
H A DSensorDevice.cpp77 int uid = IPCThreadState::self()->getCallingUid();
85 int uid = 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/app/
H A DContextImpl.java1292 return checkPermission(permission, pid, Binder.getCallingUid());
1304 Binder.getCallingUid());
1334 Binder.getCallingUid(),
1343 Binder.getCallingUid(),
1382 Binder.getCallingUid(), modeFlags);
1390 Binder.getCallingUid(), modeFlags);
1461 Binder.getCallingUid(), uri, message);
1469 Binder.getCallingUid(), uri, message);
/frameworks/base/core/java/android/content/
H A DContentProvider.java279 final int uid = Binder.getCallingUid();
340 final int uid = Binder.getCallingUid();

Completed in 529 milliseconds

1234