Home
last modified time | relevance | path

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

1234

/frameworks/native/libs/binder/
DProcessState.cpp68 sp<ProcessState> ProcessState::self() in self()
74 gProcess = new ProcessState("/dev/binder"); in self()
78 sp<ProcessState> ProcessState::initWithDriver(const char* driver) in initWithDriver()
89 gProcess = new ProcessState(driver); in initWithDriver()
93 sp<ProcessState> ProcessState::selfOrNull() in selfOrNull()
99 void ProcessState::setContextObject(const sp<IBinder>& object) in setContextObject()
104 sp<IBinder> ProcessState::getContextObject(const sp<IBinder>& /*caller*/) in getContextObject()
109 void ProcessState::setContextObject(const sp<IBinder>& object, const String16& name) in setContextObject()
115 sp<IBinder> ProcessState::getContextObject(const String16& name, const sp<IBinder>& caller) in getContextObject()
151 void ProcessState::startThreadPool() in startThreadPool()
[all …]
/frameworks/native/libs/binder/include/binder/
DProcessState.h34 class ProcessState : public virtual RefBase
37 static sp<ProcessState> self();
38 static sp<ProcessState> selfOrNull();
43 static sp<ProcessState> initWithDriver(const char *driver);
80 ProcessState(const char* driver);
81 ~ProcessState();
83 ProcessState(const ProcessState& o);
84 ProcessState& operator=(const ProcessState& o);
DBinderService.h55 sp<ProcessState> ps(ProcessState::self()); in joinThreadPool()
DIPCThreadState.h38 sp<ProcessState> process();
118 const sp<ProcessState> mProcess;
/frameworks/av/media/audioserver/
Dmain_audioserver.cpp62 sp<ProcessState> proc(ProcessState::self()); in main()
64 ProcessState::self()->startThreadPool(); in main()
131 sp<ProcessState> proc(ProcessState::self()); in main()
147 ProcessState::self()->startThreadPool(); in main()
150 android::hardware::ProcessState::self()->startThreadPool(); in main()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java36 import com.android.internal.app.procstats.ProcessState;
168 public final ProcessMap<ProcessState> mProcesses = new ProcessMap<ProcessState>();
232 ProcessState otherProc = otherState.mProcesses.valueAt(iproc); in add()
236 ProcessState thisProc = getProcessStateLocked(pkgName, uid, vers, in add()
262 ArrayMap<String, SparseArray<ProcessState>> procMap = other.mProcesses.getMap(); in add()
264 SparseArray<ProcessState> uids = procMap.valueAt(ip); in add()
267 ProcessState otherProc = uids.valueAt(iu); in add()
271 ProcessState thisProc = mProcesses.get(name, uid); in add()
275 thisProc = new ProcessState(this, pkg, uid, vers, name); in add()
385 ArrayMap<String, SparseArray<ProcessState>> procMap = mProcesses.getMap(); in computeTotalMemoryUse()
[all …]
DProcessState.java74 public final class ProcessState { class
101 public static final Comparator<ProcessState> COMPARATOR = new Comparator<ProcessState>() {
103 public int compare(ProcessState lhs, ProcessState rhs) {
126 public ProcessState tmpFoundSubProc;
136 private ProcessState mCommonProcess;
165 public ProcessState(ProcessStats processStats, String pkg, int uid, int vers, String name) { in ProcessState() method in ProcessState
181 public ProcessState(ProcessState commonProcess, String pkg, int uid, int vers, String name, in ProcessState() method in ProcessState
195 public ProcessState clone(long now) { in clone()
196 ProcessState pnew = new ProcessState(this, mPackage, mUid, mVersion, mName, now); in clone()
214 public ProcessState getCommonProcess() { in getCommonProcess()
[all …]
DDumpUtils.java312 ArrayList<ProcessState> procs, int[] screenStates, int[] memStates, int[] procStates, in dumpProcessSummaryLocked()
315 final ProcessState proc = procs.get(i); in dumpProcessSummaryLocked()
320 public static void dumpProcessListCsv(PrintWriter pw, ArrayList<ProcessState> procs, in dumpProcessListCsv()
333 ProcessState proc = procs.get(i); in dumpProcessListCsv()
/frameworks/av/services/mediacodec/
Dmain_codecservice.cpp51 android::ProcessState::initWithDriver("/dev/vndbinder"); in main()
60 sp<ProcessState> proc(ProcessState::self()); in main()
83 ProcessState::self()->startThreadPool(); in main()
/frameworks/av/services/mediadrm/
Dmain_mediadrmserver.cpp37 sp<ProcessState> proc(ProcessState::self()); in main()
41 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/av/camera/cameraserver/
Dmain_cameraserver.cpp32 sp<ProcessState> proc(ProcessState::self()); in main()
36 ProcessState::self()->startThreadPool(); in main()
/frameworks/av/services/mediaanalytics/
Dmain_mediametrics.cpp40 sp<ProcessState> proc(ProcessState::self()); in main()
46 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.cpp63 sp<ProcessState> proc(ProcessState::self()); in main()
66 ProcessState::self()->startThreadPool(); in main()
/frameworks/base/cmds/bootanimation/iot/
Diotbootanimation_main.cpp86 sp<ProcessState> proc(ProcessState::self()); in main()
87 ProcessState::self()->startThreadPool(); in main()
/frameworks/native/services/surfaceflinger/
Dmain_surfaceflinger.cpp85 ProcessState::self()->setThreadPoolMaxThreadCount(4); in main()
88 sp<ProcessState> ps(ProcessState::self()); in main()
/frameworks/base/cmds/incidentd/src/
Dmain.cpp43 sp<ProcessState> ps(ProcessState::self()); in main()
/frameworks/base/cmds/bootanimation/
Dbootanimation_main.cpp153 sp<ProcessState> proc(ProcessState::self()); in main()
154 ProcessState::self()->startThreadPool(); in main()
/frameworks/native/services/vr/virtual_touchpad/
Dmain.cpp16 android::sp<android::ProcessState> ps(android::ProcessState::self()); in main()
/frameworks/base/cmds/webview_zygote/
Dwebview_zygote.cpp48 sp<ProcessState> proc = ProcessState::self(); in onZygoteInit()
/frameworks/native/services/vr/hardware_composer/
Dvr_hardware_composer_service.cpp25 android::ProcessState::self()->startThreadPool(); in main()
51 android::hardware::ProcessState::self()->startThreadPool(); in main()
/frameworks/base/cmds/app_process/
Dapp_main.cpp80 sp<ProcessState> proc = ProcessState::self(); in onStarted()
93 sp<ProcessState> proc = ProcessState::self(); in onZygoteInit()
/frameworks/native/cmds/dumpstate/
DDumpstateService.cpp47 sp<ProcessState> ps(ProcessState::self()); in Start()
/frameworks/native/services/inputflinger/host/
Dmain.cpp23 ProcessState::self()->setThreadPoolMaxThreadCount(4); in main()

1234