Home
last modified time | relevance | path

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

1234

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DBinderUtilTest.java60 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()
DBinderUtil.java30 Binder.restoreCallingIdentity((((long) uid) << 32) | Binder.getCallingPid()); in setUid()
/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()
/packages/services/Car/car-lib/src/com/android/car/internal/
DSystemStaticBinder.java33 public int getCallingPid() { in getCallingPid() method in SystemStaticBinder
34 return Binder.getCallingPid(); in getCallingPid()
DStaticBinderInterface.java49 int getCallingPid(); in getCallingPid() method
DCarPermission.java57 + Binder.getCallingPid() in assertGranted()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java947 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 …]
DLocalOnlyHotspotRequestInfo.java62 mPid = Binder.getCallingPid(); in LocalOnlyHotspotRequestInfo()
/packages/modules/AppSearch/framework/java/android/app/appsearch/aidl/
DAppSearchAttributionSource.java95 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/
DE2eeContactKeysPermissions.java36 if (Binder.getCallingPid() == Process.myPid()) { in hasCallerOrSelfPermission()
45 + " caller=" + Binder.getCallingPid() in hasCallerOrSelfPermission()
/packages/modules/NetworkStack/src/com/android/server/util/
DPermissionUtil.java21 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/
DCarPerformanceServiceUnitTest.java81 verify(mMockCarWatchdogService).setThreadPriority(Binder.getCallingPid(), in testSetThreadPriority()
88 when(mMockCarWatchdogService.getThreadPriority(Binder.getCallingPid(), in testGetThreadPriority()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/
DHealthConnectServiceImpl.java359 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/
DVoicemailContentProvider.java183 " 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()
DCallLogProvider.java474 " 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/
DCarPerformanceService.java96 int pid = Binder.getCallingPid(); in setThreadPriority()
117 int pid = Binder.getCallingPid(); in getThreadPriority()
/packages/services/Car/experimental/service/src/com/android/experimentalcar/
DIExperimentalCarImpl.java148 + 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/
DBinderUtil.java29 Binder.restoreCallingIdentity((((long) uid) << 32) | Binder.getCallingPid()); in setUid()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DBinderUtil.java30 Binder.restoreCallingIdentity((((long) uid) << 32) | Binder.getCallingPid()); in setUid()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/util/
DBinderUtil.java30 Binder.restoreCallingIdentity((((long) uid) << 32) | Binder.getCallingPid()); in setUid()
/packages/modules/Media/apex/service/java/com/android/server/media/
DMediaCommunicationService.java318 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/
DInCallServiceImpl.java62 if (getCallingPid() == Process.myPid()) { in getService()
/packages/services/Car/service/src/com/android/car/oem/
DCarOemProxyServiceHelper.java320 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/
DThreadNetworkService.java113 + Binder.getCallingPid() in dump()

1234