/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | BinderUtilTest.java | 60 final int pid = Binder.getCallingPid(); in setUid() 66 assertEquals(pid, Binder.getCallingPid()); in setUid() 72 assertEquals(pid, Binder.getCallingPid()); in setUid() 82 final int pid = Binder.getCallingPid(); in setUidAndRestoreCallingIdentity() 88 assertEquals(pid, Binder.getCallingPid()); in setUidAndRestoreCallingIdentity() 93 assertEquals(pid, Binder.getCallingPid()); in setUidAndRestoreCallingIdentity()
|
D | BinderUtil.java | 30 Binder.restoreCallingIdentity((((long) uid) << 32) | Binder.getCallingPid()); in setUid()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | ContactsPermissions.java | 41 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/ |
D | Channel.java | 125 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()
|
/packages/services/Car/car-lib/src/com/android/car/internal/ |
D | SystemStaticBinder.java | 33 public int getCallingPid() { in getCallingPid() method in SystemStaticBinder 34 return Binder.getCallingPid(); in getCallingPid()
|
D | StaticBinderInterface.java | 49 int getCallingPid(); in getCallingPid() method
|
D | CarPermission.java | 57 + Binder.getCallingPid() in assertGranted()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 947 callingUid, Binder.getCallingPid(), packageName, true); in startScan() 1157 if (checkNetworkSettingsPermission(Binder.getCallingPid(), Binder.getCallingUid())) { in enforceChangePermission() 1270 int callingPid = Binder.getCallingPid(); in setWifiEnabled() 1667 boolean privileged = isSettingsOrSuw(Binder.getCallingPid(), uid); in validateSoftApConfiguration() 1739 callingUid, Binder.getCallingPid(), packageName, true); in startSoftAp() 1846 callingUid, Binder.getCallingPid(), packageName, true); in startTetheredHotspotInternal() 1857 boolean privileged = isSettingsOrSuw(Binder.getCallingPid(), uid); in startSoftApInternal() 1903 Binder.getCallingUid(), Binder.getCallingPid(), "<unknown>", false); in stopSoftAp() 2648 int pid = Binder.getCallingPid(); in registerSoftApCallback() 2680 int pid = Binder.getCallingPid(); in unregisterSoftApCallback() [all …]
|
D | LocalOnlyHotspotRequestInfo.java | 62 mPid = Binder.getCallingPid(); in LocalOnlyHotspotRequestInfo()
|
/packages/modules/AppSearch/framework/java/android/app/appsearch/aidl/ |
D | AppSearchAttributionSource.java | 95 final int callingPidFromBinder = Binder.getCallingPid(); in AppSearchAttributionSource() 403 if (Binder.getCallingPid() == 0) { in enforceCallingPid() 409 + Binder.getCallingPid() in enforceCallingPid() 422 final int callingPid = Binder.getCallingPid(); in checkCallingPid()
|
/packages/providers/ContactsKeysProvider/src/com/android/providers/contactkeys/util/ |
D | E2eeContactKeysPermissions.java | 36 if (Binder.getCallingPid() == Process.myPid()) { in hasCallerOrSelfPermission() 45 + " caller=" + Binder.getCallingPid() in hasCallerOrSelfPermission()
|
/packages/modules/NetworkStack/src/com/android/server/util/ |
D | PermissionUtil.java | 21 import static android.os.Binder.getCallingPid; 67 final int systemPid = getCallingPid(); in checkConsistentSystemPid()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/os/ |
D | CarPerformanceServiceUnitTest.java | 81 verify(mMockCarWatchdogService).setThreadPriority(Binder.getCallingPid(), in testSetThreadPriority() 88 when(mMockCarWatchdogService.getThreadPriority(Binder.getCallingPid(), in testGetThreadPriority()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/ |
D | HealthConnectServiceImpl.java | 359 final int pid = Binder.getCallingPid(); in insertRecords() 464 final int pid = Binder.getCallingPid(); in aggregateRecords() 584 final int pid = Binder.getCallingPid(); in readRecords() 808 final int pid = Binder.getCallingPid(); in updateRecords() 984 final int pid = Binder.getCallingPid(); in getChangeLogs() 1119 final int pid = Binder.getCallingPid(); in deleteUsingFiltersForSelf() 1214 final int pid = Binder.getCallingPid(); in deleteUsingFilters() 1315 final int pid = Binder.getCallingPid(); in getCurrentPriority() 1366 final int pid = Binder.getCallingPid(); in updatePriority() 1404 final int pid = Binder.getCallingPid(); in setRecordRetentionPeriodInDays() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | VoicemailContentProvider.java | 183 " CPID=" + Binder.getCallingPid() + in insert() 202 " order=[" + sortOrder + "] CPID=" + Binder.getCallingPid() + in query() 218 " values=[" + values + "] CPID=" + Binder.getCallingPid() + in update() 234 " CPID=" + Binder.getCallingPid() + in delete() 261 " CPID=" + Binder.getCallingPid() + in openFile()
|
D | CallLogProvider.java | 474 " order=[" + sortOrder + "] CPID=" + Binder.getCallingPid() + in queryInternal() 712 " CPID=" + Binder.getCallingPid() + in insertInternal() 760 Binder.getCallingUid(), Binder.getCallingPid(), uri, rowId); in insertInternal() 941 " values=[" + values + "] CPID=" + Binder.getCallingPid() + in updateInternal() 976 Binder.getCallingUid(), Binder.getCallingPid(), uri, count); in updateInternal() 987 " CPID=" + Binder.getCallingPid() + in deleteInternal() 1005 Binder.getCallingUid(), Binder.getCallingPid(), uri, count); in deleteInternal()
|
/packages/services/Car/service/src/com/android/car/os/ |
D | CarPerformanceService.java | 96 int pid = Binder.getCallingPid(); in setThreadPriority() 117 int pid = Binder.getCallingPid(); in getThreadPriority()
|
/packages/services/Car/experimental/service/src/com/android/experimentalcar/ |
D | IExperimentalCarImpl.java | 148 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid() in dump() 199 int pid = Binder.getCallingPid(); in assertCallingFromSystemProcessOrSelf()
|
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/ |
D | BinderUtil.java | 29 Binder.restoreCallingIdentity((((long) uid) << 32) | Binder.getCallingPid()); in setUid()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/ |
D | BinderUtil.java | 30 Binder.restoreCallingIdentity((((long) uid) << 32) | Binder.getCallingPid()); in setUid()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/util/ |
D | BinderUtil.java | 30 Binder.restoreCallingIdentity((((long) uid) << 32) | Binder.getCallingPid()); in setUid()
|
/packages/modules/Media/apex/service/java/com/android/server/media/ |
D | MediaCommunicationService.java | 318 final int pid = Binder.getCallingPid(); in notifySession2Created() 388 final int pid = Binder.getCallingPid(); in getSession2Tokens() 415 final int pid = Binder.getCallingPid(); in dispatchMediaKeyEvent() 434 final int pid = Binder.getCallingPid(); in registerCallback()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/ |
D | InCallServiceImpl.java | 62 if (getCallingPid() == Process.myPid()) { in getService()
|
/packages/services/Car/service/src/com/android/car/oem/ |
D | CarOemProxyServiceHelper.java | 320 if (Binder.getCallingPid() != mOemCarServicePid) return; in stopTracking() 336 if (Binder.getCallingPid() != mOemCarServicePid) return; in startTracking()
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | ThreadNetworkService.java | 113 + Binder.getCallingPid() in dump()
|