Searched defs:pid (Results 76 - 88 of 88) sorted by relevance

1234

/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java543 final int pid = Binder.getCallingPid();
548 result = nativeInjectInputEvent(mPtr, event, displayId, pid, uid, mode,
555 Slog.w(TAG, "Input event injection from pid " + pid + " permission denied.");
561 Slog.w(TAG, "Input event injection from pid " + pid + " timed out.");
565 Slog.w(TAG, "Input event injection from pid " + pid + " failed.");
642 private void onInputDevicesChangedListenerDied(int pid) { argument
644 mInputDevicesChangedListeners.remove(pid);
1734 InputDevicesChangedListenerRecord(int pid, IInputDevicesChangedListener listener) argument
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerService.java469 final int pid; field in class:NotificationManagerService.ToastRecord
474 ToastRecord(int pid, String pkg, ITransientNotification callback, int duration) argument
476 this.pid = pid;
630 + "; will crashApplication(uid=" + uid + ", pid=" + initialPid + ")");
1534 pw.println("Permission Denial: can't dump NotificationManager from pid="
2208 keepProcessAliveLocked(record.pid);
2229 keepProcessAliveLocked(record.pid);
2273 void keepProcessAliveLocked(int pid) argument
2275 int toastCount = 0; // toasts from this pid
[all...]
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp2398 const int pid = ipc->getCallingPid(); local
2401 !PermissionCache::checkPermission(sDump, pid, uid)) {
2403 "can't dump SurfaceFlinger from pid=%d, uid=%d\n", pid, uid);
2744 const int pid = ipc->getCallingPid(); local
2747 !PermissionCache::checkPermission(sAccessSurfaceFlinger, pid, uid)) {
2749 "can't access SurfaceFlinger pid=%d, uid=%d", pid, uid);
2758 const int pid = ipc->getCallingPid(); local
2761 !PermissionCache::checkPermission(sReadFramebuffer, pid, ui
2775 const int pid = ipc->getCallingPid(); local
[all...]
/frameworks/av/services/audioflinger/
H A DThreads.cpp429 void AudioFlinger::ThreadBase::sendPrioConfigEvent_l(pid_t pid, pid_t tid, int32_t prio) argument
431 sp<ConfigEvent> configEvent = (ConfigEvent *)new PrioConfigEvent(pid, tid, prio);
482 ALOGW("Policy SCHED_FIFO priority %d is unavailable for pid %d tid %d; error %d",
2916 ALOGW("Policy SCHED_FIFO priority %d is unavailable for pid %d tid %d; error %d",
2928 ALOGW("Policy SCHED_FIFO priority %d is unavailable for pid %d tid %d; error %d",
5057 ALOGW("Policy SCHED_FIFO priority %d is unavailable for pid %d tid %d; error %d",
/frameworks/base/core/java/android/app/
H A DActivityManagerNative.java1178 int pid = data.readInt();
1180 setProcessForeground(token, pid, isForeground);
1188 int pid = data.readInt();
1190 int res = checkPermission(perm, pid, uid);
1199 int pid = data.readInt();
1202 int res = checkPermissionWithToken(perm, pid, uid, token);
1211 int pid = data.readInt();
1216 int res = checkUriPermission(uri, pid, uid, mode, userId, callerToken);
2098 int pid = data.readInt();
2101 long res = inputDispatchingTimedOut(pid, aboveSyste
3860 setProcessForeground(IBinder token, int pid, boolean isForeground) argument
3873 checkPermission(String permission, int pid, int uid) argument
3888 checkPermissionWithToken(String permission, int pid, int uid, IBinder callerToken) argument
3919 checkUriPermission(Uri uri, int pid, int uid, int mode, int userId, IBinder callerToken) argument
5077 inputDispatchingTimedOut(int pid, boolean aboveSystem, String reason) argument
[all...]
H A DActivityThread.java727 + Binder.getCallingUid() + " pid=" + Binder.getCallingPid());
1888 boolean dumpFullInfo, boolean dumpDalvik, int pid, String processName,
1899 pw.print(pid); pw.print(',');
1887 dumpMemInfoTable(PrintWriter pw, Debug.MemoryInfo memInfo, boolean checkin, boolean dumpFullInfo, boolean dumpDalvik, int pid, String processName, long nativeMax, long nativeAllocated, long nativeFree, long dalvikMax, long dalvikAllocated, long dalvikFree) argument
H A DIActivityManager.java218 public void setProcessForeground(IBinder token, int pid, argument
221 public int checkPermission(String permission, int pid, int uid) argument
223 public int checkPermissionWithToken(String permission, int pid, int uid, IBinder callerToken) argument
226 public int checkUriPermission(Uri uri, int pid, int uid, int mode, int userId, argument
416 public long inputDispatchingTimedOut(int pid, boolean aboveSystem, String reason) argument
/frameworks/base/services/core/java/com/android/server/power/
H A DPowerManagerService.java729 WorkSource ws, String historyTag, int uid, int pid) {
734 + ", tag=\"" + tag + "\", ws=" + ws + ", uid=" + uid + ", pid=" + pid);
742 if (!wakeLock.hasSameProperties(flags, tag, ws, uid, pid)) {
745 uid, pid, ws, historyTag);
746 wakeLock.updateProperties(flags, tag, packageName, ws, historyTag, uid, pid);
750 wakeLock = new WakeLock(lock, flags, tag, packageName, ws, historyTag, uid, pid);
902 String packageName, int uid, int pid, WorkSource ws, String historyTag) {
906 wakeLock.mHistoryTag, flags, tag, packageName, uid, pid, ws, historyTag);
2676 throw new IllegalStateException("Existing wake lock pid change
728 acquireWakeLockInternal(IBinder lock, int flags, String tag, String packageName, WorkSource ws, String historyTag, int uid, int pid) argument
901 notifyWakeLockChangingLocked(WakeLock wakeLock, int flags, String tag, String packageName, int uid, int pid, WorkSource ws, String historyTag) argument
[all...]
/frameworks/base/tools/aapt/
H A DResourceTable.cpp604 " pid=%s, bag=%s, id=%s: %s\n",
4224 size_t pid = Res_GETPACKAGE(resID)+1; local
4229 if (check->getAssignedId() == pid) {
/frameworks/base/media/java/android/media/
H A DAudioService.java2038 SetModeDeathHandler(IBinder cb, int pid) { argument
2040 mPid = pid;
2091 Log.w(TAG, "MODIFY_PHONE_STATE Permission Denial: setMode(MODE_IN_CALL) from pid="
2117 private int setModeInt(int mode, IBinder cb, int pid) { argument
2118 if (DEBUG_MODE) { Log.v(TAG, "setModeInt(mode=" + mode + ", pid=" + pid + ")"); }
2129 if (h.getPid() == pid) {
2146 Log.w(TAG, " using mode=" + mode + " instead due to death hdlr at pid="
2152 hdlr = new SetModeDeathHandler(cb, pid);
3397 String msg = "Audio Settings Permission Denial: " + method + " from pid
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java2680 public void noteStartWakeLocked(int uid, int pid, String name, String historyName, int type, argument
2725 getUidStatsLocked(uid).noteStartWakeLocked(pid, name, type, elapsedRealtime);
2729 public void noteStopWakeLocked(int uid, int pid, String name, String historyName, int type, argument
2755 getUidStatsLocked(uid).noteStopWakeLocked(pid, name, type, elapsedRealtime);
2759 public void noteStartWakeFromSourceLocked(WorkSource ws, int pid, String name, argument
2765 noteStartWakeLocked(ws.get(i), pid, name, historyName, type, unimportantForLogging,
2770 public void noteChangeWakelockFromSourceLocked(WorkSource ws, int pid, String name, argument
2785 noteStopWakeLocked(ws.get(i), pid, name, historyName, type, elapsedRealtime, uptime);
2789 public void noteStopWakeFromSourceLocked(WorkSource ws, int pid, String name, argument
2795 noteStopWakeLocked(ws.get(i), pid, nam
2924 noteProcessDiedLocked(int uid, int pid) argument
2932 getProcessWakeTime(int uid, int pid, long realtime) argument
6207 getPidStatsLocked(int pid) argument
6322 noteStartWakeLocked(int pid, String name, int type, long elapsedRealtimeMs) argument
6335 noteStopWakeLocked(int pid, String name, int type, long elapsedRealtimeMs) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowManagerService.java3506 String msg = "Permission Denial: " + func + " from pid="
5975 // TODO: more accounting of which pid(s) turned it on, keep count,
5979 int pid = Binder.getCallingPid();
5980 mH.sendMessage(mH.obtainMessage(H.SHOW_STRICT_MODE_VIOLATION, on ? 1 : 0, pid));
5983 private void showStrictModeViolation(int arg, int pid) { argument
5997 if (ws.mSession.mPid == pid && ws.isVisibleLw()) {
10344 + " pid=" + ws.mSession.mPid
11337 pw.println("Permission Denial: can't dump WindowManager from from pid="
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java547 * All of the processes we currently have running organized by pid.
548 * The keys are the pid running the application.
557 * is the pid of the caller who requested it (we hold a death
561 int pid; field in class:ActivityManagerService.ForegroundToken
885 public final int pid; field in class:ActivityManagerService.Identity
890 pid = _pid;
1141 int pid; field in class:ActivityManagerService.ProcessChangeItem
1213 AppDeathRecipient(ProcessRecord app, int pid, argument
1219 mPid = pid;
1323 && proc.pid !
3332 dispatchProcessDied(int pid, int uid) argument
4677 appDiedLocked(ProcessRecord app, int pid, IApplicationThread thread) argument
5856 attachApplicationLocked(IApplicationThread thread, int pid) argument
6741 setProcessForeground(IBinder token, int pid, boolean isForeground) argument
6800 checkPermission(String permission, int pid, int uid) argument
6808 checkComponentPermission(String permission, int pid, int uid, int owningUid, boolean exported) argument
6823 checkComponentPermission(String permission, int pid, int uid, int owningUid, boolean exported) argument
6842 checkPermission(String permission, int pid, int uid) argument
6850 checkPermissionWithToken(String permission, int pid, int uid, IBinder callerToken) argument
7073 checkUriPermission(Uri uri, int pid, int uid, final int modeFlags, int userId, IBinder callerToken) argument
10366 inputDispatchingTimedOut(int pid, final boolean aboveSystem, String reason) argument
15543 isPendingBroadcastProcessLocked(int pid) argument
15548 skipPendingBroadcastLocked(int pid) argument
[all...]

Completed in 217 milliseconds

1234