/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | PermissionUtils.java | 69 public static boolean checkPermissionSelf(@NonNull Context context, int pid, int uid) { in checkPermissionSelf() 73 public static boolean checkPermissionShell(@NonNull Context context, int pid, int uid) { in checkPermissionShell() 87 public static boolean checkPermissionManager(@NonNull Context context, int pid, in checkPermissionManager() 106 public static boolean checkPermissionDelegator(@NonNull Context context, int pid, int uid) { in checkPermissionDelegator() 111 public static boolean checkPermissionWriteStorage(@NonNull Context context, int pid, int uid, in checkPermissionWriteStorage() 118 public static boolean checkPermissionReadStorage(@NonNull Context context, int pid, int uid, in checkPermissionReadStorage() 129 public static boolean checkPermissionAccessMediaLocation(@NonNull Context context, int pid, in checkPermissionAccessMediaLocation() 139 public static boolean checkPermissionManageMedia(@NonNull Context context, int pid, int uid, in checkPermissionManageMedia() 157 int pid, in checkPermissionReadAudio() 174 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 | 92 public boolean isInForeground(int pid, int uid) { in isInForeground() 105 private void handleForegroundActivitiesChanged(int pid, int uid, boolean foregroundActivities) { in handleForegroundActivitiesChanged() 120 private void handleProcessDied(int pid, int uid) { in handleProcessDied() 127 private void doHandlePidGoneLocked(int pid, int uid) { in doHandlePidGoneLocked() 139 public void onForegroundActivitiesChanged(int pid, int uid, boolean foregroundActivities) { in onForegroundActivitiesChanged() 149 public void onProcessDied(int pid, int uid) { in onProcessDied() 167 private void requestForegroundActivitiesChanged(int pid, int uid, in requestForegroundActivitiesChanged() 174 private void requestProcessDied(int pid, int uid) { in requestProcessDied()
|
/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 | 144 public void onFocusAcquired(int appType, int uid, int pid) { in onFocusAcquired() 149 public void onFocusAbandoned(int appType, int uid, int pid) { in onFocusAbandoned() 155 int pid = Binder.getCallingPid(); in assertNavigationFocus() local 170 private void changeNavContextOwner(int appType, int uid, int pid, boolean acquire) { in changeNavContextOwner() 221 final int pid; field in ClusterNavigationService.ContextOwner 223 ContextOwner(int uid, int pid) { in ContextOwner()
|
/packages/services/Car/service/src/com/android/car/os/ |
D | CarPerformanceService.java | 159 int pid = Binder.getCallingPid(); in setThreadPriority() local 181 int pid = Binder.getCallingPid(); in getThreadPriority() local 216 public final int pid; field in CarPerformanceService.CpuAvailabilityChangeListenerInfo 219 CpuAvailabilityChangeListenerInfo(@NonNull CpuAvailabilityMonitoringConfig config, int pid, in CpuAvailabilityChangeListenerInfo()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | ThreadPriorityController.cpp | 46 Status ThreadPriorityController::checkPidTidUid(pid_t pid, pid_t tid, uid_t uid) { in checkPidTidUid() 65 Status ThreadPriorityController::setThreadPriority(int pid, int tid, int uid, int policy, in setThreadPriority() 100 Status ThreadPriorityController::getThreadPriority(int pid, int tid, int uid, in getThreadPriority() 143 pid_t pid) { in readPidStatusFileForPid()
|
D | WatchdogProcessService.h | 147 ClientInfo(const android::sp<ICarWatchdogClient>& client, pid_t pid, userid_t userId, in ClientInfo() 155 const android::sp<android::IBinder>& binder, pid_t pid, userid_t userId, in ClientInfo() 177 pid_t pid; variable
|
/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/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareStateManagerTest.java | 438 final int pid = 2000; in testAwareDataPathInterfaceUpDown() local 485 final int pid = 2000; in testDisableUsageDisablesApis() local 528 final int pid = 2000; in testDisableUsageFlow() local 621 final int pid = 2000; in testHalFailureEnableAndConfigure() local 663 final int pid = 2000; in testAwareEventsDelivery() local 755 final int pid = 2000; in testHalNoResponseTimeout() local 818 final int pid = 2000; in testPublishFail() local 889 final int pid = 2000; in testPublishSuccessTerminated() local 974 final int pid = 2000; in testPublishSuccessInstantCommunicationMode() local 1060 final int pid = 2000; in testSubscribeSuccessInstantCommunicationMode() local [all …]
|
/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/car-test-lib/src/android/car/testapi/ |
D | FakeSystemActivityMonitoringService.java | 41 public boolean isInForeground(int pid, int uid) { in isInForeground() 46 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/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/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/Wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 942 private boolean checkNetworkSettingsPermission(int pid, int uid) { in checkNetworkSettingsPermission() 947 private boolean checkNetworkSetupWizardPermission(int pid, int uid) { in checkNetworkSetupWizardPermission() 952 private boolean checkMainlineNetworkStackPermission(int pid, int uid) { in checkMainlineNetworkStackPermission() 957 private boolean checkNetworkStackPermission(int pid, int uid) { in checkNetworkStackPermission() 962 private boolean checkNetworkManagedProvisioningPermission(int pid, int uid) { in checkNetworkManagedProvisioningPermission() 967 private boolean checkManageDeviceAdminsPermission(int pid, int uid) { in checkManageDeviceAdminsPermission() 977 private boolean isPrivileged(int pid, int uid) { in isPrivileged() 995 private boolean isSettingsOrSuw(int pid, int uid) { in isSettingsOrSuw() 1101 private boolean isTargetSdkLessThanQOrPrivileged(String packageName, int pid, int uid) { in isTargetSdkLessThanQOrPrivileged() 1126 private boolean isTargetSdkLessThanROrPrivileged(String packageName, int pid, int uid) { in isTargetSdkLessThanROrPrivileged() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | LastCallerInfoManager.java | 34 public void put(@ApiType int apiName, int tid, int uid, int pid, String packageName, in put() 97 public LastCallerInfo(int tid, int uid, int pid, String packageName, boolean toggleState) { in LastCallerInfo()
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/2/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()
|
/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()
|
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/ |
D | ICarWatchdog.aidl | 156 void setThreadPriority(int pid, int tid, int uid, int policy, int priority); in setThreadPriority() 175 ThreadPolicyWithPriority getThreadPriority(int pid, int tid, int uid); in getThreadPriority()
|
/packages/modules/Media/apex/service/java/com/android/server/media/ |
D | MediaCommunicationService.java | 180 private boolean hasMediaControlPermission(int pid, int uid) { in hasMediaControlPermission() 321 final int pid = Binder.getCallingPid(); in notifySession2Created() local 382 final int pid = Binder.getCallingPid(); in getSession2Tokens() local 409 final int pid = Binder.getCallingPid(); in dispatchMediaKeyEvent() local 484 private int handleIncomingUser(int pid, int uid, int userId, String packageName) { in handleIncomingUser() 513 String packageName, int uid, int pid) { in CallbackRecord()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/util/identity/ |
D | CallerIdentity.java | 54 public static CallerIdentity forTest(int uid, int pid, String packageName, in forTest() 80 private CallerIdentity(int uid, int pid, String packageName, in CallerIdentity()
|
/packages/services/Car/procfs-inspector/server/ |
D | process.h | 33 ProcessInfo(pid_t pid = -1, uid_t uid = -1) : mPid(pid), mUid(uid) {} in mPid() argument
|
/packages/modules/adb/proto/ |
D | app_processes.proto | 25 int64 pid = 1; field
|