Home
last modified time | relevance | path

Searched defs:pid (Results 1 – 25 of 427) sorted by relevance

12345678910>>...18

/frameworks/base/media/java/android/media/session/
DISessionCallback.aidl28 void onCommand(String packageName, int pid, int uid, String command, in Bundle args, in onCommand()
30 void onMediaButton(String packageName, int pid, int uid, in Intent mediaButtonIntent, in onMediaButton()
32 void onMediaButtonFromController(String packageName, int pid, int uid, in onMediaButtonFromController()
36 void onPrepare(String packageName, int pid, int uid); in onPrepare()
37 void onPrepareFromMediaId(String packageName, int pid, int uid, String mediaId, in onPrepareFromMediaId()
39 void onPrepareFromSearch(String packageName, int pid, int uid, String query, in Bundle extras); in onPrepareFromSearch()
40 void onPrepareFromUri(String packageName, int pid, int uid, in Uri uri, in Bundle extras); in onPrepareFromUri()
41 void onPlay(String packageName, int pid, int uid); in onPlay()
42 void onPlayFromMediaId(String packageName, int pid, int uid, String mediaId, in Bundle extras); in onPlayFromMediaId()
43 void onPlayFromSearch(String packageName, int pid, int uid, String query, in Bundle extras); in onPlayFromSearch()
[all …]
/frameworks/av/services/mediaresourcemanager/aidl/android/media/
DIResourceManagerService.aidl54 int pid, in addResource()
67 void removeResource(int pid, long clientId, in MediaResourceParcel[] resources); in removeResource()
75 void removeClient(int pid, long clientId); in removeClient()
116 int pid, in overrideProcessInfo()
126 void markClientForPendingRemoval(int pid, long clientId); in markClientForPendingRemoval()
133 void reclaimResourcesFromClientsPendingRemoval(int pid); in reclaimResourcesFromClientsPendingRemoval()
/frameworks/av/services/oboeservice/
DAAudioClientTracker.cpp66 aaudio_result_t AAudioClientTracker::registerClient(pid_t pid, in registerClient()
91 void AAudioClientTracker::unregisterClient(pid_t pid) { in unregisterClient()
97 int32_t AAudioClientTracker::getStreamCount(pid_t pid) { in getStreamCount()
108 AAudioClientTracker::registerClientStream(pid_t pid, sp<AAudioServiceStreamBase> serviceStream) { in registerClientStream()
116 AAudioClientTracker::unregisterClientStream(pid_t pid, in unregisterClientStream()
130 void AAudioClientTracker::setExclusiveEnabled(pid_t pid, bool enabled) { in setExclusiveEnabled()
136 bool AAudioClientTracker::isExclusiveEnabled(pid_t pid) { in isExclusiveEnabled()
142 AAudioClientTracker::getNotificationClient_l(pid_t pid) { in getNotificationClient_l()
157 AAudioClientTracker::NotificationClient::NotificationClient(pid_t pid, const sp<IBinder>& binder) in NotificationClient()
/frameworks/native/cmds/lshal/libprocpartition/
Dprocpartition.cpp35 std::string getExe(pid_t pid) { in getExe()
47 std::string getCmdline(pid_t pid) { in getCmdline()
81 Partition getPartitionFromCmdline(pid_t pid) { in getPartitionFromCmdline()
92 Partition getPartitionFromExe(pid_t pid) { in getPartitionFromExe()
101 Partition getPartition(pid_t pid) { in getPartition()
/frameworks/av/media/utils/
DProcessInfo.cpp35 bool ProcessInfo::getPriority(int pid, int* priority) { in getPriority()
67 bool ProcessInfo::isPidTrusted(int pid) { in isPidTrusted()
71 bool ProcessInfo::isPidUidTrusted(int pid, int uid) { in isPidUidTrusted()
90 bool ProcessInfo::overrideProcessInfo(int pid, int procState, int oomScore) { in overrideProcessInfo()
104 void ProcessInfo::removeProcessInfoOverride(int pid) { in removeProcessInfoOverride()
/frameworks/base/core/java/com/android/internal/os/
DKernelSingleProcessCpuThreadReader.java74 boolean startAggregatingTaskCpuTimes(int pid, int aggregationKey); in startAggregatingTaskCpuTimes()
83 String[] getAggregatedTaskCpuFreqTimes(int pid); in getAggregatedTaskCpuFreqTimes()
92 public KernelSingleProcessCpuThreadReader(int pid, in KernelSingleProcessCpuThreadReader()
104 public static KernelSingleProcessCpuThreadReader create(int pid) { in create()
199 private native boolean startTrackingProcessCpuTimes(int pid, CpuTimeInStateReader reader); in startTrackingProcessCpuTimes()
204 private native boolean readProcessCpuUsage(int pid, in readProcessCpuUsage()
/frameworks/base/core/java/android/app/
DIProcessObserver.aidl21 void onForegroundActivitiesChanged(int pid, int uid, boolean foregroundActivities); in onForegroundActivitiesChanged()
22 void onForegroundServicesChanged(int pid, int uid, int serviceTypes); in onForegroundServicesChanged()
23 void onProcessDied(int pid, int uid); in onProcessDied()
DIActivityController.aidl46 boolean appCrashed(String processName, int pid, in appCrashed()
53 int appEarlyNotResponding(String processName, int pid, String annotation); in appEarlyNotResponding()
60 int appNotResponding(String processName, int pid, String processStats); in appNotResponding()
/frameworks/base/services/core/java/com/android/server/wm/
DAnrController.java88 void notifyWindowUnresponsive(@NonNull IBinder token, @NonNull OptionalInt pid, in notifyWindowUnresponsive()
108 final int pid; in notifyWindowUnresponsive() local
137 private void notifyWindowUnresponsive(int pid, String reason) { in notifyWindowUnresponsive()
152 void notifyWindowResponsive(@NonNull IBinder token, @NonNull OptionalInt pid) { in notifyWindowResponsive()
171 final int pid; in notifyWindowResponsive() local
186 private void notifyWindowResponsive(int pid) { in notifyWindowResponsive()
DWindowProcessControllerMap.java33 WindowProcessController getProcess(int pid) { in getProcess()
46 void put(int pid, WindowProcessController proc) { in put()
63 void remove(int pid) { in remove()
/frameworks/base/services/core/java/com/android/server/input/
DBatteryController.java71 int pid) { in registerBatteryListener()
136 int pid) { in unregisterBatteryListener()
164 final int pid = listenerRecord.mPid; in unregisterRecordLocked() local
181 private void handleListeningProcessDied(int pid) { in handleListeningProcessDied()
222 ListenerRecord(int pid, IInputDeviceBatteryListener listener) { in ListenerRecord()
/frameworks/base/media/java/android/media/tv/tuner/
DDescrambler.java63 private native int nativeAddPid(int pidType, int pid, Filter filter); in nativeAddPid()
64 private native int nativeRemovePid(int pidType, int pid, Filter filter); in nativeRemovePid()
87 public int addPid(@PidType int pidType, int pid, @Nullable Filter filter) { in addPid()
105 public int removePid(@PidType int pidType, int pid, @Nullable Filter filter) { in removePid()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DSystemServerCpuThreadReaderTest.java35 int pid = 42; in testReadDelta() local
89 public boolean startAggregatingTaskCpuTimes(int pid, int aggregationKey) { in startAggregatingTaskCpuTimes()
97 public String[] getAggregatedTaskCpuFreqTimes(int pid) { in getAggregatedTaskCpuFreqTimes()
/frameworks/native/libs/binderdebug/
DBinderDebug.cpp42 static status_t scanBinderContext(pid_t pid, const std::string& contextName, in scanBinderContext()
69 status_t getBinderPidInfo(BinderDebugContext context, pid_t pid, BinderPidInfo* pidInfo) { in getBinderPidInfo()
86 int32_t pid; in getBinderPidInfo() local
120 status_t getBinderClientPids(BinderDebugContext context, pid_t pid, pid_t servicePid, in getBinderClientPids()
163 int32_t pid; in getBinderClientPids() local
/frameworks/base/cmds/incidentd/tests/
DFdBuffer_test.cpp125 int pid = fork(); in TEST_F() local
151 int pid = fork(); in TEST_F() local
181 int pid = fork(); in TEST_F() local
212 int pid = fork(); in TEST_F() local
240 int pid = fork(); in TEST_F() local
274 int pid = fork(); in TEST_F() local
308 int pid = fork(); in TEST_F() local
/frameworks/native/services/memtrackproxy/test/
DMemtrackProxyTest.cpp45 int pid = -1; in TEST_F() local
57 int pid = getpid(); in TEST_F() local
69 int pid = 1; in TEST_F() local
/frameworks/native/cmds/rss_hwm_reset/
Drss_hwm_reset.cc41 void reset_rss_hwm(const char* pid) { in reset_rss_hwm()
60 const char* pid = entry->d_name; in main() local
/frameworks/av/services/mediaresourcemanager/
DResourceManagerService.cpp70 int pid, int64_t clientId) in DeathNotifier()
106 int pid) : DeathNotifier(service, pid, 0) {} in OverrideProcessInfoDeathNotifier()
174 static ResourceInfos& getResourceInfosForEdit(int pid, PidResourceInfosMap& map) { in getResourceInfosForEdit()
203 static void notifyResourceGranted(int pid, const std::vector<MediaResourceParcel> &resources) { in notifyResourceGranted()
437 Status ResourceManagerService::addResource(int32_t pid, int32_t uid, int64_t clientId, in addResource()
496 Status ResourceManagerService::removeResource(int32_t pid, int64_t clientId, in removeResource()
559 Status ResourceManagerService::removeClient(int32_t pid, int64_t clientId) { in removeClient()
564 Status ResourceManagerService::removeResource(int pid, int64_t clientId, bool checkValid) { in removeResource()
793 const std::shared_ptr<IResourceManagerClient>& client, int pid, int procState, in overrideProcessInfo()
853 void ResourceManagerService::removeProcessInfoOverride(int pid) { in removeProcessInfoOverride()
[all …]
/frameworks/base/services/core/java/com/android/server/os/
DSchedulingPolicyService.java82 public int requestPriority(int pid, int tid, int prio, boolean isForApp) { in requestPriority()
145 private int enableCpusetBoost(int pid, IBinder client) { in enableCpusetBoost()
184 private int disableCpusetBoost(int pid) { in disableCpusetBoost()
/frameworks/base/services/core/java/com/android/server/location/
DLocationPermissions.java98 public static void enforceLocationPermission(Context context, int uid, int pid, in enforceLocationPermission()
135 public static void enforceBypassPermission(Context context, int uid, int pid) { in enforceBypassPermission()
156 public static boolean checkLocationPermission(Context context, int uid, int pid, in checkLocationPermission()
184 public static int getPermissionLevel(Context context, int uid, int pid) { in getPermissionLevel()
/frameworks/base/core/java/android/net/
DCredentials.java25 private final int pid; field in Credentials
31 public Credentials (int pid, int uid, int gid) { in Credentials()
/frameworks/base/core/java/android/os/logcat/
DILogcatManagerService.aidl32 void startThread(in int uid, in int gid, in int pid, in int fd); in startThread()
44 void finishThread(in int uid, in int gid, in int pid, in int fd); in finishThread()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSerialReader.java72 int pid = Binder.getCallingPid(); in getSerial() local
98 .checkPermission((UsbDevice) mDevice, packageName, pid, uid); in getSerial() local
101 .checkPermission((UsbAccessory) mDevice, pid, uid); in getSerial() local
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java427 protected void enforcePhoneStatePermission(int pid, int uid) { in enforcePhoneStatePermission()
607 private void enforceMediaPermissions(String packageName, int pid, int uid, in enforceMediaPermissions()
618 private boolean hasStatusBarServicePermission(int pid, int uid) { in hasStatusBarServicePermission()
623 private void enforceStatusBarServicePermission(String action, int pid, int uid) { in enforceStatusBarServicePermission()
629 private boolean hasMediaControlPermission(int pid, int uid) { in hasMediaControlPermission()
1139 public final int pid; field in MediaSessionService.SessionsListenerRecord
1144 int userId, int pid, int uid) { in SessionsListenerRecord()
1205 final int pid = Binder.getCallingPid(); in createSession() local
1234 final int pid = Binder.getCallingPid(); in getSessions() local
1255 final int pid = Binder.getCallingPid(); in getMediaKeyEventSession() local
[all …]
/frameworks/base/core/java/android/os/
DProcess.java975 public static final int getUidForPid(int pid) { in getUidForPid()
990 public static final int getParentPid(int pid) { in getParentPid()
1094 public static final native void setProcessGroup(int pid, int group) in setProcessGroup()
1106 public static final native void setProcessFrozen(int pid, int uid, boolean frozen); in setProcessFrozen()
1126 public static final native int getProcessGroup(int pid) in getProcessGroup()
1137 public static final native int createProcessGroup(int uid, int pid); in createProcessGroup()
1259 public static final native boolean setSwappiness(int pid, boolean is_increased); in setSwappiness()
1302 public static final void killProcess(int pid) { in killProcess()
1318 public static final native void sendSignal(int pid, int signal); in sendSignal()
1326 public static final void killProcessQuiet(int pid) { in killProcessQuiet()
[all …]

12345678910>>...18