Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/android/view/inputmethod/
DInputBinding.java50 final int mPid; field in InputBinding
65 mPid = pid; in InputBinding()
79 mPid = binding.getPid(); in InputBinding()
86 mPid = source.readInt(); in InputBinding()
116 return mPid; in getPid()
122 + " / uid " + mUid + " / pid " + mPid + "}"; in toString()
134 dest.writeInt(mPid); in writeToParcel()
/frameworks/base/core/java/com/android/internal/os/
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()
DKernelSingleProcessCpuThreadReader.java39 private final int mPid; field in KernelSingleProcessCpuThreadReader
95 mPid = pid; in KernelSingleProcessCpuThreadReader()
120 if (!startTrackingProcessCpuTimes(mPid, mCpuTimeInStateReader)) { in startTrackingThreadCpuTimes()
121 Slog.wtf(TAG, "Failed to start tracking process CPU times for " + mPid); in startTrackingThreadCpuTimes()
167 Slog.d(TAG, "Reading CPU thread usages for PID " + mPid); in getProcessCpuUsage()
172 boolean result = readProcessCpuUsage(mPid, in getProcessCpuUsage()
/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()
121 if (mPid > 0) { in killLocked()
123 mPid, mProcessName, mAdj, reason, getRss(mPid)); in killLocked()
132 Process.killProcessQuiet(mPid); in killLocked()
133 ProcessList.killProcessGroup(mUid, mPid); in killLocked()
157 if (Process.readProcFile("/proc/" + mPid + "/oom_score_adj", in updateAdjLocked()
183 sb.append(mPid); in toString()
219 pw.print(mPid); in dump()
240 return mUid == uid && mPid == pid && TextUtils.equals(mProcessName, processName); in equals()
DAnrHelper.java129 final int incomingPid = anrProcess.mPid; in appNotResponding()
152 if (mAnrRecords.get(i).mPid == incomingPid) { in appNotResponding()
216 mProcessingPid = record.mPid; in next()
228 final int currentPid = r.mApp.mPid; in run()
229 if (currentPid != r.mPid) { in run()
231 Slog.i(TAG, "Skip ANR with mismatched pid=" + r.mPid + ", current pid=" in run()
276 final int mPid; field in AnrHelper.AnrConsumerThread.AnrRecord
293 mPid = anrProcess.mPid; in AnrRecord()
DProcessRecord.java123 int mPid; field in ProcessRecord
522 pw.print(prefix); pw.print("pid="); pw.println(mPid); in dump()
690 return mPid; in getPid()
697 if (pid != mPid && mPid != 0) { in setPid()
700 mPid = pid; in setPid()
743 if (mPid == Process.myPid()) { in makeActive()
1230 if (mPid == Process.myPid()) { in scheduleCrashLocked()
1294 if (mPid > 0) { in killLocked()
1297 userId, mPid, processName, mState.getSetAdj(), reason, getRss(mPid)); in killLocked()
1298 Process.killProcessQuiet(mPid); in killLocked()
[all …]
/frameworks/base/core/java/android/os/
DOomKillRecord.java35 private int mPid; field in OomKillRecord
51 this.mPid = pid; in OomKillRecord()
70 mUid, mPid, mOomScoreAdj, mTimeStampInMillis, in logKillOccurred()
80 return mPid; in getPid()
DChildZygoteProcess.java31 private final int mPid; field in ChildZygoteProcess
35 mPid = pid; in ChildZygoteProcess()
42 return mPid; in getPid()
/frameworks/base/services/core/java/com/android/server/wm/
DPackageConfigurationUpdaterImpl.java34 private final Optional<Integer> mPid; field in PackageConfigurationUpdaterImpl
44 mPid = Optional.of(pid); in PackageConfigurationUpdaterImpl()
53 mPid = Optional.empty(); in PackageConfigurationUpdaterImpl()
89 if (mPid.isPresent()) { in commit()
90 WindowProcessController wpc = mAtm.mProcessMap.getProcess(mPid.get()); in commit()
93 + "cannot find pid " + mPid); in commit()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DClientState.java30 final int mPid; field in ClientState
52 + " mPid=" + mPid + " mSelfReportedDisplayId=" + mSelfReportedDisplayId + "}"; in toString()
62 mPid = pid; in ClientState()
65 mPid); in ClientState()
/frameworks/base/services/core/java/com/android/server/input/
DStickyModifierStateController.java107 public final int mPid; field in StickyModifierStateController.StickyModifierStateListenerRecord
111 mPid = pid; in StickyModifierStateListenerRecord()
118 Slog.d(TAG, "Sticky modifier state listener for pid " + mPid + " died."); in binderDied()
120 onStickyModifierStateListenerDied(mPid); in binderDied()
127 Slog.w(TAG, "Failed to notify process " + mPid in notifyStickyModifierStateChanged()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DBackgroundLaunchProcessControllerTests.java81 int mPid = 123; field in BackgroundLaunchProcessControllerTests
95 mPid, mUid, mPackageName, in testNothingAllows()
107 mPid, mUid, mPackageName, in testInstrumenting()
124 mPid, mUid, mPackageName, in testAllowedByTokenNoCallback()
139 mPid, mUid, mPackageName, in testAllowedByToken()
153 mPid, mUid, mPackageName, in testBoundByForeground()
166 mPid, mUid, mPackageName, in testForegroundTask()
182 mPid, mUid, mPackageName, in testGracePeriod()
/frameworks/base/location/java/android/location/util/identity/
DCallerIdentity.java136 private final int mPid; field in CallerIdentity
147 this.mPid = pid; in CallerIdentity()
160 return mPid; in getPid()
206 return mPid == Loader.MY_PID; in isMyProcess()
256 && mPid == that.mPid in equals()
265 return Objects.hash(mUid, mPid, mPackageName, mAttributionTag); in hashCode()
/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/services/core/java/com/android/server/devicestate/
DOverrideRequest.java35 private final int mPid; field in OverrideRequest
79 mPid = pid; in OverrideRequest()
91 return mPid; in getPid()
/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/app/
DApplicationStartInfo.java220 private int mPid; field in ApplicationStartInfo
354 mPid = pid; in setPid()
495 return mPid; in getPid()
651 dest.writeInt(mPid); in writeToParcel()
677 mPid = other.mPid; in ApplicationStartInfo()
693 mPid = in.readInt(); in ApplicationStartInfo()
746 proto.write(ApplicationStartInfoProto.PID, mPid); in writeToProto()
806 mPid = proto.readInt(ApplicationStartInfoProto.PID); in readFromProto()
884 .append(" pid=").append(mPid) in dump()
948 return mPid == o.mPid && mRealUid == o.mRealUid && mPackageUid == o.mPackageUid
[all …]
DApplicationExitInfo.java505 private int mPid; field in ApplicationExitInfo
686 return mPid; in getPid()
854 mPackageName, mPackageUid, mPid); in getTraceInputStream()
925 mPid = pid; in setPid()
1142 dest.writeInt(mPid); in writeToParcel()
1178 mPid = other.mPid; in ApplicationExitInfo()
1204 mPid = in.readInt(); in ApplicationExitInfo()
1255 .append(" pid=").append(mPid) in dump()
1288 sb.append(" pid=").append(mPid); in toString()
1426 proto.write(ApplicationExitInfoProto.PID, mPid); in writeToProto()
[all …]
/frameworks/av/services/audioflinger/
DClient.cpp23 , mPid(pid) in Client()
29 mAfClientCallback->removeClient_l(mPid); in ~Client()
DClient.h51 pid_t pid() const { return mPid; } in pid()
58 const pid_t mPid; variable
/frameworks/base/services/core/java/com/android/server/logcat/
DLogcatManagerService.java151 final int mPid; field in LogcatManagerService.LogAccessRequest
157 mPid = pid; in LogAccessRequest()
166 return mUid == that.mUid && mGid == that.mGid && mPid == that.mPid && mFd == that.mFd; in equals()
171 return Objects.hash(mUid, mGid, mPid, mFd); in hashCode()
179 + ", mPid=" + mPid in toString()
369 int pid = request.mPid; in getPackageName()
523 getLogdService().approve(request.mUid, request.mGid, request.mPid, request.mFd); in approveRequest()
529 getLogdService().approve(request.mUid, request.mGid, request.mPid, request.mFd); in approveRequest()
544 getLogdService().decline(request.mUid, request.mGid, request.mPid, request.mFd); in declineRequest()
550 getLogdService().decline(request.mUid, request.mGid, request.mPid, request.mFd); in declineRequest()
/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/av/services/mediaresourcemanager/test/
DResourceManagerServiceTestUtils.h128 : mPid(pid), mUid(uid), mClientImportance(clientImportance), mService(service) {} in TestClient()
131 ClientInfoParcel clientInfo{.pid = static_cast<int32_t>(mPid), in reclaimResource()
155 inline int pid() const { return mPid; } in pid()
161 int mPid; member
/frameworks/av/services/mediaresourcemanager/
DResourceTracker.cpp457 const ResourceInfo* info = getResourceInfo(client.mPid, client.mClientId); in getLowestPriorityPid()
466 if (!getPriority(client.mPid, &tempPriority)) { in getLowestPriorityPid()
467 ALOGV("%s: can't get priority of pid %d, skipped", __func__, client.mPid); in getLowestPriorityPid()
473 pid = client.mPid; in getLowestPriorityPid()
520 clientInfo.mPid = pid; in getBiggestClientPendingRemoval()
537 if (client.mPid != targetPid) { in getBiggestClient()
540 const ResourceInfo* info = getResourceInfo(client.mPid, client.mClientId); in getBiggestClient()
578 clientInfo.mPid = targetPid; in getBiggestClient()
596 if (client.mPid != targetPid) { in getLeastImportantBiggestClient()
599 const ResourceInfo* info = getResourceInfo(client.mPid, client.mClientId); in getLeastImportantBiggestClient()
[all …]
/frameworks/av/media/module/libmediatranscoding/transcoder/include/media/
DVideoTrackTranscoder.h68 : MediaTrackTranscoder(transcoderCallback), mPid(pid), mUid(uid){}; in VideoTrackTranscoder()
101 pid_t mPid; variable

12345