Searched defs:pid (Results 126 - 150 of 151) sorted by relevance

1234567

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiServiceImpl.java740 Slog.d(TAG, "setWifiEnabled: " + enable + " pid=" + Binder.getCallingPid()
1118 void registerLOHSForTest(int pid, LocalOnlyHotspotRequestInfo request) { argument
1119 mLocalOnlyHotspotRequests.put(pid, request);
1148 final int pid = Binder.getCallingPid();
1172 mLog.trace("startLocalOnlyHotspot uid=% pid=%").c(uid).c(pid).flush();
1183 LocalOnlyHotspotRequestInfo request = mLocalOnlyHotspotRequests.get(pid);
1210 mLocalOnlyHotspotRequests.put(pid, request);
1226 final int pid = Binder.getCallingPid();
1228 mLog.trace("stopLocalOnlyHotspot uid=% pid
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp288 pid_t pid = IPCThreadState::self()->getCallingPid(); local
289 sp<MediaRecorderClient> recorder = new MediaRecorderClient(this, pid, opPackageName);
293 ALOGV("Create new media recorder client from pid %d", pid);
306 pid_t pid = IPCThreadState::self()->getCallingPid(); local
307 sp<MetadataRetrieverClient> retriever = new MetadataRetrieverClient(pid);
308 ALOGV("Create new media retriever from pid %d", pid);
315 pid_t pid = IPCThreadState::self()->getCallingPid(); local
319 this, pid, connI
554 Client( const sp<MediaPlayerService>& service, pid_t pid, int32_t connId, const sp<IMediaPlayerClient>& client, audio_session_t audioSessionId, uid_t uid) argument
1536 AudioOutput(audio_session_t sessionId, uid_t uid, int pid, const audio_attributes_t* attr) argument
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp171 ALOGI("CameraService started (pid=%d)", getpid());
914 ALOGE("Permission Denial: can't use the camera pid=%d, uid=%d", clientPid, clientUid);
1951 const int pid = getCallingPid(); local
1957 if (pid != selfPid) {
1964 " events from pid=%d, uid=%d", pid, uid);
2045 LOG1("Client::Client E (pid %d, id %d)", callingPid, mCameraId);
2051 LOG1("Client::Client X (pid %d, id %d)", callingPid, mCameraId);
2403 int32_t pid = i->getOwnerId(); local
2416 PRId32 ", State: %" PRId32, key.string(), cost, pid, scor
[all...]
/frameworks/base/core/java/android/app/
H A DContextImpl.java1660 public int checkPermission(String permission, int pid, int uid) { argument
1678 return am.checkPermission(permission, pid, uid);
1686 public int checkPermission(String permission, int pid, int uid, IBinder callerToken) { argument
1693 permission, pid, uid, callerToken);
1705 int pid = Binder.getCallingPid();
1706 if (pid != Process.myPid()) {
1707 return checkPermission(permission, pid, Binder.getCallingUid());
1747 String permission, int pid, int uid, String message) {
1749 checkPermission(permission, pid, uid),
1808 public int checkUriPermission(Uri uri, int pid, in argument
1746 enforcePermission( String permission, int pid, int uid, String message) argument
1820 checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) argument
1851 checkUriPermission(Uri uri, String readPermission, String writePermission, int pid, int uid, int modeFlags) argument
1916 enforceUriPermission( Uri uri, int pid, int uid, int modeFlags, String message) argument
1942 enforceUriPermission( Uri uri, String readPermission, String writePermission, int pid, int uid, int modeFlags, String message) argument
[all...]
H A DActivityManager.java2467 public int pid; field in class:ActivityManager.RunningServiceInfo
2571 dest.writeInt(pid);
2588 pid = source.readInt();
2978 * The pid of this process; 0 if none
2980 public int pid; field in class:ActivityManager.ProcessErrorStateInfo
3026 dest.writeInt(pid);
3037 pid = source.readInt();
3086 * The pid of this process; 0 if none
3088 public int pid; field in class:ActivityManager.RunningAppProcessInfo
3375 * content providers is being used by another process. The pid o
[all...]
H A DActivityThread.java862 + Binder.getCallingUid() + " pid=" + Binder.getCallingPid());
2271 int pid, String processName,
2282 pw.print(pid); pw.print(',');
2269 dumpMemInfoTable(PrintWriter pw, Debug.MemoryInfo memInfo, boolean checkin, boolean dumpFullInfo, boolean dumpDalvik, boolean dumpSummaryOnly, int pid, String processName, long nativeMax, long nativeAllocated, long nativeFree, long dalvikMax, long dalvikAllocated, long dalvikFree) argument
/frameworks/base/core/java/android/content/
H A DContext.java3985 * @param pid The process ID being checked against. Must be > 0.
3990 * pid/uid is allowed that permission, or
3998 public abstract int checkPermission(@NonNull String permission, int pid, int uid); argument
4002 public abstract int checkPermission(@NonNull String permission, int pid, int uid, argument
4008 * {@link #checkPermission(String, int, int)} with the pid and uid returned
4019 * pid/uid is allowed that permission, or
4039 * pid/uid is allowed that permission, or
4069 * @param pid The process ID being checked against. Must be &gt; 0.
4077 @NonNull String permission, int pid, int uid, @Nullable String message);
4084 * pid an
4076 enforcePermission( @onNull String permission, int pid, int uid, @Nullable String message) argument
4223 checkUriPermission(Uri uri, int pid, int uid, @Intent.AccessUriMode int modeFlags) argument
4228 checkUriPermission(Uri uri, int pid, int uid, @Intent.AccessUriMode int modeFlags, IBinder callerToken) argument
4296 checkUriPermission(@ullable Uri uri, @Nullable String readPermission, @Nullable String writePermission, int pid, int uid, @Intent.AccessUriMode int modeFlags) argument
4317 enforceUriPermission( Uri uri, int pid, int uid, @Intent.AccessUriMode int modeFlags, String message) argument
4376 enforceUriPermission( @ullable Uri uri, @Nullable String readPermission, @Nullable String writePermission, int pid, int uid, @Intent.AccessUriMode int modeFlags, @Nullable String message) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DLocationManagerService.java768 Identity(int uid, int pid, String packageName) { argument
770 mPid = pid;
798 Receiver(ILocationListener listener, PendingIntent intent, int pid, int uid, argument
807 mAllowedResolutionLevel = getAllowedResolutionLevel(pid, uid);
808 mIdentity = new Identity(uid, pid, packageName);
1144 int pid = Binder.getCallingPid();
1149 hasLocationAccess = checkLocationAccess(pid, uid, packageName, allowedResolutionLevel);
1384 * @param pid the PID
1386 * @return resolution level allowed to the pid/uid pair
1388 private int getAllowedResolutionLevel(int pid, in argument
1504 reportLocationAccessNoThrow( int pid, int uid, String packageName, int allowedResolutionLevel) argument
1516 checkLocationAccess(int pid, int uid, String packageName, int allowedResolutionLevel) argument
1902 getReceiverLocked(ILocationListener listener, int pid, int uid, String packageName, WorkSource workSource, boolean hideFromAppOps) argument
1920 getReceiverLocked(PendingIntent intent, int pid, int uid, String packageName, WorkSource workSource, boolean hideFromAppOps) argument
1986 checkListenerOrIntentLocked(ILocationListener listener, PendingIntent intent, int pid, int uid, String packageName, WorkSource workSource, boolean hideFromAppOps) argument
2037 requestLocationUpdatesLocked(LocationRequest request, Receiver receiver, int pid, int uid, String packageName) argument
[all...]
H A DInputMethodManagerService.java292 return "SessionState{uid " + client.uid + " pid " + client.pid
314 final int pid; field in class:InputMethodManagerService.ClientState
324 + " pid " + pid + "}";
332 pid = _pid;
333 binding = new InputBinding(null, inputContext.asBinder(), uid, pid);
1477 + mSettings.getCurrentUserId() + ", calling pid = " + Binder.getCallingPid()
1587 IInputContext inputContext, int uid, int pid) {
1593 inputContext, uid, pid));
1586 addClient(IInputMethodClient client, IInputContext inputContext, int uid, int pid) argument
[all...]
H A DStorageManagerService.java2169 // FMT: <pid> <process name>
2176 Slog.e(TAG, String.format("Error parsing pid %s", tok[0]));
3027 public AppFuseMountScope(int uid, int pid, int mountId) { argument
3028 super(uid, pid, mountId);
3056 final int pid = Binder.getCallingPid();
3070 name, mAppFuseBridge.addBridge(new AppFuseMountScope(uid, pid, name)));
3091 final int pid = Binder.getCallingPid();
3098 return mAppFuseBridge.openFile(pid, mountId, fileId, mode);
/frameworks/native/cmds/installd/
H A DInstalldNativeService.cpp121 pid_t pid; local
124 if (checkCallingPermission(String16(permission), reinterpret_cast<int32_t*>(&pid),
129 StringPrintf("UID %d / PID %d lacks permission %s", uid, pid, permission));
1969 pid_t pid; local
1970 pid = fork();
1971 if (pid == 0) {
1989 int status = wait_child(pid);
2087 pid_t pid; local
2088 pid = fork();
2089 if (pid
[all...]
H A Ddexopt.cpp685 pid_t pid = fork(); local
686 if (pid == 0) {
693 int return_code = wait_child(pid);
832 pid_t pid = fork(); local
833 if (pid == 0) {
841 int return_code = wait_child(pid);
1460 pid_t pid = fork(); local
1461 if (pid == 0) {
1471 int result = wait_child(pid);
1576 pid_t pid local
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
H A DWifiAwareStateManager.java167 private static final String MESSAGE_BUNDLE_KEY_PID = "pid";
266 public void connect(int clientId, int uid, int pid, String callingPackage, argument
275 msg.getData().putInt(MESSAGE_BUNDLE_KEY_PID, pid);
1205 int pid = msg.getData().getInt(MESSAGE_BUNDLE_KEY_PID);
1211 waitForResponse = connectLocal(mCurrentTransactionId, clientId, uid, pid,
1766 private boolean connectLocal(short transactionId, int clientId, int uid, int pid, argument
1771 + ", uid=" + uid + ", pid=" + pid + ", callingPackage=" + callingPackage
1811 WifiAwareClientState client = new WifiAwareClientState(mContext, clientId, uid, pid,
2140 int pid
[all...]
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp387 snprintf(buffer, SIZE, " pid: %d\n", client->pid());
394 snprintf(buffer, SIZE, " pid: %d\n", mNotificationClients.keyAt(i));
399 result.append(" session pid count\n");
430 "can't dump AudioFlinger from pid=%d, uid=%d\n",
567 sp<AudioFlinger::Client> AudioFlinger::registerPid(pid_t pid) argument
570 // If pid is already in the mClients wp<> map, then use that entry
572 sp<Client> client = mClients.valueFor(pid).promote();
574 client = new Client(this, pid);
575 mClients.add(pid, clien
639 createTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *frameCount, audio_output_flags_t *flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t pid, pid_t tid, audio_session_t *sessionId, int clientUid, status_t *status, audio_port_handle_t portId) argument
1393 pid_t pid = IPCThreadState::self()->getCallingPid(); local
1422 removeNotificationClient(pid_t pid) argument
1451 ioConfigChanged(audio_io_config_event event, const sp<AudioIoDescriptor>& ioDesc, pid_t pid) argument
1465 removeClient_l(pid_t pid) argument
1492 Client(const sp<AudioFlinger>& audioFlinger, pid_t pid) argument
1523 NotificationClient(const sp<AudioFlinger>& audioFlinger, const sp<IAudioFlingerClient>& client, pid_t pid) argument
1578 openRecord( audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const String16& opPackageName, size_t *frameCount, audio_input_flags_t *flags, pid_t pid, pid_t tid, int clientUid, audio_session_t *sessionId, size_t *notificationFrames, sp<IMemory>& cblk, sp<IMemory>& buffers, status_t *status, audio_port_handle_t portId) argument
2500 acquireAudioSessionId(audio_session_t audioSession, pid_t pid) argument
2534 releaseAudioSessionId(audio_session_t audioSession, pid_t pid) argument
2847 createEffect( effect_descriptor_t *pDesc, const sp<IEffectClient>& effectClient, int32_t priority, audio_io_handle_t io, audio_session_t sessionId, const String16& opPackageName, pid_t pid, status_t *status, int *id, int *enabled) argument
[all...]
H A DThreads.cpp606 void AudioFlinger::ThreadBase::sendIoConfigEvent(audio_io_config_event event, pid_t pid) argument
609 sendIoConfigEvent_l(event, pid);
613 void AudioFlinger::ThreadBase::sendIoConfigEvent_l(audio_io_config_event event, pid_t pid) argument
615 sp<ConfigEvent> configEvent = (ConfigEvent *)new IoConfigEvent(event, pid);
619 void AudioFlinger::ThreadBase::sendPrioConfigEvent(pid_t pid, pid_t tid, int32_t prio, bool forApp) argument
622 sendPrioConfigEvent_l(pid, tid, prio, forApp);
627 pid_t pid, pid_t tid, int32_t prio, bool forApp)
629 sp<ConfigEvent> configEvent = (ConfigEvent *)new PrioConfigEvent(pid, tid, prio, forApp);
692 ALOGW("Policy SCHED_FIFO priority %d is unavailable for pid %d tid %d; error %d",
2246 void AudioFlinger::PlaybackThread::ioConfigChanged(audio_io_config_event event, pid_t pid) { argument
626 sendPrioConfigEvent_l( pid_t pid, pid_t tid, int32_t prio, bool forApp) argument
7210 ioConfigChanged(audio_io_config_event event, pid_t pid) argument
7885 ioConfigChanged(audio_io_config_event event, pid_t pid) argument
[all...]
/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java607 final int pid = Binder.getCallingPid();
612 result = nativeInjectInputEvent(mPtr, event, displayId, pid, uid, mode,
619 Slog.w(TAG, "Input event injection from pid " + pid + " permission denied.");
625 Slog.w(TAG, "Input event injection from pid " + pid + " timed out.");
629 Slog.w(TAG, "Input event injection from pid " + pid + " failed.");
706 private void onInputDevicesChangedListenerDied(int pid) { argument
708 mInputDevicesChangedListeners.remove(pid);
953 onTabletModeChangedListenerDied(int pid) argument
2215 InputDevicesChangedListenerRecord(int pid, IInputDevicesChangedListener listener) argument
2243 TabletModeChangedListenerRecord(int pid, ITabletModeChangedListener listener) argument
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerService.java487 final int pid; field in class:NotificationManagerService.ToastRecord
493 ToastRecord(int pid, String pkg, ITransientNotification callback, int duration, argument
495 this.pid = pid;
641 + "; will crashApplication(uid=" + uid + ", pid=" + initialPid + ")");
3907 keepProcessAliveIfNeededLocked(record.pid);
3932 keepProcessAliveIfNeededLocked(record.pid);
3977 void keepProcessAliveIfNeededLocked(int pid) argument
3979 int toastCount = 0; // toasts from this pid
3984 if (r.pid
[all...]
/frameworks/base/tools/aapt/
H A DResourceTable.cpp621 " pid=%s, bag=%s, id=%s: %s\n",
4356 size_t pid = Res_GETPACKAGE(resID)+1; local
4361 if (check->getAssignedId() == pid) {
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp3283 const int pid = ipc->getCallingPid(); local
3286 !PermissionCache::checkPermission(sDump, pid, uid)) {
3288 "can't dump SurfaceFlinger from pid=%d, uid=%d\n", pid, uid);
3763 const int pid = ipc->getCallingPid(); local
3766 !PermissionCache::checkPermission(sAccessSurfaceFlinger, pid, uid)) {
3767 ALOGE("Permission Denial: can't access SurfaceFlinger pid=%d, uid=%d", pid, uid);
3787 const int pid = ipc->getCallingPid(); local
3790 !PermissionCache::checkPermission(sReadFramebuffer, pid, ui
3813 const int pid = ipc->getCallingPid(); local
[all...]
H A DSurfaceFlinger_hwc1.cpp2944 const int pid = ipc->getCallingPid(); local
2947 !PermissionCache::checkPermission(sDump, pid, uid)) {
2949 "can't dump SurfaceFlinger from pid=%d, uid=%d\n", pid, uid);
3372 const int pid = ipc->getCallingPid(); local
3375 !PermissionCache::checkPermission(sAccessSurfaceFlinger, pid, uid)) {
3377 "can't access SurfaceFlinger pid=%d, uid=%d", pid, uid);
3397 const int pid = ipc->getCallingPid(); local
3400 !PermissionCache::checkPermission(sReadFramebuffer, pid, ui
3414 const int pid = ipc->getCallingPid(); local
[all...]
/frameworks/base/services/core/java/com/android/server/power/
H A DPowerManagerService.java1026 WorkSource ws, String historyTag, int uid, int pid) {
1031 + ", tag=\"" + tag + "\", ws=" + ws + ", uid=" + uid + ", pid=" + pid);
1039 if (!wakeLock.hasSameProperties(flags, tag, ws, uid, pid)) {
1042 uid, pid, ws, historyTag);
1043 wakeLock.updateProperties(flags, tag, packageName, ws, historyTag, uid, pid);
1054 wakeLock = new WakeLock(lock, flags, tag, packageName, ws, historyTag, uid, pid,
1257 String packageName, int uid, int pid, WorkSource ws, String historyTag) {
1261 wakeLock.mHistoryTag, flags, tag, packageName, uid, pid, ws, historyTag);
3888 throw new IllegalStateException("Existing wake lock pid change
1025 acquireWakeLockInternal(IBinder lock, int flags, String tag, String packageName, WorkSource ws, String historyTag, int uid, int pid) argument
1256 notifyWakeLockChangingLocked(WakeLock wakeLock, int flags, String tag, String packageName, int uid, int pid, WorkSource ws, String historyTag) argument
[all...]
/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java2344 SetModeDeathHandler(IBinder cb, int pid) { argument
2346 mPid = pid;
2397 Log.w(TAG, "MODIFY_PHONE_STATE Permission Denial: setMode(MODE_IN_CALL) from pid="
2423 private int setModeInt(int mode, IBinder cb, int pid, String caller) { argument
2424 if (DEBUG_MODE) { Log.v(TAG, "setModeInt(mode=" + mode + ", pid=" + pid + ", caller="
2436 if (h.getPid() == pid) {
2453 Log.w(TAG, " using mode=" + mode + " instead due to death hdlr at pid="
2459 hdlr = new SetModeDeathHandler(cb, pid);
3843 String msg = "Audio Settings Permission Denial: " + method + " from pid
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowManagerService.java2380 final String msg = "Permission Denial: " + func + " from pid=" + Binder.getCallingPid()
3646 // TODO: more accounting of which pid(s) turned it on, keep count,
3650 final int pid = Binder.getCallingPid();
3654 mH.sendMessage(mH.obtainMessage(H.SHOW_STRICT_MODE_VIOLATION, 1, pid));
3655 mH.sendMessageDelayed(mH.obtainMessage(H.SHOW_STRICT_MODE_VIOLATION, 0, pid),
3658 mH.sendMessage(mH.obtainMessage(H.SHOW_STRICT_MODE_VIOLATION, 0, pid));
3662 private void showStrictModeViolation(int arg, int pid) { argument
3667 if (on && !mRoot.canShowStrictModeViolation(pid)) {
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java3743 public void noteStartWakeLocked(int uid, int pid, String name, String historyName, int type, argument
3792 getUidStatsLocked(uid).noteStartWakeLocked(pid, name, type, elapsedRealtime);
3796 public void noteStopWakeLocked(int uid, int pid, String name, String historyName, int type, argument
3827 getUidStatsLocked(uid).noteStopWakeLocked(pid, name, type, elapsedRealtime);
3831 public void noteStartWakeFromSourceLocked(WorkSource ws, int pid, String name, argument
3837 noteStartWakeLocked(ws.get(i), pid, name, historyName, type, unimportantForLogging,
3842 public void noteChangeWakelockFromSourceLocked(WorkSource ws, int pid, String name, argument
3857 noteStopWakeLocked(ws.get(i), pid, name, historyName, type, elapsedRealtime, uptime);
3861 public void noteStopWakeFromSourceLocked(WorkSource ws, int pid, String name, argument
3867 noteStopWakeLocked(ws.get(i), pid, nam
3946 noteProcessDiedLocked(int uid, int pid) argument
3954 getProcessWakeTime(int uid, int pid, long realtime) argument
8346 getPidStatsLocked(int pid) argument
8512 noteStartWakeLocked(int pid, String name, int type, long elapsedRealtimeMs) argument
8528 noteStopWakeLocked(int pid, String name, int type, long elapsedRealtimeMs) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java821 * All of the processes we currently have running organized by pid.
822 * The keys are the pid running the application.
831 * is the pid of the caller who requested it (we hold a death
835 final int pid; field in class:ActivityManagerService.ImportanceToken
840 pid = _pid;
848 + " " + reason + " " + pid + " " + token + " }";
1182 public final int pid; field in class:ActivityManagerService.Identity
1187 pid = _pid;
1549 int pid; field in class:ActivityManagerService.ProcessChangeItem
1627 AppDeathRecipient(ProcessRecord app, int pid, argument
3332 killProcessGroup(int uid, int pid) argument
4321 dispatchProcessDied(int pid, int uid) argument
5387 appDiedLocked(ProcessRecord app, int pid, IApplicationThread thread, boolean fromBinderDied) argument
5501 dumpWithTimeout(int pid, long timeout) argument
6717 attachApplicationLocked(IApplicationThread thread, int pid) argument
7801 setProcessImportant(IBinder token, int pid, boolean isForeground, String reason) argument
8151 checkPermission(String permission, int pid, int uid) argument
8178 checkComponentPermission(String permission, int pid, int uid, int owningUid, boolean exported) argument
8193 checkComponentPermission(String permission, int pid, int uid, int owningUid, boolean exported) argument
8212 checkPermission(String permission, int pid, int uid) argument
8220 checkPermissionWithToken(String permission, int pid, int uid, IBinder callerToken) argument
8580 checkUriPermission(Uri uri, int pid, int uid, final int modeFlags, int userId, IBinder callerToken) argument
12841 inputDispatchingTimedOut(int pid, final boolean aboveSystem, String reason) argument
18559 isPendingBroadcastProcessLocked(int pid) argument
18564 skipPendingBroadcastLocked(int pid) argument
23954 setHasOverlayUi(int pid, boolean hasOverlayUi) argument
[all...]

Completed in 677 milliseconds

1234567