Home
last modified time | relevance | path

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

1234

/frameworks/native/libs/binder/
DProcessState.cpp74 sp<ProcessState> ProcessState::self() in self()
80 gProcess = new ProcessState(kDefaultDriver); in self()
84 sp<ProcessState> ProcessState::initWithDriver(const char* driver) in initWithDriver()
101 gProcess = new ProcessState(driver); in initWithDriver()
105 sp<ProcessState> ProcessState::selfOrNull() in selfOrNull()
111 void ProcessState::setContextObject(const sp<IBinder>& object) in setContextObject()
116 sp<IBinder> ProcessState::getContextObject(const sp<IBinder>& /*caller*/) in getContextObject()
121 void ProcessState::setContextObject(const sp<IBinder>& object, const String16& name) in setContextObject()
127 sp<IBinder> ProcessState::getContextObject(const String16& name, const sp<IBinder>& caller) in getContextObject()
163 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();
46 static sp<ProcessState> initWithDriver(const char *driver);
95 explicit ProcessState(const char* driver);
96 ~ProcessState();
98 ProcessState(const ProcessState& o);
99 ProcessState& operator=(const ProcessState& o);
DBinderService.h57 sp<ProcessState> ps(ProcessState::self()); in joinThreadPool()
DIPCThreadState.h40 sp<ProcessState> process();
174 const sp<ProcessState> mProcess;
194 ProcessState::CallRestriction mCallRestriction;
/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.cpp66 sp<ProcessState> proc(ProcessState::self()); in main()
68 ProcessState::self()->startThreadPool(); in main()
136 sp<ProcessState> proc(ProcessState::self()); in main()
152 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/services/mediadrm/
Dmain_mediadrmserver.cpp37 sp<ProcessState> proc(ProcessState::self()); in main()
41 ProcessState::self()->startThreadPool(); in main()
/frameworks/av/camera/cameraserver/
Dmain_cameraserver.cpp33 sp<ProcessState> proc(ProcessState::self()); in main()
37 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/base/cmds/bootanimation/
Dbootanimation_main.cpp44 sp<ProcessState> proc(ProcessState::self()); in main()
45 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/native/services/gpuservice/
Dmain_gpuservice.cpp34 ProcessState::self()->setThreadPoolMaxThreadCount(4); in main()
37 sp<ProcessState> ps(ProcessState::self()); in main()
/frameworks/av/services/mediaextractor/
Dmain_extractorservice.cpp61 sp<ProcessState> proc(ProcessState::self()); in main()
65 ProcessState::self()->startThreadPool(); in main()
/frameworks/base/cmds/idmap2/idmap2d/
DMain.cpp32 using android::ProcessState;
43 sp<ProcessState> ps(ProcessState::self()); in main()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java191 public final ProcessMap<ProcessState> mProcesses = new ProcessMap<>();
280 ProcessState otherProc = otherState.mProcesses.valueAt(iproc); in add()
284 ProcessState thisProc = getProcessStateLocked(pkgName, uid, vers, in add()
318 ArrayMap<String, SparseArray<ProcessState>> procMap = other.mProcesses.getMap(); in add()
320 SparseArray<ProcessState> uids = procMap.valueAt(ip); in add()
323 ProcessState otherProc = uids.valueAt(iu); in add()
327 ProcessState thisProc = mProcesses.get(name, uid); in add()
331 thisProc = new ProcessState(this, pkg, uid, vers, name); in add()
452 ArrayMap<String, SparseArray<ProcessState>> procMap = mProcesses.getMap(); in computeTotalMemoryUse()
454 SparseArray<ProcessState> uids = procMap.valueAt(iproc); in computeTotalMemoryUse()
[all …]
/frameworks/native/services/surfaceflinger/
Dmain_surfaceflinger.cpp85 ProcessState::self()->setThreadPoolMaxThreadCount(4); in main()
88 sp<ProcessState> ps(ProcessState::self()); in main()
/frameworks/base/cmds/bootanimation/iot/
Diotbootanimation_main.cpp116 sp<ProcessState> proc(ProcessState::self()); in main()
117 ProcessState::self()->startThreadPool(); in main()
/frameworks/base/cmds/incidentd/src/
Dmain.cpp40 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/av/services/mediacodec/
Dmain_codecservice.cpp45 android::ProcessState::initWithDriver("/dev/vndbinder"); in main()
46 android::ProcessState::self()->startThreadPool(); in main()
/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.cpp81 sp<ProcessState> proc = ProcessState::self(); in onStarted()
94 sp<ProcessState> proc = ProcessState::self(); in onZygoteInit()
/frameworks/base/cmds/statsd/src/
Dmain.cpp75 sp<ProcessState> ps(ProcessState::self()); in main()
/frameworks/av/media/codec2/hidl/services/
Dvendor.cpp106 android::ProcessState::initWithDriver("/dev/vndbinder"); in main()
107 android::ProcessState::self()->startThreadPool(); in main()

1234