Home
last modified time | relevance | path

Searched refs:ProcessState (Results 1 – 25 of 125) sorted by relevance

12345

/frameworks/native/libs/binder/
DProcessState.cpp76 sp<ProcessState> ProcessState::self() in self()
81 sp<ProcessState> ProcessState::initWithDriver(const char* driver) in initWithDriver()
86 sp<ProcessState> ProcessState::selfOrNull() in selfOrNull()
91 sp<ProcessState> ProcessState::init(const char *driver, bool requireDefault) in init()
93 [[clang::no_destroy]] static sp<ProcessState> gProcess; in init()
109 gProcess = sp<ProcessState>::make(driver); in init()
124 sp<IBinder> ProcessState::getContextObject(const sp<IBinder>& /*caller*/) in getContextObject()
139 void ProcessState::startThreadPool() in startThreadPool()
148 bool ProcessState::becomeContextManager() in becomeContextManager()
179 ssize_t ProcessState::getKernelReferences(size_t buf_count, uintptr_t* buf) in getKernelReferences()
[all …]
/frameworks/native/libs/binder/include/binder/
DProcessState.h33 class ProcessState : public virtual RefBase
36 static sp<ProcessState> self();
37 static sp<ProcessState> selfOrNull();
47 static sp<ProcessState> initWithDriver(const char *driver);
89 static sp<ProcessState> init(const char *defaultDriver, bool requireDefault);
92 friend class sp<ProcessState>;
94 explicit ProcessState(const char* driver);
95 ~ProcessState();
97 ProcessState(const ProcessState& o);
98 ProcessState& operator=(const ProcessState& o);
DBinderService.h56 sp<ProcessState> ps(ProcessState::self()); in joinThreadPool()
/frameworks/native/include/binder/
DProcessState.h33 class ProcessState : public virtual RefBase
36 static sp<ProcessState> self();
37 static sp<ProcessState> selfOrNull();
47 static sp<ProcessState> initWithDriver(const char *driver);
89 static sp<ProcessState> init(const char *defaultDriver, bool requireDefault);
92 friend class sp<ProcessState>;
94 explicit ProcessState(const char* driver);
95 ~ProcessState();
97 ProcessState(const ProcessState& o);
98 ProcessState& operator=(const ProcessState& o);
DBinderService.h56 sp<ProcessState> ps(ProcessState::self()); in joinThreadPool()
/frameworks/native/libs/binder/ndk/
Dprocess.cpp25 using ::android::ProcessState;
28 ProcessState::self()->startThreadPool(); in ABinderProcess_startThreadPool()
29 ProcessState::self()->giveThreadPoolName(); in ABinderProcess_startThreadPool()
32 return ProcessState::self()->setThreadPoolMaxThreadCount(numThreads) == 0; in ABinderProcess_setThreadPoolMaxThreadCount()
/frameworks/av/media/audioserver/
Dmain_audioserver.cpp70 sp<ProcessState> proc(ProcessState::self()); in main()
72 ProcessState::self()->startThreadPool(); in main()
140 sp<ProcessState> proc(ProcessState::self()); in main()
155 ProcessState::self()->startThreadPool(); in main()
/frameworks/av/drm/drmserver/
Dmain_drmserver.cpp33 sp<ProcessState> proc(ProcessState::self()); in main()
37 ProcessState::self()->startThreadPool(); in main()
/frameworks/base/cmds/bootanimation/
Dbootanimation_main.cpp44 sp<ProcessState> proc(ProcessState::self()); in main()
45 ProcessState::self()->startThreadPool(); in main()
/frameworks/av/services/tuner/
Dmain_tunerservice.cpp31 sp<ProcessState> proc(ProcessState::self()); in main()
41 ProcessState::self()->startThreadPool(); in main()
/frameworks/native/services/gpuservice/
Dmain_gpuservice.cpp34 ProcessState::self()->setThreadPoolMaxThreadCount(4); in main()
37 sp<ProcessState> ps(ProcessState::self()); in main()
/frameworks/av/camera/cameraserver/
Dmain_cameraserver.cpp33 sp<ProcessState> proc(ProcessState::self()); in main()
38 ProcessState::self()->startThreadPool(); in main()
/frameworks/av/media/mediaserver/
Dmain_mediaserver.cpp38 sp<ProcessState> proc(ProcessState::self()); in main()
45 ProcessState::self()->startThreadPool(); in main()
/frameworks/av/services/mediaextractor/
Dmain_extractorservice.cpp70 sp<ProcessState> proc(ProcessState::self()); in main()
74 ProcessState::self()->startThreadPool(); in main()
/frameworks/base/cmds/idmap2/idmap2d/
DMain.cpp32 using android::ProcessState;
43 sp<ProcessState> ps(ProcessState::self()); in main()
/frameworks/native/cmds/servicemanager/
Dmain.cpp32 using ::android::ProcessState;
34 using ::android::ProcessState;
120 sp<ProcessState> ps = ProcessState::initWithDriver(driver); in main()
122 ps->setCallRestriction(ProcessState::CallRestriction::FATAL_IF_NOT_ONEWAY); in main()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java201 public final ProcessMap<ProcessState> mProcesses = new ProcessMap<>();
302 ProcessState otherProc = otherState.mProcesses.valueAt(iproc); in add()
306 ProcessState thisProc = getProcessStateLocked(pkgName, uid, vers, in add()
340 ArrayMap<String, SparseArray<ProcessState>> procMap = other.mProcesses.getMap(); in add()
342 SparseArray<ProcessState> uids = procMap.valueAt(ip); in add()
345 ProcessState otherProc = uids.valueAt(iu); in add()
349 ProcessState thisProc = mProcesses.get(name, uid); in add()
353 thisProc = new ProcessState(this, pkg, uid, vers, name); in add()
476 ArrayMap<String, SparseArray<ProcessState>> procMap = mProcesses.getMap(); in computeTotalMemoryUse()
478 SparseArray<ProcessState> uids = procMap.valueAt(iproc); in computeTotalMemoryUse()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DProcessProfileRecord.java31 import com.android.internal.app.procstats.ProcessState;
58 private ProcessState mBaseProcessTracker;
211 ProcessState getBaseProcessTracker() { in getBaseProcessTracker()
216 void setBaseProcessTracker(ProcessState baseProcessTracker) { in setBaseProcessTracker()
224 final ProcessState origBase = getBaseProcessTracker(); in onProcessActive()
241 final ProcessState baseProcessTracker = tracker.getProcessStateLocked( in onProcessActive()
268 final ProcessState origBase = getBaseProcessTracker(); in onProcessInactive()
478 final ProcessState tracker = mBaseProcessTracker; in addPss()
491 final ProcessState tracker = mBaseProcessTracker; in reportExcessiveCpu()
503 final ProcessState tracker = mBaseProcessTracker; in reportCachedKill()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DMirrorActiveUids.java21 import android.app.ActivityManager.ProcessState;
54 synchronized @ProcessState int getUidState(int uid) { in getUidState()
89 @ProcessState int mProcState;
/frameworks/av/services/mediametrics/
Dmain_mediametrics.cpp48 sp<ProcessState> processState(ProcessState::self()); in main()
/frameworks/base/cmds/incidentd/src/
Dmain.cpp40 sp<ProcessState> ps(ProcessState::self()); in main()
/frameworks/native/services/surfaceflinger/
Dmain_surfaceflinger.cpp90 ProcessState::self()->setThreadPoolMaxThreadCount(4); in main()
119 sp<ProcessState> ps(ProcessState::self()); in main()
/frameworks/native/services/vr/virtual_touchpad/
Dmain.cpp16 android::sp<android::ProcessState> ps(android::ProcessState::self()); in main()
/frameworks/native/libs/binder/rust/src/
Dstate.rs22 pub struct ProcessState; struct
24 impl ProcessState { impl
/frameworks/av/services/mediacodec/
Dmain_codecservice.cpp46 android::ProcessState::initWithDriver("/dev/vndbinder"); in main()
47 android::ProcessState::self()->startThreadPool(); in main()

12345