/frameworks/av/services/camera/libcameraservice/utils/ |
D | AttributionAndPermissionUtils.h | 125 static AttributionSourceState buildAttributionSource(int callingPid, int callingUid) { in buildAttributionSource() 132 static AttributionSourceState buildAttributionSource(int callingPid, int callingUid, in buildAttributionSource() 139 static AttributionSourceState buildAttributionSource(int callingPid, int callingUid, in buildAttributionSource() 169 bool hasPermissionsForCamera(int callingPid, int callingUid, int32_t deviceId) const { in hasPermissionsForCamera() 173 bool hasPermissionsForCamera(int callingPid, int callingUid, in hasPermissionsForCamera() 179 bool hasPermissionsForCamera(const std::string& cameraId, int callingPid, in hasPermissionsForCamera() 186 bool hasPermissionsForCamera(const std::string& cameraId, int callingPid, int callingUid, in hasPermissionsForCamera() 200 bool hasPermissionsForCameraHeadlessSystemUser(const std::string& cameraId, int callingPid, in hasPermissionsForCameraHeadlessSystemUser() 207 bool hasPermissionsForCameraPrivacyAllowlist(int callingPid, int callingUid) const { in hasPermissionsForCameraPrivacyAllowlist() 213 bool hasPermissionsForOpenCloseListener(int callingPid, int callingUid) const { in hasPermissionsForOpenCloseListener()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | BackgroundActivityStartControllerExemptionTests.java | 211 int callingPid = REGULAR_PID_1; in testNoExemption() local 247 int callingPid = REGULAR_PID_1; in testCaller_appHasVisibleWindow() local 279 int callingPid = REGULAR_PID_1; in testRealCaller_appHasVisibleWindow() local 318 int callingPid = REGULAR_PID_1; in testCaller_appAllowedByBLPC() local 351 int callingPid = REGULAR_PID_1; in testRealCaller_appAllowedByBLPC() local 393 int callingPid = REGULAR_PID_1; in testRealCaller_appAllowedByBLPCforOtherProcess() local 439 int callingPid = REGULAR_PID_1; in testRealCaller_isCompanionApp() local 472 int callingPid = REGULAR_PID_1; in testCaller_balPermission() local 505 int callingPid = REGULAR_PID_1; in testRealCaller_balPermission() local 540 int callingPid = REGULAR_PID_1; in testCaller_sawPermission() local [all …]
|
D | BackgroundActivityStartControllerTests.java | 236 int callingPid = REGULAR_PID_1; in testRegularActivityStart_noExemption_isBlocked() local 271 int callingPid = REGULAR_PID_1; in testRegularActivityStart_notAllowed_isBlocked() local 306 int callingPid = REGULAR_PID_1; in testRegularActivityStart_allowedByCaller_isAllowed() local 341 int callingPid = REGULAR_PID_1; in testRegularActivityStart_allowedByRealCaller_isAllowed() local 375 int callingPid = REGULAR_PID_1; in testRegularActivityStart_allowedByCallerAndRealCaller_returnsCallerVerdict() local 413 int callingPid = REGULAR_PID_1; in testPendingIntent_allowedByCallerAndRealCallerButOptOut_isBlocked() local 452 int callingPid = REGULAR_PID_1; in testPendingIntent_allowedByCallerAndOptIn_isAllowed() local 489 int callingPid = REGULAR_PID_1; in testPendingIntent_allowedByRealCallerAndOptIn_isAllowed() local 525 int callingPid = REGULAR_PID_1; in testBalState_regularStart_isAutoOptIn() local 590 int callingPid = REGULAR_PID_1; in testBalState_pendingIntentForResult_isOptedInForSenderOnly() local [all …]
|
D | WindowManagerServiceTests.java | 653 int callingPid = Binder.getCallingPid(); in testSetInTouchMode_instrumentedProcessGetPermissionToSwitchTouchMode() local 673 int callingPid = Binder.getCallingPid(); in testSetInTouchMode_nonInstrumentedProcessDontGetPermissionToSwitchTouchMode() local 705 int callingPid = Binder.getCallingPid(); in testSetInTouchMode_multiDisplay_globalTouchModeUpdate() local 731 int callingPid = Binder.getCallingPid(); in testSetInTouchMode_multiDisplay_singleDisplayTouchModeUpdate() local 765 int callingPid = Binder.getCallingPid(); in testSetInTouchModeOnAllDisplays() local 1149 final int callingPid = 1234; in testGrantInputChannel_sanitizeSpyWindowForApplications() local 1167 final int callingPid = 1234; in testGrantInputChannel_allowSpyWindowForInputMonitorPermission() local 1187 final int callingPid = 1234; in testUpdateInputChannel_sanitizeSpyWindowForApplications() local 1211 final int callingPid = 1234; in testUpdateInputChannel_allowSpyWindowForInputMonitorPermission() local 1237 final int callingPid = 1234; in testUpdateInputChannel_sanitizeInputFeatureSensitive_forUntrustedWindows() local
|
D | ActivityInterceptorCallbackTest.java | 38 int callingPid = 100; in testBuildActivityInterceptorCallback() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/permission/ |
D | LegacyPermissionManagerServiceTest.java | 381 private void setupCheckDeviceIdentifierAccessTest(int callingPid, int callingUid) { in setupCheckDeviceIdentifierAccessTest() 394 public void setupCheckDeviceIdentifierAccessTest(int callingPid, int callingUid, in setupCheckDeviceIdentifierAccessTest() 409 private void setupCheckPhoneNumberAccessTest(int callingPid, int callingUid) throws Exception { in setupCheckPhoneNumberAccessTest() 422 private void setupCheckPhoneNumberAccessTest(int callingPid, int callingUid, int packageUid) in setupCheckPhoneNumberAccessTest() 432 private void setupAccessTest(int callingPid, int callingUid, int packageUid) { in setupAccessTest()
|
/frameworks/av/services/tuner/ |
D | TunerFilter.cpp | 65 int32_t callingPid = ipc->getCallingPid(); in getQueueDesc() local 195 int32_t callingPid = ipc->getCallingPid(); in start() local 214 int32_t callingPid = ipc->getCallingPid(); in stop() local 232 int32_t callingPid = ipc->getCallingPid(); in flush() local 247 int32_t callingPid = ipc->getCallingPid(); in close() local 322 bool TunerFilter::isSharedFilterAllowed(int callingPid) { in isSharedFilterAllowed()
|
/frameworks/base/services/core/java/com/android/server/devicestate/ |
D | DeviceStateManagerService.java | 817 private void requestStateInternal(int state, int flags, int callingPid, int callingUid, in requestStateInternal() 867 private void cancelStateRequestInternal(int callingPid) { in cancelStateRequestInternal() 878 private void requestBaseStateOverrideInternal(int state, int flags, int callingPid, in requestBaseStateOverrideInternal() 905 private void cancelBaseStateOverrideInternal(int callingPid) { in cancelBaseStateOverrideInternal() 971 private void assertCanRequestDeviceState(int callingPid, int callingUid, int state) { in assertCanRequestDeviceState() 995 private void assertCanControlDeviceState(int callingPid, int callingUid) { in assertCanControlDeviceState() 1013 private boolean isForegroundApp(int callingPid, int callingUid) { in isForegroundApp() 1030 private boolean isTopApp(int callingPid) { in isTopApp() 1243 final int callingPid = Binder.getCallingPid(); in registerCallback() local 1254 final int callingPid = Binder.getCallingPid(); in requestState() local [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationDelegate.java | 29 void onClearAll(int callingUid, int callingPid, int userId); in onClearAll() 30 void onNotificationClick(int callingUid, int callingPid, String key, in onNotificationClick() 32 void onNotificationActionClick(int callingUid, int callingPid, String key, int actionIndex, in onNotificationActionClick() 34 void onNotificationClear(int callingUid, int callingPid, in onNotificationClear() 39 void onNotificationError(int callingUid, int callingPid, in onNotificationError()
|
D | NotificationManagerInternal.java | 29 void enqueueNotification(String pkg, String basePkg, int callingUid, int callingPid, in enqueueNotification() 31 void enqueueNotification(String pkg, String basePkg, int callingUid, int callingPid, in enqueueNotification() 34 void cancelNotification(String pkg, String basePkg, int callingUid, int callingPid, in cancelNotification()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SafeActivityOptions.java | 90 static SafeActivityOptions fromBundle(Bundle bOptions, int callingPid, int callingUid) { in fromBundle() 115 private SafeActivityOptions(@Nullable ActivityOptions options, int callingPid, int callingUid) { in SafeActivityOptions() 209 int callingPid, int callingUid) { in setCallingPidUidForRemoteAnimationAdapter() 272 ActivityOptions options, int callingPid, int callingUid) { in checkPermissions() 461 private boolean isSystemOrSystemUI(int callingPid, int callingUid) { in isSystemOrSystemUI()
|
D | ActivityTaskSupervisor.java | 391 boolean canPlaceEntityOnDisplay(int displayId, int callingPid, int callingUid, in canPlaceEntityOnDisplay() 397 boolean canPlaceEntityOnDisplay(int displayId, int callingPid, int callingUid, Task task) { in canPlaceEntityOnDisplay() 402 private boolean canPlaceEntityOnDisplay(int displayId, int callingPid, int callingUid, in canPlaceEntityOnDisplay() 747 int filterCallingUid, int callingPid) { in resolveIntent() 784 ProfilerInfo profilerInfo, int userId, int filterCallingUid, int callingPid) { in resolveActivity() 1127 int requestCode, int callingPid, int callingUid, String callingPackage, in checkStartAnyActivityPermission() 1194 boolean isCallerAllowedToLaunchOnTaskDisplayArea(int callingPid, int callingUid, in isCallerAllowedToLaunchOnTaskDisplayArea() 1201 boolean isCallerAllowedToLaunchOnDisplay(int callingPid, int callingUid, int launchDisplayId, in isCallerAllowedToLaunchOnDisplay() 1318 String callingPackage, @Nullable String callingFeatureId, int callingPid, in getComponentRestrictionForCallingPackage() 1346 @Nullable String callingFeatureId, int callingPid, int callingUid) { in getActionRestrictionForCallingPackage() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SaferIntentUtils.java | 128 int event, int callingUid, int callingPid, in reportUnsafeIntentEvent() 176 public int callingPid; field in SaferIntentUtils.IntentArgs 180 boolean resolveForStart, int callingUid, int callingPid) { in IntentArgs()
|
D | ResolveIntentHelper.java | 111 boolean resolveForStart, int filterCallingUid, int callingPid) { in resolveIntentInternal() 271 final int callingPid = Binder.getCallingPid(); in getLaunchIntentSenderForPackage() local 341 int filterCallingUid, int callingPid, boolean forSend) { in queryIntentReceiversInternal() 442 int callingUid, int callingPid, boolean resolveForStart) { in resolveServiceInternal()
|
/frameworks/av/services/mediaresourcemanager/ |
D | ResourceManagerService.cpp | 314 pid_t callingPid = IPCThreadState::self()->getCallingPid(); in addResource() local 366 pid_t callingPid = IPCThreadState::self()->getCallingPid(); in removeResource() local 427 pid_t callingPid = IPCThreadState::self()->getCallingPid(); in removeResource() local 464 int callingPid = resourceRequestInfo.mCallingPid; in getClientForResource_l() local 488 int32_t callingPid = clientInfo.pid; in getTargetClients() local 625 int32_t callingPid = clientInfo.pid; in pushReclaimAtom() local 789 int callingPid = AIBinder_getCallingPid(); in overrideProcessInfo() local 835 pid_t callingPid = IPCThreadState::self()->getCallingPid(); in markClientForPendingRemoval() local 867 pid_t callingPid = IPCThreadState::self()->getCallingPid(); in reclaimResourcesFromClientsPendingRemoval() local 963 int callingPid = resourceRequestInfo.mCallingPid; in getLowestPriorityBiggestClient_l() local [all …]
|
D | ProcessPriorityReclaimPolicy.cpp | 52 int callingPid = reclaimRequestInfo.mCallingPid; in getClients() local 104 pid_t callingPid, in getBiggestClientFromLowestPriority()
|
D | ResourceTracker.cpp | 102 pid_t callingPid = IPCThreadState::self()->getCallingPid(); in addResource() local 157 pid_t callingPid = IPCThreadState::self()->getCallingPid(); in removeResource() local 206 pid_t callingPid = IPCThreadState::self()->getCallingPid(); in removeResource() local 278 pid_t callingPid = IPCThreadState::self()->getCallingPid(); in markClientForPendingRemoval() local 304 pid_t callingPid = IPCThreadState::self()->getCallingPid(); in getClientsMarkedPendingRemoval() local 760 bool ResourceTracker::isCallingPriorityHigher(int callingPid, int pid) { in isCallingPriorityHigher()
|
D | ClientImportanceReclaimPolicy.cpp | 43 pid_t callingPid = reclaimRequestInfo.mCallingPid; in getClients() local
|
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutServiceInternal.java | 53 @ShortcutQuery.QueryFlags int flags, int userId, int callingPid, int callingUid); in getShortcuts() 65 @ShortcutQuery.QueryFlags int flags, int userId, int callingPid, int callingUid, in getShortcutsAsync() 79 int callingPid, int callingUid); in createShortcutIntents() 87 int callingPid, int callingUid, @NonNull AndroidFuture<Intent[]> cb); in createShortcutIntentsAsync() 116 @NonNull String callingPackage, int callingPid, int callingUid); in hasShortcutHostPermission()
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationEnforcer.java | 101 final int callingPid = Binder.getCallingPid(); in assertApprovedVerifier() local 235 final int callingPid = Binder.getCallingPid(); in assertOwnerQuerent() local
|
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | ActivityInterceptorInfoWrapper.java | 78 int callingPid = mActivityInterceptorInfo.getCallingPid() != -1 in getCallingPid() local
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | PinnedSliceState.java | 216 private int callingPid; field in PinnedSliceState.ListenerInfo 219 int callingUid, int callingPid) { in ListenerInfo()
|
/frameworks/base/telephony/common/android/telephony/ |
D | LocationAccessPolicy.java | 64 public final int callingPid; field in LocationAccessPolicy.LocationPermissionQuery 71 int callingUid, int callingPid, int minSdkVersionForCoarse, in LocationPermissionQuery() 122 public Builder setCallingPid(int callingPid) { in setCallingPid()
|
/frameworks/av/media/module/libmediatranscoding/ |
D | TranscodingClientManager.cpp | 132 int32_t callingPid = AIBinder_getCallingPid(); in submitRequest() local 240 int32_t callingPid = AIBinder_getCallingPid(); in addClientUid() local 381 int32_t callingPid = AIBinder_getCallingPid(); in addClient() local
|
/frameworks/av/services/tuner/hidl/ |
D | TunerHidlFilter.cpp | 123 int32_t callingPid = ipc->getCallingPid(); in getQueueDesc() local 394 int32_t callingPid = ipc->getCallingPid(); in start() local 415 int32_t callingPid = ipc->getCallingPid(); in stop() local 436 int32_t callingPid = ipc->getCallingPid(); in flush() local 456 int32_t callingPid = ipc->getCallingPid(); in close() local 534 bool TunerHidlFilter::isSharedFilterAllowed(int callingPid) { in isSharedFilterAllowed()
|