Home
last modified time | relevance | path

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

/system/netd/server/
DPppController.cpp39 mPid = 0; in PppController()
56 if (mPid) { in attachPppd()
105 mPid = pid; in attachPppd()
112 if (mPid == 0) { in detachPppd()
118 kill(mPid, SIGTERM); in detachPppd()
119 waitpid(mPid, NULL, 0); in detachPppd()
120 mPid = 0; in detachPppd()
DSoftapController.cpp54 : mPid(0) {} in SoftapController()
62 if (mPid) { in startSoftap()
86 mPid = pid; in startSoftap()
95 if (mPid == 0) { in stopSoftap()
101 kill(mPid, SIGTERM); in stopSoftap()
102 waitpid(mPid, NULL, 0); in stopSoftap()
104 mPid = 0; in stopSoftap()
111 return (mPid != 0); in isSoftapStarted()
DSoftapController.h41 pid_t mPid;
DPppController.h28 pid_t mPid; // TODO: Add support for > 1 pppd instance variable
/system/core/logd/
DLogWhiteBlackList.cpp25 Prune::Prune(uid_t uid, pid_t pid) : mUid(uid), mPid(pid) { in Prune()
30 if (mPid == pid_all) { in cmp()
33 return pid - mPid; in cmp()
40 if (mPid != pid_all) { in format()
41 asprintf(strp, "%u/%u", mUid, mPid); in format()
45 } else if (mPid != pid_all) { in format()
46 asprintf(strp, "/%u", mPid); in format()
148 if (p->mPid == p->pid_all) { in init()
151 if ((pid == p->pid_all) && (p->mPid != p->pid_all)) { in init()
155 m = pid - p->mPid; in init()
DLogBufferElement.cpp40 mPid(pid), in LogBufferElement()
118 if (!commName && (mTid != mPid)) { in populateDroppedMessage()
119 commName = android::tidToName(mPid); in populateDroppedMessage()
123 commName = parent->pidToName(mPid); in populateDroppedMessage()
200 entry.pid = mPid; in flushTo()
DLogTimes.cpp37 mPid(pid), in LogTimeEntry()
182 if ((!me->mPid || (me->mPid == element->getPid())) in FilterFirstPass()
221 if (me->mPid && (me->mPid != element->getPid())) { in FilterSecondPass()
DLogReader.cpp111 const pid_t mPid; in onDataAvailable() member in LogReader::onDataAvailable::LogFindStart
120 mPid(pid), in onDataAvailable()
130 if ((!me->mPid || (me->mPid == element->getPid())) in onDataAvailable()
DLogWhiteBlackList.h32 const pid_t mPid; variable
42 pid_t getPid() const { return mPid; } in getPid()
DFlushCommand.cpp35 mPid(pid), in FlushCommand()
74 entry = new LogTimeEntry(mReader, client, mNonBlock, mTail, mLogMask, mPid, mStart); in runSocketCommand()
DLogBufferElement.h60 const pid_t mPid; variable
83 pid_t getPid(void) const { return mPid; } in getPid()
DFlushCommand.h33 pid_t mPid; variable
DLogTimes.h42 const pid_t mPid; variable
/system/core/include/sysutils/
DSocketClient.h17 pid_t mPid; variable
39 pid_t getPid() const { return mPid; } in getPid()
/system/extras/tests/sdcard/
Dtestcase.cpp54 mPid = getpid(); in TestCase()
90 mPid = getpid(); in runTest()
94 if (kVerbose) printf("Child pid: %d\n", mPid); in runTest()
Dtestcase.h121 pid_t pid() const { return mPid; } in pid()
135 pid_t mPid; variable
/system/core/libsysutils/src/
DSocketClient.cpp30 mPid = -1; in init()
42 mPid = creds.pid; in init()