Home
last modified time | relevance | path

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

12345678910>>...38

/aosp12/frameworks/base/media/java/android/media/session/
H A DISessionCallback.aidl32 void onMediaButtonFromController(String packageName, int pid, int uid, in onMediaButtonFromController()
36 void onPrepare(String packageName, int pid, int uid); in onPrepare()
41 void onPlay(String packageName, int pid, int uid); in onPlay()
45 void onSkipToTrack(String packageName, int pid, int uid, long id); in onSkipToTrack()
46 void onPause(String packageName, int pid, int uid); in onPause()
47 void onStop(String packageName, int pid, int uid); in onStop()
48 void onNext(String packageName, int pid, int uid); in onNext()
49 void onPrevious(String packageName, int pid, int uid); in onPrevious()
50 void onFastForward(String packageName, int pid, int uid); in onFastForward()
51 void onRewind(String packageName, int pid, int uid); in onRewind()
[all …]
/aosp12/system/unwinding/libbacktrace/
H A Dbacktrace_read_benchmarks.cpp39 static void Attach(pid_t pid) { in Attach()
59 ScopedPidReaper(pid_t pid) : pid_(pid) {} in ScopedPidReaper()
69 static size_t ProcessVmRead(pid_t pid, uint64_t remote_src, void* dst, size_t len) { in ProcessVmRead()
82 static bool PtraceReadLong(pid_t pid, uint64_t addr, long* value) { in PtraceReadLong()
93 static size_t PtraceRead(pid_t pid, uint64_t addr, void* dst, size_t bytes) { in PtraceRead()
117 static void CreateRemoteProcess(size_t size, void** map, pid_t* pid) { in CreateRemoteProcess()
141 pid_t pid; in BM_read_with_ptrace() local
159 pid_t pid; in BM_read_with_process_vm_read() local
177 pid_t pid; in BM_read_with_backtrace_object() local
/aosp12/packages/providers/MediaProvider/src/com/android/providers/media/util/
H A DPermissionUtils.java63 public static boolean checkPermissionSelf(@NonNull Context context, int pid, int uid) { in checkPermissionSelf()
67 public static boolean checkPermissionShell(@NonNull Context context, int pid, int uid) { in checkPermissionShell()
81 public static boolean checkPermissionManager(@NonNull Context context, int pid, in checkPermissionManager()
149 public static boolean checkPermissionReadAudio(@NonNull Context context, int pid, int uid, in checkPermissionReadAudio()
278 @NonNull String permission, int pid, int uid, @NonNull String packageName) { in checkPermissionAllowingNonLegacy()
314 @NonNull String op, int pid, int uid, @NonNull String packageName, in checkAppOpAllowingLegacy()
365 @NonNull String permission, int pid, int uid, @Nullable String packageName) { in checkPermissionForPreflight()
402 @NonNull String permission, int pid, int uid, @Nullable String packageName, in checkPermissionForDataDelivery()
409 @NonNull String permission, int pid, int uid, @Nullable String packageName, in checkPermissionCommon()
449 @NonNull String permission, int pid, int uid, @Nullable String packageName, in checkAppOpPermission()
[all …]
/aosp12/system/unwinding/libunwindstack/tests/
H A DTestUtils.h30 TestScopedPidReaper(pid_t pid) : pid_(pid) {} in TestScopedPidReaper()
40 inline bool TestQuiescePid(pid_t pid) { in TestQuiescePid()
54 inline bool TestAttach(pid_t pid) { in TestAttach()
62 inline bool TestDetach(pid_t pid) { in TestDetach()
H A DMemoryRemoteTest.cpp44 pid_t pid; in TEST() local
72 pid_t pid; in TEST() local
102 pid_t pid; in TEST() local
147 pid_t pid; in TEST() local
178 pid_t pid; in TEST() local
199 pid_t pid; in TEST() local
226 pid_t pid; in TEST() local
261 pid_t pid; in TEST() local
299 pid_t pid; in TEST() local
/aosp12/frameworks/av/services/oboeservice/
H A 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()
/aosp12/frameworks/av/services/mediaresourcemanager/aidl/android/media/
H A 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()
/aosp12/frameworks/native/cmds/lshal/libprocpartition/
H A 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()
/aosp12/hardware/google/graphics/common/memtrack-pixel/core/
H A DGpuSysfsReader.cpp16 uint64_t readNode(const std::string node, pid_t pid) { in readNode()
43 uint64_t GpuSysfsReader::getDmaBufGpuMem(pid_t pid) { return readNode(kDmaBufGpuMemNode, pid); } in getDmaBufGpuMem()
45 uint64_t GpuSysfsReader::getGpuMemTotal(pid_t pid) { return readNode(kTotalGpuMemNode, pid); } in getGpuMemTotal()
47 uint64_t GpuSysfsReader::getPrivateGpuMem(pid_t pid) { in getPrivateGpuMem()
/aosp12/system/memory/libmeminfo/libdmabufinfo/tools/
H A Ddmabuf_dump.cpp52 static std::string GetProcessComm(const pid_t pid) { in GetProcessComm()
76 for (auto pid : pid_set) { in PrintDmaBufTable() local
92 for (pid_t pid : pid_set) { in PrintDmaBufTable() local
122 for (auto pid : pid_set) { in PrintDmaBufTable() local
141 for (auto pid : buf.pids()) { in PrintDmaBufPerProcess() local
200 int pid = atoi(dent->d_name); in ReadDmaBufs() local
274 pid_t pid = -1; in main() local
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A 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()
/aosp12/frameworks/base/core/java/android/app/
H A 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()
/aosp12/system/unwinding/libunwindstack/tools/
H A Dunwind.cpp37 static bool Attach(pid_t pid) { in Attach()
59 void DoUnwind(pid_t pid) { in DoUnwind()
108 pid_t pid = atoi(argv[1]); in main() local
/aosp12/system/core/init/
H A Dlmkd_service.cpp37 static LmkdRegistrationResult RegisterProcess(uid_t uid, pid_t pid, int oom_score_adjust) { in RegisterProcess()
62 static bool UnregisterProcess(pid_t pid) { in UnregisterProcess()
98 void LmkdRegister(const std::string& name, uid_t uid, pid_t pid, int oom_score_adjust) { in LmkdRegister()
124 void LmkdUnregister(const std::string& name, pid_t pid) { in LmkdUnregister()
/aosp12/frameworks/av/media/utils/
H A DProcessInfo.cpp35 bool ProcessInfo::getPriority(int pid, int* priority) { in getPriority()
67 bool ProcessInfo::isValidPid(int pid) { in isValidPid()
74 bool ProcessInfo::overrideProcessInfo(int pid, int procState, int oomScore) { in overrideProcessInfo()
88 void ProcessInfo::removeProcessInfoOverride(int pid) { in removeProcessInfoOverride()
/aosp12/packages/services/Car/service/src/com/android/car/cluster/
H A DClusterNavigationService.java131 public void onFocusAcquired(int appType, int uid, int pid) { in onFocusAcquired()
136 public void onFocusAbandoned(int appType, int uid, int pid) { in onFocusAbandoned()
142 int pid = Binder.getCallingPid(); in assertNavigationFocus() local
157 private void changeNavContextOwner(int appType, int uid, int pid, boolean acquire) { in changeNavContextOwner()
185 final int pid; field in ClusterNavigationService.ContextOwner
187 ContextOwner(int uid, int pid) { in ContextOwner()
/aosp12/system/logging/liblog/
H A Dlogger_read.cpp41 log_time start, pid_t pid) { in android_logger_list_alloc_internal()
55 struct logger_list* android_logger_list_alloc(int mode, unsigned int tail, pid_t pid) { in android_logger_list_alloc()
59 struct logger_list* android_logger_list_alloc_time(int mode, log_time start, pid_t pid) { in android_logger_list_alloc_time()
78 pid_t pid) { in android_logger_list_open()
/aosp12/frameworks/base/services/core/jni/
H A Dcom_android_server_am_CachedAppOptimizer.cpp67 static inline void compactProcessProcfs(int pid, const std::string& compactionType) { in compactProcessProcfs()
75 static int64_t compactMemory(const std::vector<Vma>& vmas, int pid, int madviseType) { in compactMemory()
142 static int64_t compactProcess(int pid, VmaToAdviseFunc vmaToAdviseFunc) { in compactProcess()
175 static void compactProcessOrFallback(int pid, int compactionFlags) { in compactProcessOrFallback()
239 int pid = atoi(current->d_name); in com_android_server_am_CachedAppOptimizer_compactSystem() local
251 static void com_android_server_am_CachedAppOptimizer_compactProcess(JNIEnv*, jobject, jint pid, in com_android_server_am_CachedAppOptimizer_compactProcess()
257 JNIEnv *env, jobject clazz, jint pid, jboolean freeze) { in com_android_server_am_CachedAppOptimizer_freezeBinder()
268 jobject clazz, jint pid) { in com_android_server_am_CachedAppOptimizer_getBinderFreezeInfo()
/aosp12/system/memory/lmkd/
H A Dstatslog.cpp46 int pid; member
55 static struct proc* pid_lookup(int pid) { in pid_lookup()
88 static int memory_stat_from_cgroup(struct memory_stat* mem_st, int pid, uid_t uid) { in memory_stat_from_cgroup()
108 static int memory_stat_from_procfs(struct memory_stat* mem_st, int pid) { in memory_stat_from_procfs()
143 struct memory_stat *stats_read_memory_stat(bool per_app_memcg, int pid, uid_t uid, in stats_read_memory_stat()
175 void stats_remove_taskname(int pid) { in stats_remove_taskname()
199 void stats_store_taskname(int pid, const char* taskname) { in stats_store_taskname()
237 const char* stats_get_task_name(int pid) { in stats_get_task_name()
/aosp12/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
H A DObd2CommandTest.java49 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()
/aosp12/system/unwinding/libunwindstack/
H A DMemoryRemote.h31 MemoryRemote(pid_t pid) : pid_(pid), read_redirect_func_(0) {} in MemoryRemote()
37 pid_t pid() { return pid_; } in pid() function
/aosp12/frameworks/base/media/java/android/media/tv/tuner/
H A 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()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowProcessControllerMap.java33 WindowProcessController getProcess(int pid) { in getProcess()
46 void put(int pid, WindowProcessController proc) { in put()
63 void remove(int pid) { in remove()
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A 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()
/aosp12/bionic/libc/bionic/
H A Dtermios.cpp39 pid_t pid; in tcgetpgrp() local
44 int tcsetpgrp(int fd, pid_t pid) { in tcsetpgrp()

12345678910>>...38