/frameworks/av/services/medialog/ |
MediaLogService.cpp | 31 if (IPCThreadState::self()->getCallingUid() != AID_MEDIA || shared == 0 || 44 if (IPCThreadState::self()->getCallingUid() != AID_MEDIA || shared == 0) { 61 if (!(IPCThreadState::self()->getCallingUid() == AID_MEDIA || 65 IPCThreadState::self()->getCallingUid());
|
/frameworks/base/core/java/android/hardware/location/ |
GeofenceHardwareService.java | 94 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 104 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 112 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 120 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 129 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 139 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
|
/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/ |
PacService.java | 90 if (Binder.getCallingUid() != Process.SYSTEM_UID) { 99 if (Binder.getCallingUid() != Process.SYSTEM_UID) { 108 if (Binder.getCallingUid() != Process.SYSTEM_UID) {
|
/frameworks/base/services/java/com/android/server/os/ |
SchedulingPolicyService.java | 48 if (Binder.getCallingUid() != Process.MEDIA_UID || prio < PRIORITY_MIN ||
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
RingtonePlayer.java | 97 + Binder.getCallingUid() + ")"); 142 if (Binder.getCallingUid() != Process.SYSTEM_UID) { 152 if (Binder.getCallingUid() != Process.SYSTEM_UID) {
|
/frameworks/base/services/java/com/android/server/ |
UpdateLockService.java | 110 + " uid=" + Binder.getCallingUid() 120 + ", uid=" + Binder.getCallingUid());
|
ClipboardService.java | 159 final int callingUid = Binder.getCallingUid(); 194 if (mAppOps.noteOp(AppOpsManager.OP_READ_CLIPBOARD, Binder.getCallingUid(), 198 addActiveOwnerLocked(Binder.getCallingUid(), pkg); 205 if (mAppOps.checkOp(AppOpsManager.OP_READ_CLIPBOARD, Binder.getCallingUid(), 216 if (mAppOps.checkOp(AppOpsManager.OP_READ_CLIPBOARD, Binder.getCallingUid(), 228 new ListenerInfo(Binder.getCallingUid(), callingPackage)); 240 if (mAppOps.checkOp(AppOpsManager.OP_READ_CLIPBOARD, Binder.getCallingUid(),
|
BluetoothManagerService.java | 343 if ((Binder.getCallingUid() != Process.SYSTEM_UID) && 376 int callingAppId = UserHandle.getAppId(Binder.getCallingUid()); 391 if ((Binder.getCallingUid() != Process.SYSTEM_UID) && 420 if ((Binder.getCallingUid() != Process.SYSTEM_UID) && 532 if ((Binder.getCallingUid() != Process.SYSTEM_UID) && 557 if ((Binder.getCallingUid() != Process.SYSTEM_UID) && [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowBinder.java | 34 public static final int getCallingUid() {
|
/packages/apps/HTMLViewer/src/com/android/htmlviewer/ |
FileContentProvider.java | 53 if (Process.myUid() != Binder.getCallingUid()) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
IccSmsInterfaceManager.java | 197 if (mAppOps.noteOp(AppOpsManager.OP_WRITE_ICC_SMS, Binder.getCallingUid(), 252 if (mAppOps.noteOp(AppOpsManager.OP_WRITE_ICC_SMS, Binder.getCallingUid(), 290 if (mAppOps.noteOp(AppOpsManager.OP_READ_ICC_SMS, Binder.getCallingUid(), 353 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), 395 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), 441 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), 541 Binder.getCallingUid()); 568 Binder.getCallingUid()); 595 Binder.getCallingUid()); 622 Binder.getCallingUid()); [all...] |
/frameworks/base/core/java/android/app/ |
UiAutomationConnection.java | 71 mOwningUid = Binder.getCallingUid(); 239 final int callingUid = Binder.getCallingUid();
|
/frameworks/base/services/java/com/android/server/wifi/ |
WifiService.java | 368 mWifiStateMachine.startScan(Binder.getCallingUid(), workSource); 379 this.uid = getCallingUid(); 426 int uid = Binder.getCallingUid(); 448 stopBatchedScan(settings, getCallingUid(), getCallingPid()); 555 + ", uid=" + Binder.getCallingUid()); 787 int uid = Binder.getCallingUid(); [all...] |
/packages/apps/KeyChain/src/com/android/keychain/ |
KeyChainService.java | 92 final int uid = Binder.getCallingUid(); 119 final int callingUid = getCallingUid(); 205 String actualPackage = getPackageManager().getNameForUid(getCallingUid());
|
/frameworks/base/services/java/com/android/server/accounts/ |
AccountManagerService.java | 481 + ", caller's uid " + Binder.getCallingUid() 521 + ", caller's uid " + Binder.getCallingUid() 539 + "caller's uid " + Binder.getCallingUid() 565 + ", caller's uid " + Binder.getCallingUid() 772 + ", caller's uid " + Binder.getCallingUid() [all...] |
/frameworks/base/services/java/com/android/server/am/ |
ProviderMap.java | 67 Slog.i(TAG, "getProviderByName: " + name + " , callingUid = " + Binder.getCallingUid()); 85 Slog.i(TAG, "getProviderByClass: " + name + ", callingUid = " + Binder.getCallingUid()); 99 Slog.i(TAG, "putProviderByName: " + name + " , callingUid = " + Binder.getCallingUid() 112 Slog.i(TAG, "putProviderByClass: " + name + " , callingUid = " + Binder.getCallingUid()
|
/frameworks/native/include/binder/ |
IPCThreadState.h | 43 int getCallingUid() const;
|
/frameworks/native/libs/binder/ |
PermissionCache.cpp | 85 uid_t uid = ipcState->getCallingUid();
|
/packages/services/Telephony/src/com/android/phone/sip/ |
SipSettings.java | 109 int profileUid = mProfile.getCallingUid(); 311 if (mUid == p.getCallingUid()) { 329 profile.setCallingUid(activeProfile.getCallingUid()); 361 int uid = profile.getCallingUid();
|
/system/security/keystore/ |
keystore.cpp | [all...] |
/frameworks/base/core/java/android/os/ |
Binder.java | 79 public static final native int getCallingUid(); 84 * of the caller. It is distinct from {@link #getCallingUid()} in that a 90 return new UserHandle(UserHandle.getUserId(getCallingUid())); 106 * @see #getCallingUid()
|
UserHandle.java | 124 return getUserId(Binder.getCallingUid());
|
/frameworks/base/core/java/android/content/ |
ContentProvider.java | 396 return mAppOpsManager.noteOp(mReadOp, Binder.getCallingUid(), callingPkg); 404 final int uid = Binder.getCallingUid(); 465 return mAppOpsManager.noteOp(mWriteOp, Binder.getCallingUid(), callingPkg); 473 final int uid = Binder.getCallingUid(); 560 * @see Binder#getCallingUid() 568 mTransport.mAppOpsManager.checkPackage(Binder.getCallingUid(), pkg); [all...] |
/frameworks/base/core/java/android/speech/tts/ |
TextToSpeechService.java | 804 Binder.getCallingUid(), Binder.getCallingPid(), params, text); 822 Binder.getCallingUid(), Binder.getCallingPid(), params, text, 834 Binder.getCallingUid(), Binder.getCallingPid(), params, audioUri); 845 Binder.getCallingUid(), Binder.getCallingPid(), params, duration); 914 SpeechItem item = new LoadLanguageItem(caller, Binder.getCallingUid(), [all...] |
/frameworks/base/services/java/com/android/server/print/ |
PrintManagerService.java | 359 + ", uid=" + Binder.getCallingUid()); 563 final int callingUid = Binder.getCallingUid(); 583 final int callingUid = Binder.getCallingUid(); 615 Binder.getCallingUid());
|