Home
last modified time | relevance | path

Searched refs:getCallingPid (Results 1 – 25 of 31) sorted by relevance

12

/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DContactsPermissions.java41 if (ALLOW_SELF_CALL && Binder.getCallingPid() == Process.myPid()) { in hasCallerOrSelfPermission()
50 + " caller=" + Binder.getCallingPid() in hasCallerOrSelfPermission()
85 if (ALLOW_SELF_CALL && Binder.getCallingPid() == Process.myPid()) { in hasCallerUriPermission()
94 + " caller=" + Binder.getCallingPid() in hasCallerUriPermission()
/packages/apps/SecureElement/src/com/android/se/
DChannel.java125 if (mChannelAccess.getCallingPid() != mCallingPid) { in transmit()
160 } else if (mChannelAccess.getCallingPid() != mCallingPid) { in selectNext()
316 Channel.this.setCallingPid(Binder.getCallingPid()); in transmit()
326 Channel.this.setCallingPid(Binder.getCallingPid()); in selectNext()
DSecureElementService.java322 packageName, Binder.getCallingPid()); in openBasicChannel()
364 packageName, Binder.getCallingPid()); in openLogicalChannel()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailContentProvider.java182 " CPID=" + Binder.getCallingPid()); in insert()
200 " order=[" + sortOrder + "] CPID=" + Binder.getCallingPid() + in query()
215 " values=[" + values + "] CPID=" + Binder.getCallingPid() + in update()
230 " CPID=" + Binder.getCallingPid() + in delete()
256 " CPID=" + Binder.getCallingPid() + in openFile()
DCallLogProvider.java315 " order=[" + sortOrder + "] CPID=" + Binder.getCallingPid() + in queryInternal()
483 " CPID=" + Binder.getCallingPid()); in insertInternal()
515 " values=[" + values + "] CPID=" + Binder.getCallingPid() + in updateInternal()
551 " CPID=" + Binder.getCallingPid() + in deleteInternal()
DContactMetadataProvider.java127 " order=[" + sortOrder + "] CPID=" + Binder.getCallingPid() + in query()
/packages/modules/NetworkStack/src/com/android/server/util/
DPermissionUtil.java19 import static android.os.Binder.getCallingPid;
58 final int systemPid = getCallingPid(); in checkConsistentSystemPid()
/packages/services/Car/car-lib/src/com/android/car/internal/
DCarPermission.java57 + Binder.getCallingPid() in assertGranted()
/packages/services/Car/service/src/com/android/car/
DAppFocusService.java73 Binder.getCallingPid(), appType); in registerFocusListener()
121 Binder.getCallingUid(), Binder.getCallingPid()); in requestAppFocus()
DICarImpl.java298 int pid = Binder.getCallingPid(); in assertCallingFromSystemProcessOrSelf()
478 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid() in dump()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaScannerService.java43 final int callingPid = Binder.getCallingPid(); in onBind()
DLocalCallingIdentity.java58 return new LocalCallingIdentity(Binder.getCallingPid(), Binder.getCallingUid(), in fromBinder()
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
DInCallServiceImpl.java153 if (getCallingPid() == Process.myPid()) { in getService()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java199 if (Binder.getCallingPid() != Process.myPid()) { in reloadLauncherIfExternal()
213 if (Binder.getCallingPid() != Process.myPid()) { in insert()
325 if (Binder.getCallingPid() != Process.myPid() in delete()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DStandalonePreviewActivity.java147 Binder.getCallingPid(), in isReadPermissionGrantedForImageUri()
/packages/services/Car/evs/manager/
DEnumerator.cpp44 ALOGE("EVS access denied: pid = %d, uid = %d", ipc->getCallingPid(), ipc->getCallingUid()); in checkPermission()
/packages/apps/SecureElement/src/com/android/se/security/
DChannelAccess.java108 public int getCallingPid() { in getCallingPid() method in ChannelAccess
/packages/apps/Dialer/java/com/android/dialer/simulator/service/
DSimulatorService.java166 int clientPid = Binder.getCallingPid(); in hasAccessToService()
/packages/services/Car/car-lib/src/android/car/vms/
DVmsPublisherClientService.java266 || Binder.getCallingPid() == Process.myPid())) { in assertSystemOrSelf()
/packages/services/Car/evs/sampleDriver/
DEvsEnumerator.cpp52 ALOGE("EVS access denied: pid = %d, uid = %d", ipc->getCallingPid(), ipc->getCallingUid()); in checkPermission()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java1957 .setCallingPid(Binder.getCallingPid()) in updateServiceLocationWithPackageName()
2302 .setCallingPid(Binder.getCallingPid()) in getCellLocation()
2447 .setCallingPid(Binder.getCallingPid()) in getAllCellInfo()
2505 .setCallingPid(Binder.getCallingPid()) in requestCellInfoUpdateInternal()
5258 .setCallingPid(Binder.getCallingPid()) in getCellNetworkScanResults()
5368 .setCallingPid(Binder.getCallingPid()) in requestNetworkScan()
5385 int callingPid = Binder.getCallingPid(); in requestNetworkScan()
6756 .setCallingPid(Binder.getCallingPid()) in getServiceStateForSubscriber()
6768 .setCallingPid(Binder.getCallingPid()) in getServiceStateForSubscriber()
7226 + Binder.getCallingPid() in dump()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java1179 if (Binder.getCallingPid() == Process.myPid()) { in checkDownloadedFilePath()
1386 "created cursor " + ret + " on behalf of " + Binder.getCallingPid()); in query()
1481 if (Binder.getCallingPid() != Process.myPid()) { in update()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java554 return "uid/pid=" + Binder.getCallingUid() + "/" + Binder.getCallingPid(); in getUidPidString()
/packages/services/Car/car-lib/src/android/car/cluster/renderer/
DInstrumentClusterRenderingService.java542 int pid = getCallingPid(); in assertContextOwnership()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java697 return ALLOW_SELF_CALL && Binder.getCallingPid() == Process.myPid();

12