/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | PermissionUtils.java | 72 public static boolean checkPermissionSelf(@NonNull Context context, int pid, int uid) { in checkPermissionSelf() 102 public static boolean checkPermissionManager(@NonNull Context context, int pid, in checkPermissionManager() 121 public static boolean checkPermissionDelegator(@NonNull Context context, int pid, int uid) { in checkPermissionDelegator() 126 public static boolean checkPermissionWriteStorage(@NonNull Context context, int pid, int uid, in checkPermissionWriteStorage() 133 public static boolean checkPermissionReadStorage(@NonNull Context context, int pid, int uid, in checkPermissionReadStorage() 144 public static boolean checkPermissionAccessMediaLocation(@NonNull Context context, int pid, in checkPermissionAccessMediaLocation() 157 private static boolean checkPermissionAccessMediaCompatGrant(@NonNull Context context, int pid, in checkPermissionAccessMediaCompatGrant() 193 public static boolean checkPermissionManageMedia(@NonNull Context context, int pid, int uid, in checkPermissionManageMedia() 211 int pid, in checkPermissionReadAudio() 228 public static boolean checkPermissionWriteAudio(@NonNull Context context, int pid, int uid, in checkPermissionWriteAudio() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | SystemActivityMonitoringService.java | 146 public boolean isInForeground(int pid, int uid) { in isInForeground() 178 private void handleForegroundActivitiesChanged(int pid, int uid, boolean foregroundActivities) { in handleForegroundActivitiesChanged() 197 private void handleProcessDied(int pid, int uid) { in handleProcessDied() 208 private void doHandlePidGoneLocked(int pid, int uid) { in doHandlePidGoneLocked() 222 private boolean doHandleProcessGroupForFgApp(int pid, int uid) { in doHandleProcessGroupForFgApp() 262 private void handleProcessGroupForFgApp(int pid, int uid) { in handleProcessGroupForFgApp() 271 public void onForegroundActivitiesChanged(int pid, int uid, boolean foregroundActivities) { in onForegroundActivitiesChanged() 284 public void onProcessDied(int pid, int uid) { in onProcessDied() 302 private void requestForegroundActivitiesChanged(int pid, int uid, in requestForegroundActivitiesChanged() 309 private void requestProcessDied(int pid, int uid) { in requestProcessDied()
|
D | CarServiceHelperWrapper.java | 227 public void setProcessGroup(int pid, int group) { in setProcessGroup() 238 public int getProcessGroup(int pid) { in getProcessGroup() 287 public void setProcessProfile(int pid, int uid, @NonNull String profile) { in setProcessProfile()
|
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/ |
D | Obd2CommandTest.java | 49 void checkLiveFrameIntCommand(int pid, String responseBytes, int expectedResponse) { in checkLiveFrameIntCommand() 77 void checkLiveFrameFloatCommand(int pid, String responseBytes, float expectedResponse) { in checkLiveFrameFloatCommand() 105 void checkFreezeFrameIntCommand(int pid, String responseBytes, int expectedResponse) { in checkFreezeFrameIntCommand() 133 void checkFreezeFrameFloatCommand(int pid, String responseBytes, float expectedResponse) { in checkFreezeFrameFloatCommand() 161 void checkCommand(int pid, String responseBytes, int expectedResponse) { in checkCommand() 166 void checkCommand(int pid, String responseBytes, float expectedResponse) { in checkCommand()
|
/packages/services/Car/service/src/com/android/car/cluster/ |
D | ClusterNavigationService.java | 145 public void onFocusAcquired(int appType, int uid, int pid) { in onFocusAcquired() 150 public void onFocusAbandoned(int appType, int uid, int pid) { in onFocusAbandoned() 156 int pid = Binder.getCallingPid(); in assertNavigationFocus() local 171 private void changeNavContextOwner(int appType, int uid, int pid, boolean acquire) { in changeNavContextOwner() 222 final int pid; field in ClusterNavigationService.ContextOwner 224 ContextOwner(int uid, int pid) { in ContextOwner()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | ThreadPriorityController.cpp | 36 Result<void> ThreadPriorityController::checkPidTidUid(pid_t pid, pid_t tid, uid_t uid) { in checkPidTidUid() 52 Result<void> ThreadPriorityController::setThreadPriority(int pid, int tid, int uid, int policy, in setThreadPriority() 84 Result<void> ThreadPriorityController::getThreadPriority(int pid, int tid, int uid, in getThreadPriority() 125 pid_t pid) { in readPidStatusFileForPid()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/ |
D | HealthConnectServiceImpl.java | 303 final int pid = Binder.getCallingPid(); in insertRecords() local 410 final int pid = Binder.getCallingPid(); in aggregateRecords() local 501 final int pid = Binder.getCallingPid(); in readRecords() local 687 final int pid = Binder.getCallingPid(); in updateRecords() local 960 final int pid = Binder.getCallingPid(); in deleteUsingFiltersForSelf() local 1053 final int pid = Binder.getCallingPid(); in deleteUsingFilters() local 1127 int pid) { in deleteUsingFiltersInternal() 1153 final int pid = Binder.getCallingPid(); in getCurrentPriority() local 1202 final int pid = Binder.getCallingPid(); in updatePriority() local 1239 final int pid = Binder.getCallingPid(); in setRecordRetentionPeriodInDays() local [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareStateManagerTest.java | 456 final int pid = 2000; in testAwareDataPathInterfaceUpDown() local 503 final int pid = 2000; in testDisableUsageDisablesApis() local 546 final int pid = 2000; in testDisableUsageFlow() local 640 final int pid = 2000; in testHalFailureEnableAndConfigure() local 685 final int pid = 2000; in testAwareEventsDelivery() local 779 final int pid = 2000; in testHalNoResponseTimeout() local 844 final int pid = 2000; in testPublishFail() local 918 final int pid = 2000; in testPublishSuccessTerminated() local 1006 final int pid = 2000; in testPublishSuccessInstantCommunicationMode() local 1093 final int pid = 2000; in testSubscribeSuccessInstantCommunicationMode() local [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | BinderUtilTest.java | 60 final int pid = Binder.getCallingPid(); in setUid() local 82 final int pid = Binder.getCallingPid(); in setUidAndRestoreCallingIdentity() local
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/ts/ |
D | TsParser.java | 85 void onEitPidDetected(int pid); in onEitPidDetected() 91 void onEttPidDetected(int pid); in onEttPidDetected() 122 public SectionStream(int pid) { in SectionStream() 341 public final int pid; field in TsParser.EventSourceEntry 344 public EventSourceEntry(int pid, int sourceId) { in EventSourceEntry() 460 private void startListening(int pid) { in startListening() 479 int pid = ((tsData[pos + 1] & 0x1f) << 8) | (tsData[pos + 2] & 0xff); in feedTSPacket() local
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/current/android/automotive/watchdog/internal/ |
D | ICarWatchdog.aidl | 46 void setThreadPriority(int pid, int tid, int uid, int policy, int priority); in setThreadPriority() 47 …android.automotive.watchdog.internal.ThreadPolicyWithPriority getThreadPriority(int pid, int tid, … in getThreadPriority() 48 void onAidlVhalPidFetched(int pid); in onAidlVhalPidFetched()
|
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/ |
D | ICarWatchdog.aidl | 157 void setThreadPriority(int pid, int tid, int uid, int policy, int priority); in setThreadPriority() 176 ThreadPolicyWithPriority getThreadPriority(int pid, int tid, int uid); in getThreadPriority() 186 void onAidlVhalPidFetched(int pid); in onAidlVhalPidFetched()
|
/packages/services/Car/car-lib/src/com/android/car/internal/ |
D | ICarServiceHelper.aidl | 77 void setProcessGroup(int pid, int group) = 7; in setProcessGroup() 80 int getProcessGroup(int pid) = 8; in getProcessGroup() 94 void setProcessProfile(int pid, int uid, in String profile) = 12; in setProcessProfile()
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/3/android/automotive/watchdog/internal/ |
D | ICarWatchdog.aidl | 46 void setThreadPriority(int pid, int tid, int uid, int policy, int priority); in setThreadPriority() 47 …android.automotive.watchdog.internal.ThreadPolicyWithPriority getThreadPriority(int pid, int tid, … in getThreadPriority() 48 void onAidlVhalPidFetched(int pid); in onAidlVhalPidFetched()
|
/packages/services/Car/car-test-lib/src/android/car/testapi/ |
D | FakeSystemActivityMonitoringService.java | 45 public boolean isInForeground(int pid, int uid) { in isInForeground() 50 void setForegroundPid(int pid) { in setForegroundPid()
|
/packages/services/Car/procfs-inspector/client/src/com/android/car/procfsinspector/ |
D | ProcessInfo.java | 40 public final int pid; field in ProcessInfo 43 public ProcessInfo(int pid, int uid) { in ProcessInfo()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsWrapper.java | 46 public int getUidPermission(String permissionType, int uid, int pid) { in getUidPermission() 66 public int getOverrideWifiConfigPermission(int uid, int pid) { in getOverrideWifiConfigPermission()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | AbstractICarServiceHelperStub.java | 100 public void setProcessGroup(int pid, int group) { in setProcessGroup() 105 public int getProcessGroup(int pid) { in getProcessGroup() 134 public void setProcessProfile(int pid, int uid, @NonNull String profile) { in setProcessProfile()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/util/permissions/ |
D | BroadcastPermissions.java | 71 int pid = callerIdentity.getPid(); in checkCallerBroadcastPermission() local 85 Context context, int uid, int pid) { in getPermissionLevel()
|
D | DiscoveryPermissions.java | 75 int pid = callerIdentity.getPid(); in checkCallerDiscoveryPermission() local 98 Context context, int uid, int pid) { in getPermissionLevel()
|
/packages/modules/adb/libs/adbconnection/include/adbconnection/ |
D | client.h | 29 pid, enumerator 38 uint64_t pid; member
|
/packages/services/Car/service/src/com/android/car/os/ |
D | CarPerformanceService.java | 91 int pid = Binder.getCallingPid(); in setThreadPriority() local 112 int pid = Binder.getCallingPid(); in getThreadPriority() local
|
/packages/apps/SecureElement/src/com/android/se/security/ |
D | ChannelAccess.java | 137 public static ChannelAccess getPrivilegeAccess(String packageName, int pid) { in getPrivilegeAccess() 150 public static ChannelAccess getCarrierPrivilegeAccess(String packageName, int pid) { in getCarrierPrivilegeAccess() 169 public void setCarrierPrivilegeAccess(String packageName, int pid) { in setCarrierPrivilegeAccess()
|
/packages/modules/Virtualization/tests/helper/src/java/com/android/microdroid/test/common/ |
D | ProcessUtil.java | 39 public static List<SMapEntry> getProcessSmaps(int pid, Function<String, String> shellExecutor) in getProcessSmaps() 47 int pid, Function<String, String> shellExecutor) throws IOException { in getProcessSmapsRollup() 96 int pid, String cmdlineFilter, Function<String, String> shellExecutor) { in getChildProcesses()
|
/packages/modules/Uwb/framework/java/android/uwb/ |
D | SessionHandle.java | 34 public SessionHandle(int id, AttributionSource attributionSource, int pid) { in SessionHandle() 38 private SessionHandle(int id, String packageName, int uid, int pid) { in SessionHandle()
|