/packages/services/Telecomm/src/com/android/server/telecom/ |
D | TelecomServiceImpl.java | 246 EventLog.writeEvent(0x534e4554, "62347125", Binder.getCallingUid(), 320 EventLog.writeEvent(0x534e4554, "62347125", Binder.getCallingUid(), 349 EventLog.writeEvent(0x534e4554, "62347125", Binder.getCallingUid(), 378 EventLog.writeEvent(0x534e4554, "62347125", Binder.getCallingUid(), 405 final int callingUid = Binder.getCallingUid(); 430 final int callingUid = Binder.getCallingUid(); 490 final int callingUid = Binder.getCallingUid(); 770 enforceShellOnly(Binder.getCallingUid(), "setSystemDialer"); 876 if (!enforceAnswerCallPermission(callingPackage, Binder.getCallingUid())) { 900 if (!enforceAnswerCallPermission(packageName, Binder.getCallingUid())) return; [all …]
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | CardEmulationManager.java | 383 if (!mServiceCache.registerAidGroupForService(userId, Binder.getCallingUid(), service, in registerAidGroupForService() 399 if (!mServiceCache.setOffHostSecureElement(userId, Binder.getCallingUid(), service, in setOffHostForService() 415 if (!mServiceCache.unsetOffHostSecureElement(userId, Binder.getCallingUid(), service)) { in unsetOffHostForService() 431 return mServiceCache.getAidGroupForService(userId, Binder.getCallingUid(), service, in getAidGroupForService() 443 if (!mServiceCache.removeAidGroupForService(userId, Binder.getCallingUid(), service, in removeAidGroupForService() 469 Binder.getCallingUid()); in setPreferredService() 476 Binder.getCallingUid()); in unsetPreferredService() 507 userId, Binder.getCallingUid(), service); in getSystemCodeForService() 520 userId, Binder.getCallingUid(), service, systemCode); in registerSystemCodeForService() 532 userId, Binder.getCallingUid(), service); in removeSystemCodeForService() [all …]
|
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/ |
D | EmbmsTestStreamingService.java | 79 int packageUid = Binder.getCallingUid(); 106 new FrontendAppIdentifier(Binder.getCallingUid(), subscriptionId); 127 new FrontendAppIdentifier(Binder.getCallingUid(), subscriptionId); 146 new FrontendAppIdentifier(Binder.getCallingUid(), subscriptionId); 160 new FrontendAppIdentifier(Binder.getCallingUid(), subscriptionId); 172 new FrontendAppIdentifier(Binder.getCallingUid(), subscriptionId); 175 Log.i(TAG, "Disposing app with uid " + Binder.getCallingUid());
|
D | EmbmsSampleDownloadService.java | 74 int packageUid = Binder.getCallingUid(); 108 new FrontendAppIdentifier(Binder.getCallingUid(), subscriptionId); 126 new FrontendAppIdentifier(Binder.getCallingUid(), subscriptionId); 139 Binder.getCallingUid(), downloadRequest.getSubscriptionId()); 163 Binder.getCallingUid(), downloadRequest.getSubscriptionId());
|
/packages/modules/NetworkStack/src/com/android/server/util/ |
D | PermissionUtil.java | 20 import static android.os.Binder.getCallingUid; 38 final int caller = getCallingUid(); in enforceNetworkStackCallingPermission() 75 final int caller = getCallingUid(); in checkDumpPermission()
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneInterfaceManager.java | 1757 if (mAppOps.noteOp(AppOpsManager.OPSTR_CALL_PHONE, Binder.getCallingUid(), callingPackage) in callForSubscriber() 1944 .checkPackage(Binder.getCallingUid(), callingPackage); in updateServiceLocationWithPackageName() 1958 .setCallingUid(Binder.getCallingUid()) in updateServiceLocationWithPackageName() 1972 WorkSource workSource = getWorkSource(Binder.getCallingUid()); in updateServiceLocationWithPackageName() 2295 .checkPackage(Binder.getCallingUid(), callingPackage); in getCellLocation() 2303 .setCallingUid(Binder.getCallingUid()) in getCellLocation() 2316 WorkSource workSource = getWorkSource(Binder.getCallingUid()); in getCellLocation() 2388 packageName, 0, UserHandle.getUserHandleForUid(Binder.getCallingUid())); in getTargetSdk() 2392 + packageName + ", uid=" + Binder.getCallingUid()); in getTargetSdk() 2407 if (mAppOps.noteOp(AppOpsManager.OPSTR_NEIGHBORING_CELLS, Binder.getCallingUid(), in getNeighboringCellInfo() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | AbstractContactsProvider.java | 156 final int callingUid = Binder.getCallingUid(); in insert() 177 final int callingUid = Binder.getCallingUid(); in delete() 198 final int callingUid = Binder.getCallingUid(); in update() 219 final int callingUid = Binder.getCallingUid(); in bulkInsert() 251 final int callingUid = Binder.getCallingUid(); in applyBatch()
|
D | CallLogProvider.java | 268 final int callingUid = Binder.getCallingUid(); in applyBatch() 283 final int callingUid = Binder.getCallingUid(); in bulkInsert() 300 final int callingUid = Binder.getCallingUid(); in query() 444 applyingBatch() ? mCallingUid.get() : Binder.getCallingUid(); in insert() 457 applyingBatch() ? mCallingUid.get() : Binder.getCallingUid(); in update() 470 applyingBatch() ? mCallingUid.get() : Binder.getCallingUid(); in delete()
|
/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainService.java | 144 final int uid = mInjector.getCallingUid(); 321 final int callingUid = mInjector.getCallingUid(); 550 return UserHandle.isSameApp(mInjector.getCallingUid(), Process.SYSTEM_UID); 554 return getPackageManager().getNameForUid(mInjector.getCallingUid()); 707 public int getCallingUid() { in getCallingUid() method in KeyChainService.Injector 708 return Binder.getCallingUid(); in getCallingUid()
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipSettings.java | 96 int profileUid = mProfile.getCallingUid(); in updateSummary() 230 if (mUid == p.getCallingUid()) { in retrieveSipLists() 253 profile.setCallingUid(activeProfile.getCallingUid()); in processActiveProfilesFromSipService() 285 int uid = profile.getCallingUid(); in handleProfileClick()
|
/packages/services/Car/service/src/com/android/car/ |
D | VmsPublisherService.java | 66 this(context, statsService, brokerService, clientManager, Binder::getCallingUid); in VmsPublisherService() 75 IntSupplier getCallingUid) { in VmsPublisherService() argument 80 mGetCallingUid = getCallingUid; in VmsPublisherService()
|
D | CarProjectionService.java | 226 UserHandle userHandle = UserHandle.getUserHandleForUid(Binder.getCallingUid()); in bindToService() 344 + " from uid " + Binder.getCallingUid()); in requestBluetoothProfileInhibit() 377 + " from uid " + Binder.getCallingUid()); in releaseBluetoothProfileInhibit() 403 final int callingUid = Binder.getCallingUid(); in updateProjectionStatus()
|
D | AppFocusService.java | 72 info = new ClientInfo(mAllChangeClients, listener, Binder.getCallingUid(), in registerFocusListener() 121 Binder.getCallingUid(), Binder.getCallingPid()); in requestAppFocus()
|
/packages/services/Car/car-lib/src/com/android/car/internal/ |
D | CarPermission.java | 42 if (Binder.getCallingUid() != Process.myUid()) { in checkGranted() 59 + Binder.getCallingUid()); in assertGranted()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | BluetoothSocketManagerBinder.java | 54 Binder.getCallingUid())); in connectSocket() 69 Binder.getCallingUid())); in createSocketChannel()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
D | Utils.java | 336 int callingUid = Binder.getCallingUid(); in checkCaller() 347 int callingUid = Binder.getCallingUid(); in checkCallerAllowManagedProfiles() 500 return appOps.noteOp(op, Binder.getCallingUid(), callingPackage) in isAppOppAllowed() 554 return "uid/pid=" + Binder.getCallingUid() + "/" + Binder.getCallingPid(); in getUidPidString()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadProvider.java | 724 Preconditions.checkArgument(Binder.getCallingUid() == Process.myUid(), in call() 750 Preconditions.checkArgument(Binder.getCallingUid() == Process.myUid(), in call() 873 int uid = Binder.getCallingUid(); in insert() 897 filteredValues.put(Constants.UID, Binder.getCallingUid()); in insert() 898 if (Binder.getCallingUid() == 0) { in insert() 972 Binder.getCallingUid()); in insert() 1177 Binder.getCallingUid(), getCallingPackage()) == AppOpsManager.MODE_ALLOWED; in checkDownloadedFilePath() 1655 appendWhereExpression(where, Constants.UID + "=" + Binder.getCallingUid() in getQueryBuilder() 1656 + " OR " + COLUMN_OTHER_UID + "=" + Binder.getCallingUid()); in getQueryBuilder() 1812 "No file found for " + uri + " as UID " + Binder.getCallingUid()); in openFile() [all …]
|
/packages/services/Car/evs/manager/ |
D | Enumerator.cpp | 43 if (AID_AUTOMOTIVE_EVS != ipc->getCallingUid()) { in checkPermission() 44 ALOGE("EVS access denied: pid = %d, uid = %d", ipc->getCallingPid(), ipc->getCallingUid()); in checkPermission()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidDeviceService.java | 502 int callingUid = Binder.getCallingUid(); in checkCallingUid() 519 int callingUid = Binder.getCallingUid(); in registerApp() 565 int callingUid = Binder.getCallingUid(); in unregisterApp() 641 int callingUid = Binder.getCallingUid(); in disconnect()
|
/packages/services/Car/service/src/com/android/car/vms/ |
D | VmsClientManager.java | 148 new Handler(Looper.getMainLooper()), Binder::getCallingUid); in VmsClientManager() 154 VmsHalService halService, Handler handler, IntSupplier getCallingUid) { in VmsClientManager() argument 163 mGetCallingUid = getCallingUid; in VmsClientManager()
|
/packages/services/Car/evs/sampleDriver/ |
D | EvsEnumerator.cpp | 51 if (AID_AUTOMOTIVE_EVS != ipc->getCallingUid()) { in checkPermission() 52 ALOGE("EVS access denied: pid = %d, uid = %d", ipc->getCallingPid(), ipc->getCallingUid()); in checkPermission()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | SQLiteContentProvider.java | 301 int callingUid = Binder.getCallingUid(); in clearCallingIdentityInternal() 326 int callingUid = Binder.getCallingUid(); in restoreCallingIdentityInternal()
|
/packages/apps/SecureElement/src/com/android/se/ |
D | SecureElementService.java | 317 String packageName = getPackageNameFromCallingUid(Binder.getCallingUid()); in openBasicChannel() 359 String packageName = getPackageNameFromCallingUid(Binder.getCallingUid()); in openLogicalChannel()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | SmsProvider.java | 125 getContext(), getCallingPackage(), Binder.getCallingUid()); in query() 512 final int callerUid = Binder.getCallingUid(); in bulkInsert() 537 final int callerUid = Binder.getCallingUid(); in insert() 1036 final int callerUid = Binder.getCallingUid(); in update()
|
/packages/services/Car/procfs-inspector/server/ |
D | server.cpp | 24 uid_t uid = IPCThreadState::self()->getCallingUid(); in isSystemUser()
|