/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 | 191 if (mAppOps.noteOp(AppOpsManager.OP_WRITE_ICC_SMS, Binder.getCallingUid(), 246 if (mAppOps.noteOp(AppOpsManager.OP_WRITE_ICC_SMS, Binder.getCallingUid(), 284 if (mAppOps.noteOp(AppOpsManager.OP_READ_ICC_SMS, Binder.getCallingUid(), 347 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), 389 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), 435 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), 535 Binder.getCallingUid()); 562 Binder.getCallingUid()); 589 Binder.getCallingUid()); 616 Binder.getCallingUid()); [all...] |
/frameworks/base/core/java/android/app/ |
UiAutomationConnection.java | 71 mOwningUid = Binder.getCallingUid(); 241 final int callingUid = Binder.getCallingUid();
|
/frameworks/base/services/java/com/android/server/wifi/ |
WifiService.java | 368 mWifiStateMachine.startScan(Binder.getCallingUid(), workSource); 380 this.uid = getCallingUid(); 435 int uid = Binder.getCallingUid(); 457 stopBatchedScan(settings, getCallingUid(), getCallingPid()); 594 + ", uid=" + Binder.getCallingUid()); 826 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 | 482 + ", caller's uid " + Binder.getCallingUid() 523 + ", caller's uid " + Binder.getCallingUid() 542 + "caller's uid " + Binder.getCallingUid() 568 + ", caller's uid " + Binder.getCallingUid() 776 + ", 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 return mAppOpsManager.noteOp(mWriteOp, Binder.getCallingUid(), callingPkg); 414 final int uid = Binder.getCallingUid(); 476 final int uid = Binder.getCallingUid(); 562 * @see Binder#getCallingUid() 570 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()); 568 final int callingUid = Binder.getCallingUid(); 588 final int callingUid = Binder.getCallingUid(); 620 Binder.getCallingUid());
|