Home
last modified time | relevance | path

Searched refs:mPid (Results 1 – 25 of 78) sorted by relevance

1234

/frameworks/base/core/java/android/view/inputmethod/
DInputBinding.java48 final int mPid; field in InputBinding
63 mPid = pid; in InputBinding()
77 mPid = binding.getPid(); in InputBinding()
84 mPid = source.readInt(); in InputBinding()
114 return mPid; in getPid()
120 + " / uid " + mUid + " / pid " + mPid + "}"; in toString()
132 dest.writeInt(mPid); in writeToParcel()
/frameworks/base/core/java/com/android/internal/os/
DKernelSingleProcessCpuThreadReader.java38 private final int mPid; field in KernelSingleProcessCpuThreadReader
94 mPid = pid; in KernelSingleProcessCpuThreadReader()
119 if (!startTrackingProcessCpuTimes(mPid, mCpuTimeInStateReader)) { in startTrackingThreadCpuTimes()
120 Slog.e(TAG, "Failed to start tracking process CPU times for " + mPid); in startTrackingThreadCpuTimes()
163 Slog.d(TAG, "Reading CPU thread usages for PID " + mPid); in getProcessCpuUsage()
168 boolean result = readProcessCpuUsage(mPid, in getProcessCpuUsage()
DSelectedProcessCpuThreadReader.java34 private int mPid; field in SelectedProcessCpuThreadReader
49 if (mPid == pid) { in readAbsolute()
52 mPid = pid; in readAbsolute()
53 mKernelCpuThreadReader = KernelSingleProcessCpuThreadReader.create(mPid); in readAbsolute()
/frameworks/base/services/core/java/com/android/server/am/
DPhantomProcessRecord.java55 final int mPid; // The id of the process field in PhantomProcessRecord
78 mPid = pid; in PhantomProcessRecord()
116 if (mPid > 0) { in killLocked()
118 mPid, mProcessName, mAdj, reason); in killLocked()
127 Process.killProcessQuiet(mPid); in killLocked()
128 ProcessList.killProcessGroup(mUid, mPid); in killLocked()
152 if (Process.readProcFile("/proc/" + mPid + "/oom_score_adj", in updateAdjLocked()
178 sb.append(mPid); in toString()
214 pw.print(mPid); in dump()
235 return mUid == uid && mPid == pid && TextUtils.equals(mProcessName, processName); in equals()
DProcessRecord.java108 int mPid; field in ProcessRecord
435 pw.print(prefix); pw.print("pid="); pw.println(mPid); in dump()
548 return mPid; in getPid()
553 mPid = pid; in setPid()
972 if (mPid == Process.myPid()) { in scheduleCrashLocked()
1006 if (mPid > 0) { in killLocked()
1009 userId, mPid, processName, mState.getSetAdj(), reason); in killLocked()
1010 Process.killProcessQuiet(mPid); in killLocked()
1011 ProcessList.killProcessGroup(uid, mPid); in killLocked()
1033 proto.write(ProcessRecordProto.PID, mPid); in dumpDebug()
[all …]
/frameworks/base/core/java/android/os/
DChildZygoteProcess.java31 private final int mPid; field in ChildZygoteProcess
35 mPid = pid; in ChildZygoteProcess()
42 return mPid; in getPid()
/frameworks/base/media/java/android/media/tv/tuner/filter/
DTsRecordEvent.java31 private final int mPid; field in TsRecordEvent
41 mPid = pid; in TsRecordEvent()
53 return mPid; in getPacketId()
/frameworks/base/location/java/android/location/util/identity/
DCallerIdentity.java129 private final int mPid; field in CallerIdentity
140 this.mPid = pid; in CallerIdentity()
153 return mPid; in getPid()
231 && mPid == that.mPid in equals()
240 return Objects.hash(mUid, mPid, mPackageName, mAttributionTag); in hashCode()
/frameworks/base/core/java/android/app/
DApplicationExitInfo.java363 private int mPid; field in ApplicationExitInfo
524 return mPid; in getPid()
677 mPackageName, mPackageUid, mPid); in getTraceInputStream()
748 mPid = pid; in setPid()
947 dest.writeInt(mPid); in writeToParcel()
983 mPid = other.mPid; in ApplicationExitInfo()
1007 mPid = in.readInt(); in ApplicationExitInfo()
1050 pw.println(prefix + " pid=" + mPid); in dump()
1074 sb.append(" pid=").append(mPid); in toString()
1185 proto.write(ApplicationExitInfoProto.PID, mPid); in writeToProto()
[all …]
/frameworks/native/services/sensorservice/
DSensorRegistrationInfo.h51 mPid = (thread != nullptr) ? thread->getCallingPid() : -1; in SensorRegistrationInfo()
76 << std::setfill(' ') << " pid=" << std::setw(5) << mPid in dump()
97 proto->write(PID, int32_t(mPid)); in dump()
107 pid_t mPid; variable
/frameworks/base/core/java/android/metrics/
DMetricsReader.java158 int mPid; field in MetricsReader.Event
164 mPid = pid; in Event()
172 mPid = nativeEvent.getProcessId(); in Event()
182 return mPid; in getProcessId()
/frameworks/base/services/core/java/com/android/server/devicestate/
DDeviceStateManagerService.java563 mProcessRecords.remove(processRecord.mPid); in handleProcessDied()
650 pw.println(" " + i + ": mPid=" + processRecord.mPid); in dumpInternal()
658 pw.println(" " + i + ": mPid=" + requestRecord.mProcessRecord.mPid in dumpInternal()
688 private final int mPid; field in DeviceStateManagerService.ProcessRecord
694 mPid = pid; in ProcessRecord()
706 Slog.w(TAG, "Failed to notify process " + mPid + " that device state changed.", in notifyDeviceStateInfoAsync()
715 Slog.w(TAG, "Failed to notify process " + mPid + " that request state changed.", in notifyRequestActiveAsync()
724 Slog.w(TAG, "Failed to notify process " + mPid + " that request state changed.", in notifyRequestSuspendedAsync()
733 Slog.w(TAG, "Failed to notify process " + mPid + " that request state changed.", in notifyRequestCanceledAsync()
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerServiceTestUtils.h122 : mReclaimed(false), mPid(pid), mService(service) {} in TestClient()
125 mService->removeClient(mPid, getId(ref<TestClient>())); in reclaimResource()
148 int mPid; member
/frameworks/av/media/libmediatranscoding/transcoder/include/media/
DVideoTrackTranscoder.h68 : MediaTrackTranscoder(transcoderCallback), mPid(pid), mUid(uid){}; in VideoTrackTranscoder()
101 pid_t mPid; variable
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DEvent.java59 private int mPid; field in Event
87 return mPid; in getProductId()
116 + ", pid=" + mPid in toString()
165 mEvent.mPid = pid; in setPid()
/frameworks/base/cmds/uinput/src/com/android/commands/uinput/
DEvent.java61 private int mPid; field in Event
86 return mPid; in getProductId()
121 + ", pid=" + mPid in toString()
162 mEvent.mPid = pid; in setPid()
/frameworks/av/media/libmediametrics/
DMediaMetricsItem.cpp80 mPid = pid; in setPid()
85 return mPid; in getPid()
160 mPid = (pid_t)pid; in readFromParcel0()
199 ?: data->writeInt32(mPid) in writeToParcel0()
264 mPkgName.c_str(), mPid, mUid in toString()
505 || insert((int32_t)mPid, &filling, buildmax) != NO_ERROR in writeToByteString()
578 mPid = pid; in readFromByteString()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DImportanceExtractorTest.java53 private int mPid = 2000; field in ImportanceExtractorTest
71 mPid, n, mUser, null, System.currentTimeMillis()); in getNotificationRecord()
DBadgeExtractorTest.java60 private int mPid = 2000; field in BadgeExtractorTest
81 mPid, n, mUser, null, System.currentTimeMillis()); in getNotificationRecord()
112 mPid, n, mUser, null, System.currentTimeMillis()); in getNotificationRecordWithBubble()
137 mPid, n, mUser, null, System.currentTimeMillis()); in getNotificationRecordWithMedia()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowProcessController.java104 private volatile int mPid; field in WindowProcessController
265 mPid = pid; in setPid()
269 return mPid; in getPid()
520 return mBgLaunchController.areBackgroundActivityStartsAllowed(mPid, mUid, mInfo.packageName, in areBackgroundActivityStartsAllowed()
936 root.getDisplayContextsWithNonToastVisibleWindows(mPid, displayContexts); in getDisplayContextsWithErrorDialogs()
1101 mAtm.mAmInternal.addPendingTopUid(mUid, mPid); in updateProcessInfo()
1162 mAtm.mAmInternal.addPendingTopUid(mUid, mPid); in onStartActivity()
1482 int res = mAtm.mController.appEarlyNotResponding(mName, mPid, annotation); in appEarlyNotResponding()
1483 if (res < 0 && mPid != MY_PID) { in appEarlyNotResponding()
1506 int res = mAtm.mController.appNotResponding(mName, mPid, info); in appNotResponding()
[all …]
DDragState.java101 int mPid; field in DragState
217 if (!mDragResult && (ws.mSession.mPid == mPid)) { in closeLocked()
232 if (myPid != ws.mSession.mPid) { in closeLocked()
330 if (myPid != touchedWin.mSession.mPid) { in reportDropWindowLock()
478 if (Process.myPid() != newWin.mSession.mPid) { in sendDragStartedLocked()
DSession.java95 final int mPid; field in Session
123 mPid = Binder.getCallingPid(); in Session()
144 sb.append(mPid); in Session()
295 return mDragDropController.performDrag(mPid, mUid, window, flags, surface, touchSource, in performDrag()
640 final WindowProcessController wpc = mService.mAtmService.mProcessMap.getProcess(mPid); in windowAddedLocked()
645 Slog.e(TAG_WM, "Unknown process pid=" + mPid); in windowAddedLocked()
759 mService.mH.obtainMessage(H.SET_HAS_OVERLAY_UI, mPid, hasOverlayUi ? 1 : 0).sendToTarget(); in setHasOverlayUi()
813 mService.grantInputChannel(this, mUid, mPid, displayId, surface, window, hostInputToken, in grantInputChannel()
/frameworks/base/services/core/java/com/android/server/os/
DNativeTombstoneManager.java266 if (pid != 0 && tombstone.mPid != pid) { in collectTombstones()
317 int mPid; field in NativeTombstoneManager.TombstoneFile
351 if (exitInfo.getPid() != mPid) { in matches()
475 result.mPid = pid; in parse()
490 info.setPid(mPid); in toAppExitInfo()
/frameworks/av/media/libmediaplayerservice/
DMetadataRetrieverClient.cpp51 mPid = pid; in MetadataRetrieverClient()
68 snprintf(buffer, 255, " pid(%d)\n", mPid); in dump()
77 ALOGV("disconnect from pid %d", mPid); in disconnect()
/frameworks/av/services/mediaresourcemanager/fuzzer/
Dmediaresourcemanager_fuzzer.cpp138 : mReclaimed(false), mPid(pid), mService(service) {} in TestClient()
141 mService->removeClient(mPid, getId(ref<TestClient>())); in reclaimResource()
156 int mPid; member

1234